Conditional Complexity Overall
  • There are 5,844 units with 31,583 lines of code in units (16.9% of code).
    • 0 very complex units (0 lines of code)
    • 2 complex units (176 lines of code)
    • 15 medium complex units (677 lines of code)
    • 56 simple units (1,412 lines of code)
    • 5,771 very simple units (29,318 lines of code)
0% | <1% | 2% | 4% | 92%
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% | 1% | 5% | 12% | 80%
rbi0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
lib0% | 1% | 5% | 12% | 80%
rbi0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
101 33 0
75 28 5
122 18 4
47 17 6
50 17 0
50 16 2
30 13 2
30 13 2
30 13 2
55 12 1
65 12 0
26 11 2
30 11 1
16 11 2
51 11 0
32 11 2
43 11 1
24 10 2
24 10 2
75 10 8
59 10 0
24 9 2
53 9 1
78 9 3
22 9 2
22 9 2
28 9 1
20 8 2
20 8 2
37 8 1
33 8 7
114 8 1
23 8 2
41 8 0
20 7 1
38 7 0
18 7 2
18 7 2
18 7 2
18 7 2
18 7 2
18 7 2
18 7 2
18 7 2
18 7 2
18 7 2
18 7 2
18 7 2
18 7 2
18 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...