Conditional Complexity Overall
  • There are 204 units with 1,746 lines of code in units (38.4% of code).
    • 0 very complex units (0 lines of code)
    • 0 complex units (0 lines of code)
    • 0 medium complex units (0 lines of code)
    • 4 simple units (91 lines of code)
    • 200 very simple units (1,655 lines of code)
0% | 0% | 0% | 5% | 94%
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
rb0% | 0% | 0% | 4% | 95%
js0% | 0% | 0% | 17% | 82%
go0% | 0% | 0% | 14% | 85%
scala0% | 0% | 0% | 0% | 100%
py0% | 0% | 0% | 0% | 100%
ts0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
Coding Challenges0% | 0% | 0% | 5% | 94%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
25 8 0
12 6 2
19 6 0
35 6 1
22 5 3
27 5 1
11 5 1
17 5 7
20 5 1
22 5 2
74 5 2
18 5 3
20 4 5
10 4 1
19 4 1
11 4 1
17 4 1
18 4 2
17 4 1
18 4 2
11 4 3
22 4 2
25 4 3
20 4 1
20 4 1
8 3 1
12 3 1
11 3 1
15 3 0
12 3 1
9 3 1
15 3 1
13 3 3
10 3 1
8 3 2
9 3 1
11 3 1
7 2 2
5 2 2
9 2 3
5 2 3
6 2 2
6 2 1
7 2 1
30 2 1
6 2 2
10 2 1
3 2 0
5 2 0
6 2 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...