diffux/diffux

View on GitHub

Showing 229 of 579 total issues

Function trigger has 85 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    trigger: function( event, data, elem, onlyHandlers ) {

        var i, cur, tmp, bubbleType, ontype, handle, special,
            eventPath = [ elem || document ],
            type = hasOwn.call( event, "type" ) ? event.type : event,
Severity: Major
Found in bower_components/jquery/src/event.js - About 3 hrs to fix

    Function Animation has 84 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    function Animation( elem, properties, options ) {
        var result,
            stopped,
            index = 0,
            length = animationPrefilters.length,
    Severity: Major
    Found in bower_components/jquery/dist/jquery.js - About 3 hrs to fix

      Function Animation has 84 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      function Animation( elem, properties, options ) {
          var result,
              stopped,
              index = 0,
              length = animationPrefilters.length,
      Severity: Major
      Found in bower_components/jquery/src/effects.js - About 3 hrs to fix

        File rails.js has 302 lines of code (exceeds 250 allowed). Consider refactoring.
        Open

        (function($, undefined) {
        
        /**
         * Unobtrusive scripting adapter for jQuery
         * https://github.com/rails/jquery-ujs
        Severity: Minor
        Found in bower_components/jquery-ujs/src/rails.js - About 3 hrs to fix

          Function Sizzle has 75 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

          function Sizzle( selector, context, results, seed ) {
              var match, elem, m, nodeType,
                  // QSA vars
                  i, groups, old, nid, newContext, newSelector;
          
          
          Severity: Major
          Found in bower_components/jquery/dist/jquery.js - About 3 hrs to fix

            Function Sizzle has 75 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

            function Sizzle( selector, context, results, seed ) {
                var match, elem, m, nodeType,
                    // QSA vars
                    i, groups, old, nid, newContext, newSelector;
            
            
            Severity: Major
            Found in bower_components/jquery/src/sizzle/dist/sizzle.js - About 3 hrs to fix

              Function add has 68 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  add: function( elem, types, handler, data, selector ) {
              
                      var handleObjIn, eventHandle, tmp,
                          events, t, handleObj,
                          special, handlers, type, namespaces, origType,
              Severity: Major
              Found in bower_components/jquery/dist/jquery.js - About 2 hrs to fix

                Function matcherFromGroupMatchers has 68 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                function matcherFromGroupMatchers( elementMatchers, setMatchers ) {
                    var bySet = setMatchers.length > 0,
                        byElement = elementMatchers.length > 0,
                        superMatcher = function( seed, context, xml, results, outermost ) {
                            var elem, j, matcher,
                Severity: Major
                Found in bower_components/jquery/dist/jquery.js - About 2 hrs to fix

                  Function add has 68 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      add: function( elem, types, handler, data, selector ) {
                  
                          var handleObjIn, eventHandle, tmp,
                              events, t, handleObj,
                              special, handlers, type, namespaces, origType,
                  Severity: Major
                  Found in bower_components/jquery/src/event.js - About 2 hrs to fix

                    Function matcherFromGroupMatchers has 68 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                    function matcherFromGroupMatchers( elementMatchers, setMatchers ) {
                        var bySet = setMatchers.length > 0,
                            byElement = elementMatchers.length > 0,
                            superMatcher = function( seed, context, xml, results, outermost ) {
                                var elem, j, matcher,
                    Severity: Major
                    Found in bower_components/jquery/src/sizzle/dist/sizzle.js - About 2 hrs to fix

                      Function done has 67 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                              function done( status, nativeStatusText, responses, headers ) {
                                  var isSuccess, success, error, response, modified,
                                      statusText = nativeStatusText;
                      
                                  // Called once
                      Severity: Major
                      Found in bower_components/jquery/dist/jquery.js - About 2 hrs to fix

                        Function done has 67 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                                function done( status, nativeStatusText, responses, headers ) {
                                    var isSuccess, success, error, response, modified,
                                        statusText = nativeStatusText;
                        
                                    // Called once
                        Severity: Major
                        Found in bower_components/jquery/src/ajax.js - About 2 hrs to fix

                          Function setMatcher has 66 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                          function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) {
                              if ( postFilter && !postFilter[ expando ] ) {
                                  postFilter = setMatcher( postFilter );
                              }
                              if ( postFinder && !postFinder[ expando ] ) {
                          Severity: Major
                          Found in bower_components/jquery/dist/jquery.js - About 2 hrs to fix

                            Function setMatcher has 66 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                            function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) {
                                if ( postFilter && !postFilter[ expando ] ) {
                                    postFilter = setMatcher( postFilter );
                                }
                                if ( postFinder && !postFinder[ expando ] ) {
                            Severity: Major
                            Found in bower_components/jquery/src/sizzle/dist/sizzle.js - About 2 hrs to fix

                              Function handleRemote has 62 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  handleRemote: function(element) {
                                    var method, url, data, elCrossDomain, crossDomain, withCredentials, dataType, options;
                              
                                    if (rails.fire(element, 'ajax:before')) {
                                      elCrossDomain = element.data('cross-domain');
                              Severity: Major
                              Found in bower_components/jquery-ujs/src/rails.js - About 2 hrs to fix

                                Function superMatcher has 61 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                        superMatcher = function( seed, context, xml, results, outermost ) {
                                            var elem, j, matcher,
                                                matchedCount = 0,
                                                i = "0",
                                                unmatched = seed && [],
                                Severity: Major
                                Found in bower_components/jquery/dist/jquery.js - About 2 hrs to fix

                                  Function superMatcher has 61 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                          superMatcher = function( seed, context, xml, results, outermost ) {
                                              var elem, j, matcher,
                                                  matchedCount = 0,
                                                  i = "0",
                                                  unmatched = seed && [],
                                  Severity: Major
                                  Found in bower_components/jquery/src/sizzle/dist/sizzle.js - About 2 hrs to fix

                                    Function CHILD has 59 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                            "CHILD": function( type, what, argument, first, last ) {
                                                var simple = type.slice( 0, 3 ) !== "nth",
                                                    forward = type.slice( -4 ) !== "last",
                                                    ofType = what === "of-type";
                                    
                                    
                                    Severity: Major
                                    Found in bower_components/jquery/dist/jquery.js - About 2 hrs to fix

                                      Function Deferred has 59 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          Deferred: function( func ) {
                                              var tuples = [
                                                      // action, add listener, listener list, final state
                                                      [ "resolve", "done", jQuery.Callbacks("once memory"), "resolved" ],
                                                      [ "reject", "fail", jQuery.Callbacks("once memory"), "rejected" ],
                                      Severity: Major
                                      Found in bower_components/jquery/dist/jquery.js - About 2 hrs to fix

                                        Function CHILD has 59 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                                "CHILD": function( type, what, argument, first, last ) {
                                                    var simple = type.slice( 0, 3 ) !== "nth",
                                                        forward = type.slice( -4 ) !== "last",
                                                        ofType = what === "of-type";
                                        
                                        
                                        Severity: Major
                                        Found in bower_components/jquery/src/sizzle/dist/sizzle.js - About 2 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language