ianheggie/cruisecontrol.rb

View on GitHub

Showing 679 of 1,357 total issues

Function style has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    style: function( elem, name, value, extra ) {
        // Don't set styles on text and comment nodes
        if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) {
            return;
        }
Severity: Minor
Found in public/javascripts/jquery-ui/development-bundle/jquery-1.7.2.js - About 1 hr to fix

    Method rip_offtags has 29 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        def rip_offtags( text )
            if text =~ /<.*>/
                ## strip and encode <pre> content
                codepre, used_offtags = 0, {}
                text.gsub!( OFFTAG_MATCH ) do |line|
    Severity: Minor
    Found in lib/redcloth.rb - About 1 hr to fix

      Function ATTR has 28 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

              ATTR: function( elem, match ) {
                  var name = match[1],
                      result = Expr.attrHandle[ name ] ?
                          Expr.attrHandle[ name ]( elem ) :
                          elem[ name ] != null ?
      Severity: Minor
      Found in public/javascripts/jquery-1.6.1.js - About 1 hr to fix

        Function style has 28 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            style: function( elem, name, value, extra ) {
                // Don't set styles on text and comment nodes
                if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) {
                    return;
                }
        Severity: Minor
        Found in public/javascripts/jquery-1.6.1.js - About 1 hr to fix

          Function name has 28 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              jQuery.fn[ name ] = function( type, data, fn ) {
                  var handler;
          
                  // Handle object literals
                  if ( typeof type === "object" ) {
          Severity: Minor
          Found in public/javascripts/jquery-1.6.1.js - About 1 hr to fix

            Function _mouseStop has 28 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                _mouseStop: function(event) {
            
                    //If we are using droppables, inform the manager about the drop
                    var dropped = false;
                    if ($.ui.ddmanager && !this.options.dropBehaviour)

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

                  find: function( selector ) {
                      var self = this,
                          i, l;
              
                      if ( typeof selector !== "string" ) {
              Severity: Minor
              Found in public/javascripts/jquery-1.6.1.js - About 1 hr to fix

                Function pulsate has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                $.effects.pulsate = function(o) {
                    return this.queue(function() {
                        var elem = $(this),
                            mode = $.effects.setMode(elem, o.options.mode || 'show'),
                            times = ((o.options.times || 5) * 2) - 1,

                  Function values has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      values: function( index, newValue ) {
                          var vals,
                              newValues,
                              i;
                  
                  

                    Function _keydown has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        _keydown: function( event ) {
                            if ( this.options.disabled || event.altKey || event.ctrlKey ) {
                                return;
                            }
                    
                    

                      Function _create has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          _create: function() {
                              var self = this;
                      
                              this.element.addClass("ui-selectable");
                      
                      

                        Function refreshPositions has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            refreshPositions: function(fast) {
                        
                                //This has to be redone because due to the item being moved out/into the offsetParent, the offsetParent's position will change
                                if(this.offsetParent && this.helper) {
                                    this.offset.parent = this._getParentOffset();

                          Function refreshPositions has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              refreshPositions: function(fast) {
                          
                                  //This has to be redone because due to the item being moved out/into the offsetParent, the offsetParent's position will change
                                  if(this.offsetParent && this.helper) {
                                      this.offset.parent = this._getParentOffset();

                            Function values has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                values: function( index, newValue ) {
                                    var vals,
                                        newValues,
                                        i;
                            
                            

                              Function _mouseStop has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  _mouseStop: function(event) {
                              
                                      //If we are using droppables, inform the manager about the drop
                                      var dropped = false;
                                      if ($.ui.ddmanager && !this.options.dropBehaviour)

                                Function _create has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    _create: function() {
                                        var self = this;
                                
                                        this.element.addClass("ui-selectable");
                                
                                

                                  Function push has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      push: function(result, actual, expected, message) {
                                          var details = {
                                              result: result,
                                              message: message,
                                              actual: actual,
                                  Severity: Minor
                                  Found in public/javascripts/jquery-ui/development-bundle/external/qunit.js - About 1 hr to fix

                                    Function pulsate has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                    $.effects.pulsate = function(o) {
                                        return this.queue(function() {
                                            var elem = $(this),
                                                mode = $.effects.setMode(elem, o.options.mode || 'show'),
                                                times = ((o.options.times || 5) * 2) - 1,

                                      Function _keydown has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          _keydown: function( event ) {
                                              if ( this.options.disabled || event.altKey || event.ctrlKey ) {
                                                  return;
                                              }
                                      
                                      

                                        Function html has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            html: function( value ) {
                                                return jQuery.access( this, function( value ) {
                                                    var elem = this[0] || {},
                                                        i = 0,
                                                        l = this.length;
                                        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