huggingface / segment-anything-2
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
0% | 0% | 17% | 17% | 64%
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
py0% | 0% | 17% | 17% | 64%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
training0% | 0% | 23% | 20% | 55%
sam20% | 0% | 10% | 14% | 75%
sav_dataset0% | 0% | 19% | 25% | 55%
coreml0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
89 25 4
45 25 2
37 24 15
84 22 3
98 20 2
105 19 1
81 17 5
48 15 2
50 15 4
36 14 3
23 14 3
32 13 3
25 12 14
41 12 3
29 11 4
34 11 1
14 11 2
41 10 4
37 10 6
32 9 2
32 9 3
25 9 2
21 9 2
22 9 3
24 9 0
16 8 1
33 8 2
28 8 3
12 8 2
16 8 3
13 8 1
13 8 2
33 8 3
39 8 4
37 8 3
22 7 2
30 7 4
18 7 3
17 7 2
18 7 3
16 7 3
12 7 2
17 7 3
19 6 5
10 6 3
10 6 3
18 6 6
15 6 2
20 6 1
16 6 1