Conditional Complexity Overall
  • There are 2,256 units with 26,460 lines of code in units (40.4% of code).
    • 0 very complex units (0 lines of code)
    • 2 complex units (442 lines of code)
    • 34 medium complex units (1,855 lines of code)
    • 114 simple units (3,058 lines of code)
    • 2,106 very simple units (21,105 lines of code)
0% | 1% | 7% | 11% | 79%
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
tsx0% | 21% | 22% | 19% | 36%
ts0% | 0% | 20% | 20% | 58%
swift0% | 0% | 2% | 7% | 90%
java0% | 0% | 45% | 25% | 29%
py0% | 0% | 6% | 52% | 41%
kt0% | 0% | 0% | 8% | 91%
kts0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
tools0% | 6% | 16% | 16% | 60%
app-macos0% | 0% | 2% | 7% | 90%
device-helper0% | 0% | 36% | 38% | 24%
tool-reader0% | 0% | 38% | 35% | 26%
tool-sdk0% | 0% | 8% | 34% | 56%
release0% | 0% | 10% | 40% | 49%
build-logic0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
274 46 2
168 31 9
216 22 2
94 21 3
97 20 3
58 19 2
75 18 0
50 17 0
40 17 1
43 16 1
34 16 1
69 16 8
58 16 4
41 16 0
64 16 0
81 15 4
78 15 1
32 15 4
33 14 1
50 14 1
34 14 4
42 14 1
65 14 3
17 13 1
19 13 2
78 13 7
57 13 1
42 12 0
31 12 0
32 12 1
60 12 1
35 12 1
11 12 1
63 11 4
22 11 6
34 11 2
21 10 2
33 10 3
39 10 1
93 10 0
34 10 0
34 10 1
37 10 1
24 10 1
27 10 2
34 10 0
36 9 0
37 9 2
12 9 1
9 9 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...