openai / box2d-py
Conditional Complexity

The distribution of complexity of units (measured with McCabe index).

Intro
Learn more...
Conditional Complexity Overall
3% | 3% | 22% | 21% | 49%
Legend:
51+
26-50
11-25
6-10
1-5
Alternative Visuals
Conditional Complexity per Extension
51+
26-50
11-25
6-10
1-5
cpp4% | 4% | 25% | 22% | 42%
h0% | 0% | 0% | 10% | 89%
py0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
Box2D3% | 3% | 22% | 21% | 48%
ROOT0% | 0% | 0% | 0% | 100%
devel0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
340 53 5
231 48 1
136 27 1
147 25 4
85 21 2
87 20 0
74 18 2
163 18 2
68 17 1
115 17 1
76 16 0
104 16 3
161 15 0
68 14 1
64 13 5
93 12 1
90 12 1
43 12 2
49 12 1
112 11 1
97 11 3
50 11 0
87 11 5
107 11 1
46 11 4
101 11 5
63 10 1
95 10 5
49 10 2
51 9 3
105 9 1
100 9 1
48 8 1
54 8 0
48 8 0
81 8 0
62 8 2
63 8 1
40 8 2
63 8 0
63 8 2
46 8 4
54 8 5
35 8 4
42 7 1
53 7 3
29 7 0
69 7 1
71 7 1
74 7 1