Conditional Complexity Overall
  • There are 9,741 units with 49,644 lines of code in units (19.5% of code).
    • 3 very complex units (440 lines of code)
    • 3 complex units (279 lines of code)
    • 34 medium complex units (1,615 lines of code)
    • 93 simple units (2,254 lines of code)
    • 9,608 very simple units (45,056 lines of code)
<1% | <1% | 3% | 4% | 90%
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
rb3% | 1% | 11% | 13% | 70%
py0% | 0% | 2% | 58% | 38%
cjs0% | 0% | 0% | 86% | 14%
rbi0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
lib3% | 2% | 11% | 13% | 70%
scripts0% | 0% | 9% | 35% | 54%
rbi0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
110 62 1
205 55 0
125 53 0
77 32 2
46 31 1
156 29 5
36 22 1
56 22 0
79 19 1
36 19 0
16 18 4
52 18 0
29 17 0
31 17 1
70 16 1
24 16 0
27 16 1
69 16 2
39 15 1
89 15 2
21 15 1
47 15 4
89 14 3
64 14 0
46 14 1
38 14 1
40 14 1
40 13 3
17 13 2
60 13 1
28 13 0
39 13 1
29 12 3
78 12 3
31 12 4
40 12 1
48 11 2
136 11 1
41 11 2
30 11 4
21 10 2
38 10 4
50 10 0
9 10 2
44 10 0
10 10 0
29 10 2
8 10 2
15 10 2
28 9 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...