Conditional Complexity Overall
  • There are 5,415 units with 92,342 lines of code in units (67.3% of code).
    • 9 very complex units (3,400 lines of code)
    • 38 complex units (4,841 lines of code)
    • 240 medium complex units (15,282 lines of code)
    • 532 simple units (17,127 lines of code)
    • 4,596 very simple units (51,692 lines of code)
3% | 5% | 16% | 18% | 55%
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
ts3% | 5% | 16% | 18% | 56%
py0% | 0% | 24% | 25% | 49%
js0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
packages3% | 5% | 16% | 18% | 55%
.agents0% | 0% | 19% | 19% | 60%
helpers0% | 0% | 0% | 20% | 79%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
749 119 1
499 69 1
369 68 1
375 67 6
408 65 1
289 57 1
339 53 11
226 52 3
146 51 1
177 49 2
260 49 8
269 47 1
150 47 1
223 45 1
103 40 1
115 39 3
92 39 1
151 39 4
271 39 8
99 37 2
125 36 4
74 35 4
155 35 5
160 35 3
94 32 3
108 31 3
92 31 2
82 31 2
84 30 2
133 29 1
106 29 4
97 29 4
160 29 1
132 28 1
143 28 1
116 28 1
121 28 3
67 28 2
153 27 6
87 27 1
45 27 2
75 26 1
104 26 1
133 26 2
130 26 1
82 26 2
73 26 2
99 25 3
83 25 2
93 24 1
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...