angelakuo/citydogshare

View on GitHub

Showing 3,976 of 3,976 total issues

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) {

                      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 prompt has 40 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                                  prompt: function(identifier, errors) {
                                    var
                                      $field       = module.get.field(identifier),
                                      $fieldGroup  = $field.closest($group),
                                      $prompt      = $fieldGroup.children(selector.prompt),

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

                              Block.prototype.compileNode = function(o) {
                                var answer, compiledNodes, fragments, index, j, len1, node, ref3, top;
                                this.tab = o.indent;
                                top = o.level === LEVEL_TOP;
                                compiledNodes = [];

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

                                Block.prototype.compileRoot = function(o) {
                                  var exp, fragments, i, j, len1, name, prelude, preludeExps, ref3, ref4, rest;
                                  o.indent = o.bare ? '' : TAB;
                                  o.level = LEVEL_TOP;
                                  this.spaced = true;

                              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 showHide has 40 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                  function showHide( elements, show ) {
                                      var display, elem, hidden,
                                          values = [],
                                          index = 0,
                                          length = elements.length;

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

                                    getJasmineRequireObj().buildExpectationResult = function() {
                                      function buildExpectationResult(options) {
                                        var messageFormatter = options.messageFormatter || function() {},
                                          stackFormatter = options.stackFormatter || function() {};
                                    
                                    

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

                                                  start: function() {
                                      
                                                      // If it’s already started, do nothing.
                                                      if ( STATE && STATE.start ) return P
                                      
                                      

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

                                            _mouseDown: function(event) {
                                                // don't let more than one widget handle mouseStart
                                                if ( mouseHandled ) {
                                                    return;
                                                }
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language