Conditional Complexity Overall
  • There are 583 units with 7,348 lines of code in units (78.4% of code).
    • 0 very complex units (0 lines of code)
    • 5 complex units (346 lines of code)
    • 20 medium complex units (974 lines of code)
    • 72 simple units (1,692 lines of code)
    • 486 very simple units (4,336 lines of code)
0% | 4% | 13% | 23% | 59%
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% | 4% | 13% | 23% | 59%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
harness0% | 5% | 12% | 24% | 57%
src0% | 0% | 18% | 21% | 59%
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
142 24 1
60 20 2
71 20 1
90 20 0
33 20 1
50 19 0
59 18 2
26 17 1
49 16 0
55 14 3
41 14 1
22 14 5
30 13 1
54 12 2
25 12 0
69 12 1
25 12 3
31 11 2
27 11 2
15 11 1
20 10 1
26 10 2
33 10 1
61 10 3
18 10 0
34 9 1
31 9 1
44 9 2
13 9 1
33 9 1
30 9 4
30 9 0
28 9 1
41 9 1
9 9 1
25 9 3
41 8 1
27 8 4
33 8 2
22 8 1
28 8 1
18 8 3
33 8 2
24 7 4
20 7 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...