Conditional Complexity Overall
  • There are 48 units with 1,277 lines of code in units (21.4% of code).
    • 1 very complex units (253 lines of code)
    • 1 complex units (131 lines of code)
    • 2 medium complex units (118 lines of code)
    • 8 simple units (484 lines of code)
    • 36 very simple units (291 lines of code)
19% | 10% | 9% | 37% | 22%
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
js19% | 10% | 9% | 37% | 22%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
src25% | 13% | 11% | 20% | 28%
ROOT0% | 0% | 0% | 97% | 2%
Most Complex Units
Top 48 most complex units
Unit# linesMcCabe index# params
253 69 2
131 44 0
59 18 3
59 14 2
39 9 4
42 9 4
33 8 3
32 7 0
277 6 1
20 6 3
21 6 0
20 6 5
15 5 5
12 4 0
10 3 4
9 3 0
4 3 0
23 3 1
8 3 1
11 3 1
11 3 1
14 3 1
11 2 1
5 2 1
17 2 1
12 2 0
6 2 1
22 2 1
8 1 3
5 1 2
8 1 1
6 1 1
6 1 1
2 1 2
3 1 2
3 1 1
5 1 2
8 1 1
6 1 1
6 1 1
2 1 2
3 1 2
3 1 1
1 1 1
4 1 1
7 1 1
10 1 0
5 1 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...