Conditional Complexity Overall
  • There are 1,270 units with 14,177 lines of code in units (7.2% of code).
    • 1 very complex units (24 lines of code)
    • 0 complex units (0 lines of code)
    • 4 medium complex units (211 lines of code)
    • 29 simple units (1,402 lines of code)
    • 1,236 very simple units (12,540 lines of code)
<1% | 0% | 1% | 9% | 88%
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
js63% | 0% | 0% | 0% | 36%
tsx0% | 0% | 2% | 11% | 86%
ts0% | 0% | 0% | 8% | 91%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
dotcom-rendering<1% | 0% | 1% | 9% | 88%
scripts0% | 0% | 0% | 31% | 68%
ab-testing0% | 0% | 0% | 5% | 94%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
24 156 1
61 15 0
37 12 1
100 11 1
13 11 1
55 10 3
36 10 2
70 10 1
69 10 4
63 10 0
37 10 2
41 9 0
124 9 1
25 9 2
137 9 1
54 9 3
28 9 2
70 8 1
62 8 1
30 8 0
62 8 2
19 7 0
51 7 1
16 7 3
38 7 1
83 6 1
33 6 3
22 6 2
24 6 1
19 6 1
30 6 1
31 6 4
25 6 1
48 6 0
151 5 3
13 5 1
59 5 6
11 5 1
79 5 1
43 5 1
40 5 2
32 5 2
14 5 0
121 5 1
16 5 1
12 5 0
21 5 2
30 4 24
27 4 2
10 4 0
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...