Conditional Complexity Overall
  • There are 2,345 units with 41,914 lines of code in units (78.8% of code).
    • 2 very complex units (305 lines of code)
    • 31 complex units (3,746 lines of code)
    • 195 medium complex units (9,453 lines of code)
    • 465 simple units (11,908 lines of code)
    • 1,652 very simple units (16,502 lines of code)
<1% | 8% | 22% | 28% | 39%
Legend:
51+
26-50
11-25
6-10
1-5
Alternative Visuals
Conditional Complexity per Extension
51+
26-50
11-25
6-10
1-5
go<1% | 9% | 22% | 28% | 38%
py0% | 13% | 30% | 16% | 40%
cjs0% | 7% | 23% | 28% | 40%
ts0% | 0% | 11% | 31% | 56%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
pkg<1% | 9% | 22% | 28% | 38%
cmd0% | 6% | 21% | 30% | 40%
scripts0% | 19% | 43% | 9% | 27%
plugins0% | 6% | 19% | 27% | 46%
adminui0% | 0% | 19% | 24% | 55%
ROOT0% | 0% | 33% | 20% | 45%
wrappers0% | 0% | 0% | 38% | 61%
testsupport0% | 0% | 0% | 42% | 57%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
170 54 2
135 52 1
215 41 2
193 41 1
167 39 2
78 38 1
105 38 1
166 36 1
50 36 8
59 36 1
179 36 1
139 35 1
188 34 0
60 34 1
154 33 1
62 32 4
67 32 2
53 32 1
115 31 3
121 31 6
131 31 1
94 30 7
107 30 2
145 30 1
61 28 2
131 28 10
81 28 1
88 28 1
238 27 1
58 27 1
263 26 1
109 26 1
69 26 1
94 25 1
57 25 1
90 24 2
66 24 2
68 23 3
50 23 2
50 23 2
115 23 1
41 23 2
100 23 1
28 22 1
130 22 2
54 22 2
58 21 1
94 21 2
46 21 2
65 21 3
About This Analysis
  • Conditional complexity (also called cyclomatic complexity) is a term used to measure the complexity of software. The term refers to the number of possible paths through a program function. A higher value ofter means higher maintenance and testing costs (infosecinstitute.com).
  • Conditional complexity is calculated by counting all conditions in the program that can affect the execution path (e.g. if statement, loops, switches, and/or operators, try and catch blocks...).
  • Conditional complexity is measured at the unit level (methods, functions...).
  • Units are classified in four categories based on the measured McCabe index: 1-5 (simple units), 6-10 (medium complex units), 11-25 (complex units), 26+ (very complex units).
Learn more...