siad007/versioncontrol_hg

View on GitHub

Showing 170 of 256 total issues

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

    show: function( speed, easing, callback ) {
        var elem, display;

        if ( speed || speed === 0 ) {
            return this.animate( genFx("show", 3), speed, easing, callback );
Severity: Minor
Found in docs/api/phpdoc/js/jquery-1.7.1.min.js - About 1 hr to fix

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

    jQuery.buildFragment = function( args, nodes, scripts ) {
        var fragment, cacheable, cacheresults, doc,
        first = args[ 0 ];
    
        // nodes may contain either an explicit document object,
    Severity: Minor
    Found in docs/api/phpdoc/js/jquery-1.7.1.min.js - About 1 hr to fix

      Function > has 26 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

              ">": function( checkSet, part ) {
                  var elem,
                      isPartStr = typeof part === "string",
                      i = 0,
                      l = checkSet.length;
      Severity: Minor
      Found in docs/api/phpdoc/js/jquery-1.7.1.min.js - About 1 hr to fix

        Function cloneFixAttributes has 26 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        function cloneFixAttributes( src, dest ) {
            var nodeName;
        
            // We do not need to do anything for non-Elements
            if ( dest.nodeType !== 1 ) {
        Severity: Minor
        Found in docs/api/phpdoc/js/jquery-1.7.1.min.js - About 1 hr to fix

          Function children has 26 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              function children( $elem, o, after )
              {
                  var $elements     = $elem.children(),
                      isTruncated    = false;
          
          
          Severity: Minor
          Found in docs/api/phpdoc/js/jquery.dotdotdot-1.5.9.js - About 1 hr to fix

            Function onload has 26 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

            window.onload = function() {
                function addIcon(el, entity) {
                    var html = el.innerHTML;
                    el.innerHTML = '<span style="font-family: \'phpdocumentor-clean-icons\'">' + entity + '</span>' + html;
                }
            Severity: Minor
            Found in docs/api/phpdoc/css/phpdocumentor-clean-icons/lte-ie7.js - About 1 hr to fix

              Consider simplifying this complex logical expression.
              Open

              if ( jQuery.expr && jQuery.expr.filters ) {
                  jQuery.expr.filters.hidden = function( elem ) {
                      var width = elem.offsetWidth,
                          height = elem.offsetHeight;
              
              
              Severity: Major
              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 ( (!id || !cache[id] || (!isEvents && !pvt && !cache[id].data)) && getByName && data === undefined ) {
                            return;
                        }
                Severity: Major
                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 ( run_all || (!event.namespace && !handleObj.namespace) || event.namespace_re && event.namespace_re.test( handleObj.namespace ) ) {
                  
                                      event.data = handleObj.data;
                                      event.handleObj = handleObj;
                  
                  
                  Severity: Major
                  Found in docs/api/phpdoc/js/jquery-1.7.1.min.js - About 1 hr to fix

                    Avoid deeply nested control flow statements.
                    Open

                                            if ( name in thisCache ) {
                                                name = [ name ];
                                            } else {
                                                name = name.split( " " );
                                            }
                    Severity: Major
                    Found in docs/api/phpdoc/js/jquery-1.7.1.min.js - About 45 mins to fix

                      Avoid deeply nested control flow statements.
                      Open

                                                          if ( xml && xml.documentElement /* #4958 */ ) {
                                                              responses.xml = xml;
                                                          }
                      Severity: Major
                      Found in docs/api/phpdoc/js/jquery-1.7.1.min.js - About 45 mins to fix

                        Avoid deeply nested control flow statements.
                        Open

                                                if ( special[ type ] ) {
                                                    jQuery.event.remove( elem, type );
                        
                                                // This is a shortcut to avoid jQuery.event.remove's overhead
                                                } else {
                        Severity: Major
                        Found in docs/api/phpdoc/js/jquery-1.7.1.min.js - About 45 mins to fix

                          Function inspectPrefiltersOrTransports has 6 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                          function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR,
                                  dataType /* internal */, inspected /* internal */ ) {
                          Severity: Minor
                          Found in docs/api/phpdoc/js/jquery-1.7.1.min.js - About 45 mins to fix

                            Function dirNodeCheck has 6 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

                            function dirNodeCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) {
                            Severity: Minor
                            Found in docs/api/phpdoc/js/jquery-1.7.1.min.js - About 45 mins to fix

                              Avoid deeply nested control flow statements.
                              Open

                                                      for ( c = 0, cl = classNames.length; c < cl; c++ ) {
                                                          className = className.replace(" " + classNames[ c ] + " ", " ");
                                                      }
                              Severity: Major
                              Found in docs/api/phpdoc/js/jquery-1.7.1.min.js - About 45 mins to fix

                                Avoid deeply nested control flow statements.
                                Open

                                                                    if ( xhr.readyState !== 4 ) {
                                                                        xhr.abort();
                                                                    }
                                Severity: Major
                                Found in docs/api/phpdoc/js/jquery-1.7.1.min.js - About 45 mins to fix

                                  Function dirCheck has 6 arguments (exceeds 4 allowed). Consider refactoring.
                                  Open

                                  function dirCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) {
                                  Severity: Minor
                                  Found in docs/api/phpdoc/js/jquery-1.7.1.min.js - About 45 mins to fix

                                    Avoid deeply nested control flow statements.
                                    Open

                                                            if ( elem.id !== match[2] ) {
                                                                return rootjQuery.find( selector );
                                                            }
                                    Severity: Major
                                    Found in docs/api/phpdoc/js/jquery-1.7.1.min.js - About 45 mins to fix

                                      Avoid deeply nested control flow statements.
                                      Open

                                                              for ( c = 0, cl = classNames.length; c < cl; c++ ) {
                                                                  if ( !~setClass.indexOf( " " + classNames[ c ] + " " ) ) {
                                                                      setClass += classNames[ c ] + " ";
                                                                  }
                                                              }
                                      Severity: Major
                                      Found in docs/api/phpdoc/js/jquery-1.7.1.min.js - About 45 mins to fix

                                        Avoid deeply nested control flow statements.
                                        Open

                                                                if ( ret === false ) {
                                                                    event.preventDefault();
                                                                    event.stopPropagation();
                                                                }
                                        Severity: Major
                                        Found in docs/api/phpdoc/js/jquery-1.7.1.min.js - About 45 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language