Conditional Complexity Overall
  • There are 900 units with 10,717 lines of code in units (39.3% of code).
    • 1 very complex units (83 lines of code)
    • 8 complex units (453 lines of code)
    • 40 medium complex units (1,893 lines of code)
    • 173 simple units (3,247 lines of code)
    • 678 very simple units (5,041 lines of code)
<1% | 4% | 17% | 30% | 47%
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
js<1% | 4% | 17% | 30% | 47%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
charts<1% | 4% | 17% | 30% | 46%
ROOT0% | 0% | 0% | 15% | 84%
scripts0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
83 81 4
75 46 4
53 43 4
53 43 4
34 37 4
61 32 3
61 32 3
33 28 4
83 26 4
37 25 4
63 24 1
33 20 1
70 20 3
39 20 1
25 20 4
44 20 0
62 19 3
49 18 3
37 18 0
54 17 1
75 17 1
42 17 3
66 17 2
65 17 2
64 17 2
63 17 2
62 17 2
61 17 2
46 17 0
21 17 3
59 16 1
65 16 1
17 15 1
104 15 6
46 14 2
41 14 1
94 14 3
45 12 3
50 12 1
41 12 3
37 12 3
46 11 1
26 11 1
23 11 1
31 11 2
18 11 2
15 11 2
33 11 2
24 11 2
27 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...