Conditional Complexity Overall
  • There are 267 units with 3,944 lines of code in units (82.8% of code).
    • 3 very complex units (1,084 lines of code)
    • 2 complex units (148 lines of code)
    • 7 medium complex units (240 lines of code)
    • 37 simple units (914 lines of code)
    • 218 very simple units (1,558 lines of code)
27% | 3% | 6% | 23% | 39%
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
js27% | 3% | 6% | 23% | 39%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
project29% | 4% | 6% | 17% | 42%
ROOT0% | 0% | 0% | 96% | 3%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
21 126 1
969 67 1
94 55 6
70 29 6
78 27 3
66 21 3
27 17 1
42 16 1
38 12 0
45 12 3
15 11 2
7 11 1
23 10 1
10 10 1
282 9 1
45 9 1
18 9 1
11 9 1
17 9 3
29 9 3
23 8 1
18 8 0
10 8 1
27 8 1
19 8 3
10 8 3
19 8 3
14 8 3
16 8 2
15 7 2
13 7 3
15 6 0
15 6 0
15 6 1
25 6 2
28 6 0
23 6 1
29 6 1
19 6 0
3 6 1
19 6 1
13 6 1
17 6 4
10 6 3
14 6 3
12 6 3
12 6 3
12 6 3
14 6 4
20 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...