preston/bittorious

View on GitHub

Showing 235 of 235 total issues

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

    function baseClone(value, isDeep, customizer, key, object, stackA, stackB) {
Severity: Major
Found in lib/assets/bower_components/lodash/lodash.js - About 50 mins to fix

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

        function equalArrays(array, other, equalFunc, customizer, isLoose, stackA, stackB) {
    Severity: Major
    Found in lib/assets/bower_components/lodash/lodash.js - About 50 mins to fix

      Similar blocks of code found in 2 locations. Consider refactoring.
      Open

                  if (flags.hasTransitions) {
                    easeProp = TRANSITION_PROP + TIMING_KEY;
                    temporaryStyles.push([easeProp, easeVal]);
                    node.style[easeProp] = easeVal;
                  }
      Severity: Minor
      Found in lib/assets/bower_components/angular-animate/angular-animate.js and 1 other location - About 50 mins to fix
      lib/assets/bower_components/angular-animate/angular-animate.js on lines 1238..1242

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 51.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 2 locations. Consider refactoring.
      Open

                  if (flags.hasAnimations) {
                    easeProp = ANIMATION_PROP + TIMING_KEY;
                    temporaryStyles.push([easeProp, easeVal]);
                    node.style[easeProp] = easeVal;
                  }
      Severity: Minor
      Found in lib/assets/bower_components/angular-animate/angular-animate.js and 1 other location - About 50 mins to fix
      lib/assets/bower_components/angular-animate/angular-animate.js on lines 1233..1237

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 51.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 2 locations. Consider refactoring.
      Open

          var groupBy = createAggregator(function(result, value, key) {
            if (hasOwnProperty.call(result, key)) {
              result[key].push(value);
            } else {
              result[key] = [value];
      Severity: Minor
      Found in lib/assets/bower_components/lodash/lodash.js and 1 other location - About 50 mins to fix
      lib/assets/bower_components/lodash/lodash.js on lines 9630..9636

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 51.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 2 locations. Consider refactoring.
      Open

              if (multiValue) {
                if (hasOwnProperty.call(result, value)) {
                  result[value].push(key);
                } else {
                  result[value] = [key];
      Severity: Minor
      Found in lib/assets/bower_components/lodash/lodash.js and 1 other location - About 50 mins to fix
      lib/assets/bower_components/lodash/lodash.js on lines 6513..6519

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 51.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Function parseResponse has 6 arguments (exceeds 4 allowed). Consider refactoring.
      Open

            function parseResponse(resData, operation, route, fetchUrl, response, deferred) {
      Severity: Minor
      Found in lib/assets/bower_components/restangular/src/restangular.js - About 45 mins to fix

        Function responseExtractor has 6 arguments (exceeds 4 allowed). Consider refactoring.
        Open

            config.responseExtractor = function(data, operation, what, url, response, deferred) {
        Severity: Minor
        Found in lib/assets/bower_components/restangular/dist/restangular.js - About 45 mins to fix

          Avoid deeply nested control flow statements.
          Open

                          if (angular.isFunction(templateUrl)) {
                            templateUrl = templateUrl(nextRoute.params);
                          }
          Severity: Major
          Found in lib/assets/bower_components/angular-route/angular-route.js - About 45 mins to fix

            Function addRestangularMethodFunction has 6 arguments (exceeds 4 allowed). Consider refactoring.
            Open

                  function addRestangularMethodFunction(name, operation, path, defaultParams, defaultHeaders, defaultElem) {
            Severity: Minor
            Found in lib/assets/bower_components/restangular/src/restangular.js - About 45 mins to fix

              Function restangularizeElem has 6 arguments (exceeds 4 allowed). Consider refactoring.
              Open

                    function restangularizeElem(parent, element, route, fromServer, collection, reqParams) {
              Severity: Minor
              Found in lib/assets/bower_components/restangular/dist/restangular.js - About 45 mins to fix

                Function translateDirective has 6 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                function translateDirective($translate, $q, $interpolate, $compile, $parse, $rootScope) {
                Severity: Minor
                Found in lib/assets/bower_components/angular-translate/angular-translate.js - About 45 mins to fix

                  Function restangularizeElem has 6 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                        function restangularizeElem(parent, element, route, fromServer, collection, reqParams) {
                  Severity: Minor
                  Found in lib/assets/bower_components/restangular/src/restangular.js - About 45 mins to fix

                    Function addRestangularMethodFunction has 6 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                          function addRestangularMethodFunction(name, operation, path, defaultParams, defaultHeaders, defaultElem) {
                    Severity: Minor
                    Found in lib/assets/bower_components/restangular/dist/restangular.js - About 45 mins to fix

                      Function parseResponse has 6 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                            function parseResponse(resData, operation, route, fetchUrl, response, deferred) {
                      Severity: Minor
                      Found in lib/assets/bower_components/restangular/dist/restangular.js - About 45 mins to fix

                        Function baseIsEqual has 6 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                            function baseIsEqual(value, other, customizer, isLoose, stackA, stackB) {
                        Severity: Minor
                        Found in lib/assets/bower_components/lodash/lodash.js - About 45 mins to fix

                          Function $get has 6 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                              function ($rootScope, $interpolate, $sce, $filter, $timeout, growlMessages) {
                          Severity: Minor
                          Found in lib/assets/bower_components/angular-growl-v2/build/angular-growl.js - About 45 mins to fix

                            Avoid deeply nested control flow statements.
                            Open

                                            if (!langPromises[$fallbackLanguage[i]]) {
                                              langPromises[$fallbackLanguage[i]] = loadAsync($fallbackLanguage[i]);
                                            }
                            Severity: Major
                            Found in lib/assets/bower_components/angular-translate/angular-translate.js - About 45 mins to fix

                              Avoid deeply nested control flow statements.
                              Open

                                              if (angular.isDefined(templateUrl)) {
                                                nextRoute.loadedTemplateUrl = $sce.valueOf(templateUrl);
                                                template = $templateRequest(templateUrl);
                                              }
                              Severity: Major
                              Found in lib/assets/bower_components/angular-route/angular-route.js - About 45 mins to fix

                                Function responseExtractor has 6 arguments (exceeds 4 allowed). Consider refactoring.
                                Open

                                    config.responseExtractor = function(data, operation, what, url, response, deferred) {
                                Severity: Minor
                                Found in lib/assets/bower_components/restangular/src/restangular.js - About 45 mins to fix
                                  Severity
                                  Category
                                  Status
                                  Source
                                  Language