apache / apisix
Unit Size

The distribution of size of units (measured in lines of code).

Intro
Learn more...
Unit Size Overall
9% | 17% | 30% | 20% | 22%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
lua8% | 18% | 32% | 21% | 18%
t10% | 23% | 31% | 13% | 22%
pm89% | 0% | 0% | 3% | 6%
go5% | 3% | 18% | 31% | 40%
py0% | 18% | 22% | 23% | 35%
h0% | 0% | 100% | 0% | 0%
js0% | 0% | 8% | 23% | 68%
java0% | 0% | 0% | 27% | 72%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
t13% | 15% | 27% | 17% | 26%
apisix6% | 19% | 32% | 23% | 18%
utils0% | 0% | 37% | 46% | 15%
benchmark0% | 0% | 0% | 0% | 100%
example0% | 0% | 0% | 0% | 100%
ci0% | 0% | 0% | 0% | 100%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
415 64 1
312 24 0
202 41 4
173 25 3
130 33 2
123 8 0
122 27 0
122 14 0
121 11 0
117 19 0
110 7 0
109 24 2
103 10 0
102 24 2
101 11 0
99 6 0
98 10 0
97 20 4
92 17 0
92 12 2
89 9 0
87 10 0
87 24 4
86 25 1
84 21 2
83 15 0
83 17 3
78 16 5
76 21 2
76 19 2
75 10 0
75 11 2
74 14 5
73 9 0
73 9 0
71 3 0
70 15 2
70 12 4
69 14 5
68 9 0
68 15 2
67 9 2
67 15 2
66 11 0
66 11 0
66 6 1
65 8 0
65 5 0
65 15 3
64 8 1