sfstanley/citydogshare

View on GitHub

Showing 257 of 576 total issues

Function _showDatepicker has 61 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    _showDatepicker: function(input) {
        input = input.target || input;
        if (input.nodeName.toLowerCase() !== "input") { // find from button/image trigger
            input = $("input", input.parentNode)[0];
        }
Severity: Major
Found in app/assets/javascripts/jquery-ui.js - About 2 hrs to fix

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

            keydown: function( event ) {
                var allowed, curVal, newVal, step,
                    index = $( event.target ).data( "ui-slider-handle-index" );
    
                switch ( event.keyCode ) {
    Severity: Major
    Found in app/assets/javascripts/jquery-ui.js - About 2 hrs to fix

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

          drag: function( event, ui, inst ) {
      
              var ts, bs, ls, rs, l, r, t, b, i, first,
                  o = inst.options,
                  d = o.snapTolerance,
      Severity: Major
      Found in app/assets/javascripts/jquery-ui.js - About 2 hrs to fix

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

        var effectExplode = $.effects.effect.explode = function( o, done ) {
        
            var rows = o.pieces ? Math.round( Math.sqrt( o.pieces ) ) : 3,
                cells = rows,
                el = $( this ),
        Severity: Major
        Found in app/assets/javascripts/jquery-ui.js - About 2 hrs to fix

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

                      loadCSS : function( href, id, callback ) {
          
                          var link,
                              length;
          
          
          Severity: Major
          Found in app/assets/javascripts/galleria-1.4.2.js - About 2 hrs to fix

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

                _open: function( event, target, content ) {
                    var tooltipData, tooltip, delayedShow, a11yContent,
                        positionOption = $.extend( {}, this.options.position );
            
                    if ( !content ) {
            Severity: Major
            Found in app/assets/javascripts/jquery-ui.js - About 2 hrs to fix

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

                  _generateMonthYearHeader: function(inst, drawMonth, drawYear, minDate, maxDate,
                          secondary, monthNames, monthNamesShort) {
              
                      var inMinYear, inMaxYear, month, years, thisYear, determineYear, year, endYear,
                          changeMonth = this._get(inst, "changeMonth"),
              Severity: Major
              Found in app/assets/javascripts/jquery-ui.js - About 2 hrs to fix

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

                    _setContainment: function() {
                
                        var isUserScrollable, c, ce,
                            o = this.options,
                            document = this.document[ 0 ];
                Severity: Major
                Found in app/assets/javascripts/jquery-ui.js - About 2 hrs to fix

                  Function createWrapper has 56 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();
                  Severity: Major
                  Found in app/assets/javascripts/jquery-ui.js - About 2 hrs to fix

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

                        add: function(handleObj) {
                    
                            var getCoords = function(e) {
                                if ( e.touches && e.touches.length ) {
                                    var touch = e.touches[0];
                    Severity: Major
                    Found in app/assets/javascripts/galleria-1.4.2.js - About 2 hrs to fix

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

                          _setOption: function( key, value ) {
                              var i,
                                  valsLength = 0;
                      
                              if ( key === "range" && this.options.range === true ) {
                      Severity: Major
                      Found in app/assets/javascripts/jquery-ui.js - About 2 hrs to fix

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

                            _mouseStart: function(event) {
                                var that = this,
                                    options = this.options;
                        
                                this.opos = [ event.pageX, event.pageY ];
                        Severity: Major
                        Found in app/assets/javascripts/jquery-ui.js - About 2 hrs to fix

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

                                  keydown: function( event ) {
                                      var preventDefault = true;
                                      switch ( event.keyCode ) {
                                          case $.ui.keyCode.TAB:
                                          case $.ui.keyCode.ESCAPE:
                          Severity: Major
                          Found in app/assets/javascripts/jquery-ui.js - About 2 hrs to fix

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

                                var Finger = function(elem, options) {
                            
                                    // default options
                                    this.config = {
                                        start: 0,
                            Severity: Major
                            Found in app/assets/javascripts/galleria-1.4.2.js - About 2 hrs to fix

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

                                          keydown: function( event ) {
                                              if ( this.element.prop( "readOnly" ) ) {
                                                  suppressKeyPress = true;
                                                  suppressInput = true;
                                                  suppressKeyPressRepeat = true;
                              Severity: Major
                              Found in app/assets/javascripts/jquery-ui.js - About 2 hrs to fix

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

                                    parse: function( red, green, blue, alpha ) {
                                        if ( red === undefined ) {
                                            this._rgba = [ null, null, null, null ];
                                            return this;
                                        }
                                Severity: Major
                                Found in app/assets/javascripts/jquery-ui.js - About 2 hrs to fix

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

                                      init: function(options) {
                                  
                                          Galleria.requires(1.4, 'This version of Classic theme requires Galleria 1.4 or later');
                                  
                                          // add some elements
                                  Severity: Major
                                  Found in app/assets/javascripts/galleria.classic.js - About 2 hrs to fix

                                    Function create__createDuration has 52 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        function create__createDuration (input, key) {
                                            var duration = input,
                                                // matching against regexp is expensive, do it on demand
                                                match = null,
                                                sign,
                                    Severity: Major
                                    Found in app/assets/javascripts/moment.js - About 2 hrs to fix

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

                                          _refreshValue: function() {
                                              var lastValPercent, valPercent, value, valueMin, valueMax,
                                                  oRange = this.options.range,
                                                  o = this.options,
                                                  that = this,
                                      Severity: Major
                                      Found in app/assets/javascripts/jquery-ui.js - About 2 hrs to fix

                                        Function _animate has 51 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            _animate: function( toShow, toHide, data ) {
                                                var total, easing, duration,
                                                    that = this,
                                                    adjust = 0,
                                                    boxSizing = toShow.css( "box-sizing" ),
                                        Severity: Major
                                        Found in app/assets/javascripts/jquery-ui.js - About 2 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language