pjambet/beech-server

View on GitHub

Showing 137 of 166 total issues

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

    domManip: function( args, table, callback ) {
        var results, first, fragment, parent,
            value = args[0],
            scripts = [];

Severity: Major
Found in doc/apidoc/javascripts/bundled/jquery-1.7.2.js - About 2 hrs to fix

    Function ajaxConvert has 57 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    function ajaxConvert( s, response ) {
    
        // Apply the dataFilter if provided
        if ( s.dataFilter ) {
            response = s.dataFilter( response, s.dataType );
    Severity: Major
    Found in doc/apidoc/javascripts/bundled/jquery-1.7.2.js - About 2 hrs to fix

      Function data has 55 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          data: function( elem, name, data, pvt /* Internal Use Only */ ) {
              if ( !jQuery.acceptData( elem ) ) {
                  return;
              }
      
      
      Severity: Major
      Found in doc/apidoc/javascripts/bundled/jquery-1.7.2.js - About 2 hrs to fix

        Function removeData has 54 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            removeData: function( elem, name, pvt /* Internal Use Only */ ) {
                if ( !jQuery.acceptData( elem ) ) {
                    return;
                }
        
        
        Severity: Major
        Found in doc/apidoc/javascripts/bundled/jquery-1.7.2.js - About 2 hrs to fix

          Function remove has 51 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              remove: function( elem, types, handler, selector, mappedTypes ) {
          
                  var elemData = jQuery.hasData( elem ) && jQuery._data( elem ),
                      t, tns, type, origType, namespaces, origCount,
                      j, events, special, handle, eventType, handleObj;
          Severity: Major
          Found in doc/apidoc/javascripts/bundled/jquery-1.7.2.js - About 2 hrs to fix

            Consider simplifying this complex logical expression.
            Open

                if ( args.length === 1 && typeof first === "string" && first.length < 512 && doc === document &&
                    first.charAt(0) === "<" && !rnocache.test( first ) &&
                    (jQuery.support.checkClone || !rchecked.test( first )) &&
                    (jQuery.support.html5Clone || !rnoshimcache.test( first )) ) {
            
            
            Severity: Critical
            Found in doc/apidoc/javascripts/bundled/jquery-1.7.2.js - About 2 hrs to fix

              Consider simplifying this complex logical expression.
              Open

                              if ( ( mappedTypes || origType === handleObj.origType ) &&
                                   ( !handler || handler.guid === handleObj.guid ) &&
                                   ( !namespaces || namespaces.test( handleObj.namespace ) ) &&
                                   ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) {
                                  eventType.splice( j--, 1 );
              Severity: Critical
              Found in doc/apidoc/javascripts/bundled/jquery-1.7.2.js - About 2 hrs to fix

                Function step has 50 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    step: function( gotoEnd ) {
                        var p, n, complete,
                            t = fxNow || createFxNow(),
                            done = true,
                            elem = this.elem,
                Severity: Minor
                Found in doc/apidoc/javascripts/bundled/jquery-1.7.2.js - About 2 hrs to fix

                  Function data has 48 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      data: function( key, value ) {
                          var parts, part, attr, name, l,
                              elem = this[0],
                              i = 0,
                              data = null;
                  Severity: Minor
                  Found in doc/apidoc/javascripts/bundled/jquery-1.7.2.js - About 1 hr to fix

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

                            CHILD: function( elem, match ) {
                                var first, last,
                                    doneName, parent, cache,
                                    count, diff,
                                    type = match[1],
                    Severity: Minor
                    Found in doc/apidoc/javascripts/bundled/jquery-1.7.2.js - About 1 hr to fix

                      Function ajaxHandleResponses has 46 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                      function ajaxHandleResponses( s, jqXHR, responses ) {
                      
                          var contents = s.contents,
                              dataTypes = s.dataTypes,
                              responseFields = s.responseFields,
                      Severity: Minor
                      Found in doc/apidoc/javascripts/bundled/jquery-1.7.2.js - About 1 hr to fix

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

                            stop: function( type, clearQueue, gotoEnd ) {
                                if ( typeof type !== "string" ) {
                                    gotoEnd = clearQueue;
                                    clearQueue = type;
                                    type = undefined;
                        Severity: Minor
                        Found in doc/apidoc/javascripts/bundled/jquery-1.7.2.js - About 1 hr to fix

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

                              load: function( url, params, callback ) {
                                  if ( typeof url !== "string" && _load ) {
                                      return _load.apply( this, arguments );
                          
                                  // Don't do a request if no elements are being requested
                          Severity: Minor
                          Found in doc/apidoc/javascripts/bundled/jquery-1.7.2.js - About 1 hr to fix

                            Function show has 43 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                              , show: function () {
                                  var $tip
                                    , inside
                                    , pos
                                    , actualWidth
                            Severity: Minor
                            Found in doc/apidoc/javascripts/bundled/bootstrap.js - About 1 hr to fix

                              Function val has 40 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 doc/apidoc/javascripts/bundled/jquery-1.7.2.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 doc/apidoc/javascripts/bundled/jquery-1.7.2.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 doc/apidoc/javascripts/bundled/jquery-1.7.2.js - About 1 hr to fix

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

                                        when: function( firstParam ) {
                                            var args = sliceDeferred.call( arguments, 0 ),
                                                i = 0,
                                                length = args.length,
                                                pValues = new Array( length ),
                                    Severity: Minor
                                    Found in doc/apidoc/javascripts/bundled/jquery-1.7.2.js - About 1 hr to fix

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

                                      function getWidthOrHeight( elem, name, extra ) {
                                      
                                          // Start with offset property
                                          var val = name === "width" ? elem.offsetWidth : elem.offsetHeight,
                                              i = name === "width" ? 1 : 0,
                                      Severity: Minor
                                      Found in doc/apidoc/javascripts/bundled/jquery-1.7.2.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 doc/apidoc/javascripts/bundled/jquery-1.7.2.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language