Conditional Complexity Overall
  • There are 1,397 units with 21,280 lines of code in units (27.1% of code).
    • 1 very complex units (567 lines of code)
    • 2 complex units (207 lines of code)
    • 32 medium complex units (2,195 lines of code)
    • 80 simple units (2,670 lines of code)
    • 1,282 very simple units (15,641 lines of code)
2% | <1% | 10% | 12% | 73%
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
tsx17% | 5% | 22% | 6% | 48%
scala0% | <1% | 6% | 14% | 79%
js0% | 0% | 11% | 17% | 71%
ts0% | 0% | 5% | 7% | 86%
py0% | 0% | 35% | 10% | 54%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
fronts-client9% | 2% | 15% | 8% | 64%
app0% | <1% | 6% | 14% | 79%
public0% | 0% | 11% | 17% | 70%
scripts0% | 0% | 35% | 10% | 54%
cdk0% | 0% | 0% | 0% | 100%
grunt-configs0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
567 51 0
171 30 0
36 29 1
47 25 2
265 24 0
61 24 8
87 24 0
183 19 0
98 19 1
110 19 2
26 17 1
69 17 4
77 17 1
47 15 2
61 15 3
33 15 1
19 15 0
133 14 0
76 14 1
39 13 2
16 13 0
101 12 8
54 12 1
36 12 1
15 12 0
98 12 1
30 12 2
45 12 1
70 11 1
54 11 3
41 11 1
130 11 0
38 11 4
16 11 2
20 11 6
36 10 5
34 10 1
100 10 0
22 10 2
19 10 3
30 10 1
40 10 1
34 9 5
38 9 1
31 9 2
25 9 1
8 9 0
31 9 0
36 9 1
17 8 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...