Sorry, data for that comparison is no longer available.

teamdigitale/italia-app

View on GitHub
ts/features/bonus/cdc/components/CdcServiceCTA.tsx

Summary

Maintainability
A
3 hrs
Test Coverage

Function CdcServiceCTAButton has 49 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const CdcServiceCTAButton = () => {
  const dispatch = useIODispatch();
  const cdcBonusRequestList = useIOSelector(cdcBonusRequestListSelector);
  const allAvailableBonusTypes = useIOSelector(allAvailableBonusTypesSelector);
  const cdcInfo = useIOSelector(availableBonusTypesSelectorFromId(ID_CDC_TYPE));
Severity: Minor
Found in ts/features/bonus/cdc/components/CdcServiceCTA.tsx - About 1 hr to fix

    Function ReadyButton has 35 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    const ReadyButton = (props: ReadyButtonProp) => {
      const navigation = useIONavigation();
    
      // Check if at least one year can be activable
      const activableBonuses = props.bonusRequestList.filter(
    Severity: Minor
    Found in ts/features/bonus/cdc/components/CdcServiceCTA.tsx - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status