Conditional Complexity Overall
  • There are 199 units with 2,960 lines of code in units (57.1% of code).
    • 0 very complex units (0 lines of code)
    • 1 complex units (449 lines of code)
    • 2 medium complex units (270 lines of code)
    • 4 simple units (188 lines of code)
    • 192 very simple units (2,053 lines of code)
0% | 15% | 9% | 6% | 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
ts0% | 15% | 9% | 5% | 70%
js0% | 0% | 0% | 57% | 42%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
src0% | 15% | 9% | 5% | 70%
tools0% | 0% | 0% | 63% | 36%
ROOT0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
449 35 2
225 18 2
45 16 1
41 7 1
90 6 1
39 6 3
18 6 3
20 5 1
29 5 1
37 5 3
130 5 3
55 5 3
74 5 3
12 4 2
24 4 1
39 4 2
13 4 1
7 4 3
14 4 3
12 4 1
16 3 1
37 3 3
18 3 3
26 3 3
15 3 1
6 3 1
6 3 1
16 3 3
7 3 1
14 3 1
8 3 3
6 3 1
6 3 1
6 3 1
6 3 1
6 3 1
6 3 1
9 3 1
15 3 2
6 3 1
6 3 1
6 3 1
6 3 1
12 3 2
11 3 2
24 3 3
13 3 3
17 3 3
7 3 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...