ianheggie/cruisecontrol.rb

View on GitHub

Showing 679 of 1,357 total issues

Consider simplifying this complex logical expression.
Open

            if ( ( this.options.values.length === 2 && this.options.range === true ) && 
                    ( ( index === 0 && newVal > otherVal) || ( index === 1 && newVal < otherVal ) )
                ) {
                newVal = otherVal;
            }

    Consider simplifying this complex logical expression.
    Open

                if ( ( $li.hasClass( "ui-tabs-selected" ) && !o.collapsible) ||
                    $li.hasClass( "ui-state-disabled" ) ||
                    $li.hasClass( "ui-state-processing" ) ||
                    self.panels.filter( ":animated" ).length ||
                    self._trigger( "select", null, self._ui( this, $show[ 0 ] ) ) === false ) {

      Consider simplifying this complex logical expression.
      Open

                  if(
                      inst.options.greedy
                      && !inst.options.disabled
                      && inst.options.scope == draggable.options.scope
                      && inst.accept.call(inst.element[0], (draggable.currentItem || draggable.element))

        Consider simplifying this complex logical expression.
        Open

                        if ( ontype && elem[ type ] && ((type !== "focus" && type !== "blur") || event.target.offsetWidth !== 0) && !jQuery.isWindow( elem ) ) {
        
                            // Don't re-trigger an onFOO event when we call its FOO() method
                            old = elem[ ontype ];
        
        
        Severity: Major
        Found in public/javascripts/jquery-ui/development-bundle/jquery-1.7.2.js - About 40 mins to fix

          Consider simplifying this complex logical expression.
          Open

                  if ( !seed && parts.length > 1 && context.nodeType === 9 && !contextXML &&
                          Expr.match.ID.test(parts[0]) && !Expr.match.ID.test(parts[parts.length - 1]) ) {
          
                      ret = Sizzle.find( parts.shift(), context, contextXML );
                      context = ret.expr ?
          Severity: Major
          Found in public/javascripts/jquery-ui/development-bundle/jquery-1.7.2.js - About 40 mins to fix

            Consider simplifying this complex logical expression.
            Open

                    if ( s.crossDomain == null ) {
                        parts = rurl.exec( s.url.toLowerCase() );
                        s.crossDomain = !!( parts &&
                            ( parts[ 1 ] != ajaxLocParts[ 1 ] || parts[ 2 ] != ajaxLocParts[ 2 ] ||
                                ( parts[ 3 ] || ( parts[ 1 ] === "http:" ? 80 : 443 ) ) !=
            Severity: Major
            Found in public/javascripts/jquery-ui/development-bundle/jquery-1.7.2.js - About 40 mins to fix

              Consider simplifying this complex logical expression.
              Open

              if ( !jQuery.support.opacity ) {
                  jQuery.cssHooks.opacity = {
                      get: function( elem, computed ) {
                          // IE uses filters for opacity
                          return ropacity.test( (computed && elem.currentStyle ? elem.currentStyle.filter : elem.style.filter) || "" ) ?
              Severity: Major
              Found in public/javascripts/jquery-ui/development-bundle/jquery-1.7.2.js - About 40 mins to fix

                Function PSEUDO has 5 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                        PSEUDO: function( match, curLoop, inplace, result, not ) {
                Severity: Minor
                Found in public/javascripts/jquery-1.6.1.js - About 35 mins to fix

                  Function _dialogDatepicker has 5 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                      _dialogDatepicker: function(input, date, onSelect, settings, pos) {

                    Function easeOutQuad has 5 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                        easeOutQuad: function (x, t, b, c, d) {

                      Function easeInElastic has 5 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                          easeInElastic: function (x, t, b, c, d) {

                        Function easeInOutElastic has 5 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                            easeInOutElastic: function (x, t, b, c, d) {

                          Function easeInCubic has 5 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                              easeInCubic: function (x, t, b, c, d) {

                            Function easeInExpo has 5 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

                                easeInExpo: function (x, t, b, c, d) {

                              Function easeOutCirc has 5 arguments (exceeds 4 allowed). Consider refactoring.
                              Open

                                  easeOutCirc: function (x, t, b, c, d) {

                                Function easeInQuart has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                Open

                                    easeInQuart: function (x, t, b, c, d) {

                                  Function swing has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                  Open

                                      swing: function (x, t, b, c, d) {

                                    Function easeInSine has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                    Open

                                        easeInSine: function (x, t, b, c, d) {

                                      Function easeOutElastic has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                      Open

                                          easeOutElastic: function (x, t, b, c, d) {

                                        Function easeOutQuart has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                        Open

                                            easeOutQuart: function (x, t, b, c, d) {
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language