Conditional Complexity Overall
  • There are 707 units with 8,925 lines of code in units (75.7% of code).
    • 0 very complex units (0 lines of code)
    • 5 complex units (346 lines of code)
    • 21 medium complex units (956 lines of code)
    • 88 simple units (2,368 lines of code)
    • 593 very simple units (5,255 lines of code)
0% | 3% | 10% | 26% | 58%
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% | 3% | 10% | 26% | 58%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
harness0% | 5% | 12% | 24% | 57%
src0% | 0% | 6% | 34% | 58%
ROOT0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
76 36 1
76 35 1
70 31 0
74 29 1
50 29 1
60 20 2
71 20 1
90 20 0
33 20 1
50 19 0
65 19 3
59 18 2
26 17 1
32 17 6
49 16 0
55 14 3
41 14 1
22 14 5
30 13 1
54 12 2
25 12 0
69 12 1
31 12 1
31 11 2
27 11 2
36 11 0
20 10 1
26 10 2
33 10 1
61 10 3
18 10 0
32 10 3
36 10 3
34 9 1
31 9 1
44 9 2
13 9 1
33 9 1
30 9 4
30 9 0
28 9 1
25 9 3
23 9 2
36 9 1
41 8 1
27 8 4
33 8 2
22 8 1
28 8 1
18 8 3
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...