Opetushallitus/eperusteet-frontend-utils

View on GitHub
components/footer/footer.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function FooterData has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    export const FooterData = function ($http, $window, $q) {
        let data = null;
        let fetched = false;
        const pattern = /([^=]+)=([^=]+)(?:\n|$)/gi;
        this.fetch = function() {
Severity: Minor
Found in components/footer/footer.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status