CaffGeek/MBACNationals

View on GitHub
Web.Admin/AdminApp/Controllers/controller.practice.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function practiceController has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    var practiceController = function ($scope, $http, $q, $location, dataService) {
        var url = $location.absUrl();
        var lastSlash = url.lastIndexOf('/');
        var province = url.slice(lastSlash + 1);
        var year = url.slice(lastSlash - 4, lastSlash);
Severity: Minor
Found in Web.Admin/AdminApp/Controllers/controller.practice.js - About 1 hr to fix

    Function practiceController has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        var practiceController = function ($scope, $http, $q, $location, dataService) {
    Severity: Minor
    Found in Web.Admin/AdminApp/Controllers/controller.practice.js - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status