angelakuo/citydogshare

View on GitHub

Showing 3,976 of 3,976 total issues

Function widget has 73 lines of code (exceeds 25 allowed). Consider refactoring.
Open

$.widget = function( name, base, prototype ) {
    var fullName, existingConstructor, constructor, basePrototype,
        // proxiedPrototype allows the provided prototype to remain unmodified
        // so that it can be used as a mixin for multiple widgets (#8876)
        proxiedPrototype = {},

    Function widget has 73 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    $.widget = function( name, base, prototype ) {
        var fullName, existingConstructor, constructor, basePrototype,
            // proxiedPrototype allows the provided prototype to remain unmodified
            // so that it can be used as a mixin for multiple widgets (#8876)
            proxiedPrototype = {},

      Function widget has 73 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      $.widget = function( name, base, prototype ) {
          var fullName, existingConstructor, constructor, basePrototype,
              // proxiedPrototype allows the provided prototype to remain unmodified
              // so that it can be used as a mixin for multiple widgets (#8876)
              proxiedPrototype = {},

        Function widget has 73 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        $.widget = function( name, base, prototype ) {
            var fullName, existingConstructor, constructor, basePrototype,
                // proxiedPrototype allows the provided prototype to remain unmodified
                // so that it can be used as a mixin for multiple widgets (#8876)
                proxiedPrototype = {},

          Function widget has 73 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

          $.widget = function( name, base, prototype ) {
              var fullName, existingConstructor, constructor, basePrototype,
                  // proxiedPrototype allows the provided prototype to remain unmodified
                  // so that it can be used as a mixin for multiple widgets (#8876)
                  proxiedPrototype = {},

            Function widget has 73 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

            $.widget = function( name, base, prototype ) {
                var fullName, existingConstructor, constructor, basePrototype,
                    // proxiedPrototype allows the provided prototype to remain unmodified
                    // so that it can be used as a mixin for multiple widgets (#8876)
                    proxiedPrototype = {},

              Function widget has 73 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

              $.widget = function( name, base, prototype ) {
                  var fullName, existingConstructor, constructor, basePrototype,
                      // proxiedPrototype allows the provided prototype to remain unmodified
                      // so that it can be used as a mixin for multiple widgets (#8876)
                      proxiedPrototype = {},

                Function widget has 73 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                $.widget = function( name, base, prototype ) {
                    var fullName, existingConstructor, constructor, basePrototype,
                        // proxiedPrototype allows the provided prototype to remain unmodified
                        // so that it can be used as a mixin for multiple widgets (#8876)
                        proxiedPrototype = {},

                  Function widget has 73 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                  $.widget = function( name, base, prototype ) {
                      var fullName, existingConstructor, constructor, basePrototype,
                          // proxiedPrototype allows the provided prototype to remain unmodified
                          // so that it can be used as a mixin for multiple widgets (#8876)
                          proxiedPrototype = {},

                    Function widget has 73 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                    $.widget = function( name, base, prototype ) {
                        var fullName, existingConstructor, constructor, basePrototype,
                            // proxiedPrototype allows the provided prototype to remain unmodified
                            // so that it can be used as a mixin for multiple widgets (#8876)
                            proxiedPrototype = {},

                      Function widget has 73 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                      $.widget = function( name, base, prototype ) {
                          var fullName, existingConstructor, constructor, basePrototype,
                              // proxiedPrototype allows the provided prototype to remain unmodified
                              // so that it can be used as a mixin for multiple widgets (#8876)
                              proxiedPrototype = {},

                        Function widget has 73 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                        $.widget = function( name, base, prototype ) {
                            var fullName, existingConstructor, constructor, basePrototype,
                                // proxiedPrototype allows the provided prototype to remain unmodified
                                // so that it can be used as a mixin for multiple widgets (#8876)
                                proxiedPrototype = {},

                          Function placeDropdown has 73 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                                function placeDropdown(eventType) {
                                  // Check for simultaneous focus and click events.
                                  if (eventType === 'focus') {
                                    isFocused = true;
                                  }

                            Function placeDropdown has 73 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                  function placeDropdown(eventType) {
                                    // Check for simultaneous focus and click events.
                                    if (eventType === 'focus') {
                                      isFocused = true;
                                    }

                              Function widget has 73 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                              $.widget = function( name, base, prototype ) {
                                  var fullName, existingConstructor, constructor, basePrototype,
                                      // proxiedPrototype allows the provided prototype to remain unmodified
                                      // so that it can be used as a mixin for multiple widgets (#8876)
                                      proxiedPrototype = {},

                                Function _clear has 73 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    _clear: function(event, noPropagation) {
                                
                                        this.reverting = false;
                                        // We delay all events that have to be triggered to after the point where the placeholder has been removed and
                                        // everything else normalized again

                                  Function QueueRunner has a Cognitive Complexity of 21 (exceeds 5 allowed). Consider refactoring.
                                  Open

                                  getJasmineRequireObj().QueueRunner = function(j$) {
                                  
                                    function once(fn) {
                                      var called = false;
                                      return function() {

                                  Cognitive Complexity

                                  Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                                  A method's cognitive complexity is based on a few simple rules:

                                  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                                  • Code is considered more complex for each "break in the linear flow of the code"
                                  • Code is considered more complex when "flow breaking structures are nested"

                                  Further reading

                                  Function matcherFromGroupMatchers has 72 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                  function matcherFromGroupMatchers( elementMatchers, setMatchers ) {
                                      var bySet = setMatchers.length > 0,
                                          byElement = elementMatchers.length > 0,
                                          superMatcher = function( seed, context, xml, results, outermost ) {
                                              var elem, j, matcher,

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

                                        add: function( elem, types, handler, data, selector ) {
                                    
                                            var handleObjIn, eventHandle, tmp,
                                                events, t, handleObj,
                                                special, handlers, type, namespaces, origType,

                                      Function matcherFromGroupMatchers has 72 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                      function matcherFromGroupMatchers( elementMatchers, setMatchers ) {
                                          var bySet = setMatchers.length > 0,
                                              byElement = elementMatchers.length > 0,
                                              superMatcher = function( seed, context, xml, results, outermost ) {
                                                  var elem, j, matcher,
                                        Severity
                                        Category
                                        Status
                                        Source
                                        Language