Conditional Complexity Overall
  • There are 1,060 units with 9,468 lines of code in units (50.8% of code).
    • 1 very complex units (297 lines of code)
    • 0 complex units (0 lines of code)
    • 8 medium complex units (345 lines of code)
    • 36 simple units (779 lines of code)
    • 1,015 very simple units (8,047 lines of code)
3% | 0% | 3% | 8% | 84%
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
js5% | 0% | 3% | 5% | 85%
scala0% | 0% | 3% | 11% | 84%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
public5% | 0% | 3% | 5% | 84%
app0% | 0% | 3% | 11% | 84%
scripts0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
297 61 6
91 19 0
33 18 1
36 18 0
127 17 0
10 13 2
18 12 1
15 12 1
15 11 1
13 10 1
15 10 4
64 10 1
30 10 0
42 9 0
42 9 0
31 9 0
15 9 1
9 8 1
30 8 1
26 8 1
33 8 0
12 8 1
23 7 1
12 7 1
13 7 0
18 7 0
10 7 2
10 7 3
24 7 0
34 7 1
13 7 0
26 7 1
31 7 0
8 7 0
8 7 0
8 7 3
18 7 1
12 6 1
21 6 2
36 6 1
17 6 1
32 6 1
22 6 1
10 6 1
11 6 0
25 5 0
36 5 0
8 5 2
18 5 0
16 5 0
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...