Conditional Complexity Overall
  • There are 21,146 units with 229,605 lines of code in units (72.8% of code).
    • 19 very complex units (4,135 lines of code)
    • 67 complex units (6,109 lines of code)
    • 564 medium complex units (28,384 lines of code)
    • 1,387 simple units (38,554 lines of code)
    • 19,109 very simple units (152,423 lines of code)
1% | 2% | 12% | 16% | 66%
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
scala2% | 3% | 13% | 17% | 63%
py0% | 1% | 6% | 13% | 77%
java0% | 1% | 9% | 17% | 72%
js0% | 0% | 13% | 14% | 71%
c0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
sql3% | 4% | 14% | 17% | 59%
core1% | 1% | 12% | 17% | 66%
mllib1% | <1% | 12% | 14% | 70%
python0% | 1% | 6% | 13% | 78%
repl0% | 18% | 17% | 22% | 41%
dev0% | 8% | 28% | 10% | 52%
resource-managers0% | 0% | 15% | 15% | 68%
launcher0% | 0% | 28% | 15% | 56%
common0% | 0% | 6% | 17% | 76%
mllib-local0% | 0% | 22% | 33% | 44%
graphx0% | 0% | 8% | 12% | 79%
streaming0% | 0% | 2% | 17% | 80%
project0% | 0% | 4% | 0% | 95%
tools0% | 0% | 0% | 43% | 56%
R0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
374 147 1
413 138 2
214 105 2
608 105 4
387 88 1
54 81 1
249 81 1
306 79 2
211 77 3
72 67 1
84 67 1
271 65 1
69 63 1
149 59 2
93 56 1
175 56 4
57 55 2
111 54 2
238 51 0
59 50 4
126 47 4
83 46 0
137 46 1
116 46 1
125 45 2
127 45 2
98 42 1
26 41 1
182 40 2
38 40 1
85 39 2
69 39 1
103 39 4
63 38 1
42 38 2
102 37 2
122 36 2
68 36 2
111 35 3
111 35 2
41 35 1
146 35 2
70 34 2
96 34 1
113 34 4
96 34 2
42 34 1
107 33 3
140 33 2
128 33 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...