Conditional Complexity Overall
  • There are 5,199 units with 128,823 lines of code in units (53.1% of code).
    • 21 very complex units (9,878 lines of code)
    • 78 complex units (13,533 lines of code)
    • 441 medium complex units (31,948 lines of code)
    • 757 simple units (26,358 lines of code)
    • 3,902 very simple units (47,106 lines of code)
7% | 10% | 24% | 20% | 36%
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
ts7% | 9% | 23% | 21% | 37%
tsx19% | 16% | 29% | 9% | 23%
js0% | 20% | 31% | 22% | 26%
cs0% | 65% | 21% | 0% | 12%
cjs0% | 11% | 44% | 16% | 27%
py0% | 0% | 27% | 19% | 52%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
packages8% | 10% | 25% | 20% | 34%
scripts0% | 12% | 28% | 24% | 35%
sea0% | 62% | 0% | 16% | 21%
tools0% | 0% | 37% | 20% | 42%
.github0% | 0% | 45% | 21% | 33%
evals0% | 0% | 4% | 13% | 82%
ROOT0% | 0% | 0% | 46% | 53%
.gemini0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
1461 246 2
1074 210 2
749 146 4
566 126 1
334 117 1
559 105 2
344 94 3
429 79 0
357 73 9
930 68 12
342 68 8
281 62 5
332 59 1
409 58 2
190 57 3
206 57 1
474 56 0
234 54 1
171 53 1
205 52 4
231 51 1
284 49 7
297 49 6
186 47 3
257 47 1
266 46 4
176 46 10
201 46 3
123 45 7
145 43 5
267 42 9
191 41 0
120 41 3
236 40 0
88 40 8
278 40 4
368 40 1
170 40 1
210 38 3
157 38 3
187 38 3
192 38 2
243 37 8
213 36 6
283 36 1
149 36 1
251 36 3
160 36 2
188 35 2
98 35 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...