klein0r/affiliate-dashboard

View on GitHub

Showing 320 of 320 total issues

Function promise has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

jQuery.ready.promise = function( obj ) {
    if ( !readyList ) {

        readyList = jQuery.Deferred();

Severity: Minor
Found in web/js/jquery_jquery-1.11.1_1.js - About 1 hr to fix

    Function handlers has 30 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        handlers: function( event, handlers ) {
            var sel, handleObj, matches, i,
                handlerQueue = [],
                delegateCount = handlers.delegateCount,
                cur = event.target;
    Severity: Minor
    Found in web/js/jquery_jquery-1.11.1_1.js - About 1 hr to fix

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

        Modal.prototype.show = function (_relatedTarget) {
          var that = this
          var e    = $.Event('show.bs.modal', { relatedTarget: _relatedTarget })
      
          this.$element.trigger(e)
      Severity: Minor
      Found in web/js/bootstrap.js - About 1 hr to fix

        Function toggleClass has 29 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            toggleClass: function( value, stateVal ) {
                var type = typeof value;
        
                if ( typeof stateVal === "boolean" && type === "string" ) {
                    return stateVal ? this.addClass( value ) : this.removeClass( value );
        Severity: Minor
        Found in web/js/jquery.js - About 1 hr to fix

          Function html has 29 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              html: function( value ) {
                  return access( this, function( value ) {
                      var elem = this[ 0 ] || {},
                          i = 0,
                          l = this.length;
          Severity: Minor
          Found in web/js/jquery.js - About 1 hr to fix

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

              Modal.prototype.show = function (_relatedTarget) {
                var that = this
                var e    = $.Event('show.bs.modal', { relatedTarget: _relatedTarget })
            
                this.$element.trigger(e)
            Severity: Minor
            Found in web/js/bootstrap_modal_7.js - About 1 hr to fix

              Function toggleClass has 29 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  toggleClass: function( value, stateVal ) {
                      var type = typeof value;
              
                      if ( typeof stateVal === "boolean" && type === "string" ) {
                          return stateVal ? this.addClass( value ) : this.removeClass( value );
              Severity: Minor
              Found in web/js/jquery_jquery-1.11.1_1.js - About 1 hr to fix

                Function html has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    html: function( value ) {
                        return access( this, function( value ) {
                            var elem = this[ 0 ] || {},
                                i = 0,
                                l = this.length;
                Severity: Minor
                Found in web/js/jquery_jquery-1.11.1_1.js - About 1 hr to fix

                  Function fix has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      fix: function( event ) {
                          if ( event[ jQuery.expando ] ) {
                              return event;
                          }
                  
                  
                  Severity: Minor
                  Found in web/js/jquery.js - About 1 hr to fix

                    Function finish has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        finish: function( type ) {
                            if ( type !== false ) {
                                type = type || "fx";
                            }
                            return this.each(function() {
                    Severity: Minor
                    Found in web/js/jquery.js - About 1 hr to fix

                      Function fix has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          fix: function( event ) {
                              if ( event[ jQuery.expando ] ) {
                                  return event;
                              }
                      
                      
                      Severity: Minor
                      Found in web/js/jquery_jquery-1.11.1_1.js - About 1 hr to fix

                        Function finish has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            finish: function( type ) {
                                if ( type !== false ) {
                                    type = type || "fx";
                                }
                                return this.each(function() {
                        Severity: Minor
                        Found in web/js/jquery_jquery-1.11.1_1.js - About 1 hr to fix

                          Function activate has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                            Tab.prototype.activate = function (element, container, callback) {
                              var $active    = container.find('> .active')
                              var transition = callback
                                && $.support.transition
                                && $active.hasClass('fade')
                          Severity: Minor
                          Found in web/js/bootstrap_tab_11.js - About 1 hr to fix

                            Function activate has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                              Tab.prototype.activate = function (element, container, callback) {
                                var $active    = container.find('> .active')
                                var transition = callback
                                  && $.support.transition
                                  && $active.hasClass('fade')
                            Severity: Minor
                            Found in web/js/bootstrap.js - About 1 hr to fix

                              Function propFilter has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                              function propFilter( props, specialEasing ) {
                                  var index, name, easing, value, hooks;
                              
                                  // camelCase, specialEasing and expand cssHook pass
                                  for ( index in props ) {
                              Severity: Minor
                              Found in web/js/jquery.js - About 1 hr to fix

                                Function setup has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                        setup: function() {
                                
                                            if ( rformElems.test( this.nodeName ) ) {
                                                // IE doesn't fire change on a check/radio until blur; trigger it on click
                                                // after a propertychange. Eat the blur-change in special.change.handle.
                                Severity: Minor
                                Found in web/js/jquery.js - About 1 hr to fix

                                  Function propFilter has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                  function propFilter( props, specialEasing ) {
                                      var index, name, easing, value, hooks;
                                  
                                      // camelCase, specialEasing and expand cssHook pass
                                      for ( index in props ) {
                                  Severity: Minor
                                  Found in web/js/jquery_jquery-1.11.1_1.js - About 1 hr to fix

                                    Method crawl has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        public function crawl(File $file)
                                        {
                                            $sales = [];
                                    
                                            $crawler = new Crawler(file_get_contents($file->getPathname()));
                                    Severity: Minor
                                    Found in src/AffiliateDashboardBundle/Service/Xmlfile.php - About 1 hr to fix

                                      Function setup has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                              setup: function() {
                                      
                                                  if ( rformElems.test( this.nodeName ) ) {
                                                      // IE doesn't fire change on a check/radio until blur; trigger it on click
                                                      // after a propertychange. Eat the blur-change in special.change.handle.
                                      Severity: Minor
                                      Found in web/js/jquery_jquery-1.11.1_1.js - About 1 hr to fix

                                        Function off has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            off: function( types, selector, fn ) {
                                                var handleObj, type;
                                                if ( types && types.preventDefault && types.handleObj ) {
                                                    // ( event )  dispatched jQuery.Event
                                                    handleObj = types.handleObj;
                                        Severity: Minor
                                        Found in web/js/jquery.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language