Conditional Complexity Overall
  • There are 566 units with 5,897 lines of code in units (40.0% of code).
    • 0 very complex units (0 lines of code)
    • 1 complex units (221 lines of code)
    • 9 medium complex units (550 lines of code)
    • 25 simple units (808 lines of code)
    • 531 very simple units (4,318 lines of code)
0% | 3% | 9% | 13% | 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
js0% | 5% | 12% | 16% | 65%
scala0% | 0% | 0% | 6% | 93%
ts0% | 0% | 0% | 42% | 57%
tsx0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
public0% | 5% | 12% | 16% | 65%
app0% | 0% | 0% | 7% | 92%
common-lib0% | 0% | 0% | 4% | 95%
cdk0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
221 28 13
161 19 20
39 19 1
36 18 0
103 17 1
57 15 3
29 14 4
21 13 1
30 12 4
74 11 2
33 10 2
52 9 2
11 9 1
9 9 1
22 8 1
23 8 1
20 8 1
33 7 1
12 7 1
46 7 1
17 7 1
50 7 2
36 7 6
100 7 0
20 7 2
15 6 1
15 6 0
26 6 1
2 6 5
19 6 2
20 6 0
177 6 3
28 6 1
9 6 1
13 6 1
6 5 2
23 5 1
10 5 1
33 5 1
9 5 1
16 5 1
2 5 4
13 5 1
15 5 2
15 5 4
22 5 0
22 5 1
15 5 1
6 5 1
10 5 2
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...