airbnb/caravel

View on GitHub

Showing 2,441 of 6,157 total issues

Avoid too many return statements within this function.
Open

      if (deltaLeft < SIBLING_DROP_THRESHOLD) return DROP_LEFT;
Severity: Major
Found in superset-frontend/src/dashboard/util/getDropPosition.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

          return clientOffset.x < refMiddleX ? DROP_LEFT : DROP_RIGHT;
    Severity: Major
    Found in superset-frontend/src/dashboard/util/getDropPosition.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

        return -1;
      Severity: Major
      Found in superset-frontend/src/dashboard/util/getComponentWidthFromDrop.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

              return hasChildren ? DROP_RIGHT : DROP_LEFT;
        Severity: Major
        Found in superset-frontend/src/dashboard/util/getDropPosition.js - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

              return opt.toString();
          Severity: Major
          Found in superset-frontend/src/utils/common.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                  return !!(this.sqlExpression && this.clause);

              Avoid too many return statements within this function.
              Open

                  return false;

                Avoid too many return statements within this function.
                Open

                    return null;

                  Avoid too many return statements within this function.
                  Open

                    return opt;
                  Severity: Major
                  Found in superset-frontend/src/utils/common.js - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                      return 'Unknown OS';
                    Severity: Major
                    Found in superset-frontend/src/utils/common.js - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                          return null;
                      Severity: Major
                      Found in superset-frontend/src/dashboard/util/getDropPosition.js - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                              if (deltaTop < SIBLING_DROP_THRESHOLD) return DROP_TOP;
                        Severity: Major
                        Found in superset-frontend/src/dashboard/util/getDropPosition.js - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                              return clientOffset.y < refMiddleY ? DROP_TOP : DROP_BOTTOM;
                          Severity: Major
                          Found in superset-frontend/src/dashboard/util/getDropPosition.js - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                              return dashboardFilters;
                            Severity: Major
                            Found in superset-frontend/src/dashboard/reducers/dashboardFilters.js - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                          return self.response_404()
                              Severity: Major
                              Found in superset/row_level_security/api.py - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                  return null;
                                Severity: Major
                                Found in superset-frontend/src/dashboard/util/getDropPosition.js - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                          return "Failed to fetch KEYS file"
                                  Severity: Major
                                  Found in RELEASING/verify_release.py - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                                return self.response_422(message=str(ex))
                                    Severity: Major
                                    Found in superset/row_level_security/api.py - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                            return true;
                                      Severity: Major
                                      Found in superset-frontend/src/dashboard/components/gridComponents/Chart.jsx - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                  return true;
                                        Severity: Major
                                        Found in superset-frontend/src/dashboard/components/gridComponents/Chart.jsx - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language