openai / openai-node
Unit Size

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

Intro
Learn more...
Unit Size Overall
7% | 15% | 25% | 25% | 26%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
ts8% | 16% | 22% | 25% | 27%
cjs0% | 0% | 54% | 31% | 13%
js0% | 0% | 0% | 0% | 100%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
src8% | 16% | 22% | 24% | 27%
scripts0% | 0% | 54% | 31% | 13%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
136 48 4
111 25 3
90 17 2
73 17 3
72 36 1
65 24 5
65 16 2
63 7 1
53 22 2
50 5 3
47 12 2
40 12 4
38 12 2
37 9 5
36 11 4
31 9 1
29 9 3
28 7 2
28 7 2
28 8 3
27 7 1
27 9 2
26 7 2
26 7 2
25 3 2
25 4 4
25 2 1
24 3 2
23 8 0
23 2 1
23 4 5
22 5 1
22 12 3
22 4 3
22 11 1
21 6 1
21 4 3
20 3 0
20 7 0
19 6 2
19 3 3
19 4 4
19 8 3
19 6 1
18 6 1
18 3 3
18 4 2
18 4 3
17 7 3
17 1 3