Conditional Complexity Overall
  • There are 2,679 units with 54,702 lines of code in units (61.5% of code).
    • 16 very complex units (5,254 lines of code)
    • 36 complex units (4,333 lines of code)
    • 203 medium complex units (12,581 lines of code)
    • 335 simple units (9,512 lines of code)
    • 2,089 very simple units (23,022 lines of code)
9% | 7% | 22% | 17% | 42%
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
ts10% | 7% | 22% | 16% | 42%
py3% | 12% | 23% | 20% | 39%
tsx34% | 0% | 38% | 11% | 16%
rs0% | 0% | 0% | 16% | 83%
cjs0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
sdk11% | 5% | 23% | 14% | 43%
plugins7% | 10% | 21% | 21% | 39%
github-action0% | 22% | 35% | 6% | 35%
evals0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
769 137 4
902 109 0
413 99 4
351 83 3
372 82 3
204 80 2
225 75 1
221 73 0
329 68 3
305 63 5
188 62 3
309 60 2
123 57 2
180 57 1
219 56 3
144 51 1
231 47 1
193 46 3
74 46 1
244 45 2
88 42 2
160 39 2
251 38 0
112 38 2
86 37 3
206 36 1
84 36 3
130 35 1
138 34 2
158 33 7
128 33 9
69 32 2
92 32 5
173 32 1
127 30 1
49 30 2
85 30 2
89 30 2
168 29 1
137 29 2
49 28 2
50 28 1
69 28 3
87 27 1
129 27 3
105 27 3
103 27 2
102 27 2
47 26 2
117 26 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...