File Complexity Overall
  • There are 6 files with units, with 1,519 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)
    • 3 medium complex files (McCabe index sum 51-125; 1,089 lines of code)
    • 2 slightly complex files (McCabe index sum 26-50; 316 lines of code)
    • 1 simple files (McCabe index sum 1-25; 114 lines of code)
  • 15 main files have no units (e.g. languages without unit analysis, or files without functions) and are not classified.
system0% | 0% | 71% | 20% | 7%
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
js0% | 0% | 71% | 20% | 7%
File Complexity per Logical Decomposition
primary
251+
126-250
51-125
26-50
1-25
PlutoExport0% | 0% | 69% | 30% | 0%
PremierePanel0% | 0% | 73% | 26% | 0%
GNMAEPanel0% | 0% | 71% | 0% | 28%
Most Complex Files (Top 6)

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
CSInterface.js
in PlutoExport/lib
410 52 82 20 16
CSInterface.js
in PremierePanel/lib
390 48 76 19 14
CSInterface-4.0.0.js
in GNMAEPanel/lib
289 33 54 19 12
ext.js
in PlutoExport
177 17 35 20 5
ext.js
in PremierePanel
139 13 28 20 5
ext.js
in GNMAEPanel
114 11 25 22 6
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...