Conditional Complexity Overall
  • There are 254 units with 4,813 lines of code in units (38.8% of code).
    • 0 very complex units (0 lines of code)
    • 0 complex units (0 lines of code)
    • 6 medium complex units (613 lines of code)
    • 18 simple units (712 lines of code)
    • 230 very simple units (3,488 lines of code)
0% | 0% | 12% | 14% | 72%
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
ts0% | 0% | 45% | 15% | 38%
scala0% | 0% | 6% | 13% | 80%
tsx0% | 0% | 0% | 52% | 47%
java0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
apps0% | 0% | 13% | 15% | 70%
cdk0% | 0% | 0% | 0% | 100%
script0% | 0% | 0% | 0% | 100%
project0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
269 24 1
113 20 6
86 15 1
55 12 2
65 11 2
25 11 2
64 10 1
119 10 0
37 10 1
76 8 1
21 8 1
30 7 4
59 7 3
22 7 1
22 7 1
29 7 2
8 6 1
55 6 3
51 6 2
55 6 1
22 6 0
18 6 0
13 6 1
11 6 1
37 5 1
21 5 2
59 5 13
30 5 3
40 5 2
21 5 3
17 5 2
17 5 2
20 5 0
20 5 1
25 5 0
10 5 1
10 5 1
10 5 1
10 5 1
19 5 1
13 5 1
35 5 2
33 5 1
20 5 1
47 5 2
17 5 1
21 5 1
28 5 2
9 5 0
9 5 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...