platanus/angular-restmod

View on GitHub

Showing 24 of 33 total issues

Avoid deeply nested control flow statements.
Open

            } else if(VAR_RGX.test(_attr)) {
              $log.warn('Usage of ~ in description objects will be removed in 1.2, use a $config block instead');
              _attr = inflector.camelize(_attr.toLowerCase());
              this.setProperty(_attr, _desc);
            }
Severity: Major
Found in src/module/builder.js - About 45 mins to fix

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

      function processFeature(_raw, _name, _feature, _other, _do) {
    Severity: Minor
    Found in src/module/support/default-packer.js - About 35 mins to fix

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

          function decode(_from, _to, _prefix, _mask, _ctx) {
      Severity: Minor
      Found in src/module/serializer.js - About 35 mins to fix

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

            function encode(_from, _to, _prefix, _mask, _ctx) {
        Severity: Minor
        Found in src/module/serializer.js - About 35 mins to fix
          Severity
          Category
          Status
          Source
          Language