server/stats/statsCounter.ts
Function getAllLanguageStats
has 58 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private async getAllLanguageStats(): Promise<LanguageStats[]> {
const query = `
with totalExpressions as (select
languages.id as languageId,
count(languageId) as totalExpressionsCount