ianheggie/cruisecontrol.rb

View on GitHub

Showing 679 of 1,357 total issues

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

    jQuery.fn[ name ] = function( types, data, fn, origSelector /* Internal Use Only */ ) {
        var type, i = 0, match, namespaces, preType,
            selector = origSelector || this.selector,
            context = origSelector ? this : jQuery( this.context );

Severity: Minor
Found in public/javascripts/jquery-1.6.1.js - About 1 hr to fix

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

        domManip: function( args, table, callback ) {
            var results, first, fragment, parent,
                value = args[0],
                scripts = [];
    
    
    Severity: Minor
    Found in public/javascripts/jquery-1.6.1.js - About 1 hr to fix

      Function closest has 46 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          closest: function( selectors, context ) {
              var ret = [], i, l, cur = this[0];
              
              // Array
              if ( jQuery.isArray( selectors ) ) {
      Severity: Minor
      Found in public/javascripts/jquery-1.6.1.js - About 1 hr to fix

        Function ajaxHandleResponses has 46 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        function ajaxHandleResponses( s, jqXHR, responses ) {
        
            var contents = s.contents,
                dataTypes = s.dataTypes,
                responseFields = s.responseFields,
        Severity: Minor
        Found in public/javascripts/jquery-1.6.1.js - About 1 hr to fix

          Function drag has 46 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              drag: function(event, ui) {
          
                  var inst = $(this).data("draggable"), self = this;
          
                  var checkPos = function(o) {

            Function explode has 46 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

            $.effects.explode = function(o) {
            
                return this.queue(function() {
            
                var rows = o.options.pieces ? Math.round(Math.sqrt(o.options.pieces)) : 3;

              Function explode has 46 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

              $.effects.explode = function(o) {
              
                  return this.queue(function() {
              
                  var rows = o.options.pieces ? Math.round(Math.sqrt(o.options.pieces)) : 3;

                Function drag has 46 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    drag: function(event, ui) {
                
                        var inst = $(this).data("draggable"), self = this;
                
                        var checkPos = function(o) {

                  Function ajaxHandleResponses has 46 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                  function ajaxHandleResponses( s, jqXHR, responses ) {
                  
                      var contents = s.contents,
                          dataTypes = s.dataTypes,
                          responseFields = s.responseFields,
                  Severity: Minor
                  Found in public/javascripts/jquery-ui/development-bundle/jquery-1.7.2.js - About 1 hr to fix

                    Function CHILD has 45 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                            CHILD: function( elem, match ) {
                                var type = match[1],
                                    node = elem;
                    
                                switch ( type ) {
                    Severity: Minor
                    Found in public/javascripts/jquery-1.6.1.js - About 1 hr to fix

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

                          removeData: function( elem, name, pvt /* Internal Use Only */ ) {
                              if ( !jQuery.acceptData( elem ) ) {
                                  return;
                              }
                      
                      
                      Severity: Minor
                      Found in public/javascripts/jquery-1.6.1.js - About 1 hr to fix

                        Function createWrapper has 45 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            createWrapper: function(element) {
                        
                                // if the element is already wrapped, return it
                                if (element.parent().is('.ui-effects-wrapper')) {
                                    return element.parent();

                          Function createWrapper has 45 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              createWrapper: function(element) {
                          
                                  // if the element is already wrapped, return it
                                  if (element.parent().is('.ui-effects-wrapper')) {
                                      return element.parent();

                            Function stop has 45 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                stop: function( type, clearQueue, gotoEnd ) {
                                    if ( typeof type !== "string" ) {
                                        gotoEnd = clearQueue;
                                        clearQueue = type;
                                        type = undefined;
                            Severity: Minor
                            Found in public/javascripts/jquery-ui/development-bundle/jquery-1.7.2.js - About 1 hr to fix

                              Function _generatePosition has 44 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  _generatePosition: function(event) {
                              
                                      var o = this.options, scroll = this.cssPosition == 'absolute' && !(this.scrollParent[0] != document && $.ui.contains(this.scrollParent[0], this.offsetParent[0])) ? this.offsetParent : this.scrollParent, scrollIsRootNode = (/(html|body)/i).test(scroll[0].tagName);
                                      var pageX = event.pageX;
                                      var pageY = event.pageY;

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

                                    data: function( elem, name, data, pvt /* Internal Use Only */ ) {
                                        if ( !jQuery.acceptData( elem ) ) {
                                            return;
                                        }
                                
                                
                                Severity: Minor
                                Found in public/javascripts/jquery-1.6.1.js - About 1 hr to fix

                                  Function step has 44 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      step: function( gotoEnd ) {
                                          var t = fxNow || createFxNow(),
                                              done = true,
                                              elem = this.elem,
                                              options = this.options,
                                  Severity: Minor
                                  Found in public/javascripts/jquery-1.6.1.js - About 1 hr to fix

                                    Function load has 44 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        load: function( url, params, callback ) {
                                            if ( typeof url !== "string" && _load ) {
                                                return _load.apply( this, arguments );
                                    
                                            // Don't do a request if no elements are being requested
                                    Severity: Minor
                                    Found in public/javascripts/jquery-1.6.1.js - About 1 hr to fix

                                      Function _generatePosition has 44 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          _generatePosition: function(event) {
                                      
                                              var o = this.options, scroll = this.cssPosition == 'absolute' && !(this.scrollParent[0] != document && $.ui.contains(this.scrollParent[0], this.offsetParent[0])) ? this.offsetParent : this.scrollParent, scrollIsRootNode = (/(html|body)/i).test(scroll[0].tagName);
                                              var pageX = event.pageX;
                                              var pageY = event.pageY;

                                        Function load has 44 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            load: function( url, params, callback ) {
                                                if ( typeof url !== "string" && _load ) {
                                                    return _load.apply( this, arguments );
                                        
                                                // Don't do a request if no elements are being requested
                                        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