Conditional Complexity Overall
  • There are 413 units with 4,476 lines of code in units (36.8% of code).
    • 0 very complex units (0 lines of code)
    • 2 complex units (263 lines of code)
    • 7 medium complex units (521 lines of code)
    • 18 simple units (620 lines of code)
    • 386 very simple units (3,072 lines of code)
0% | 5% | 11% | 13% | 68%
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
swift0% | 6% | 8% | 13% | 72%
go0% | 0% | 39% | 19% | 40%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
Sources0% | 6% | 8% | 13% | 72%
benchmark0% | 0% | 39% | 19% | 40%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
193 36 0
70 34 0
117 16 7
82 16 0
67 15 2
78 14 2
79 14 5
58 12 2
40 11 0
27 10 0
68 9 4
46 9 1
55 9 0
29 8 0
33 8 0
36 7 3
40 7 0
50 7 0
36 7 0
26 7 1
24 7 1
29 6 1
32 6 1
12 6 0
22 6 0
20 6 0
35 6 0
32 5 0
24 5 0
53 5 3
29 5 0
19 5 0
13 5 0
18 5 0
23 5 1
18 5 1
13 5 0
47 5 3
26 5 3
24 4 1
37 4 1
19 4 0
27 4 1
33 4 1
13 4 0
11 4 1
25 4 3
13 4 0
65 4 0
11 4 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...