openai / box2d-py
Unit Size

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

Intro
Learn more...
Unit Size Overall
19% | 28% | 20% | 13% | 18%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
cpp22% | 32% | 22% | 11% | 11%
h0% | 5% | 5% | 23% | 66%
py0% | 0% | 0% | 90% | 10%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
Box2D19% | 28% | 20% | 12% | 18%
ROOT0% | 0% | 0% | 100% | 0%
devel0% | 0% | 0% | 68% | 31%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
340 53 5
231 48 1
163 18 2
161 15 0
147 25 4
136 27 1
115 17 1
112 11 1
107 11 1
105 9 1
104 16 3
101 11 5
100 9 1
97 11 3
95 10 5
93 12 1
91 5 1
90 12 1
87 20 0
87 11 5
85 21 2
82 4 1
81 8 0
76 16 0
74 7 1
74 18 2
71 6 1
71 7 1
69 7 1
69 5 1
68 14 1
68 17 1
66 6 6
65 5 1
64 13 5
63 10 1
63 8 1
63 8 0
63 8 2
62 8 2
56 3 1
54 8 0
54 8 5
53 7 3
53 3 1
53 4 1
52 4 0
52 3 1
51 9 3
51 4 3