Conditional Complexity Overall
  • There are 782 units with 11,028 lines of code in units (84.8% of code).
    • 2 very complex units (250 lines of code)
    • 13 complex units (1,008 lines of code)
    • 33 medium complex units (1,904 lines of code)
    • 105 simple units (2,271 lines of code)
    • 629 very simple units (5,595 lines of code)
2% | 9% | 17% | 20% | 50%
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
js2% | 9% | 17% | 20% | 50%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
src5% | 14% | 24% | 17% | 39%
harness0% | 5% | 12% | 24% | 57%
ROOT0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
125 53 0
125 53 0
165 46 8
102 44 1
102 44 1
127 38 5
76 36 1
76 35 1
40 32 0
40 32 0
70 31 0
43 31 2
43 31 2
74 29 1
50 29 1
212 22 2
209 22 2
60 20 2
71 20 1
90 20 0
33 20 1
113 20 4
50 19 0
71 19 1
71 19 1
59 18 2
26 17 1
49 16 0
23 16 0
39 16 1
23 16 0
39 16 1
55 14 3
41 14 1
22 14 5
30 13 1
48 13 0
51 13 5
48 13 0
51 13 5
54 12 2
25 12 0
69 12 1
58 12 0
28 12 0
28 12 0
31 11 2
27 11 2
20 10 1
26 10 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...