openai / openai-go
Unit Size

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

Intro
Learn more...
Unit Size Overall
5% | 8% | 14% | 18% | 53%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
go5% | 8% | 14% | 18% | 53%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
internal15% | 20% | 27% | 18% | 17%
responses0% | 4% | 9% | 11% | 74%
ROOT0% | <1% | 5% | 21% | 71%
packages0% | 0% | 34% | 20% | 45%
azure0% | 0% | 57% | 29% | 13%
option0% | 0% | 0% | 41% | 58%
shared0% | 0% | 0% | 0% | 100%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
194 49 1
169 47 1
157 51 1
152 42 1
135 40 1
97 27 1
92 29 2
87 20 6
87 24 1
86 24 1
78 34 1
76 22 1
75 21 1
72 18 1
69 33 1
60 1 0
57 20 1
56 13 1
56 14 1
55 17 3
53 25 1
51 13 1
50 1 0
50 14 4
48 12 1
48 23 2
45 22 2
44 11 1
44 9 1
44 11 2
42 7 1
42 8 1
41 26 1
41 11 1
40 12 1
39 18 3
39 8 1
38 8 1
37 12 1
37 10 1
36 12 2
35 1 0
35 14 1
35 8 1
35 8 1
35 14 1
34 7 1
34 13 1
33 6 1
33 10 1