SUSE/stratos

View on GitHub

Showing 1,395 of 1,395 total issues

Avoid too many return statements within this function.
Open

    return paginationClearAllTypes(state, [clearEntityType]);

    Avoid too many return statements within this function.
    Open

        return paginationMaxReached(state, action as UpdatePaginationMaxedState);

      Avoid too many return statements within this function.
      Open

          return setPaginationIsList(state, action as SetPaginationIsList);

        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 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 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 this.revision > other.revision;

                  Avoid too many return statements within this function.
                  Open

                    return enterPaginationReducer(state, action, updatePagination);

                    Avoid too many return statements within this function.
                    Open

                        return hydratePagination(state, action as HydratePaginationStateAction);

                      Avoid too many return statements within this function.
                      Open

                            return {
                              ...state,
                              pollingEnabled: pollingAction.enablePolling
                            };
                      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,
                                [setValueAction.prop]: setValueAction.value
                              };
                        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 {
                                ...state,
                                [entityKey]: entityState
                              };

                              Avoid too many return statements within this function.
                              Open

                                      return { ...state, isMobileNavOpen: !state.isMobileNavOpen };
                              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,
                                        gravatarEnabled: gravatarAction.enableGravatar
                                      };
                                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 flatTree;
                                  Severity: Major
                                  Found in src/frontend/packages/store/src/helpers/schema-tree-traverse.ts - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                        return resetEndpointEntities(state, action);

                                      Avoid too many return statements within this function.
                                      Open

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

                                        Avoid too many return statements within this function.
                                        Open

                                            return paginationClearOfEntity(state, action);
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language