gfw-api/gfw-subscription-api

View on GitHub
app/src/presenters/monthlySummaryPresenter.js

Summary

Maintainability
A
2 hrs
Test Coverage
A
95%

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

    static async transform(results, layer, subscription, begin, end) {
        EmailHelpersService.updateMonthTranslations();
        moment.locale(subscription.language || 'en');

        try {
Severity: Major
Found in app/src/presenters/monthlySummaryPresenter.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status