Smile-SA/elasticsuite

View on GitHub

Showing 620 of 1,375 total issues

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

            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
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language