Conditional Complexity Overall
  • There are 136 units with 2,054 lines of code in units (75.5% of code).
    • 0 very complex units (0 lines of code)
    • 1 complex units (382 lines of code)
    • 6 medium complex units (257 lines of code)
    • 24 simple units (610 lines of code)
    • 105 very simple units (805 lines of code)
0% | 18% | 12% | 29% | 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
js0% | 18% | 12% | 29% | 39%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
js0% | 18% | 12% | 29% | 39%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
382 36 1
61 19 3
26 14 2
49 13 2
42 12 3
59 12 2
20 11 2
17 10 1
31 10 3
31 9 3
21 9 1
19 9 2
44 9 2
40 8 1
32 8 4
13 8 2
21 8 2
13 8 2
34 8 1
23 7 2
33 7 3
40 7 1
11 7 1
13 7 2
10 6 0
15 6 2
14 6 2
81 6 1
17 6 1
16 6 2
21 6 1
21 5 4
20 5 2
11 5 3
27 5 2
12 5 0
20 5 2
20 5 3
8 5 2
12 4 1
8 4 2
9 4 2
12 4 2
6 4 2
13 4 3
4 4 0
5 4 2
10 4 0
6 4 1
6 4 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...