Conditional Complexity Overall
  • There are 378 units with 5,299 lines of code in units (97.8% of code).
    • 3 very complex units (1,404 lines of code)
    • 3 complex units (193 lines of code)
    • 19 medium complex units (796 lines of code)
    • 32 simple units (720 lines of code)
    • 321 very simple units (2,186 lines of code)
26% | 3% | 15% | 13% | 41%
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
js26% | 3% | 15% | 13% | 41%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
pie34% | 3% | 13% | 15% | 32%
js0% | 2% | 18% | 8% | 69%
ROOT0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
469 97 1
468 97 1
467 97 1
92 43 1
64 37 1
37 29 2
106 23 0
28 21 1
64 19 0
37 18 0
33 17 1
42 16 2
42 16 0
53 15 1
53 15 1
29 14 2
29 14 2
53 14 0
37 14 0
70 13 2
2 13 6
36 12 1
36 12 1
20 11 0
26 11 1
16 10 3
24 10 5
43 10 1
40 10 0
36 10 0
20 10 6
23 10 4
30 10 0
27 10 0
1 9 1
40 9 3
50 9 3
11 8 3
23 8 5
9 8 1
23 7 2
10 7 4
9 7 4
17 7 2
16 7 0
36 7 0
24 7 0
34 7 0
7 6 2
10 6 6
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...