Invention Grant
- Patent Title: Method and apparatus for finding long methods in code
-
Application No.: US15701730Application Date: 2017-09-12
-
Publication No.: US10705837B2Publication Date: 2020-07-07
- Inventor: Aditya T. Kadam
- Applicant: DevFactory Innovations FZ-LLC
- Applicant Address: AE
- Assignee: DevFactory Innovations FZ-LLC
- Current Assignee: DevFactory Innovations FZ-LLC
- Current Assignee Address: AE
- Agency: Terrile, Cannatti & Chambers LLP
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F11/34 ; G06F11/36 ; G06F11/30 ; G06F8/77 ; G06F8/72 ; G06F8/41 ; G06F8/75

Abstract:
A method and apparatus are disclosed for finding overlong source code segments (e.g., methods) by evaluating input source code segments for a plurality of predetermined code metric values in order to identify candidate source code segments (e.g., non-autogenerated methods) which do not meet a first code metric value and to assess each candidate source code segment against a second code metric value to identify different sets of candidate source code segments (e.g., test methods and normal methods) so that each set of candidate source code segments may be assessed against a tailored set of code length thresholds to identify any overlong source code segment having a code length which meets or exceeds at least two of the tailored set of code length thresholds.
Public/Granted literature
- US20190079759A1 Method and Apparatus for Finding Long Methods in Code Public/Granted day:2019-03-14
Information query