ianheggie/cruisecontrol.rb

View on GitHub

Showing 679 of 1,357 total issues

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

    objectType: function( obj ) {
        if (typeof obj === "undefined") {
                return "undefined";

        // consider: typeof null === object
Severity: Minor
Found in public/javascripts/jquery-ui/development-bundle/external/qunit.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 public/javascripts/jquery-ui/development-bundle/jquery-1.7.2.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 public/javascripts/jquery-ui/development-bundle/jquery-1.7.2.js - About 1 hr to fix

        Method start has 27 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            def start
              require ENV_PATH
        
              unless ARGV.include?('-p') || ARGV.include?('--port')
                ARGV << '-p'
        Severity: Minor
        Found in lib/cruise_control/init.rb - About 1 hr to fix

          Method pba has 27 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              def pba( text_in, element = "" )
                  
                  return '' unless text_in
          
                  style = []
          Severity: Minor
          Found in lib/redcloth.rb - 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 public/javascripts/jquery-1.6.1.js - About 1 hr to fix

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

                  handle: function( event ) {
                      event = jQuery.event.fix( event || window.event );
                      // Snapshot the handlers list since a called handler may add/remove events.
                      var handlers = ((jQuery._data( this, "events" ) || {})[ event.type ] || []).slice(0),
                          run_all = !event.exclusive && !event.namespace,
              Severity: Minor
              Found in public/javascripts/jquery-1.6.1.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 public/javascripts/jquery-1.6.1.js - About 1 hr to fix

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

                      toggleClass: function( value, stateVal ) {
                          var type = typeof value,
                              isBool = typeof stateVal === "boolean";
                  
                          if ( jQuery.isFunction( value ) ) {
                  Severity: Minor
                  Found in public/javascripts/jquery-1.6.1.js - About 1 hr to fix

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

                    Sizzle.find = function( expr, context, isXML ) {
                        var set;
                    
                        if ( !expr ) {
                            return [];
                    Severity: Minor
                    Found in public/javascripts/jquery-1.6.1.js - About 1 hr to fix

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

                      $.effects.scale = function(o) {
                      
                          return this.queue(function() {
                      
                              // Create element

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

                        $.widget = function( name, base, prototype ) {
                            var namespace = name.split( "." )[ 0 ],
                                fullName;
                            name = name.split( "." )[ 1 ];
                            fullName = namespace + "-" + name;

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

                          function _normalizeArguments(effect, options, speed, callback) {
                              // shift params for method overloading
                              if (typeof effect == 'object') {
                                  callback = options;
                                  speed = null;

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

                            $.effects.scale = function(o) {
                            
                                return this.queue(function() {
                            
                                    // Create element

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

                                          "object": function (b, a) {
                                              var i, j, loop;
                                              var eq = true; // unless we can proove it
                                              var aProperties = [], bProperties = []; // collection of strings
                              
                              
                              Severity: Minor
                              Found in public/javascripts/jquery-ui/development-bundle/external/qunit.js - About 1 hr to fix

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

                                $.widget = function( name, base, prototype ) {
                                    var namespace = name.split( "." )[ 0 ],
                                        fullName;
                                    name = name.split( "." )[ 1 ];
                                    fullName = namespace + "-" + name;

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

                                  function _normalizeArguments(effect, options, speed, callback) {
                                      // shift params for method overloading
                                      if (typeof effect == 'object') {
                                          callback = options;
                                          speed = null;

                                    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 public/javascripts/jquery-ui/development-bundle/jquery-1.7.2.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 public/javascripts/jquery-ui/development-bundle/jquery-1.7.2.js - About 1 hr to fix

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

                                                fire = function( context, args ) {
                                                    args = args || [];
                                                    memory = !flags.memory || [ context, args ];
                                                    fired = true;
                                                    firing = true;
                                        Severity: Minor
                                        Found in public/javascripts/jquery-ui/development-bundle/jquery-1.7.2.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language