openai / openai-python
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
1% | 3% | 5% | 5% | 83%
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
py1% | 3% | 5% | 5% | 83%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
src1% | 3% | 5% | 5% | 84%
scripts0% | 0% | 38% | 0% | 61%
ROOT0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
115 55 2
107 37 3
107 36 3
70 36 3
105 34 2
43 21 4
53 19 0
40 18 1
53 15 0
18 15 4
61 15 4
24 14 0
36 14 2
45 13 1
33 12 1
40 12 2
41 12 4
41 12 4
18 11 3
53 11 1
53 10 1
14 9 18
14 9 18
23 9 1
14 8 1
14 8 1
43 8 0
18 8 2
22 8 2
22 8 3
14 8 2
7 8 1
29 7 1
18 7 1
15 7 1
12 7 2
8 7 1
23 7 2
16 7 0
9 7 2
7 6 1
14 6 3
17 6 1
11 6 1
9 6 2
7 6 2
9 6 3
25 6 2
14 6 2
10 6 1