Conditional Complexity Overall
  • There are 898 units with 8,610 lines of code in units (77.1% of code).
    • 1 very complex units (682 lines of code)
    • 1 complex units (43 lines of code)
    • 22 medium complex units (711 lines of code)
    • 78 simple units (1,473 lines of code)
    • 796 very simple units (5,701 lines of code)
7% | <1% | 8% | 17% | 66%
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
js7% | <1% | 8% | 17% | 66%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
app7% | <1% | 8% | 17% | 65%
ROOT0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
682 62 3
43 29 1
44 22 2
33 20 1
27 19 3
84 18 3
29 15 1
43 14 2
49 14 0
14 14 4
23 14 4
27 13 1
69 12 1
37 12 3
24 12 3
20 12 0
27 11 2
18 11 0
28 11 0
34 11 0
19 11 2
19 11 1
24 11 1
19 11 1
20 10 3
24 10 0
26 10 0
32 10 1
40 10 1
21 10 3
30 10 2
28 9 1
17 9 3
25 9 1
33 9 1
26 9 2
22 9 1
28 9 5
19 9 1
16 9 3
18 8 3
33 8 2
8 8 2
16 8 2
13 8 1
17 8 4
15 8 2
10 8 1
15 8 2
23 8 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...