MCPcopy Index your code
hub / github.com/MALSync/MALSync / statistics

Method statistics

src/_provider/Kitsu/metaOverview.ts:160–184  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

158 }
159
160 private statistics() {
161 if (this.animeI().attributes.averageRating !== null)
162 this.meta.statistics.push({
163 title: api.storage.lang('overview_sidebar_Score'),
164 body: this.animeI().attributes.averageRating,
165 });
166
167 if (this.animeI().attributes.ratingRank !== null)
168 this.meta.statistics.push({
169 title: api.storage.lang('overview_sidebar_Ranked'),
170 body: `#${this.animeI().attributes.ratingRank}`,
171 });
172
173 if (this.animeI().attributes.popularityRank !== null)
174 this.meta.statistics.push({
175 title: api.storage.lang('overview_sidebar_Popularity'),
176 body: `#${this.animeI().attributes.popularityRank}`,
177 });
178
179 if (this.animeI().attributes.userCount !== null)
180 this.meta.statistics.push({
181 title: api.storage.lang('overview_sidebar_Members'),
182 body: this.animeI().attributes.userCount,
183 });
184 }
185
186 private info() {
187 if (

Callers 1

_initMethod · 0.95

Calls 2

animeIMethod · 0.95
langMethod · 0.80

Tested by

no test coverage detected