CaffGeek/MBACNationals

View on GitHub
Web.Admin/ClientApp/Services/service.data.js

Summary

Maintainability
A
3 hrs
Test Coverage

Function dataService has 89 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    var dataService = function ($http, $location) {
        var url = $location.absUrl();
        var host = $location.host();
        var firstSlash = url.indexOf('/', url.indexOf(host)) + 1;
        var currentYear = url.slice(firstSlash, firstSlash + 4);
Severity: Major
Found in Web.Admin/ClientApp/Services/service.data.js - About 3 hrs to fix

    There are no issues that match your filters.

    Category
    Status