huggingface / text-generation-inference
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
0% | 3% | 11% | 11% | 74%
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% | 2% | 10% | 12% | 74%
rs0% | 9% | 13% | 6% | 70%
hpp0% | 0% | 0% | 0% | 100%
cpp0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
launcher0% | 34% | 21% | 1% | 42%
server0% | 2% | 13% | 11% | 72%
backends0% | 1% | 8% | 11% | 78%
router0% | 0% | 9% | 10% | 79%
clients0% | 0% | 8% | 21% | 70%
ROOT0% | 0% | 0% | 87% | 12%
load_tests0% | 0% | 0% | 30% | 69%
benchmark0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
246 42 33
178 32 2
184 32 1
178 32 2
275 30 0
153 30 2
88 27 2
86 22 3
78 21 3
164 21 7
220 21 2
78 21 3
64 20 2
74 19 3
119 18 5
67 18 4
58 18 2
114 17 5
60 17 1
108 17 7
60 17 1
74 16 3
165 16 2
60 16 4
54 15 4
49 15 4
144 15 4
75 15 3
56 15 4
111 15 5
67 15 3
67 14 2
101 14 2
100 14 2
67 14 2
92 14 2
42 14 4
90 13 4
51 13 4
51 13 4
54 13 1
59 12 1
50 12 1
51 12 3
157 12 2
50 12 1
95 12 2
32 12 2
45 12 3
70 12 3