Conditional Complexity Overall
  • There are 15,820 units with 215,584 lines of code in units (52.6% of code).
    • 36 very complex units (8,763 lines of code)
    • 156 complex units (13,488 lines of code)
    • 979 medium complex units (41,041 lines of code)
    • 2,046 simple units (45,247 lines of code)
    • 12,603 very simple units (107,045 lines of code)
4% | 6% | 19% | 20% | 49%
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
ts2% | 5% | 18% | 21% | 51%
tsx13% | 11% | 21% | 16% | 37%
py4% | 12% | 24% | 22% | 35%
js54% | 0% | 0% | 29% | 16%
h0% | 9% | 29% | 23% | 37%
c0% | 0% | 36% | 20% | 43%
cpp0% | 0% | 28% | 39% | 31%
cjs0% | 0% | 50% | 13% | 35%
nsh0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
packages3% | 6% | 19% | 20% | 49%
scripts4% | 7% | 17% | 24% | 45%
apps7% | 6% | 18% | 16% | 50%
.agents0% | 49% | 0% | 8% | 41%
snapshots0% | 5% | 23% | 24% | 46%
python0% | 8% | 15% | 28% | 47%
benchmarks0% | 0% | 10% | 9% | 80%
website0% | 0% | 33% | 4% | 62%
native0% | 0% | 31% | 23% | 44%
.github0% | 0% | 63% | 29% | 7%
ROOT0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
740 166 25
350 132 0
301 118 0
441 109 5
253 107 1
505 102 7
337 97 26
403 93 22
217 90 2
213 90 0
280 89 2
172 88 2
386 80 1
192 79 2
205 73 4
203 72 15
137 68 1
118 68 3
100 67 5
396 67 1
246 62 2
162 59 4
259 58 3
142 57 4
202 57 15
81 56 1
150 55 3
111 54 6
162 54 1
255 53 1
94 53 1
265 53 12
222 52 2
169 51 1
101 51 2
193 51 3
99 50 2
70 50 10
271 50 1
103 49 3
104 49 9
87 46 5
82 46 5
101 46 2
153 46 4
224 46 2
39 46 1
95 45 2
157 44 1
261 44 6
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...