Conditional Complexity Overall
  • There are 292 units with 2,860 lines of code in units (33.3% of code).
    • 0 very complex units (0 lines of code)
    • 0 complex units (0 lines of code)
    • 4 medium complex units (184 lines of code)
    • 8 simple units (127 lines of code)
    • 280 very simple units (2,549 lines of code)
0% | 0% | 6% | 4% | 89%
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% | 7% | 2% | 89%
scala0% | 0% | 0% | 15% | 84%
rb0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
public0% | 0% | 7% | 2% | 89%
app0% | 0% | 0% | 15% | 84%
utils0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
75 18 2
28 17 2
28 13 1
53 12 3
14 9 1
23 7 1
11 7 1
20 7 0
7 6 2
13 6 1
23 6 2
16 6 0
10 5 1
10 5 2
8 5 3
9 5 1
16 5 2
17 5 1
10 5 4
16 5 0
3 5 1
32 5 2
11 4 3
15 4 3
9 4 1
13 4 0
13 4 0
15 4 0
20 4 0
26 4 2
5 3 2
18 3 6
4 3 1
10 3 4
10 3 3
12 3 3
12 3 1
17 3 1
19 3 0
9 3 1
13 3 1
16 3 0
4 3 0
31 3 0
9 3 1
6 3 0
33 3 1
21 3 2
20 3 3
15 3 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...