File Complexity Overall
  • There are 20 files with units, with 8,385 lines of code.
    • 3 very complex files (McCabe index sum 251+; 4,799 lines of code)
    • 3 complex files (McCabe index sum 126-250; 2,005 lines of code)
    • 3 medium complex files (McCabe index sum 51-125; 818 lines of code)
    • 2 slightly complex files (McCabe index sum 26-50; 384 lines of code)
    • 9 simple files (McCabe index sum 1-25; 379 lines of code)
  • 2 main files have no units (e.g. languages without unit analysis, or files without functions) and are not classified.
system57% | 23% | 9% | 4% | 4%
Legend:
251+
126-250
51-125
26-50
1-25


explore: grouped by folders | grouped by complexity
File Complexity per Extension
251+
126-250
51-125
26-50
1-25
java57% | 23% | 9% | 4% | 4%
File Complexity per Logical Decomposition
primary
251+
126-250
51-125
26-50
1-25
src57% | 23% | 9% | 4% | 4%
Most Complex Files (Top 20)

The McCabe index of a file grows with its size: per 100 lines tells a large but plain file from a dense one, and most complex unit whether the complexity sits in one unit or is spread over many.

File# lines# unitsMcCabe index
(sum)
per 100
lines
most complex
unit
DeclarationSearch.java
in src/com.netflix.tools.jist/com/netflix/tools/jist
1960 79 587 30 39
UsageSearch.java
in src/com.netflix.tools.jist/com/netflix/tools/jist
1638 79 493 30 61
CommandLine.java
in src/com.netflix.tools.jist/com/netflix/tools/jist
1201 105 353 29 22
SearchEnvironment.java
in src/com.netflix.tools.jist/com/netflix/tools/jist
922 45 215 23 13
ClassFileRenderer.java
in src/com.netflix.tools.jist/com/netflix/tools/jist
572 28 184 32 31
SourceModel.java
in src/com.netflix.tools.jist/com/netflix/tools/jist
511 31 135 26 14
Output.java
in src/com.netflix.tools.jist/com/netflix/tools/jist
457 40 110 24 23
Jist.java
in src/com.netflix.tools.jist/com/netflix/tools/jist
188 11 70 37 37
SourceLookup.java
in src/com.netflix.tools.jist/com/netflix/tools/jist
173 13 53 31 13
JistCommandLine.java
in src/com.netflix.tools.jist/com/netflix/tools/jist
245 15 43 18 19
ModuleSourcePaths.java
in src/com.netflix.tools.jist/com/netflix/tools/jist
139 2 39 28 37
SymbolKind.java
in src/com.netflix.tools.jist/com/netflix/tools/jist
68 6 20 29 6
Access.java
in src/com.netflix.tools.jist/com/netflix/tools/jist
33 3 18 55 6
SymbolCompletion.java
in src/com.netflix.tools.jist/com/netflix/tools/jist
57 8 15 26 4
Options.java
in src/com.netflix.tools.jist/com/netflix/tools/jist
166 1 6 4 6
SourceScope.java
in src/com.netflix.tools.jist/com/netflix/tools/jist
25 2 4 16 2
ColorMode.java
in src/com.netflix.tools.jist/com/netflix/tools/jist
14 1 2 14 2
SourcePaths.java
in src/com.netflix.tools.jist/com/netflix/tools/jist
10 1 2 20 2
SymbolSelection.java
in src/com.netflix.tools.jist/com/netflix/tools/jist
2 1 1 50 1
SourceUnit.java
in src/com.netflix.tools.jist/com/netflix/tools/jist
4 1 1 25 1
About This Analysis
  • File complexity is the sum of the McCabe indexes (conditional complexity) of the units (methods, functions...) in a file.
  • Files are classified in five categories based on that sum: 1-25 (simple files), 26-50 (slightly complex files), 51-125 (medium complex files), 126-250 (complex files), 251+ (very complex files). The default bands are five times the unit complexity bands, as a file is a group of units.
  • Only main code files with units are classified. Files without units (languages without unit analysis, or files without functions) have no complexity to measure and are left out rather than counted as simple.
  • A very complex file holds many decisions, which often means it has too many responsibilities: a candidate to split, and a place where changes need more testing.
Learn more...