cloudfoundry-incubator/stratos

View on GitHub

Showing 650 of 1,370 total issues

Avoid too many return statements within this function.
Open

      return {
        ...state,
        isRemove: isRemoveAction.isRemove
      };

    Avoid too many return statements within this function.
    Open

          return {
            ...state,
            changedRoles: setChangesAction.changes
          };

      Avoid too many return statements within this function.
      Open

          return true;
      Severity: Major
      Found in src/frontend/packages/devkit/src/lib/packages.ts - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                    return appStateMatch[extState];

          Avoid too many return statements within this function.
          Open

              return '';

            Avoid too many return statements within this function.
            Open

              return state;

              Avoid too many return statements within this function.
              Open

                return {
                  ...state,
                  [entityKey]: entityState
                };

                Avoid too many return statements within this function.
                Open

                    return resetEndpointEntities(state, action);

                  Avoid too many return statements within this function.
                  Open

                        return this.build(entityDefinition, entity, 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 paginationClearAllTypes(state, [clearEntityType]);

                      Avoid too many return statements within this function.
                      Open

                          return paginationIgnoreMaxed(state, action as IgnorePaginationMaxedState);

                        Avoid too many return statements within this function.
                        Open

                          return enterPaginationReducer(state, action, updatePagination);

                          Avoid too many return statements within this function.
                          Open

                              return { message: 'Authentication mechanism is not supported', warning: true };

                            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,
                                      [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 {
                                        ...state,
                                        timeoutSession: timeoutSessionAction.timeoutSession
                                      };
                                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 false;

                                    Avoid too many return statements within this function.
                                    Open

                                          return {
                                            ...state,
                                            homeLayout: layoutAction.id
                                          };
                                    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 paginationResetPagination(state, action, true);

                                        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
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language