SimpliField/angular-sf-load

View on GitHub

Showing 2 of 10 total issues

File load.service.specs.js has 561 lines of code (exceeds 250 allowed). Consider refactoring.
Open

import assert from 'assert';
import sinon from 'sinon';
import Promise from 'bluebird';
import { LoadService } from './load.service';

Severity: Major
Found in src/load.service.specs.js - About 1 day to fix

    Function LoadService has 72 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    function LoadService($q, $log) {
      return {
        runState: runCustomState.bind(null, 'actions'),
        runCustomState: runCustomState,
        loadState: loadCustomState.bind(null, 'states'),
    Severity: Major
    Found in src/load.service.js - About 2 hrs to fix
      Severity
      Category
      Status
      Source
      Language