Conditional Complexity Overall
  • There are 118 units with 1,108 lines of code in units (90.4% of code).
    • 0 very complex units (0 lines of code)
    • 0 complex units (0 lines of code)
    • 3 medium complex units (119 lines of code)
    • 9 simple units (200 lines of code)
    • 106 very simple units (789 lines of code)
0% | 0% | 10% | 18% | 71%
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% | 10% | 18% | 71%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
data0% | 0% | 38% | 44% | 16%
core0% | 0% | 10% | 10% | 79%
compatibility0% | 0% | 16% | 40% | 43%
timing0% | 0% | 0% | 65% | 34%
sharing0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
string0% | 0% | 0% | 0% | 100%
ajax0% | 0% | 0% | 0% | 100%
dom0% | 0% | 0% | 0% | 100%
array0% | 0% | 0% | 0% | 100%
image0% | 0% | 0% | 0% | 100%
detect0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
29 14 1
44 14 1
46 12 1
34 10 1
33 10 2
14 7 3
9 6 2
1 6 1
26 6 2
30 6 1
32 6 0
21 6 1
15 5 0
46 5 1
8 5 4
9 5 2
20 5 0
20 5 1
13 4 1
7 4 1
15 4 1
14 4 1
4 3 0
34 3 2
10 3 3
11 3 2
10 3 2
4 3 1
9 3 1
12 3 2
13 3 3
9 3 3
13 3 1
7 3 0
6 2 3
7 2 0
5 2 1
4 2 1
8 2 1
6 2 0
12 2 0
6 2 0
11 2 2
19 2 2
7 2 2
10 2 1
8 2 1
7 2 1
7 2 1
6 2 1
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...