Conditional Complexity Overall
  • There are 138 units with 2,137 lines of code in units (54.5% of code).
    • 0 very complex units (0 lines of code)
    • 1 complex units (173 lines of code)
    • 7 medium complex units (308 lines of code)
    • 14 simple units (383 lines of code)
    • 116 very simple units (1,273 lines of code)
0% | 8% | 14% | 17% | 59%
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
js0% | 8% | 14% | 17% | 59%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
src0% | 9% | 16% | 20% | 54%
ROOT0% | 0% | 0% | 0% | 100%
boot0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
173 34 1
68 25 1
45 18 0
47 14 1
29 14 1
46 13 1
38 13 0
35 11 1
31 10 1
31 10 1
21 10 1
28 9 0
55 8 0
21 8 1
26 8 1
27 8 2
18 7 1
30 7 2
7 7 0
37 6 4
18 6 1
33 6 1
10 5 0
23 5 1
12 5 1
33 5 0
214 4 1
29 4 1
18 4 2
16 4 2
10 4 1
8 4 0
16 4 4
7 4 1
26 4 1
9 3 1
7 3 2
7 3 2
7 3 1
19 3 3
5 3 0
5 3 2
6 3 1
6 3 1
5 3 3
7 3 1
28 3 0
19 3 1
9 2 2
6 2 0
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...