sfstanley/citydogshare

View on GitHub

Showing 257 of 576 total issues

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

    _refreshValue: function() {
        var value = this.options.value,
            percentage = this._percentage();

        this.valueDiv
Severity: Minor
Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

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

        _refresh: function() {
            this._setupDisabled( this.options.disabled );
            this._setupEvents( this.options.event );
            this._setupHeightStyle( this.options.heightStyle );
    
    
    Severity: Minor
    Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

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

          transition: function( other, distance ) {
              var end = color( other ),
                  spaceName = end._space(),
                  space = spaces[ spaceName ],
                  startColor = this.alpha() === 0 ? color( "transparent" ) : this,
      Severity: Minor
      Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

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

                complete: function() {
                    if ( el.to.opacity === 0 ) {
                        el.css( "opacity", el.from.opacity );
                    }
                    if ( mode === "hide" ) {
        Severity: Minor
        Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

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

              _drop: function( event, custom ) {
          
                  var draggable = custom || $.ui.ddmanager.current,
                      childrenIntersection = false;
          
          
          Severity: Minor
          Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

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

                _destroy: function() {
                    // Destroy (sub)menus
                    this.element
                        .removeAttr( "aria-activedescendant" )
                        .find( ".ui-menu" ).addBack()
            Severity: Minor
            Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

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

                  function startOf (units) {
                      units = normalizeUnits(units);
                      // the following switch intentionally omits break keywords
                      // to utilize falling through the cases.
                      switch (units) {
              Severity: Minor
              Found in app/assets/javascripts/moment.js - About 1 hr to fix

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

                        removeTag: function(tag, animate, removeOnly) {
                            var that = this;
                
                            if (this.options.pruneTags && !removeOnly) {
                                that.pruneTag(tag)
                Severity: Minor
                Found in app/assets/javascripts/tag-it.js - About 1 hr to fix

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

                      _getWH : function() {
                  
                          var $container = this.$( 'container' ),
                              $target = this.$( 'target' ),
                              self = this,
                  Severity: Minor
                  Found in app/assets/javascripts/galleria-1.4.2.js - About 1 hr to fix

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

                        _initSource: function() {
                            var array, url,
                                that = this;
                            if ( $.isArray( this.options.source ) ) {
                                array = this.options.source;
                    Severity: Minor
                    Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

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

                          _createWidget: function( options, element ) {
                              element = $( element || this.defaultElement || this )[ 0 ];
                              this.element = $( element );
                              this.uuid = widget_uuid++;
                              this.eventNamespace = "." + this.widgetName + this.uuid;
                      Severity: Minor
                      Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

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

                            values: function( index, newValue ) {
                                var vals,
                                    newValues,
                                    i;
                        
                        
                        Severity: Minor
                        Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

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

                          var effectHighlight = $.effects.effect.highlight = function( o, done ) {
                              var elem = $( this ),
                                  props = [ "backgroundImage", "backgroundColor", "opacity" ],
                                  mode = $.effects.setMode( elem, o.mode || "show" ),
                                  animation = {
                          Severity: Minor
                          Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

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

                                _mouseDrag: function(event) {
                            
                                    var data, props,
                                        smp = this.originalMousePosition,
                                        a = this.axis,
                            Severity: Minor
                            Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

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

                              var effectTransfer = $.effects.effect.transfer = function( o, done ) {
                                  var elem = $( this ),
                                      target = $( o.to ),
                                      targetFixed = target.css( "position" ) === "fixed",
                                      body = $("body"),
                              Severity: Minor
                              Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

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

                                    _createOverlay: function() {
                                        if ( !this.options.modal ) {
                                            return;
                                        }
                                
                                
                                Severity: Minor
                                Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

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

                                  var effectPuff = $.effects.effect.puff = function( o, done ) {
                                      var elem = $( this ),
                                          mode = $.effects.setMode( elem, o.mode || "hide" ),
                                          hide = mode === "hide",
                                          percent = parseInt( o.percent, 10 ) || 150,
                                  Severity: Minor
                                  Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

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

                                        _create: function() {
                                            var selectees,
                                                that = this;
                                    
                                            this.element.addClass("ui-selectable");
                                    Severity: Minor
                                    Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

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

                                              left: function( position, data ) {
                                                  var within = data.within,
                                                      withinOffset = within.isWindow ? within.scrollLeft : within.offset.left,
                                                      outerWidth = within.width,
                                                      collisionPosLeft = position.left - data.collisionPosition.marginLeft,
                                      Severity: Minor
                                      Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

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

                                            _setOption: function( key, value ) {
                                                if ( key === "active" ) {
                                                    // _activate() will handle invalid values and update this.options
                                                    this._activate( value );
                                                    return;
                                        Severity: Minor
                                        Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language