Smile-SA/elasticsuite

View on GitHub

Showing 1,375 of 1,375 total issues

Avoid too many return statements within this function.
Open

        return createBoundaryLine(boundary, line);
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 this._values();
    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 method.
      Open

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

        Avoid too many return statements within this function.
        Open

                    return m * (t -= (2.625 / d)) * t + 0.984375;
        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 target;
            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 'center';
              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 (value - me.min) * scalingFactor;
                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', $returnParams);

                    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 +value;
                      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 this._super();

                          Avoid too many return statements within this function.
                          Open

                                                      return;
                          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 getRecordWithOldValue(oldValue);
                            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 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 'right';
                                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 false;
                                  Severity: Minor
                                  Found in src/module-elasticsuite-indices/Model/IndexStatusProvider.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                return $resultRedirect->setPath('*/*/index');
                                    Severity: Minor
                                    Found in src/module-elasticsuite-indices/Controller/Adminhtml/Index/Delete.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                                  return IndexStatus::LIVE_STATUS;
                                      Severity: Minor
                                      Found in src/module-elasticsuite-indices/Model/IndexStatusProvider.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                return $this->getProductListDefaultSortDirectionBy();
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language