Smile-SA/elasticsuite

View on GitHub

Showing 1,375 of 1,375 total issues

Avoid too many return statements within this function.
Open

            return (me._cache.data = me.normalize(timestamps));
Severity: Minor
Found in src/module-elasticsuite-core/view/adminhtml/web/js/lib/chart.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

                    return event.preventDefault();
    Severity: Minor
    Found in src/module-elasticsuite-catalog/view/frontend/web/js/mouse.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

              return splitByStyles(solidSegments(points, start, max, completeLoop), points, segmentOptions);
      Severity: Minor
      Found in src/module-elasticsuite-core/view/adminhtml/web/js/lib/chart.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                return options;
        Severity: Minor
        Found in src/module-elasticsuite-core/view/adminhtml/web/js/lib/chart.js - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                  return _pointInLine;
          Severity: Minor
          Found in src/module-elasticsuite-core/view/adminhtml/web/js/lib/chart.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                    return ['origin', 'start', 'end', 'stack'].indexOf(fill) >= 0 && fill;
            Severity: Minor
            Found in src/module-elasticsuite-core/view/adminhtml/web/js/lib/chart.js - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                              return $resultRedirect->setPath('*/*/');

                Avoid too many return statements within this function.
                Open

                                return m * (t -= (2.25 / d)) * t + 0.9375;
                Severity: Minor
                Found in src/module-elasticsuite-core/view/adminhtml/web/js/lib/chart.js - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                          return false;
                  Severity: Major
                  Found in src/module-elasticsuite-core/view/adminhtml/web/js/lib/chart.js - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                                return +raw;
                    Severity: Minor
                    Found in src/module-elasticsuite-core/view/adminhtml/web/js/lib/chart.js - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                  return $resultRedirect->setPath('*/*/edit', ['id' => $this->getRequest()->getParam('id')]);

                        Avoid too many return statements within this function.
                        Open

                                        return {top: me.top, left: 0, bottom: me.bottom, right: chart.width};
                        Severity: Minor
                        Found in src/module-elasticsuite-core/view/adminhtml/web/js/lib/chart.js - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                              return;
                          Severity: Minor
                          Found in src/module-elasticsuite-core/view/adminhtml/web/js/lib/chart.js - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                    return false;
                            Severity: Minor
                            Found in src/module-elasticsuite-core/view/adminhtml/web/js/lib/chart.js - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                                  return true;
                              Severity: Minor
                              Found in src/module-elasticsuite-catalog/view/frontend/web/js/mouse.js - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                            return parseFloat(alignValue.toFixed(5));
                                Severity: Minor
                                Found in src/module-elasticsuite-catalog/view/frontend/web/js/slider.js - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                          return null;
                                  Severity: Minor
                                  Found in src/module-elasticsuite-core/view/base/web/js/MutationObserver.js - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                                return 0;
                                    Severity: Minor
                                    Found in src/module-elasticsuite-core/view/adminhtml/web/js/lib/chart.js - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                                          return;
                                      Severity: Major
                                      Found in src/module-elasticsuite-core/view/adminhtml/web/js/lib/chart.js - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                    return true;
                                        Severity: Minor
                                        Found in src/module-elasticsuite-catalog/view/frontend/web/js/slider.js - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language