cloudfoundry-incubator/stratos

View on GitHub

Showing 1,111 of 1,370 total issues

Avoid too many return statements within this function.
Open

          return false;

    Avoid too many return statements within this function.
    Open

      return false;

      Avoid too many return statements within this function.
      Open

            return {};

        Avoid too many return statements within this function.
        Open

              return {
                ...state,
                ...hydrateDashboardStateAction.dashboardState
              };
        Severity: Major
        Found in src/frontend/packages/store/src/reducers/dashboard-reducer.ts - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                  return this.revision > other.revision;

            Avoid too many return statements within this function.
            Open

                    return state;
            Severity: Major
            Found in src/frontend/packages/store/src/reducers/dashboard-reducer.ts - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                    return {
                      ...state,
                      themeKey: setThemeAction.theme ? setThemeAction.theme.key : null
                    };
              Severity: Major
              Found in src/frontend/packages/store/src/reducers/dashboard-reducer.ts - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                  return true;

                  Avoid too many return statements within this function.
                  Open

                              return true;

                    Avoid too many return statements within this function.
                    Open

                                return this.prerelease > other.prerelease;

                      Avoid too many return statements within this function.
                      Open

                        return false;
                      Severity: Major
                      Found in src/frontend/packages/core/src/core/utils.service.ts - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                          return value;

                          Avoid too many return statements within this function.
                          Open

                                return false;

                            Avoid too many return statements within this function.
                            Open

                                  return true;

                              Avoid too many return statements within this function.
                              Open

                                  return `${duration.asSeconds().toPrecision(2)} msec`;

                                Avoid too many return statements within this function.
                                Open

                                    return this.precisionIfUseful(mb) + ' MB';
                                Severity: Major
                                Found in src/frontend/packages/core/src/core/utils.service.ts - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                        return false;

                                    Avoid too many return statements within this function.
                                    Open

                                        return false;
                                    Severity: Major
                                    Found in src/frontend/packages/core/src/app.module.ts - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                                return 'none';
                                      Severity: Major
                                      Found in src/frontend/packages/core/src/shared/components/list/list.component.ts - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                            return 0;
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language