JetBrains / tree-sitter
Unit Size

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

Intro
Learn more...
Unit Size Overall
16% | 24% | 29% | 14% | 15%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
rs17% | 31% | 31% | 11% | 6%
c15% | 17% | 29% | 18% | 18%
js11% | 0% | 17% | 24% | 45%
h0% | 0% | 0% | 18% | 81%
cc0% | 0% | 0% | 0% | 100%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
cli20% | 30% | 29% | 12% | 6%
lib12% | 13% | 27% | 18% | 28%
highlight0% | 37% | 41% | 10% | 10%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
292 50 6
246 28 0
209 3 0
193 2 0
177 20 3
152 21 3
131 29 3
120 30 2
120 33 3
116 20 5
116 24 5
113 28 3
113 28 3
112 24 7
111 1 0
110 28 3
102 12 3
98 6 1
97 5 2
97 1 0
95 33 4
95 19 1
95 1 0
89 11 5
88 1 0
87 28 8
87 1 0
86 1 0
86 1 0
84 1 0
83 1 0
79 16 5
78 20 1
78 12 3
77 9 2
76 21 3
71 1 0
70 21 7
70 16 3
70 10 1
69 10 3
69 11 3
68 14 6
66 16 0
66 19 1
64 5 5
63 20 3
62 5 1
62 1 0
61 14 6