Smile-SA/elasticsuite

View on GitHub

Showing 620 of 1,375 total issues

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 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 _createResolver([...set], [''], rootScopes, fallback,
                  () => subGetTarget(resolver, prop, 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 new DomPlatform();
        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-core/view/adminhtml/web/js/lib/chart.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                    return source;
            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-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 record;
                  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 '';

                      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;
                        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 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 function.
                            Open

                                                        return labels[item.dataIndex];
                            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 diff;
                                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 {
                                              start: pos,
                                              end: pos + size
                                          };
                                  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 !this._mouseStarted;
                                      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 {lo: 0, hi: data.length - 1};
                                        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