Conditional Complexity Overall
  • There are 5,340 units with 86,670 lines of code in units (46.8% of code).
    • 13 very complex units (3,019 lines of code)
    • 59 complex units (6,280 lines of code)
    • 484 medium complex units (24,674 lines of code)
    • 849 simple units (19,791 lines of code)
    • 3,935 very simple units (32,906 lines of code)
3% | 7% | 28% | 22% | 37%
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
py3% | 8% | 31% | 21% | 35%
tsx16% | 4% | 19% | 20% | 38%
cjs6% | 5% | 22% | 14% | 51%
js0% | 3% | 18% | 33% | 45%
ts0% | 0% | 12% | 21% | 66%
swift0% | 0% | 0% | 0% | 100%
smk0% | 0% | 0% | 0% | 100%
pl0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
plugins3% | 7% | 28% | 22% | 37%
.agents0% | 0% | 0% | 23% | 76%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
380 112 2
370 101 1
408 77 0
200 72 2
225 65 0
236 62 10
225 61 1
123 57 2
94 57 1
226 56 3
72 55 2
350 55 2
110 52 1
150 49 1
238 48 0
96 47 5
168 45 1
131 45 2
116 45 1
108 44 1
106 42 3
88 42 2
144 42 1
119 41 1
134 38 2
214 38 1
203 38 1
74 38 1
117 37 2
61 37 4
84 36 3
96 34 2
53 34 2
96 34 2
265 33 1
62 33 3
136 33 1
68 33 2
69 32 2
104 32 4
58 31 2
60 31 4
61 31 1
80 31 1
402 31 1
53 30 2
58 29 2
90 29 1
109 29 0
42 29 4
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...