anthropics / anthropic-sdk-python
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
0% | 8% | 7% | 7% | 77%
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% | 8% | 7% | 7% | 77%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
src0% | 8% | 6% | 7% | 77%
scripts0% | 0% | 38% | 0% | 61%
ROOT0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
128 40 3
126 39 3
70 36 3
43 21 4
26 16 4
36 16 1
24 14 0
36 14 2
45 13 1
33 12 1
18 11 3
24 11 4
23 10 1
12 9 16
12 9 16
18 8 2
22 8 2
14 8 14
14 8 14
12 7 3
12 7 3
12 7 2
8 7 1
23 7 2
16 7 0
13 7 1
14 6 3
9 6 2
9 6 3
23 6 2
23 6 2
10 6 1
12 5 3
15 5 2
6 5 1
6 5 1
16 5 3
17 5 2
16 5 1
7 5 2
10 5 2
10 4 1
10 4 1
8 4 2
10 4 3
7 4 1
5 4 1
9 4 2
9 4 5
9 4 1