ianheggie/cruisecontrol.rb

View on GitHub

Showing 679 of 1,357 total issues

Avoid deeply nested control flow statements.
Open

                    if ( !old ) {
                        context.setAttribute( "id", nid );
                    } else {
                        nid = nid.replace( /'/g, "\\$&" );
                    }
Severity: Major
Found in public/javascripts/jquery-1.6.1.js - About 45 mins to fix

    Avoid deeply nested control flow statements.
    Open

                        if ( typeof cur !== "string" ) {
                            if ( elem === cur ) {
                                match = true;
                                break;
                            }
    Severity: Major
    Found in public/javascripts/jquery-1.6.1.js - About 45 mins to fix

      Avoid deeply nested control flow statements.
      Open

                              for ( var c = 0, cl = classNames.length; c < cl; c++ ) {
                                  if ( className.indexOf( " " + classNames[c] + " " ) < 0 ) {
                                      setClass += " " + classNames[c];
                                  }
                              }
      Severity: Major
      Found in public/javascripts/jquery-1.6.1.js - About 45 mins to fix

        Avoid deeply nested control flow statements.
        Open

                            if ( !match ) {
                                anyFound = found = true;
        
                            } else if ( match === true ) {
                                continue;
        Severity: Major
        Found in public/javascripts/jquery-1.6.1.js - About 45 mins to fix

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

              easeInOutBack: function (x, t, b, c, d, s) {

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

                isOver: function( y, x, top, left, height, width ) {

              Avoid deeply nested control flow statements.
              Open

                                      switch (col) {
                                          case 0: calender += ' ui-datepicker-group-first';
                                              cornerClass = ' ui-corner-' + (isRTL ? 'right' : 'left'); break;
                                          case numMonths[1]-1: calender += ' ui-datepicker-group-last';
                                              cornerClass = ' ui-corner-' + (isRTL ? 'left' : 'right'); break;

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

                    easeOutBack: function (x, t, b, c, d, s) {

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

                      easeInBack: function (x, t, b, c, d, s) {

                    Avoid deeply nested control flow statements.
                    Open

                                                if (lookAhead("'"))
                                                    output += "'";
                                                else
                                                    literal = true;

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

                          easeInBack: function (x, t, b, c, d, s) {

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

                            easeOutBack: function (x, t, b, c, d, s) {

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

                              easeInOutBack: function (x, t, b, c, d, s) {

                            Avoid deeply nested control flow statements.
                            Open

                                                        if (lookAhead("'"))
                                                            output += "'";
                                                        else
                                                            literal = true;

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

                              var Test = function(name, testName, expected, testEnvironmentArg, async, callback) {
                              Severity: Minor
                              Found in public/javascripts/jquery-ui/development-bundle/external/qunit.js - About 45 mins to fix

                                Avoid deeply nested control flow statements.
                                Open

                                                        switch (col) {
                                                            case 0: calender += ' ui-datepicker-group-first';
                                                                cornerClass = ' ui-corner-' + (isRTL ? 'right' : 'left'); break;
                                                            case numMonths[1]-1: calender += ' ui-datepicker-group-last';
                                                                cornerClass = ' ui-corner-' + (isRTL ? 'left' : 'right'); break;

                                  Avoid deeply nested control flow statements.
                                  Open

                                                      if ( copyIsArray ) {
                                                          copyIsArray = false;
                                                          clone = src && jQuery.isArray(src) ? src : [];
                                  
                                                      } else {
                                  Severity: Major
                                  Found in public/javascripts/jquery-ui/development-bundle/jquery-1.7.2.js - About 45 mins to fix

                                    Avoid deeply nested control flow statements.
                                    Open

                                                            if ( selMatch[ sel ] ) {
                                                                matches.push( handleObj );
                                                            }
                                    Severity: Major
                                    Found in public/javascripts/jquery-ui/development-bundle/jquery-1.7.2.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 public/javascripts/jquery-ui/development-bundle/jquery-1.7.2.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 public/javascripts/jquery-ui/development-bundle/jquery-1.7.2.js - About 45 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language