myems-admin/js/angular/angular-cookies.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function $$CookieWriter has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function $$CookieWriter($document, $log, $browser) {
  var cookiePath = $browser.baseHref();
  var rawDocument = $document[0];

  function buildCookieString(name, value, options) {
Severity: Minor
Found in myems-admin/js/angular/angular-cookies.js - About 1 hr to fix

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

       provider('$cookies', [/** @this */function $CookiesProvider() {
        /**
         * @ngdoc property
         * @name $cookiesProvider#defaults
         * @description
    Severity: Minor
    Found in myems-admin/js/angular/angular-cookies.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status