teamdigitale/italia-app

View on GitHub

Showing 4,862 of 4,862 total issues

Avoid too many return statements within this function.
Open

  return state;
Severity: Major
Found in ts/features/payments/history/store/reducers/index.ts - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

      return state;
    Severity: Major
    Found in ts/features/services/home/store/reducers/index.ts - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

          return E.left(getNetworkError(e));

        Avoid too many return statements within this function.
        Open

              return {
                ...state,
                featuredInstitutions: pot.toUpdating(state.featuredInstitutions, {
                  institutions: []
                })
        Severity: Major
        Found in ts/features/services/home/store/reducers/index.ts - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                  return {
                    ...state,
                    featuredServices: pot.noneLoading
                  };
          Severity: Major
          Found in ts/features/services/home/store/reducers/index.ts - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

              return true;
            Severity: Major
            Found in ts/features/fastLogin/utils/pinPolicy.ts - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                  return yield* put(searchUserBPay.failure(getNetworkError(e)));
              Severity: Major
              Found in ts/features/wallet/onboarding/bancomatPay/saga/networking/index.ts - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                    return;
                Severity: Major
                Found in ts/features/fims/singleSignOn/saga/handleFimsGetRedirectUrlAndOpenIAB.ts - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                        return;
                  Severity: Major
                  Found in ts/features/fims/singleSignOn/saga/handleFimsGetConsentsList.ts - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                        return;
                    Severity: Major
                    Found in ts/features/fims/singleSignOn/saga/handleFimsGetRedirectUrlAndOpenIAB.ts - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                            return;
                      Severity: Major
                      Found in ts/features/fims/singleSignOn/saga/handleFimsGetConsentsList.ts - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                            return;
                        Severity: Major
                        Found in ts/features/fims/singleSignOn/saga/handleFimsGetRedirectUrlAndOpenIAB.ts - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                              return yield* put(addBpayToWalletAction.failure(getNetworkError(e)));
                          Severity: Major
                          Found in ts/features/wallet/onboarding/bancomatPay/saga/networking/index.ts - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                              return E.right({
                                params: formData,
                                state,
                                url: relyingPartyRedirectUrl
                              });
                            Severity: Major
                            Found in ts/features/fims/singleSignOn/saga/handleFimsGetRedirectUrlAndOpenIAB.ts - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                    return yield* put(searchUserPans.failure(getGenericError(new Error(e))));
                              Severity: Major
                              Found in ts/features/wallet/onboarding/bancomat/saga/networking/index.ts - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                  return {
                                    relyingPartyUrl: relyingPartyRedirectUrl,
                                    response: inAppBrowserUrlResponse
                                  };
                                Severity: Major
                                Found in ts/features/fims/singleSignOn/saga/handleFimsGetRedirectUrlAndOpenIAB.ts - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                      return;
                                  Severity: Major
                                  Found in ts/features/fims/singleSignOn/saga/handleFimsGetConsentsList.ts - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                        return yield* put(
                                          searchUserPans.failure(getGenericError(convertUnknownToError(e)))
                                        );
                                    Severity: Major
                                    Found in ts/features/wallet/onboarding/bancomat/saga/networking/index.ts - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                          return E.left(getNetworkError(e));

                                        Avoid too many return statements within this function.
                                        Open

                                          return openAuthenticationSession(inAppBrowserRedirectUrl, "", true);
                                        Severity: Major
                                        Found in ts/features/fims/singleSignOn/saga/handleFimsGetRedirectUrlAndOpenIAB.ts - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language