Conditional Complexity Overall
  • There are 846 units with 8,091 lines of code in units (85.2% of code).
    • 1 very complex units (672 lines of code)
    • 1 complex units (43 lines of code)
    • 21 medium complex units (627 lines of code)
    • 77 simple units (1,587 lines of code)
    • 746 very simple units (5,162 lines of code)
8% | <1% | 7% | 19% | 63%
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
js8% | <1% | 7% | 19% | 63%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
src9% | <1% | 6% | 18% | 64%
harness0% | 0% | 18% | 31% | 50%
ROOT0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
672 64 3
43 28 1
44 22 2
33 20 1
27 19 3
29 15 1
49 14 0
14 14 4
23 14 4
42 13 1
27 13 1
69 12 1
37 12 3
24 12 3
28 12 0
20 12 0
27 11 2
18 11 0
34 11 0
19 11 2
19 11 1
25 11 1
19 11 1
73 10 1
20 10 3
24 10 0
24 10 4
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
24 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
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...