Conditional Complexity Overall
  • There are 246 units with 2,649 lines of code in units (88.3% of code).
    • 1 very complex units (20 lines of code)
    • 3 complex units (193 lines of code)
    • 10 medium complex units (396 lines of code)
    • 33 simple units (844 lines of code)
    • 199 very simple units (1,196 lines of code)
<1% | 7% | 14% | 31% | 45%
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
js<1% | 7% | 14% | 31% | 45%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
src<1% | 7% | 16% | 26% | 48%
ROOT0% | 0% | 0% | 96% | 3%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
20 135 1
69 48 2
54 33 2
70 32 2
56 24 4
35 23 3
69 23 2
38 21 1
25 20 3
26 20 4
26 18 3
50 17 3
50 17 3
21 15 2
85 10 2
10 10 2
17 10 3
30 10 5
13 9 3
35 9 1
23 9 4
19 9 4
9 8 4
18 8 1
27 8 1
29 8 1
15 8 4
10 7 1
21 7 2
19 7 1
31 7 2
13 7 1
199 6 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
17 6 1
25 6 1
26 6 2
25 6 2
20 6 2
10 5 1
8 5 3
5 5 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...