angelakuo/citydogshare

View on GitHub

Showing 2,136 of 3,976 total issues

Function hook has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

color.hook = function( hook ) {
    var hooks = hook.split( " " );
    each( hooks, function( i, hook ) {
        jQuery.cssHooks[ hook ] = {
            set: function( elem, value ) {

    Function hook has 41 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    color.hook = function( hook ) {
        var hooks = hook.split( " " );
        each( hooks, function( i, hook ) {
            jQuery.cssHooks[ hook ] = {
                set: function( elem, value ) {

      Function hook has 41 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      color.hook = function( hook ) {
          var hooks = hook.split( " " );
          each( hooks, function( i, hook ) {
              jQuery.cssHooks[ hook ] = {
                  set: function( elem, value ) {

        Function hook has 41 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        color.hook = function( hook ) {
            var hooks = hook.split( " " );
            each( hooks, function( i, hook ) {
                jQuery.cssHooks[ hook ] = {
                    set: function( elem, value ) {

          Function show has 41 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

                  show: function(e, element) {
          
                      // Disable right click
                      if (e.button === 2) {
                          return false;

            Function removeMenu has 41 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                    function removeMenu(restoreNav) {
                      panning = false;
                      menuOut = false;
                      // Reenable scrolling
                      $('body').css({

              Function show has 41 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                      show: function(e, element) {
              
                          // Disable right click
                          if (e.button === 2) {
                              return false;

                Function createYearLabel has 41 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                        createYearLabel = function(override) {
                
                            var focusedYear = viewsetObject.year,
                
                            // If years selector is set to a literal "true", set it to 5. Otherwise

                  Function removeMenu has 41 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                          function removeMenu(restoreNav) {
                            panning = false;
                            menuOut = false;
                            // Reenable scrolling
                            $('body').css({

                    Function createYearLabel has 41 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                            createYearLabel = function(override) {
                    
                                var focusedYear = viewsetObject.year,
                    
                                // If years selector is set to a literal "true", set it to 5. Otherwise

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

                          _mouseStart: function(event) {
                      
                              var curleft, curtop, cursor,
                                  o = this.options,
                                  el = this.element;

                        Function hook has 41 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                        color.hook = function( hook ) {
                            var hooks = hook.split( " " );
                            each( hooks, function( i, hook ) {
                                jQuery.cssHooks[ hook ] = {
                                    set: function( elem, value ) {

                          Function _eventHandler has 41 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              _eventHandler: function( event ) {
                                  var options = this.options,
                                      active = this.active,
                                      clicked = $( event.currentTarget ),
                                      clickedIsActive = clicked[ 0 ] === active[ 0 ],

                            Method change has 41 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                def change
                                    create_table :dogs do |t|
                                        t.string :name
                                        t.string :image
                                        t.datetime :dob
                            Severity: Minor
                            Found in db/migrate/201503291520_create_dogs.rb - About 1 hr to fix

                              Function addCombinator has 40 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                              function addCombinator( matcher, combinator, base ) {
                                  var dir = combinator.dir,
                                      checkNonElements = base && dir === "parentNode",
                                      doneName = done++;
                              
                              

                                Function on has 40 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                function on( elem, types, selector, data, fn, one ) {
                                    var origFn, type;
                                
                                    // Types can be a map of types/handlers
                                    if ( typeof types === "object" ) {

                                  Function listenToExternalDrag has 40 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      listenToExternalDrag: function(el, ev, ui) {
                                          var _this = this;
                                          var calendar = this.view.calendar;
                                          var meta = getDraggedElMeta(el); // extra data about event drop, including possible event to create
                                          var dropLocation; // a null value signals an unsuccessful drag

                                    Function pullPage has 40 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                            pullPage: function(callback) {
                                              var
                                                transition = module.get.transition(),
                                                $transition = (transition == 'safe')
                                                  ? $context

                                      Function mouseEvents has 40 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                                mouseEvents: function() {
                                                  module.verbose('Mouse detected binding mouse events');
                                                  if( module.is.searchSelection() ) {
                                                    $module
                                                      .on('mousedown' + eventNamespace, selector.menu, module.event.menu.activate)

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

                                                  values: function (fields) {
                                                    if($.isEmptyObject(fields)) {
                                                      return;
                                                    }
                                                    $.each(fields, function(key, value) {
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language