Conditional Complexity Overall
  • There are 134 units with 2,348 lines of code in units (50.1% of code).
    • 0 very complex units (0 lines of code)
    • 1 complex units (98 lines of code)
    • 8 medium complex units (554 lines of code)
    • 22 simple units (663 lines of code)
    • 103 very simple units (1,033 lines of code)
0% | 4% | 23% | 28% | 43%
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% | 5% | 21% | 28% | 45%
tsx0% | 0% | 37% | 16% | 45%
ino0% | 0% | 0% | 88% | 11%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
src0% | 5% | 24% | 24% | 45%
server0% | 0% | 23% | 34% | 41%
arduino0% | 0% | 0% | 88% | 11%
ROOT0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
98 28 2
92 23 2
89 19 0
54 19 1
42 19 1
100 17 0
81 15 0
70 12 4
26 12 1
41 10 0
35 9 1
75 9 0
25 8 0
30 8 1
45 8 0
25 8 1
57 7 2
12 7 0
23 7 0
18 7 1
42 6 2
45 6 2
14 6 0
22 6 1
17 6 0
17 6 0
30 6 1
7 6 1
10 6 1
44 6 1
29 6 2
40 5 2
17 5 4
26 5 1
32 5 0
25 5 1
24 5 0
12 5 1
14 5 1
14 5 3
14 5 1
12 5 6
11 5 1
16 5 2
11 4 2
12 4 1
3 4 1
18 4 0
5 4 0
20 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...