Opetushallitus/eperusteet-opintopolku

View on GitHub
eperusteet-opintopolku-app/yo/app/scripts/common/services/kaanna.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function link has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

            link: function(scope: any, el, attrs: any) {
                function kaannaValue(value) {
                    return _.isObject(value) ? Kaanna.kaannaSisalto(value) : Kaanna.kaanna(value);
                }

Severity: Minor
Found in eperusteet-opintopolku-app/yo/app/scripts/common/services/kaanna.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status