jakubrohleder/angular-jsonapi

View on GitHub
src/sources/parse/source-parse.factory.js

Summary

Maintainability
C
1 day
Test Coverage

Function AngularJsonAPISourceParseWrapper has 97 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function AngularJsonAPISourceParseWrapper(
    AngularJsonAPIModelSourceError,
    AngularJsonAPISourcePrototype,
    AngularJsonAPIModelLinkerService,
    pluralize,
Severity: Major
Found in src/sources/parse/source-parse.factory.js - About 3 hrs to fix

    Function AngularJsonAPISourceParse has 83 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        function AngularJsonAPISourceParse(name, table) {
          var _this = this;
    
          _this.ParseObject = Parse.Object.extend(table);
          _this.type = pluralize(table).charAt(0).toLowerCase() + pluralize(table).slice(1);
    Severity: Major
    Found in src/sources/parse/source-parse.factory.js - About 3 hrs to fix

      Function AngularJsonAPISourceParseWrapper has 7 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          AngularJsonAPIModelSourceError,
          AngularJsonAPISourcePrototype,
          AngularJsonAPIModelLinkerService,
          pluralize,
          Parse,
      Severity: Major
      Found in src/sources/parse/source-parse.factory.js - About 50 mins to fix

        There are no issues that match your filters.

        Category
        Status