sfstanley/citydogshare

View on GitHub

Showing 257 of 576 total issues

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

    function dayOfYearFromWeekInfo(config) {
        var w, weekYear, week, weekday, dow, doy, temp;

        w = config._w;
        if (w.GG != null || w.W != null || w.E != null) {
Severity: Minor
Found in app/assets/javascripts/moment.js - About 1 hr to fix

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

        lazyLoadChunks: function( size, delay ) {
    
            var len = this.getDataLength(),
                i = 0,
                n = 0,
    Severity: Minor
    Found in app/assets/javascripts/galleria-1.4.2.js - About 1 hr to fix

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

          refresh: function() {
              //See #8237 & #8828
              var isDisabled = this.element.is( "input, button" ) ? this.element.is( ":disabled" ) : this.element.hasClass( "ui-button-disabled" );
      
              if ( isDisabled !== this.options.disabled ) {
      Severity: Minor
      Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

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

                top: function( position, data ) {
                    var within = data.within,
                        withinOffset = within.isWindow ? within.scrollTop : within.offset.top,
                        outerHeight = data.within.height,
                        collisionPosTop = position.top - data.collisionPosition.marginTop,
        Severity: Minor
        Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

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

          function getDimensions( elem ) {
              var raw = elem[0];
              if ( raw.nodeType === 9 ) {
                  return {
                      width: elem.width(),
          Severity: Minor
          Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

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

                _updateVirtualBoundaries: function(forceAspectRatio) {
                    var pMinWidth, pMaxWidth, pMinHeight, pMaxHeight, b,
                        o = this.options;
            
                    b = {
            Severity: Minor
            Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

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

                  _setupHeightStyle: function( heightStyle ) {
                      var maxHeight,
                          parent = this.element.parent();
              
                      if ( heightStyle === "fill" ) {
              Severity: Minor
              Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

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

                                        line_time = function line_time(h, m) {
                                            var now = _xdsoft_datetime.now();
                                            now.setHours(h);
                                            h = parseInt(now.getHours(), 10);
                                            now.setMinutes(m);
                Severity: Minor
                Found in app/assets/javascripts/jquery.datetimepicker.js - About 1 hr to fix

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

                                  flash: function(params, complete) {
                                      $(params.next).css({
                                          opacity: 0,
                                          left: 0
                                      });
                  Severity: Minor
                  Found in app/assets/javascripts/galleria-1.4.2.js - About 1 hr to fix

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

                                hide : function( elem, speed, callback ) {
                    
                                    callback = callback || F;
                    
                                    var $elem = $(elem);
                    Severity: Minor
                    Found in app/assets/javascripts/galleria-1.4.2.js - About 1 hr to fix

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

                                  wait : function(options) {
                      
                                      Galleria._waiters = Galleria._waiters || [];
                      
                                      options = $.extend({
                      Severity: Minor
                      Found in app/assets/javascripts/galleria-1.4.2.js - About 1 hr to fix

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

                            _playCheck : function() {
                                var self = this,
                                    played = 0,
                                    interval = 20,
                                    now = Utils.timestamp(),
                        Severity: Minor
                        Found in app/assets/javascripts/galleria-1.4.2.js - About 1 hr to fix

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

                                  var scale = function() {
                          
                                      // set stagewidth
                                      self._stageWidth = width || self.$( 'stage' ).width();
                                      self._stageHeight = height || self.$( 'stage' ).height();
                          Severity: Minor
                          Found in app/assets/javascripts/galleria-1.4.2.js - About 1 hr to fix

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

                                init : function (scope, libraries, method, options, response) {
                                  var args = [scope, method, options, response],
                                      responses = [];
                            
                                  // check RTL
                            Severity: Minor
                            Found in app/assets/javascripts/foundation.js - About 1 hr to fix

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

                                  _destroy: function() {
                              
                                      this._mouseDestroy();
                              
                                      var wrapper,
                              Severity: Minor
                              Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

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

                                            set: function( elem, value ) {
                                                var parsed, curElem,
                                                    backgroundColor = "";
                                
                                                if ( value !== "transparent" && ( jQuery.type( value ) !== "string" || ( parsed = stringParse( value ) ) ) ) {
                                Severity: Minor
                                Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

                                  Consider simplifying this complex logical expression.
                                  Open

                                                      } else if (e.type === 'mousedown' || e.type === 'mouseup' || e.type === 'mousemove' || e.type === 'mouseover' || e.type === 'mouseout' || e.type === 'mouseenter' || e.type === 'mouseleave') {
                                                          out.x = e.clientX;
                                                          out.y = e.clientY;
                                                      }
                                  Severity: Major
                                  Found in app/assets/javascripts/jquery.datetimepicker.js - About 1 hr to fix

                                    Function _generateMonthYearHeader has 8 arguments (exceeds 4 allowed). Consider refactoring.
                                    Open

                                        _generateMonthYearHeader: function(inst, drawMonth, drawYear, minDate, maxDate,
                                                secondary, monthNames, monthNamesShort) {
                                    Severity: Major
                                    Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

                                      Consider simplifying this complex logical expression.
                                      Open

                                              if ((this.options.revert === "invalid" && !dropped) || (this.options.revert === "valid" && dropped) || this.options.revert === true || ($.isFunction(this.options.revert) && this.options.revert.call(this.element, dropped))) {
                                                  $(this.helper).animate(this.originalPosition, parseInt(this.options.revertDuration, 10), function() {
                                                      if (that._trigger("stop", event) !== false) {
                                                          that._clear();
                                                      }
                                      Severity: Major
                                      Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix

                                        Consider simplifying this complex logical expression.
                                        Open

                                                if ( this.options.tolerance === "pointer" ||
                                                    this.options.forcePointerForContainers ||
                                                    (this.options.tolerance !== "pointer" && this.helperProportions[this.floating ? "width" : "height"] > item[this.floating ? "width" : "height"])
                                                ) {
                                                    return isOverElement;
                                        Severity: Major
                                        Found in app/assets/javascripts/jquery-ui.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language