angelakuo/citydogshare

View on GitHub

Showing 3,976 of 3,976 total issues

Function scrollSpy has 65 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    $.scrollSpy = function(selector, options) {
      var defaults = {
            throttle: 100,
            scrollOffset: 200 // offset - 200 allows elements near bottom of page to scroll
    };

    File sideNav-de5e615b7a32eb9e55ffc9573e4186ef01339badef5ecb1f3f6d591686f49ac8.js has 275 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    (function ($) {
    
      var methods = {
        init : function(options) {
          var defaults = {

      Function scrollSpy has 65 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          $.scrollSpy = function(selector, options) {
            var defaults = {
                  throttle: 100,
                  scrollOffset: 200 // offset - 200 allows elements near bottom of page to scroll
          };

        Method has too many lines. [18/10]
        Open

          def to_form_hash
            return {
              :name => self.name,
              :dob => self.dob.year,
              :size => self.size.id,
        Severity: Minor
        Found in app/models/dog.rb by rubocop

        This cop checks if the length of a method exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable.

        Function mutateEvent has 64 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            function mutateEvent(event, newProps, largeUnit) {
                var miscProps = {};
                var oldProps;
                var clearEnd;
                var startDelta;

          Function MockDate has 64 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

            function MockDate(global) {
              var self = this;
              var currentTime = 0;
          
              if (!global || !global.Date) {

            Function bounce has 64 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

            return $.effects.effect.bounce = function( o, done ) {
                var el = $( this ),
                    props = [ "position", "top", "bottom", "left", "right", "height", "width" ],
            
                    // defaults:

              Function bounce has 64 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

              return $.effects.effect.bounce = function( o, done ) {
                  var el = $( this ),
                      props = [ "position", "top", "bottom", "left", "right", "height", "width" ],
              
                      // defaults:

                Function bounce has 64 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                var effectBounce = $.effects.effect.bounce = function( o, done ) {
                    var el = $( this ),
                        props = [ "position", "top", "bottom", "left", "right", "height", "width" ],
                
                        // defaults:

                  Function query has 63 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                          query: function() {
                  
                            if(module.is.disabled()) {
                              module.debug('Element is disabled API request aborted');
                              return;

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

                    function domManip( collection, args, callback, ignored ) {
                    
                        // Flatten any nested arrays
                        args = concat.apply( [], args );
                    
                    

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

                          init = jQuery.fn.init = function( selector, context, root ) {
                              var match, elem;
                      
                              // HANDLE: $(""), $(null), $(undefined), $(false)
                              if ( !selector ) {

                        Function resize has 63 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            resize: function() {
                                var outerDimensions,
                                    that = $(this).resizable( "instance" ),
                                    o = that.options,
                                    cs = that.size,

                          Function resize has 63 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              resize: function() {
                                  var outerDimensions,
                                      that = $(this).resizable( "instance" ),
                                      o = that.options,
                                      cs = that.size,

                            Function addPan has 63 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                addPan : function( img ) {
                            
                                    if ( this._options.imageCrop === false ) {
                                        return;
                                    }

                              Function resize has 63 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  resize: function() {
                                      var outerDimensions,
                                          that = $(this).resizable( "instance" ),
                                          o = that.options,
                                          cs = that.size,

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

                                    Deferred: function( func ) {
                                        var tuples = [
                                
                                                // action, add listener, listener list, final state
                                                [ "resolve", "done", jQuery.Callbacks( "once memory" ), "resolved" ],

                                  Function buildEventFromInput has 62 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      function buildEventFromInput(input, source) {
                                          var out = {};
                                          var start, end;
                                          var allDay;
                                  
                                  

                                    Function mergeInterpolationTokens has 62 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        Lexer.prototype.mergeInterpolationTokens = function(tokens, options, fn) {
                                          var converted, firstEmptyStringIndex, firstIndex, i, j, lastToken, len, locationToken, lparen, plusToken, ref2, rparen, tag, token, tokensToPush, value;
                                          if (tokens.length > 1) {
                                            lparen = this.token('STRING_START', '(', 0, 0);
                                          }

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

                                          Deferred: function( func ) {
                                              var tuples = [
                                      
                                                      // action, add listener, listener list, final state
                                                      [ "resolve", "done", jQuery.Callbacks( "once memory" ), "resolved" ],
                                        Severity
                                        Category
                                        Status
                                        Source
                                        Language