huggingface / datasets
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
2% | 6% | 18% | 16% | 55%
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
py2% | 6% | 18% | 16% | 55%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
src2% | 6% | 19% | 17% | 54%
benchmarks0% | 0% | 0% | 16% | 83%
utils0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
157 70 3
167 69 1
159 46 2
83 34 1
66 31 2
119 31 2
60 29 1
93 29 2
33 28 1
53 28 5
48 26 1
75 26 3
56 25 2
71 24 2
135 24 1
126 22 1
34 22 6
40 22 2
41 21 5
29 21 2
20 21 1
75 20 1
32 19 2
25 18 2
40 18 6
33 18 2
29 17 2
22 17 1
28 17 3
28 17 3
47 17 4
81 17 1
51 16 1
41 16 1
21 16 1
29 16 7
28 16 1
30 15 3
22 15 2
14 15 1
12 15 1
42 15 2
31 14 1
39 14 3
71 14 2
33 14 2
55 14 1
31 14 2
28 14 3
31 13 1