anthropics / orjson
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
8% | 3% | 6% | 14% | 66%
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
c31% | 13% | 8% | 15% | 31%
rs0% | 0% | 3% | 13% | 82%
h0% | 0% | 9% | 18% | 71%
py0% | 0% | 0% | 0% | 100%
pyi0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
include12% | 5% | 7% | 13% | 60%
ROOT0% | 0% | 100% | 0% | 0%
src0% | 0% | 1% | 17% | 81%
bench0% | 0% | 0% | 0% | 100%
integration0% | 0% | 0% | 0% | 100%
pysrc0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
388 93 5
388 61 5
146 49 5
112 44 9
74 43 5
30 19 4
47 18 2
47 18 2
54 18 5
50 16 2
48 14 7
44 14 2
45 13 7
52 12 3
35 12 6
63 12 0
21 11 3
21 11 1
23 10 3
36 10 1
71 10 1
48 10 2
32 10 2
39 9 3
22 9 4
42 9 6
40 9 6
24 9 2
25 9 3
22 9 6
20 8 2
14 8 2
18 8 4
21 8 3
24 8 8
27 8 8
29 8 2
27 8 1
72 8 1
15 7 4
30 7 3
21 7 1
12 7 2
57 7 1
22 6 2
12 6 2
22 6 4
23 6 5
23 6 5
21 6 4