ricarthlima/eo-project-es

View on GitHub

Showing 42 of 135 total issues

Function Dropdown has 335 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  var Dropdown = function ($$$1) {
    /**
     * ------------------------------------------------------------------------
     * Constants
     * ------------------------------------------------------------------------
Severity: Major
Found in app/assets/javascripts/application.js - About 1 day to fix

    Function Collapse has 262 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      var Collapse = function ($$$1) {
        /**
         * ------------------------------------------------------------------------
         * Constants
         * ------------------------------------------------------------------------
    Severity: Major
    Found in app/assets/javascripts/application.js - About 1 day to fix

      Function Dropdown has 254 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          function () {
            function Dropdown(element, config) {
              this._element = element;
              this._popper = null;
              this._config = this._getConfig(config);
      Severity: Major
      Found in app/assets/javascripts/application.js - About 1 day to fix

        Function ScrollSpy has 220 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

          var ScrollSpy = function ($$$1) {
            /**
             * ------------------------------------------------------------------------
             * Constants
             * ------------------------------------------------------------------------
        Severity: Major
        Found in app/assets/javascripts/application.js - About 1 day to fix

          Function Collapse has 203 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              function () {
                function Collapse(element, config) {
                  this._isTransitioning = false;
                  this._element = element;
                  this._config = this._getConfig(config);
          Severity: Major
          Found in app/assets/javascripts/application.js - About 1 day to fix

            Function Tab has 170 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

              var Tab = function ($$$1) {
                /**
                 * ------------------------------------------------------------------------
                 * Constants
                 * ------------------------------------------------------------------------
            Severity: Major
            Found in app/assets/javascripts/application.js - About 6 hrs to fix

              Function ScrollSpy has 161 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  function () {
                    function ScrollSpy(element, config) {
                      var _this = this;
              
                      this._element = element;
              Severity: Major
              Found in app/assets/javascripts/application.js - About 6 hrs to fix

                Function Popover has 137 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                  var Popover = function ($$$1) {
                    /**
                     * ------------------------------------------------------------------------
                     * Constants
                     * ------------------------------------------------------------------------
                Severity: Major
                Found in app/assets/javascripts/application.js - About 5 hrs to fix

                  Function Tab has 127 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      function () {
                        function Tab(element) {
                          this._element = element;
                        } // Getters
                  
                  
                  Severity: Major
                  Found in app/assets/javascripts/application.js - About 5 hrs to fix

                    Function Alert has 108 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                      var Alert = function ($$$1) {
                        /**
                         * ------------------------------------------------------------------------
                         * Constants
                         * ------------------------------------------------------------------------
                    Severity: Major
                    Found in app/assets/javascripts/application.js - About 4 hrs to fix

                      Function Button has 105 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                        var Button = function ($$$1) {
                          /**
                           * ------------------------------------------------------------------------
                           * Constants
                           * ------------------------------------------------------------------------
                      Severity: Major
                      Found in app/assets/javascripts/application.js - About 4 hrs to fix

                        Function Util has 93 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                          var Util = function ($$$1) {
                            /**
                             * ------------------------------------------------------------------------
                             * Private TransitionEnd Helpers
                             * ------------------------------------------------------------------------
                        Severity: Major
                        Found in app/assets/javascripts/application.js - About 3 hrs to fix

                          Function Popover has 91 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              function (_Tooltip) {
                                _inheritsLoose(Popover, _Tooltip);
                          
                                function Popover() {
                                  return _Tooltip.apply(this, arguments) || this;
                          Severity: Major
                          Found in app/assets/javascripts/application.js - About 3 hrs to fix

                            Function Alert has 78 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                function () {
                                  function Alert(element) {
                                    this._element = element;
                                  } // Getters
                            
                            
                            Severity: Major
                            Found in app/assets/javascripts/application.js - About 3 hrs to fix

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

                                    _proto.show = function show() {
                                      var _this = this;
                              
                                      if ($$$1(this.element).css('display') === 'none') {
                                        throw new Error('Please use show on visible elements');
                              Severity: Major
                              Found in app/assets/javascripts/application.js - About 3 hrs to fix

                                Function _slide has 63 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                      _proto._slide = function _slide(direction, element) {
                                        var _this3 = this;
                                
                                        var activeElement = this._element.querySelector(Selector.ACTIVE_ITEM);
                                
                                
                                Severity: Major
                                Found in app/assets/javascripts/application.js - About 2 hrs to fix

                                  Function Button has 62 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      function () {
                                        function Button(element) {
                                          this._element = element;
                                        } // Getters
                                  
                                  
                                  Severity: Major
                                  Found in app/assets/javascripts/application.js - About 2 hrs to fix

                                    Function _showBackdrop has 53 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                          _proto._showBackdrop = function _showBackdrop(callback) {
                                            var _this8 = this;
                                    
                                            var animate = $$$1(this._element).hasClass(ClassName.FADE) ? ClassName.FADE : '';
                                    
                                    
                                    Severity: Major
                                    Found in app/assets/javascripts/application.js - About 2 hrs to fix

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

                                            _proto.show = function show() {
                                              var _this = this;
                                      
                                              if (this._isTransitioning || $$$1(this._element).hasClass(ClassName.SHOW)) {
                                                return;
                                      Severity: Minor
                                      Found in app/assets/javascripts/application.js - About 1 hr to fix

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

                                              _proto.show = function show() {
                                                var _this = this;
                                        
                                                if (this._element.parentNode && this._element.parentNode.nodeType === Node.ELEMENT_NODE && $$$1(this._element).hasClass(ClassName.ACTIVE) || $$$1(this._element).hasClass(ClassName.DISABLED)) {
                                                  return;
                                        Severity: Minor
                                        Found in app/assets/javascripts/application.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language