alibaba / rtp-llm
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
3% | 3% | 18% | 18% | 56%
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
cc3% | 6% | 27% | 23% | 38%
h5% | 1% | 9% | 14% | 68%
py2% | 1% | 13% | 16% | 66%
inl0% | 0% | 52% | 19% | 27%
hpp0% | 0% | 7% | 3% | 89%
cpp0% | 0% | 4% | 20% | 75%
pyi0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
maga_transformer3% | 3% | 18% | 18% | 56%
bazel0% | 0% | 76% | 0% | 23%
benchmark0% | 0% | 0% | 91% | 8%
rtpllm_master_py0% | 0% | 0% | 18% | 81%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
442 217 1
833 201 2
201 76 1
162 60 1
219 59 1
153 57 1
435 55 3
122 52 8
96 46 1
138 45 9
187 45 1
205 42 1
210 42 12
145 38 2
68 35 1
107 34 3
175 34 1
95 33 8
144 30 4
80 28 9
167 27 17
99 27 1
104 27 3
142 27 15
145 27 1
107 27 3
106 26 2
67 26 7
77 26 8
173 26 1
76 25 2
150 25 16
150 25 1
133 25 1
64 24 2
95 24 8
92 24 7
97 24 9
94 24 8
90 24 1
120 23 2
112 23 19
42 23 2
50 23 1
46 22 5
102 22 19
135 22 1
141 22 1
159 21 17
195 21 0