emilepharand/Babilonia

View on GitHub
server/stats/statsCounter.ts

Summary

Maintainability
A
2 hrs
Test Coverage

Function getAllLanguageStats has 58 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private async getAllLanguageStats(): Promise<LanguageStats[]> {
        const query = `
            with totalExpressions as (select
            languages.id as languageId,
            count(languageId) as totalExpressionsCount
Severity: Major
Found in server/stats/statsCounter.ts - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status