siad007/versioncontrol_hg

View on GitHub

Showing 170 of 256 total issues

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 docs/api/phpdoc/js/jquery-1.7.1.min.js - About 1 hr to fix

    Consider simplifying this complex logical expression.
    Open

                if ( match[1] === "nth" ) {
                    if ( !match[2] ) {
                        Sizzle.error( match[0] );
                    }
    
    
    Severity: Critical
    Found in docs/api/phpdoc/js/jquery-1.7.1.min.js - About 1 hr to fix

      Consider simplifying this complex logical expression.
      Open

      ;if(window.jQuery) (function($){
       
       // Add function to jQuery namespace
       $.extend({
        
      Severity: Critical
      Found in docs/api/phpdoc/js/jquery.xml2json.js - About 1 hr to fix

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

            closest: function( selectors, context ) {
                var ret = [], i, l, cur = this[0];
                
                // Array (deprecated as of jQuery 1.7)
                if ( jQuery.isArray( selectors ) ) {
        Severity: Minor
        Found in docs/api/phpdoc/js/jquery-1.7.1.min.js - About 1 hr to fix

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

              each: function( object, callback, args ) {
                  var name, i = 0,
                      length = object.length,
                      isObj = length === undefined || jQuery.isFunction( object );
          
          
          Severity: Minor
          Found in docs/api/phpdoc/js/jquery-1.7.1.min.js - About 1 hr to fix

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

                    ATTR: function( elem, match ) {
                        var name = match[1],
                            result = Sizzle.attr ?
                                Sizzle.attr( elem, name ) :
                                Expr.attrHandle[ name ] ?
            Severity: Minor
            Found in docs/api/phpdoc/js/jquery-1.7.1.min.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 docs/api/phpdoc/js/jquery-1.7.1.min.js - About 1 hr to fix

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

                    cleanData: function( elems ) {
                        var data, id,
                            cache = jQuery.cache,
                            special = jQuery.event.special,
                            deleteExpando = jQuery.support.deleteExpando;
                Severity: Minor
                Found in docs/api/phpdoc/js/jquery-1.7.1.min.js - About 1 hr to fix

                  Function slide has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                    , slide: function (type, next) {
                        var $active = this.$element.find('.active')
                          , $next = next || $active[type]()
                          , isCycling = this.interval
                          , direction = type == 'next' ? 'left' : 'right'
                  Severity: Minor
                  Found in docs/api/phpdoc/js/bootstrap.js - About 1 hr to fix

                    Function dirCheck has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                    function dirCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) {
                        for ( var i = 0, l = checkSet.length; i < l; i++ ) {
                            var elem = checkSet[i];
                    
                            if ( elem ) {
                    Severity: Minor
                    Found in docs/api/phpdoc/js/jquery-1.7.1.min.js - About 1 hr to fix

                      Function style has 29 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 docs/api/phpdoc/js/jquery-1.7.1.min.js - About 1 hr to fix

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

                            jQuery.fn.offset = function( options ) {
                                var elem = this[0], box;
                        
                                if ( options ) {
                                    return this.each(function( i ) {
                        Severity: Minor
                        Found in docs/api/phpdoc/js/jquery-1.7.1.min.js - About 1 hr to fix

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

                              clone: function( elem, dataAndEvents, deepDataAndEvents ) {
                                  var srcElements,
                                      destElements,
                                      i,
                                      // IE<=8 does not properly clone detached, unknown element nodes
                          Severity: Minor
                          Found in docs/api/phpdoc/js/jquery-1.7.1.min.js - About 1 hr to fix

                            Function promise has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                promise: function( type, object ) {
                                    if ( typeof type !== "string" ) {
                                        object = type;
                                        type = undefined;
                                    }
                            Severity: Minor
                            Found in docs/api/phpdoc/js/jquery-1.7.1.min.js - About 1 hr to fix

                              Function validatePosition has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  function validatePosition() {
                                      var data = this.data('panZoom');
                                      // if dimensions are too small...
                                      if ( data.position.x2 - data.position.x1 < settings.min_width/settings.factor || data.position.y2 - data.position.y1 < settings.min_height/settings.factor ) {
                                          // and second co-ords are zero (IE: no dims set), fit image
                              Severity: Minor
                              Found in docs/api/phpdoc/js/jquery.panzoom.js - About 1 hr to fix

                                Function find has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    find: function( selector ) {
                                        var self = this,
                                            i, l;
                                
                                        if ( typeof selector !== "string" ) {
                                Severity: Minor
                                Found in docs/api/phpdoc/js/jquery-1.7.1.min.js - About 1 hr to fix

                                  Function type has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      jQuery.fn[ type ] = function( size ) {
                                          // Get window width or height
                                          var elem = this[0];
                                          if ( !elem ) {
                                              return size == null ? null : this;
                                  Severity: Minor
                                  Found in docs/api/phpdoc/js/jquery-1.7.1.min.js - About 1 hr to fix

                                    Function addClass has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        addClass: function( value ) {
                                            var classNames, i, l, elem,
                                                setClass, c, cl;
                                    
                                            if ( jQuery.isFunction( value ) ) {
                                    Severity: Minor
                                    Found in docs/api/phpdoc/js/jquery-1.7.1.min.js - About 1 hr to fix

                                      Function setup has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                              setup: function() {
                                      
                                                  if ( rformElems.test( this.nodeName ) ) {
                                                      // IE doesn't fire change on a check/radio until blur; trigger it on click
                                                      // after a propertychange. Eat the blur-change in special.change.handle.
                                      Severity: Minor
                                      Found in docs/api/phpdoc/js/jquery-1.7.1.min.js - About 1 hr to fix

                                        Function html has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            html: function( value ) {
                                                if ( value === undefined ) {
                                                    return this[0] && this[0].nodeType === 1 ?
                                                        this[0].innerHTML.replace(rinlinejQuery, "") :
                                                        null;
                                        Severity: Minor
                                        Found in docs/api/phpdoc/js/jquery-1.7.1.min.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language