Conditional Complexity Overall
  • There are 264 units with 5,328 lines of code in units (74.1% of code).
    • 1 very complex units (75 lines of code)
    • 3 complex units (269 lines of code)
    • 19 medium complex units (1,135 lines of code)
    • 41 simple units (1,446 lines of code)
    • 200 very simple units (2,403 lines of code)
1% | 5% | 21% | 27% | 45%
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
scala1% | 5% | 21% | 27% | 45%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
src1% | 5% | 21% | 27% | 44%
project0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
75 74 2
150 33 2
44 28 3
75 26 0
97 24 1
23 22 1
100 21 2
118 20 0
128 20 0
52 19 1
22 19 1
41 19 1
64 17 0
37 17 3
50 15 2
60 13 0
60 12 2
16 12 5
20 12 1
44 11 1
60 11 1
68 11 3
75 11 2
67 10 2
32 10 4
13 10 1
33 10 5
27 10 5
39 9 7
27 9 1
32 9 2
63 9 1
50 9 3
56 9 5
77 9 0
18 9 1
31 9 2
37 9 1
32 9 1
21 8 1
12 8 3
20 8 1
62 8 0
58 8 0
19 8 1
48 8 2
36 7 1
29 7 5
41 7 2
15 7 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...