wbrefvem/corkboard

View on GitHub

Showing 153 of 212 total issues

File jquery.js has 6570 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/*!
 * jQuery JavaScript Library v1.9.1
 * http://jquery.com/
 *
 * Includes Sizzle.js
Severity: Major
Found in static/admin/js/jquery.js - About 2 wks to fix

    Function ajax has 241 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        ajax: function( url, options ) {
    
            // If url is an object, simulate pre-1.5 signature
            if ( typeof url === "object" ) {
                options = url;
    Severity: Major
    Found in static/admin/js/jquery.js - About 1 day to fix

      Function setDocument has 230 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      setDocument = Sizzle.setDocument = function( node ) {
          var doc = node ? node.ownerDocument || node : preferredDoc;
      
          // If no document and documentElement is available, return
          if ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) {
      Severity: Major
      Found in static/admin/js/jquery.js - About 1 day to fix

        Function Callbacks has 127 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        jQuery.Callbacks = function( options ) {
        
            // Convert options from String-formatted to Object-formatted if needed
            // (we check in cache first)
            options = typeof options === "string" ?
        Severity: Major
        Found in static/admin/js/jquery.js - About 5 hrs to fix

          Consider simplifying this complex logical expression.
          Open

                      if ( event.pageX == null && original.clientX != null ) {
                          eventDoc = event.target.ownerDocument || document;
                          doc = eventDoc.documentElement;
                          body = eventDoc.body;
          
          
          Severity: Critical
          Found in static/admin/js/jquery.js - About 5 hrs to fix

            Function actions has 123 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                $.fn.actions = function(opts) {
                    var options = $.extend({}, $.fn.actions.defaults, opts);
                    var actionCheckboxes = $(this);
                    var list_editable_changed = false;
                    var checker = function(checked) {
            Severity: Major
            Found in static/admin/js/actions.js - About 4 hrs to fix

              Function support has 119 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

              jQuery.support = (function() {
              
                  var support, all, a,
                      input, select, fragment,
                      opt, eventName, isSupported, i,
              Severity: Major
              Found in static/admin/js/jquery.js - About 4 hrs to fix

                Function defaultPrefilter has 97 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                function defaultPrefilter( elem, props, opts ) {
                    /*jshint validthis:true */
                    var prop, index, length,
                        value, dataShow, toggle,
                        tween, hooks, oldfire,
                Severity: Major
                Found in static/admin/js/jquery.js - About 3 hrs to fix

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

                      trigger: function( event, data, elem, onlyHandlers ) {
                          var handle, ontype, cur,
                              bubbleType, special, tmp, i,
                              eventPath = [ elem || document ],
                              type = core_hasOwn.call( event, "type" ) ? event.type : event,
                  Severity: Major
                  Found in static/admin/js/jquery.js - About 3 hrs to fix

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

                      $.fn.formset = function(opts) {
                        var options = $.extend({}, $.fn.formset.defaults, opts);
                        var $this = $(this);
                        var $parent = $this.parent();
                        var updateElementIndex = function(el, prefix, ndx) {
                    Severity: Major
                    Found in static/admin/js/inlines.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 static/admin/js/jquery.js - About 3 hrs to fix

                        Function send has 82 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                                        send: function( headers, complete ) {
                        
                                            // Get a new xhr
                                            var handle, i,
                                                xhr = s.xhr();
                        Severity: Major
                        Found in static/admin/js/jquery.js - About 3 hrs to fix

                          Function Sizzle has 77 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 static/admin/js/jquery.js - About 3 hrs to fix

                            Function buildFragment has 74 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                buildFragment: function( elems, context, scripts, selection ) {
                                    var j, elem, contains,
                                        tmp, tag, tbody, wrap,
                                        l = elems.length,
                            
                            
                            Severity: Major
                            Found in static/admin/js/jquery.js - About 2 hrs to fix

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

                              function matcherFromGroupMatchers( elementMatchers, setMatchers ) {
                                  // A counter to specify which element is currently being matched
                                  var matcherCachedRuns = 0,
                                      bySet = setMatchers.length > 0,
                                      byElement = elementMatchers.length > 0,
                              Severity: Major
                              Found in static/admin/js/jquery.js - About 2 hrs to fix

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

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

                                  Function domManip has 70 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      domManip: function( args, table, callback ) {
                                  
                                          // Flatten any nested arrays
                                          args = core_concat.apply( [], args );
                                  
                                  
                                  Severity: Major
                                  Found in static/admin/js/jquery.js - About 2 hrs to fix

                                    Function done has 68 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 static/admin/js/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 static/admin/js/jquery.js - About 2 hrs to fix

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

                                            init: function(field_id, field_name, is_stacked, admin_static_prefix) {
                                                if (field_id.match(/__prefix__/)){
                                                    // Don't initialize on empty forms.
                                                    return;
                                                }
                                        Severity: Major
                                        Found in static/admin/js/SelectFilter2.js - About 2 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language