Conditional Complexity Overall
  • There are 107 units with 1,355 lines of code in units (49.0% of code).
    • 0 very complex units (0 lines of code)
    • 0 complex units (0 lines of code)
    • 5 medium complex units (170 lines of code)
    • 20 simple units (515 lines of code)
    • 82 very simple units (670 lines of code)
0% | 0% | 12% | 38% | 49%
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% | 0% | 12% | 38% | 49%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
contact-box0% | 0% | 12% | 42% | 45%
src0% | 0% | 30% | 0% | 69%
ROOT0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
61 19 3
21 18 4
26 14 2
42 12 3
20 11 2
31 10 3
31 9 3
21 9 1
19 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
10 6 0
15 6 2
14 6 2
81 6 1
17 6 1
16 6 2
21 5 4
20 5 2
11 5 3
27 5 2
12 5 0
20 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
12 4 0
5 4 2
16 3 1
3 3 1
15 3 0
8 3 1
7 3 1
12 3 2
9 3 2
13 3 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...