File Complexity Overall
  • There are 22 files with units, with 1,805 lines of code.
    • 0 very complex files (McCabe index sum 251+; 0 lines of code)
    • 0 complex files (McCabe index sum 126-250; 0 lines of code)
    • 0 medium complex files (McCabe index sum 51-125; 0 lines of code)
    • 1 slightly complex files (McCabe index sum 26-50; 144 lines of code)
    • 21 simple files (McCabe index sum 1-25; 1,661 lines of code)
  • 22 main files have no units (e.g. languages without unit analysis, or files without functions) and are not classified.
system0% | 0% | 0% | 7% | 92%
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
java0% | 0% | 0% | 48% | 51%
kt0% | 0% | 0% | 0% | 100%
File Complexity per Logical Decomposition
primary
251+
126-250
51-125
26-50
1-25
src0% | 0% | 0% | 7% | 92%
Most Complex Files (Top 22)

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
GraphQLSchemaRegistry.java
in src/main/java/com/netflix/dgs/plugin/services/internal
144 10 32 22 7
DgsProjectStructureProvider.kt
in src/main/kotlin/com/netflix/dgs/plugin/provider
135 14 20 15 3
DgsInputArgumentUtils.kt
in src/main/kotlin/com/netflix/dgs/plugin
144 5 20 14 6
DgsDataSimplifyingInspector.kt
in src/main/kotlin/com/netflix/dgs/plugin/hints
100 5 19 19 8
DgsServiceImpl.java
in src/main/java/com/netflix/dgs/plugin/services/internal
151 5 18 12 9
DgsInputArgumentInspector.kt
in src/main/kotlin/com/netflix/dgs/plugin/hints
93 5 13 14 7
DgsInputArgumentValidationInspector.kt
in src/main/kotlin/com/netflix/dgs/plugin/hints
143 5 13 9 7
DgsComponentInspector.kt
in src/main/kotlin/com/netflix/dgs/plugin/hints
76 5 11 14 4
DgsSymbolContributor.kt
in src/main/kotlin/com/netflix/dgs/plugin/navigation
70 10 10 14 1
DgsFieldSimplifyingInspector.kt
in src/main/kotlin/com/netflix/dgs/plugin/hints
77 5 9 12 5
DgsEntityFetcherInspector.kt
in src/main/kotlin/com/netflix/dgs/plugin/hints
50 2 9 18 8
UnresolvedSchemaMarkerProvider.kt
in src/main/kotlin/com/netflix/dgs/plugin/navigation
79 1 8 10 8
DgsDataFetcher.kt
in src/main/kotlin/com/netflix/dgs/plugin
63 8 8 13 1
DataFetcherToSchemaMarkerProvider.kt
in src/main/kotlin/com/netflix/dgs/plugin/navigation
40 1 7 18 7
DgsComponentIndex.kt
in src/main/kotlin/com/netflix/dgs/plugin/services
29 2 6 21 5
DgsAnnotationGotoDeclarationHandler.kt
in src/main/kotlin/com/netflix/dgs/plugin/navigation
96 1 4 4 4
DgsImplicitUsageProvider.kt
in src/main/kotlin/com/netflix/dgs/plugin/provider
22 1 3 14 3
DgsDataProcessor.kt
in src/main/kotlin/com/netflix/dgs/plugin/services
161 1 3 2 3
DgsEntityFetcher.kt
in src/main/kotlin/com/netflix/dgs/plugin
35 2 2 6 1
SchemaToDataFetcherMarkerProvider.kt
in src/main/kotlin/com/netflix/dgs/plugin/navigation
58 1 2 3 2
DgsDataLoader.kt
in src/main/kotlin/com/netflix/dgs/plugin
19 1 1 5 1
DgsDirective.kt
in src/main/kotlin/com/netflix/dgs/plugin
20 1 1 5 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...