siad007/versioncontrol_hg

View on GitHub

Showing 170 of 256 total issues

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

          Function setImageProps has 47 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              this.setImageProps = function(disp_w, disp_h, x, y, skip_animation, complete) {
                  complete = complete || jQuery.noop;
          
                  this.display_width(disp_w);
                  this.display_height(disp_h);
          Severity: Minor
          Found in docs/api/phpdoc/js/jquery.iviewer.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 docs/api/phpdoc/js/jquery-1.7.1.min.js - About 1 hr to fix

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

                  domManip: function( args, table, callback ) {
                      var results, first, fragment, parent,
                          value = args[0],
                          scripts = [];
              
              
              Severity: Minor
              Found in docs/api/phpdoc/js/jquery-1.7.1.min.js - About 1 hr to fix

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

                jQuery.cookie = function(name, value, options)
                {
                  if (typeof value != 'undefined')
                  { // name and value given, set cookie
                    options = options || {};
                Severity: Minor
                Found in docs/api/phpdoc/js/jquery.cookie.js - About 1 hr to fix

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

                      set_zoom: function(new_zoom, skip_animation, zoom_center)
                      {
                          if (this._trigger('onZoom', 0, new_zoom) == false) {
                              return;
                          }
                  Severity: Minor
                  Found in docs/api/phpdoc/js/jquery.iviewer.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 docs/api/phpdoc/js/jquery-1.7.1.min.js - About 1 hr to fix

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

                              $dot.watch = function()
                              {
                                  $dot.unwatch();
                                  if ( opts.watch == 'window' )
                                  {
                      Severity: Minor
                      Found in docs/api/phpdoc/js/jquery.dotdotdot-1.5.9.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 docs/api/phpdoc/js/jquery-1.7.1.min.js - About 1 hr to fix

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

                              data: function( key, value ) {
                                  var parts, attr, name,
                                      data = null;
                          
                                  if ( typeof key === "undefined" ) {
                          Severity: Minor
                          Found in docs/api/phpdoc/js/jquery-1.7.1.min.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 docs/api/phpdoc/js/bootstrap.js - About 1 hr to fix

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

                                  function ellipsis( $elem, $d, $i, o, after )
                                  {
                                      var $elements     = $elem.contents(),
                                          isTruncated    = false;
                              
                              
                              Severity: Minor
                              Found in docs/api/phpdoc/js/jquery.dotdotdot-1.5.9.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 docs/api/phpdoc/js/jquery-1.7.1.min.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 docs/api/phpdoc/js/jquery-1.7.1.min.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 docs/api/phpdoc/js/jquery-1.7.1.min.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 docs/api/phpdoc/js/jquery-1.7.1.min.js - About 1 hr to fix

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

                                        function getWH( elem, name, extra ) {
                                        
                                            // Start with offset property
                                            var val = name === "width" ? elem.offsetWidth : elem.offsetHeight,
                                                which = name === "width" ? cssWidth : cssHeight,
                                        Severity: Minor
                                        Found in docs/api/phpdoc/js/jquery-1.7.1.min.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language