Conditional Complexity Overall
  • There are 88 units with 1,534 lines of code in units (68.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)
    • 13 simple units (500 lines of code)
    • 72 very simple units (915 lines of code)
0% | 0% | 7% | 32% | 59%
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
scala0% | 0% | 7% | 32% | 59%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
common0% | 0% | 13% | 36% | 50%
src0% | 0% | 0% | 27% | 72%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
36 15 8
30 13 1
53 11 1
16 10 2
61 10 2
59 10 1
49 9 1
13 8 1
51 8 1
55 8 2
28 7 1
19 7 1
58 7 1
22 6 2
19 6 1
50 6 1
21 5 1
18 5 2
27 5 3
34 5 1
29 5 2
22 5 2
31 5 2
12 4 2
9 4 1
9 4 1
13 4 1
21 4 3
36 4 1
10 4 2
17 4 0
14 4 0
14 4 2
19 4 2
22 4 2
8 3 2
7 3 1
13 3 2
4 3 2
9 3 3
18 3 2
11 3 1
17 3 2
10 3 2
15 3 2
10 3 2
18 3 3
11 3 2
18 3 2
13 2 3
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...