ochko/prudge

View on GitHub

Showing 151 of 206 total issues

Function val has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    val: function( value ) {
        var hooks, ret, isFunction,
            elem = this[0];

        if ( !arguments.length ) {
Severity: Minor
Found in app/assets/javascripts/jquery.js - About 1 hr to fix

    Function stop has 40 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        stop: function( type, clearQueue, gotoEnd ) {
            var stopQueue = function( hooks ) {
                var stop = hooks.stop;
                delete hooks.stop;
                stop( gotoEnd );
    Severity: Minor
    Found in app/assets/javascripts/jquery.js - About 1 hr to fix

      Function extend has 40 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      jQuery.extend = jQuery.fn.extend = function() {
          var options, name, src, copy, copyIsArray, clone,
              target = arguments[0] || {},
              i = 1,
              length = arguments.length,
      Severity: Minor
      Found in app/assets/javascripts/jquery.js - About 1 hr to fix

        Function on has 40 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            on: function( types, selector, data, fn, /*INTERNAL*/ one ) {
                var origFn, type;
        
                // Types can be a map of types/handlers
                if ( typeof types === "object" ) {
        Severity: Minor
        Found in app/assets/javascripts/jquery.js - About 1 hr to fix

          Function tokenize has 40 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

          function tokenize( selector, parseOnly ) {
              var matched, match, tokens, type,
                  soFar, groups, preFilters,
                  cached = tokenCache[ expando ][ selector + " " ];
          
          Severity: Minor
          Found in app/assets/javascripts/jquery.js - About 1 hr to fix

            Function load has 38 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

            jQuery.fn.load = function( url, params, callback ) {
                if ( typeof url !== "string" && _load ) {
                    return _load.apply( this, arguments );
                }
            
            
            Severity: Minor
            Found in app/assets/javascripts/jquery.js - About 1 hr to fix

              Function when has 36 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  when: function( subordinate /* , ..., subordinateN */ ) {
                      var i = 0,
                          resolveValues = core_slice.call( arguments ),
                          length = resolveValues.length,
              
              
              Severity: Minor
              Found in app/assets/javascripts/jquery.js - About 1 hr to fix

                Function computeTableHeaderCellIndexes has 35 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                            function computeTableHeaderCellIndexes(t) {
                                var matrix = [];
                                var lookup = {};
                                var thead = t.getElementsByTagName('THEAD')[0];
                                var trs = thead.getElementsByTagName('TR');
                Severity: Minor
                Found in app/assets/javascripts/jquery.tablesorter.js - About 1 hr to fix

                  Function showHide has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                  function showHide( elements, show ) {
                      var elem, display,
                          values = [],
                          index = 0,
                          length = elements.length;
                  Severity: Minor
                  Found in app/assets/javascripts/jquery.js - About 1 hr to fix

                    Function each has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        each: function( obj, callback, args ) {
                            var name,
                                i = 0,
                                length = obj.length,
                                isObj = length === undefined || jQuery.isFunction( obj );
                    Severity: Minor
                    Found in app/assets/javascripts/jquery.js - About 1 hr to fix

                      Function attr has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          attr: function( elem, name, value, pass ) {
                              var ret, hooks, notxml,
                                  nType = elem.nodeType;
                      
                              // don't get/set attributes on text, comment and attribute nodes
                      Severity: Minor
                      Found in app/assets/javascripts/jquery.js - About 1 hr to fix

                        Function access has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            access: function( elems, fn, key, value, chainable, emptyGet, pass ) {
                                var exec,
                                    bulk = key == null,
                                    i = 0,
                                    length = elems.length;
                        Severity: Minor
                        Found in app/assets/javascripts/jquery.js - About 1 hr to fix

                          Function cleanData has 34 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              cleanData: function( elems, /* internal */ acceptData ) {
                                  var data, id, elem, type,
                                      i = 0,
                                      internalKey = jQuery.expando,
                                      cache = jQuery.cache,
                          Severity: Minor
                          Found in app/assets/javascripts/jquery.js - About 1 hr to fix

                            Function clone has 33 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                clone: function( elem, dataAndEvents, deepDataAndEvents ) {
                                    var srcElements,
                                        destElements,
                                        i,
                                        clone;
                            Severity: Minor
                            Found in app/assets/javascripts/jquery.js - About 1 hr to fix

                              Function offset has 33 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                              jQuery.fn.offset = function( options ) {
                                  if ( arguments.length ) {
                                      return options === undefined ?
                                          this :
                                          this.each(function( i ) {
                              Severity: Minor
                              Found in app/assets/javascripts/jquery.js - About 1 hr to fix

                                Function setOffset has 32 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    setOffset: function( elem, options, i ) {
                                        var position = jQuery.css( elem, "position" );
                                
                                        // set position first, in-case top/left are set even on static elem
                                        if ( position === "static" ) {
                                Severity: Minor
                                Found in app/assets/javascripts/jquery.js - About 1 hr to fix

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

                                    , applyPlacement: function(offset, placement){
                                        var $tip = this.tip()
                                          , width = $tip[0].offsetWidth
                                          , height = $tip[0].offsetHeight
                                          , actualWidth
                                  Severity: Minor
                                  Found in app/assets/javascripts/bootstrap.js - About 1 hr to fix

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

                                                function appendToTable(table, cache) {
                                    
                                                    if (table.config.debug) {
                                                        var appendTime = new Date()
                                                    }
                                    Severity: Minor
                                    Found in app/assets/javascripts/jquery.tablesorter.js - About 1 hr to fix

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

                                          style: function( elem, name, value, extra ) {
                                              // Don't set styles on text and comment nodes
                                              if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) {
                                                  return;
                                              }
                                      Severity: Minor
                                      Found in app/assets/javascripts/jquery.js - About 1 hr to fix

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

                                        function cloneFixAttributes( src, dest ) {
                                            var nodeName;
                                        
                                            // We do not need to do anything for non-Elements
                                            if ( dest.nodeType !== 1 ) {
                                        Severity: Minor
                                        Found in app/assets/javascripts/jquery.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language