angelakuo/citydogshare

View on GitHub

Showing 2,136 of 3,976 total issues

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

DatePicker.prototype.formats = (function() {

    // Return the length of the first word in a collection.
    function getWordLengthFromCollection( string, collection, dateObject ) {

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

        start: function() {
            var element, p, co, ch, cw, width, height,
                that = $( this ).resizable( "instance" ),
                o = that.options,
                el = that.element,

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

          start: function() {
              var element, p, co, ch, cw, width, height,
                  that = $( this ).resizable( "instance" ),
                  o = that.options,
                  el = that.element,

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

        return $.effects.effect.blind = function( o, done ) {
            // Create element
            var el = $( this ),
                rvertical = /up|down|vertical/,
                rpositivemotion = /up|left|vertical|horizontal/,

          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" ),

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

            return $.effects.effect.blind = function( o, done ) {
                // Create element
                var el = $( this ),
                    rvertical = /up|down|vertical/,
                    rpositivemotion = /up|left|vertical|horizontal/,

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

              DatePicker.prototype.formats = (function() {
              
                  // Return the length of the first word in a collection.
                  function getWordLengthFromCollection( string, collection, dateObject ) {
              
              

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

                  $.fn.pushpin = function (options) {
                    // Defaults
                    var defaults = {
                      top: 0,
                      bottom: Infinity,

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

                  DatePicker.prototype.formats = (function() {
                  
                      // Return the length of the first word in a collection.
                      function getWordLengthFromCollection( string, collection, dateObject ) {
                  
                  

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

                      $.fn.pushpin = function (options) {
                        // Defaults
                        var defaults = {
                          top: 0,
                          bottom: Infinity,

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

                      var effectBlind = $.effects.effect.blind = function( o, done ) {
                          // Create element
                          var el = $( this ),
                              rvertical = /up|down|vertical/,
                              rpositivemotion = /up|left|vertical|horizontal/,

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

                            start: function() {
                                var element, p, co, ch, cw, width, height,
                                    that = $( this ).resizable( "instance" ),
                                    o = that.options,
                                    el = that.element,

                          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" ),

                            Consider simplifying this complex logical expression.
                            Open

                                            if ( ( mappedTypes || origType === handleObj.origType ) &&
                                                ( !handler || handler.guid === handleObj.guid ) &&
                                                ( !tmp || tmp.test( handleObj.namespace ) ) &&
                                                ( !selector || selector === handleObj.selector ||
                                                    selector === "**" && handleObj.selector ) ) {

                              Function close has 50 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                      close: function(query) {
                                        var
                                          $activeTitle = (query !== undefined)
                                            ? (typeof query === 'number')
                                              ? $title.eq(query)

                                Consider simplifying this complex logical expression.
                                Open

                                                if ( ( mappedTypes || origType === handleObj.origType ) &&
                                                    ( !handler || handler.guid === handleObj.guid ) &&
                                                    ( !tmp || tmp.test( handleObj.namespace ) ) &&
                                                    ( !selector || selector === handleObj.selector ||
                                                        selector === "**" && handleObj.selector ) ) {

                                  Function translate has 50 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      function translate(number, withoutSuffix, key) {
                                          var result = number + ' ';
                                          switch (key) {
                                              case 'm':
                                                  return withoutSuffix ? 'jedna minuta' : 'jedne minute';

                                    Function translate has 50 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        function translate(number, withoutSuffix, key, isFuture) {
                                            var result = number + ' ';
                                            switch (key) {
                                                case 's':  // a few seconds / in a few seconds / a few seconds ago
                                                    return (withoutSuffix || isFuture) ? 'pár sekund' : 'pár sekundami';

                                      Function translate has 50 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          function translate(number, withoutSuffix, key) {
                                              var result = number + ' ';
                                              switch (key) {
                                                  case 'm':
                                                      return withoutSuffix ? 'jedna minuta' : 'jedne minute';

                                        Function translate has 50 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            function translate(number, withoutSuffix, key, isFuture) {
                                                var result = number + ' ';
                                                switch (key) {
                                                    case 's':  // a few seconds / in a few seconds / a few seconds ago
                                                        return (withoutSuffix || isFuture) ? 'pár sekúnd' : 'pár sekundami';
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language