openai / openai-go
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
1% | 6% | 10% | 9% | 72%
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
go1% | 6% | 10% | 9% | 72%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
internal3% | 18% | 25% | 15% | 37%
responses0% | 2% | 2% | 4% | 89%
packages0% | 0% | 17% | 30% | 51%
ROOT0% | 0% | <1% | 4% | 94%
azure0% | 0% | 0% | 57% | 42%
shared0% | 0% | 0% | 0% | 100%
option0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
157 51 1
194 49 1
169 47 1
152 42 1
135 40 1
78 34 1
69 33 1
92 29 2
97 27 1
41 26 1
53 25 1
87 24 1
86 24 1
48 23 2
76 22 1
45 22 2
75 21 1
87 20 6
57 20 1
72 18 1
39 18 3
55 17 3
56 14 1
35 14 1
50 14 4
35 14 1
22 13 1
56 13 1
34 13 1
51 13 1
25 13 1
40 12 1
26 12 1
26 12 1
48 12 1
36 12 2
37 12 1
44 11 1
44 11 2
20 11 1
41 11 1
23 10 1
22 10 1
22 10 1
22 10 1
14 10 1
30 10 1
33 10 1
37 10 1
30 9 1