Metric | Definition |
Lines of code LOC | Total number of lines in a file |
Statements | Any lines of code terminated by “;” |
Percent branch statements | Percentage of statements causing a break in sequential execution, e.g., if, for, try, throw |
Methods call statements | All method calls in statements and logical expressions |
Percent Lines with Comments | Percentage of comments lines |
Classes and Interfaces | Total number of classes and interfaces, including anonymous inner classes |
Methods per Class | The total method count divided by the total classes |
Ave Statements per Method | Total number of statements found inside of methods divided by the number |
Max Complexity | Complexity value of the most complex method |
Average Complexity | Sum of all method complexity values divided by the number of methods |
Ave Block Depth | Sum of all method block depths divided by the number of methods |