Smile-SA/elasticsuite

View on GitHub

Showing 1,375 of 1,375 total issues

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

                                Avoid too many return statements within this function.
                                Open

                                        return lineTo;
                                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 newTicks;
                                    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 height ? width / height : null;
                                      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 boundary;
                                        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