airbnb/caravel

View on GitHub

Showing 2,441 of 6,157 total issues

Avoid too many return statements within this function.
Open

        return self._get_data_response(
Severity: Major
Found in superset/charts/data/api.py - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

                    return
    Severity: Major
    Found in superset/security/manager.py - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

          return False
      Severity: Major
      Found in superset/security/manager.py - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                        return
        Severity: Major
        Found in superset/security/manager.py - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                  return False
          Severity: Major
          Found in superset/security/manager.py - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

              return [
                x,
                x
                  .split('_')
                  .map(e => e[0].toUpperCase() + e.slice(1))

              Avoid too many return statements within this function.
              Open

                          return self._run_async(json_body, command)
              Severity: Major
              Found in superset/charts/data/api.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                  return [false, value.toString()];
                Severity: Major
                Found in superset-frontend/plugins/plugin-chart-table/src/utils/formatValue.ts - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                          return Response(
                  Severity: Major
                  Found in superset/dashboards/api.py - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                      return name;
                    Severity: Major
                    Found in superset-frontend/plugins/plugin-chart-echarts/src/utils/series.ts - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                          return Math.sqrt(num / Math.PI) * METER_TO_MILE;
                      Severity: Major
                      Found in superset-frontend/plugins/legacy-preset-chart-deckgl/src/utils/geo.ts - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                  return formatter(isAreaExpand ? 1 : totalStackedValues[dataIndex]);

                          Avoid too many return statements within this function.
                          Open

                              return Math.sqrt(num / Math.PI) * 1000;
                          Severity: Major
                          Found in superset-frontend/plugins/legacy-preset-chart-deckgl/src/utils/geo.ts - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                              return null;
                            Severity: Major
                            Found in superset-frontend/plugins/legacy-preset-chart-deckgl/src/utils/geo.ts - 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 false;

                                  Avoid too many return statements within this function.
                                  Open

                                      return 'Custom';

                                    Avoid too many return statements within this function.
                                    Open

                                            return;

                                      Avoid too many return statements within this function.
                                      Open

                                        return resultResp
                                          .slice(0, queryCount)
                                          .map((result, idx) => (
                                            <SingleQueryResultPane
                                              data={result.data}

                                        Avoid too many return statements within this function.
                                        Open

                                          return 'Advanced';
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language