Conditional Complexity Overall
  • There are 925 units with 8,339 lines of code in units (74.9% of code).
    • 0 very complex units (0 lines of code)
    • 0 complex units (0 lines of code)
    • 26 medium complex units (777 lines of code)
    • 85 simple units (1,759 lines of code)
    • 814 very simple units (5,803 lines of code)
0% | 0% | 9% | 21% | 69%
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% | 9% | 21% | 69%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
src0% | 0% | 9% | 21% | 69%
voronoi-points0% | 0% | 15% | 21% | 62%
ROOT0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
44 22 2
25 21 4
25 19 2
52 19 1
22 17 4
29 16 3
30 15 1
50 15 0
11 15 1
25 14 1
30 14 1
21 13 0
34 12 0
26 12 1
20 12 1
46 11 1
46 11 1
34 11 3
34 11 2
35 11 2
18 11 0
29 11 0
30 11 0
26 11 4
20 11 0
15 11 1
17 10 1
23 10 3
21 10 3
25 10 2
40 10 1
26 10 0
22 9 1
38 9 0
22 9 1
14 9 1
25 9 1
28 9 2
22 9 2
33 9 1
41 9 0
16 9 3
23 9 0
19 9 2
17 9 1
19 9 2
17 9 1
10 9 2
31 9 2
32 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...