preston/bittorious

View on GitHub

Showing 181 of 235 total issues

Function createHybridWrapper has 10 arguments (exceeds 4 allowed). Consider refactoring.
Open

    function createHybridWrapper(func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary, arity) {
Severity: Major
Found in lib/assets/bower_components/lodash/lodash.js - About 1 hr to fix

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

        function random(min, max, floating) {
          if (floating && isIterateeCall(min, max, floating)) {
            max = floating = undefined;
          }
          var noMin = min == null,
    Severity: Minor
    Found in lib/assets/bower_components/lodash/lodash.js - About 1 hr to fix

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

            function executeAnimationFn(fn, element, event, options, onDone) {
              var args;
              switch (event) {
                case 'animate':
                  args = [element, options.from, options.to, onDone];
      Severity: Minor
      Found in lib/assets/bower_components/angular-animate/angular-animate.js - About 1 hr to fix

        Method register_peer has 31 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            def register_peer(peer_params, user = nil)
                torrent = Torrent.where(info_hash: peer_params[:info_hash]).first
                peer = Peer.find_or_create_by!(torrent_id: torrent, peer_id: peer_params[:peer_id])
                peer.torrent = torrent
                peer.update_attributes(
        Severity: Minor
        Found in app/models/torrent.rb - About 1 hr to fix

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

                function groupEventedAnimations(element, event, options, animations, fnName) {
                  var operations = [];
                  forEach(animations, function(ani) {
                    var animation = ani[fnName];
                    if (!animation) return;
          Severity: Minor
          Found in lib/assets/bower_components/angular-animate/angular-animate.js - About 1 hr to fix

            Function binaryIndexBy has 29 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                function binaryIndexBy(array, value, iteratee, retHighest) {
                  value = iteratee(value);
            
                  var low = 0,
                      high = array ? array.length : 0,
            Severity: Minor
            Found in lib/assets/bower_components/lodash/lodash.js - About 1 hr to fix

              Function okCallback has 29 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                      var okCallback = function(response) {
                        var resData = response.data;
                        var fullParams = response.config.params;
                        var elem = parseResponse(resData, operation, route, fetchUrl, response, deferred);
                        if (elem) {
              Severity: Minor
              Found in lib/assets/bower_components/restangular/dist/restangular.js - About 1 hr to fix

                Function baseMerge has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    function baseMerge(object, source, customizer, stackA, stackB) {
                      if (!isObject(object)) {
                        return object;
                      }
                      var isSrcArr = isArrayLike(source) && (isArray(source) || isTypedArray(source)),
                Severity: Minor
                Found in lib/assets/bower_components/lodash/lodash.js - About 1 hr to fix

                  Function okCallback has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                          var okCallback = function(response) {
                            var resData = response.data;
                            var fullParams = response.config.params;
                            var elem = parseResponse(resData, operation, route, fetchUrl, response, deferred);
                            if (elem) {
                  Severity: Minor
                  Found in lib/assets/bower_components/restangular/src/restangular.js - About 1 hr to fix

                    Function start has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                            start: function() {
                              var runner;
                    
                              var currentAnimation = startingAnimator.start();
                              currentAnimation.done(function() {
                    Severity: Minor
                    Found in lib/assets/bower_components/angular-animate/angular-animate.js - About 1 hr to fix

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

                             function($$rAF,   $rootScope,   $rootElement,   $document,   $$HashMap,
                                      $$animation,   $$AnimateRunner,   $templateRequest,   $$jqLite) {
                      Severity: Major
                      Found in lib/assets/bower_components/angular-animate/angular-animate.js - About 1 hr to fix

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

                              var determineTranslationInstant = function (translationId, interpolateParams, interpolationId) {
                        
                                var result, table = $uses ? $translationTable[$uses] : $translationTable,
                                    Interpolator = defaultInterpolator;
                        
                        
                        Severity: Minor
                        Found in lib/assets/bower_components/angular-translate/angular-translate.js - About 1 hr to fix

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

                              function equalArrays(array, other, equalFunc, customizer, isLoose, stackA, stackB) {
                                var index = -1,
                                    arrLength = array.length,
                                    othLength = other.length;
                          
                          
                          Severity: Minor
                          Found in lib/assets/bower_components/lodash/lodash.js - About 1 hr to fix

                            Function resource has 8 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

                                BaseCreator.prototype.resource = function(current, $http, localHttpConfig, callHeaders, callParams, what, etag,operation) {
                            Severity: Major
                            Found in lib/assets/bower_components/restangular/dist/restangular.js - About 1 hr to fix

                              Function resource has 8 arguments (exceeds 4 allowed). Consider refactoring.
                              Open

                                  BaseCreator.prototype.resource = function(current, $http, localHttpConfig, callHeaders, callParams, what, etag,operation) {
                              Severity: Major
                              Found in lib/assets/bower_components/restangular/src/restangular.js - About 1 hr to fix

                                Function createWrapper has 8 arguments (exceeds 4 allowed). Consider refactoring.
                                Open

                                    function createWrapper(func, bitmask, thisArg, partials, holders, argPos, ary, arity) {
                                Severity: Major
                                Found in lib/assets/bower_components/lodash/lodash.js - About 1 hr to fix

                                  Consider simplifying this complex logical expression.
                                  Open

                                          if (objCtor != othCtor &&
                                              ('constructor' in object && 'constructor' in other) &&
                                              !(typeof objCtor == 'function' && objCtor instanceof objCtor &&
                                                typeof othCtor == 'function' && othCtor instanceof othCtor)) {
                                            return false;
                                  Severity: Major
                                  Found in lib/assets/bower_components/lodash/lodash.js - About 1 hr to fix

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

                                           function($window,   $$jqLite,   $$AnimateRunner,   $timeout,
                                                    $document,   $sniffer,   $$rAFScheduler) {
                                    Severity: Major
                                    Found in lib/assets/bower_components/angular-animate/angular-animate.js - About 50 mins to fix

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

                                          config.fullRequestInterceptor = function(element, operation, path, url, headers, params, httpConfig) {
                                      Severity: Major
                                      Found in lib/assets/bower_components/restangular/src/restangular.js - About 50 mins to fix

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

                                              function($rootScope, $location, $routeParams, $q, $injector, $templateRequest, $sce) {
                                        Severity: Major
                                        Found in lib/assets/bower_components/angular-route/angular-route.js - About 50 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language