Conditional Complexity Overall
  • There are 140 units with 1,491 lines of code in units (53.6% of code).
    • 0 very complex units (0 lines of code)
    • 1 complex units (69 lines of code)
    • 6 medium complex units (230 lines of code)
    • 19 simple units (562 lines of code)
    • 114 very simple units (630 lines of code)
0% | 4% | 15% | 37% | 42%
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% | 4% | 15% | 37% | 42%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
src0% | 5% | 18% | 26% | 49%
ROOT0% | 0% | 0% | 96% | 3%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
69 48 2
38 21 1
25 20 3
26 18 3
50 17 3
21 15 2
70 12 1
85 10 2
10 10 2
17 10 3
227 9 1
13 9 3
44 9 0
9 8 4
20 8 0
10 7 1
21 7 2
19 7 1
9 7 1
7 6 3
17 6 4
12 6 2
10 6 1
9 6 2
11 6 1
12 6 2
10 5 1
8 5 3
5 5 1
8 5 2
8 5 2
9 5 1
5 4 1
8 4 0
11 4 2
4 4 1
9 4 2
7 4 2
11 4 0
17 4 3
7 4 2
16 4 2
9 4 2
4 4 2
2 4 0
10 3 3
4 3 1
5 3 1
6 3 1
4 3 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...