Conditional Complexity Overall
  • There are 276 units with 6,469 lines of code in units (36.4% of code).
    • 2 very complex units (1,003 lines of code)
    • 2 complex units (590 lines of code)
    • 9 medium complex units (1,630 lines of code)
    • 17 simple units (685 lines of code)
    • 246 very simple units (2,561 lines of code)
15% | 9% | 25% | 10% | 39%
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
h36% | 0% | 15% | 19% | 28%
hpp8% | 16% | 31% | 4% | 39%
cpp0% | 0% | 27% | 17% | 54%
py0% | 0% | 0% | 13% | 86%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
csrc15% | 9% | 25% | 10% | 38%
scripts0% | 0% | 0% | 89% | 10%
flash_mla0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
690 108 2
313 60 0
295 35 0
295 35 0
179 23 9
195 16 21
205 16 22
198 15 22
169 12 16
203 12 22
169 12 16
204 12 22
108 11 2
116 10 7
52 10 0
58 10 7
11 9 1
11 9 1
135 9 7
42 9 1
35 8 1
23 8 3
65 8 6
17 7 4
10 7 1
10 7 1
36 7 5
26 7 1
11 6 1
27 6 7
4 5 4
15 5 1
17 5 3
11 5 4
19 5 2
35 5 5
67 5 11
35 5 5
67 5 11
17 5 0
9 5 1
21 5 1
44 5 2
45 4 3
45 4 3
11 4 1
34 4 1
16 4 2
19 3 0
10 3 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...