pjambet/beech-server

View on GitHub

Showing 137 of 166 total issues

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

/*!
 * jQuery JavaScript Library v1.7.2
 * http://jquery.com/
 *
 * Copyright 2011, John Resig
Severity: Major
Found in doc/apidoc/javascripts/bundled/jquery-1.7.2.js - About 2 wks to fix

    File bootstrap.js has 1250 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    /* ===================================================
     * bootstrap-transition.js v2.0.2
     * http://twitter.github.com/bootstrap/javascript.html#transitions
     * ===================================================
     * Copyright 2012 Twitter, Inc.
    Severity: Major
    Found in doc/apidoc/javascripts/bundled/bootstrap.js - About 3 days to fix

      Function jQuery has 614 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      var jQuery = (function() {
      
      // Define a local copy of jQuery
      var jQuery = function( selector, context ) {
              // The jQuery object is actually just the init constructor 'enhanced'
      Severity: Major
      Found in doc/apidoc/javascripts/bundled/jquery-1.7.2.js - About 3 days to fix

        Function ajax has 242 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 doc/apidoc/javascripts/bundled/jquery-1.7.2.js - About 1 day to fix

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

          jQuery.support = (function() {
          
              var support,
                  all,
                  a,
          Severity: Major
          Found in doc/apidoc/javascripts/bundled/jquery-1.7.2.js - About 6 hrs to fix

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

            jQuery.Callbacks = function( flags ) {
            
                // Convert flags from String-formatted to Object-formatted
                // (we check in cache first)
                flags = flags ? ( flagsCache[ flags ] || createFlags( flags ) ) : {};
            Severity: Major
            Found in doc/apidoc/javascripts/bundled/jquery-1.7.2.js - About 6 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 doc/apidoc/javascripts/bundled/jquery-1.7.2.js - About 5 hrs to fix

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

                var Sizzle = function( selector, context, results, seed ) {
                    results = results || [];
                    context = context || document;
                
                    var origContext = context;
                Severity: Major
                Found in doc/apidoc/javascripts/bundled/jquery-1.7.2.js - About 4 hrs to fix

                  Function clean has 95 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      clean: function( elems, context, fragment, scripts ) {
                          var checkScriptType, script, j,
                                  ret = [];
                  
                          context = context || document;
                  Severity: Major
                  Found in doc/apidoc/javascripts/bundled/jquery-1.7.2.js - About 3 hrs to fix

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

                        trigger: function( event, data, elem, onlyHandlers ) {
                            // Don't do events on text and comment nodes
                            if ( elem && (elem.nodeType === 3 || elem.nodeType === 8) ) {
                                return;
                            }
                    Severity: Major
                    Found in doc/apidoc/javascripts/bundled/jquery-1.7.2.js - About 3 hrs to fix

                      Function animate has 94 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          animate: function( prop, speed, easing, callback ) {
                              var optall = jQuery.speed( speed, easing, callback );
                      
                              if ( jQuery.isEmptyObject( prop ) ) {
                                  return this.each( optall.complete, [ false ] );
                      Severity: Major
                      Found in doc/apidoc/javascripts/bundled/jquery-1.7.2.js - About 3 hrs to fix

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

                                        send: function( headers, complete ) {
                        
                                            // Get a new xhr
                                            var xhr = s.xhr(),
                                                handle,
                        Severity: Major
                        Found in doc/apidoc/javascripts/bundled/jquery-1.7.2.js - About 3 hrs to fix

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

                                  function doAnimation() {
                                      // XXX 'this' does not always have a nodeName when running the
                                      // test suite
                          
                                      if ( optall.queue === false ) {
                          Severity: Major
                          Found in doc/apidoc/javascripts/bundled/jquery-1.7.2.js - About 3 hrs to fix

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

                                Deferred: function( func ) {
                                    var doneList = jQuery.Callbacks( "once memory" ),
                                        failList = jQuery.Callbacks( "once memory" ),
                                        progressList = jQuery.Callbacks( "memory" ),
                                        state = "pending",
                            Severity: Major
                            Found in doc/apidoc/javascripts/bundled/jquery-1.7.2.js - About 3 hrs to fix

                              Consider simplifying this complex logical expression.
                              Open

                              if ( "getBoundingClientRect" in document.documentElement ) {
                                  getOffset = function( elem, doc, docElem, box ) {
                                      try {
                                          box = elem.getBoundingClientRect();
                                      } catch(e) {}
                              Severity: Critical
                              Found in doc/apidoc/javascripts/bundled/jquery-1.7.2.js - About 3 hrs to fix

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

                                    add: function( elem, types, handler, data, selector ) {
                                
                                        var elemData, eventHandle, events,
                                            t, tns, type, namespaces, handleObj,
                                            handleObjIn, quick, handlers, special;
                                Severity: Major
                                Found in doc/apidoc/javascripts/bundled/jquery-1.7.2.js - About 2 hrs to fix

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

                                  Sizzle.filter = function( expr, set, inplace, not ) {
                                      var match, anyFound,
                                          type, found, item, filter, left,
                                          i, pass,
                                          old = expr,
                                  Severity: Major
                                  Found in doc/apidoc/javascripts/bundled/jquery-1.7.2.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 ) {
                                    
                                                // Called once
                                                if ( state === 2 ) {
                                                    return;
                                    Severity: Major
                                    Found in doc/apidoc/javascripts/bundled/jquery-1.7.2.js - About 2 hrs to fix

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

                                          dispatch: function( event ) {
                                      
                                              // Make a writable jQuery.Event from the native event object
                                              event = jQuery.event.fix( event || window.event );
                                      
                                      
                                      Severity: Major
                                      Found in doc/apidoc/javascripts/bundled/jquery-1.7.2.js - About 2 hrs to fix

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

                                            init: function( selector, context, rootjQuery ) {
                                                var match, elem, ret, doc;
                                        
                                                // Handle $(""), $(null), or $(undefined)
                                                if ( !selector ) {
                                        Severity: Major
                                        Found in doc/apidoc/javascripts/bundled/jquery-1.7.2.js - About 2 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language