anthropics / orjson
Unit Size

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

Intro
Learn more...
Unit Size Overall
14% | 8% | 30% | 15% | 31%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
c41% | 5% | 24% | 9% | 18%
rs5% | 11% | 34% | 18% | 29%
h0% | 3% | 26% | 12% | 57%
py0% | 0% | 0% | 31% | 68%
pyi0% | 0% | 0% | 0% | 100%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
include19% | 7% | 31% | 14% | 27%
src3% | 10% | 29% | 17% | 38%
ROOT0% | 100% | 0% | 0% | 0%
integration0% | 0% | 0% | 100% | 0%
bench0% | 0% | 0% | 0% | 100%
pysrc0% | 0% | 0% | 0% | 100%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
388 93 5
388 61 5
180 1 0
146 49 5
112 44 9
107 5 2
93 6 2
81 1 0
74 43 5
72 8 1
71 10 1
63 12 0
62 1 0
57 7 1
56 6 2
54 18 5
52 12 3
52 1 0
50 16 2
48 14 7
48 10 2
47 18 2
47 18 2
45 13 7
45 3 2
45 1 2
44 1 0
44 14 2
44 1 3
42 9 6
42 1 0
41 2 0
41 6 2
41 6 2
40 9 6
39 9 3
39 1 0
39 1 0
39 2 2
38 1 0
37 1 0
37 6 2
36 10 1
35 12 6
34 1 0
34 5 2
34 4 2
33 1 0
32 2 3
32 4 1