ianheggie/cruisecontrol.rb

View on GitHub

Showing 679 of 1,357 total issues

Function diff has 60 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function diff(o, n){
        var ns = new Object();
        var os = new Object();

        for (var i = 0; i < n.length; i++) {
Severity: Major
Found in public/javascripts/jquery-ui/development-bundle/external/qunit.js - About 2 hrs to fix

    Function domManip has 60 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        domManip: function( args, table, callback ) {
            var results, first, fragment, parent,
                value = args[0],
                scripts = [];
    
    
    Severity: Major
    Found in public/javascripts/jquery-ui/development-bundle/jquery-1.7.2.js - About 2 hrs to fix

      Function Deferred has 59 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          Deferred: function( func ) {
              var deferred = jQuery._Deferred(),
                  failDeferred = jQuery._Deferred(),
                  promise;
              // Add errorDeferred methods, then and promise
      Severity: Major
      Found in public/javascripts/jquery-1.6.1.js - About 2 hrs to fix

        File build.rb has 265 lines of code (exceeds 250 allowed). Consider refactoring.
        Open

        class Build
          include CommandLine
        
          class ConfigError < StandardError; end
        
        
        Severity: Minor
        Found in app/models/build.rb - About 2 hrs to fix

          Class BuilderPlugin has 22 methods (exceeds 20 allowed). Consider refactoring.
          Open

          class BuilderPlugin
            attr_reader :project
            
            def initialize(project)
              @project = project
          Severity: Minor
          Found in lib/builder_plugins/builder_plugin.rb - About 2 hrs to fix

            Function _mouseCapture has 58 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                _mouseCapture: function( event ) {
                    var o = this.options,
                        position,
                        normValue,
                        distance,

              Function _mouseCapture has 58 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  _mouseCapture: function( event ) {
                      var o = this.options,
                          position,
                          normValue,
                          distance,

                Function ajaxConvert has 57 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                function ajaxConvert( s, response ) {
                
                    // Apply the dataFilter if provided
                    if ( s.dataFilter ) {
                        response = s.dataFilter( response, s.dataType );
                Severity: Major
                Found in public/javascripts/jquery-1.6.1.js - About 2 hrs to fix

                  Function _generateMonthYearHeader has 57 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      _generateMonthYearHeader: function(inst, drawMonth, drawYear, minDate, maxDate,
                              secondary, monthNames, monthNamesShort) {
                          var changeMonth = this._get(inst, 'changeMonth');
                          var changeYear = this._get(inst, 'changeYear');
                          var showMonthAfterYear = this._get(inst, 'showMonthAfterYear');

                    Function _generateMonthYearHeader has 57 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        _generateMonthYearHeader: function(inst, drawMonth, drawYear, minDate, maxDate,
                                secondary, monthNames, monthNamesShort) {
                            var changeMonth = this._get(inst, 'changeMonth');
                            var changeYear = this._get(inst, 'changeYear');
                            var showMonthAfterYear = this._get(inst, 'showMonthAfterYear');

                      Function ajaxConvert has 57 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                      function ajaxConvert( s, response ) {
                      
                          // Apply the dataFilter if provided
                          if ( s.dataFilter ) {
                              response = s.dataFilter( response, s.dataType );
                      Severity: Major
                      Found in public/javascripts/jquery-ui/development-bundle/jquery-1.7.2.js - About 2 hrs to fix

                        Function _refreshValue has 56 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            _refreshValue: function() {
                                var oRange = this.options.range,
                                    o = this.options,
                                    self = this,
                                    animate = ( !this._animateOff ) ? o.animate : false,

                          Function _refreshValue has 56 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              _refreshValue: function() {
                                  var oRange = this.options.range,
                                      o = this.options,
                                      self = this,
                                      animate = ( !this._animateOff ) ? o.animate : false,

                            Function offset has 55 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                jQuery.fn.offset = function( options ) {
                                    var elem = this[0];
                            
                                    if ( options ) {
                                        return this.each(function( i ) {
                            Severity: Major
                            Found in public/javascripts/jquery-1.6.1.js - About 2 hrs to fix

                              Function _mouseDrag has 55 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  _mouseDrag: function(event) {
                              
                                      //Compute the helpers position
                                      this.position = this._generatePosition(event);
                                      this.positionAbs = this._convertPositionTo("absolute");

                                Function _mouseDrag has 55 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    _mouseDrag: function(event) {
                                
                                        //Compute the helpers position
                                        this.position = this._generatePosition(event);
                                        this.positionAbs = this._convertPositionTo("absolute");

                                  Function data has 55 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      data: function( elem, name, data, pvt /* Internal Use Only */ ) {
                                          if ( !jQuery.acceptData( elem ) ) {
                                              return;
                                          }
                                  
                                  
                                  Severity: Major
                                  Found in public/javascripts/jquery-ui/development-bundle/jquery-1.7.2.js - About 2 hrs to fix

                                    Function removeData has 54 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        removeData: function( elem, name, pvt /* Internal Use Only */ ) {
                                            if ( !jQuery.acceptData( elem ) ) {
                                                return;
                                            }
                                    
                                    
                                    Severity: Major
                                    Found in public/javascripts/jquery-ui/development-bundle/jquery-1.7.2.js - About 2 hrs to fix

                                      Function _setOption has 53 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          _setOption: function(key, value){
                                              var self = this,
                                                  uiDialog = self.uiDialog;
                                      
                                              switch (key) {

                                        Function _setOption has 53 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            _setOption: function(key, value){
                                                var self = this,
                                                    uiDialog = self.uiDialog;
                                        
                                                switch (key) {
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language