Conditional Complexity Overall
  • There are 259 units with 3,029 lines of code in units (68.8% of code).
    • 2 very complex units (151 lines of code)
    • 3 complex units (193 lines of code)
    • 7 medium complex units (224 lines of code)
    • 31 simple units (729 lines of code)
    • 216 very simple units (1,732 lines of code)
4% | 6% | 7% | 24% | 57%
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
js4% | 6% | 7% | 24% | 57%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
src5% | 6% | 8% | 26% | 53%
ROOT0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
20 135 1
131 52 3
69 48 2
54 33 2
70 32 2
38 21 1
25 20 3
26 20 4
26 18 3
50 17 3
38 17 2
21 15 2
64 10 1
85 10 2
10 10 2
17 10 3
44 10 3
30 10 5
13 9 3
36 9 1
31 9 2
23 9 4
9 8 4
29 8 1
15 8 4
10 7 1
21 7 2
19 7 1
53 7 1
15 7 2
31 7 2
13 7 1
27 7 1
7 6 3
17 6 4
12 6 2
10 6 1
9 6 2
11 6 1
12 6 2
12 6 0
18 6 4
26 6 2
12 5 1
64 5 0
10 5 1
8 5 3
5 5 1
8 5 2
8 5 2
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...