id: 1 unit: function renderProductBillingInfo() file: client/components/mma/billing/Billing.tsx start line: 138 end line: 313 size: 175 LOC McCabe index: 13 number of parameters: 4 id: 2 unit: constructor() file: cdk/lib/manage-frontend.ts start line: 32 end line: 229 size: 163 LOC McCabe index: 4 number of parameters: 3 id: 3 unit: async function startCardUpdate() file: client/components/mma/paymentUpdate/card/stripeCardInputForm.tsx start line: 133 end line: 231 size: 87 LOC McCabe index: 19 number of parameters: 0 id: 4 unit: export function baseObserverDelivery() file: client/fixtures/productBuilder/baseProducts.ts start line: 504 end line: 584 size: 81 LOC McCabe index: 1 number of parameters: 0 id: 5 unit: public render() file: client/components/mma/paymentUpdate/FieldWrapper.tsx start line: 48 end line: 131 size: 80 LOC McCabe index: 6 number of parameters: 0 id: 6 unit: const authenticateWithIdapi:() file: server/middleware/identityMiddleware.ts start line: 237 end line: 336 size: 78 LOC McCabe index: 8 number of parameters: 1 id: 7 unit: export function baseTierThree() file: client/fixtures/productBuilder/baseProducts.ts start line: 878 end line: 952 size: 75 LOC McCabe index: 1 number of parameters: 0 id: 8 unit: await revokeAccessToken() file: server/middleware/identityMiddleware.ts start line: 214 end line: 302 size: 75 LOC McCabe index: 8 number of parameters: 1 id: 9 unit: export function basePatron() file: client/fixtures/productBuilder/baseProducts.ts start line: 76 end line: 142 size: 67 LOC McCabe index: 1 number of parameters: 0 id: 10 unit: export function baseHomeDelivery() file: client/fixtures/productBuilder/baseProducts.ts start line: 644 end line: 708 size: 65 LOC McCabe index: 1 number of parameters: 0 id: 11 unit: export function baseNationalDelivery() file: client/fixtures/productBuilder/baseProducts.ts start line: 710 end line: 773 size: 64 LOC McCabe index: 1 number of parameters: 0 id: 12 unit: export function baseDigitalPack() file: client/fixtures/productBuilder/baseProducts.ts start line: 200 end line: 262 size: 63 LOC McCabe index: 1 number of parameters: 0 id: 13 unit: export function baseVoucher() file: client/fixtures/productBuilder/baseProducts.ts start line: 320 end line: 382 size: 63 LOC McCabe index: 1 number of parameters: 0 id: 14 unit: export function baseDigitalVoucher() file: client/fixtures/productBuilder/baseProducts.ts start line: 440 end line: 502 size: 63 LOC McCabe index: 1 number of parameters: 0 id: 15 unit: isLeapYear: dateIsLeapYear() file: shared/dates.ts start line: 43 end line: 115 size: 59 LOC McCabe index: 5 number of parameters: 1 id: 16 unit: export function baseMembership() file: client/fixtures/productBuilder/baseProducts.ts start line: 16 end line: 74 size: 59 LOC McCabe index: 1 number of parameters: 0 id: 17 unit: export function useFetch() file: client/utilities/hooks/useFetch.ts start line: 16 end line: 93 size: 58 LOC McCabe index: 10 number of parameters: 2 id: 18 unit: public render() file: client/components/mma/paymentUpdate/dd/DirectDebitLegal.tsx start line: 26 end line: 82 size: 57 LOC McCabe index: 3 number of parameters: 0 id: 19 unit: export function baseHomeDeliverySundayPlus() file: client/fixtures/productBuilder/baseProducts.ts start line: 586 end line: 642 size: 57 LOC McCabe index: 1 number of parameters: 0 id: 20 unit: export function baseGuardianWeekly() file: client/fixtures/productBuilder/baseProducts.ts start line: 144 end line: 198 size: 55 LOC McCabe index: 1 number of parameters: 0 id: 21 unit: export function baseContribution() file: client/fixtures/productBuilder/baseProducts.ts start line: 264 end line: 318 size: 55 LOC McCabe index: 1 number of parameters: 0 id: 22 unit: export function baseDigitalVoucherObserver() file: client/fixtures/productBuilder/baseProducts.ts start line: 384 end line: 438 size: 55 LOC McCabe index: 1 number of parameters: 0 id: 23 unit: export function getSpecificProductType() file: shared/productResponse.ts start line: 281 end line: 334 size: 54 LOC McCabe index: 21 number of parameters: 1 id: 24 unit: export function baseGuardianAdLite() file: client/fixtures/productBuilder/baseProducts.ts start line: 775 end line: 828 size: 54 LOC McCabe index: 1 number of parameters: 0 id: 25 unit: export function baseSupporterPlus() file: client/fixtures/productBuilder/baseProducts.ts start line: 830 end line: 876 size: 47 LOC McCabe index: 1 number of parameters: 0 id: 26 unit: function renderInAppPurchase() file: client/components/mma/billing/Billing.tsx start line: 331 end line: 377 size: 46 LOC McCabe index: 2 number of parameters: 1 id: 27 unit: function getGbpAnnual() file: client/utilities/pricingConfig/suggestedAmounts.ts start line: 98 end line: 143 size: 46 LOC McCabe index: 15 number of parameters: 1 id: 28 unit: function getUsdAnnual() file: client/utilities/pricingConfig/suggestedAmounts.ts start line: 174 end line: 219 size: 46 LOC McCabe index: 15 number of parameters: 1 id: 29 unit: function getAusAnnual() file: client/utilities/pricingConfig/suggestedAmounts.ts start line: 311 end line: 350 size: 40 LOC McCabe index: 13 number of parameters: 1 id: 30 unit: export const withIdentity:() file: server/middleware/identityMiddleware.ts start line: 68 end line: 103 size: 35 LOC McCabe index: 6 number of parameters: 2 id: 31 unit: function getEuroAnnual() file: client/utilities/pricingConfig/suggestedAmounts.ts start line: 247 end line: 280 size: 34 LOC McCabe index: 11 number of parameters: 1 id: 32 unit: export function GridPicture() file: client/components/mma/shared/images/GridPicture.tsx start line: 18 end line: 49 size: 32 LOC McCabe index: 1 number of parameters: 1 id: 33 unit: function validateChoice() file: client/components/mma/accountoverview/updateAmount/SupporterPlusUpdateAmountForm.tsx start line: 70 end line: 101 size: 31 LOC McCabe index: 11 number of parameters: 6 id: 34 unit: function getGbpMonthly() file: client/utilities/pricingConfig/suggestedAmounts.ts start line: 66 end line: 96 size: 31 LOC McCabe index: 10 number of parameters: 1 id: 35 unit: function validateChoice() file: client/components/mma/accountoverview/updateAmount/ContributionUpdateAmountForm.tsx start line: 85 end line: 114 size: 30 LOC McCabe index: 10 number of parameters: 6 id: 36 unit: const htmlAndScriptHashes:() file: server/html.ts start line: 23 end line: 54 size: 30 LOC McCabe index: 1 number of parameters: 1 id: 37 unit: productTitle: calculateProductTitle() file: shared/productTypes.ts start line: 535 end line: 563 size: 29 LOC McCabe index: 1 number of parameters: 1 id: 38 unit: public render() file: client/components/mma/shared/AsyncLoader.tsx start line: 65 end line: 93 size: 29 LOC McCabe index: 6 number of parameters: 0 id: 39 unit: export default defineConfig() file: cypress.config.ts start line: 3 end line: 33 size: 28 LOC McCabe index: 1 number of parameters: 23 id: 40 unit: function getUsdMonthly() file: client/utilities/pricingConfig/suggestedAmounts.ts start line: 145 end line: 172 size: 28 LOC McCabe index: 9 number of parameters: 1 id: 41 unit: function getAusMonthly() file: client/utilities/pricingConfig/suggestedAmounts.ts start line: 282 end line: 309 size: 28 LOC McCabe index: 9 number of parameters: 1 id: 42 unit: async function validateDirectDebitDetails() file: client/components/mma/paymentUpdate/dd/DirectDebitInputForm.tsx start line: 67 end line: 110 size: 26 LOC McCabe index: 3 number of parameters: 1 id: 43 unit: handleSubmit: async() file: client/components/mma/identity/settings/SettingsFormSection.tsx start line: 312 end line: 339 size: 26 LOC McCabe index: 6 number of parameters: 2 id: 44 unit: export function useAsyncLoader() file: client/utilities/hooks/useAsyncLoader.ts start line: 12 end line: 52 size: 26 LOC McCabe index: 2 number of parameters: 1 id: 45 unit: export function getUpgradeBenefits() file: client/components/mma/shared/benefits/BenefitsConfiguration.ts start line: 115 end line: 139 size: 25 LOC McCabe index: 1 number of parameters: 1 id: 46 unit: function getEuroMonthly() file: client/utilities/pricingConfig/suggestedAmounts.ts start line: 221 end line: 245 size: 25 LOC McCabe index: 8 number of parameters: 1 id: 47 unit: productDetail: contributionPaidByPayPal() file: client/components/mma/cancel/Cancellation.stories.tsx start line: 102 end line: 127 size: 24 LOC McCabe index: 1 number of parameters: 0 id: 48 unit: export const getMainPlan:() file: shared/productResponse.ts start line: 257 end line: 279 size: 22 LOC McCabe index: 4 number of parameters: 1 id: 49 unit: productTitle: calculateProductTitle() file: shared/productTypes.ts start line: 583 end line: 604 size: 22 LOC McCabe index: 1 number of parameters: 1 id: 50 unit: username: getFromUser() file: client/components/mma/identity/idapi/user.ts start line: 132 end line: 156 size: 22 LOC McCabe index: 2 number of parameters: 1 id: 51 unit: reminderPeriod: getReminderPeriod() file: client/components/mma/cancel/cancellationContributionReminder.tsx start line: 80 end line: 106 size: 22 LOC McCabe index: 1 number of parameters: 1 id: 52 unit: withCurrency() file: client/fixtures/productBuilder/productBuilder.ts start line: 169 end line: 192 size: 22 LOC McCabe index: 6 number of parameters: 1 id: 53 unit: export function getLogos() file: client/components/mma/paymentUpdate/PaymentDetailUpdate.tsx start line: 98 end line: 118 size: 21 LOC McCabe index: 3 number of parameters: 1 id: 54 unit: title: getFromUser() file: client/components/mma/identity/idapi/user.ts start line: 133 end line: 156 size: 21 LOC McCabe index: 2 number of parameters: 1 id: 55 unit: public componentDidMount() file: client/components/mma/shared/AsyncLoader.tsx start line: 43 end line: 63 size: 21 LOC McCabe index: 5 number of parameters: 0 id: 56 unit: reminderOption: getReminderOption() file: client/components/mma/cancel/cancellationContributionReminder.tsx start line: 81 end line: 106 size: 21 LOC McCabe index: 1 number of parameters: 1 id: 57 unit: firstName: getFromUser() file: client/components/mma/identity/idapi/user.ts start line: 134 end line: 156 size: 20 LOC McCabe index: 2 number of parameters: 1 id: 58 unit: function validateChoice() file: client/components/mma/upgrade/UpgradeSupportAmountForm.tsx start line: 35 end line: 54 size: 20 LOC McCabe index: 7 number of parameters: 5 id: 59 unit: function BenefitsDisplay() file: client/components/mma/upgrade/UpgradeSupportAmountForm.tsx start line: 56 end line: 76 size: 20 LOC McCabe index: 2 number of parameters: 4 id: 60 unit: productDetail: contributionPaidByPayPal() file: client/components/mma/cancel/Cancellation.stories.tsx start line: 128 end line: 148 size: 20 LOC McCabe index: 1 number of parameters: 0 id: 61 unit: body: prepareBody() file: server/idapiProxy.ts start line: 180 end line: 211 size: 20 LOC McCabe index: 1 number of parameters: 1 id: 62 unit: productTitle: calculateProductTitle() file: shared/productTypes.ts start line: 412 end line: 430 size: 19 LOC McCabe index: 1 number of parameters: 1 id: 63 unit: productTitle: calculateProductTitle() file: shared/productTypes.ts start line: 494 end line: 512 size: 19 LOC McCabe index: 1 number of parameters: 1 id: 64 unit: secondName: getFromUser() file: client/components/mma/identity/idapi/user.ts start line: 135 end line: 156 size: 19 LOC McCabe index: 2 number of parameters: 1 id: 65 unit: function cancellationCaseFetch() file: client/components/mma/cancel/cancellationSaves/SelectReason.tsx start line: 153 end line: 171 size: 19 LOC McCabe index: 1 number of parameters: 3 id: 66 unit: withPrice() file: client/fixtures/productBuilder/productBuilder.ts start line: 215 end line: 236 size: 19 LOC McCabe index: 6 number of parameters: 1 id: 67 unit: export function determineAppStore() file: shared/mpapiResponse.ts start line: 35 end line: 52 size: 18 LOC McCabe index: 8 number of parameters: 1 id: 68 unit: productDetail: guardianWeeklyPaidByCard() file: client/components/mma/paymentUpdate/UpdatePayment.stories.tsx start line: 36 end line: 55 size: 18 LOC McCabe index: 1 number of parameters: 0 id: 69 unit: address1: getFromUser() file: client/components/mma/identity/idapi/user.ts start line: 136 end line: 156 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 70 unit: export function GridImage() file: client/components/mma/shared/images/GridImage.tsx start line: 21 end line: 39 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 71 unit: function weeklyBreakDown() file: client/components/mma/accountoverview/updateAmount/ContributionUpdateAmountForm.tsx start line: 64 end line: 83 size: 18 LOC McCabe index: 3 number of parameters: 3 id: 72 unit: withBillingPeriod() file: client/fixtures/productBuilder/productBuilder.ts start line: 194 end line: 213 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 73 unit: await processResponse() file: client/components/mma/paymentUpdate/dd/DirectDebitInputForm.tsx start line: 86 end line: 103 size: 17 LOC McCabe index: 5 number of parameters: 1 id: 74 unit: address2: getFromUser() file: client/components/mma/identity/idapi/user.ts start line: 137 end line: 156 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 75 unit: function getGroupColor() file: client/components/mma/identity/emailAndMarketing/NewsletterSection.tsx start line: 45 end line: 62 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 76 unit: private handleError() file: client/components/mma/shared/AsyncLoader.tsx start line: 112 end line: 128 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 77 unit: productDetail: guardianAdLiteInTrialPeriod() file: client/components/mma/cancel/Cancellation.stories.tsx start line: 149 end line: 166 size: 17 LOC McCabe index: 1 number of parameters: 0 id: 78 unit: function updateZuoraCancellationReason() file: client/components/mma/cancel/cancellationSaves/SelectReason.tsx start line: 173 end line: 189 size: 17 LOC McCabe index: 1 number of parameters: 2 id: 79 unit: export function waitForElement() file: client/utilities/utils.ts start line: 64 end line: 82 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 80 unit: address3: getFromUser() file: client/components/mma/identity/idapi/user.ts start line: 138 end line: 156 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 81 unit: handleSubmit: async() file: client/components/mma/identity/publicProfile/ProfileFormSection.tsx start line: 68 end line: 83 size: 16 LOC McCabe index: 4 number of parameters: 2 id: 82 unit: function getNextRoute() file: client/components/mma/cancel/cancellationSaves/CancellationLanding.tsx start line: 29 end line: 45 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 83 unit: function GreyBulletpoint() file: client/components/mma/cancel/cancellationSaves/digipack/ConfirmDigiSubCancellation.tsx start line: 31 end line: 46 size: 16 LOC McCabe index: 1 number of parameters: 0 id: 84 unit: async getAll() file: client/components/mma/identity/identity.ts start line: 81 end line: 96 size: 15 LOC McCabe index: 1 number of parameters: 0 id: 85 unit: address4: getFromUser() file: client/components/mma/identity/idapi/user.ts start line: 139 end line: 156 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 86 unit: export function getStripeKey() file: client/utilities/stripe.ts start line: 8 end line: 23 size: 15 LOC McCabe index: 4 number of parameters: 2 id: 87 unit: export function getBillingPeriodAdjective() file: shared/productTypes.ts start line: 253 end line: 267 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 88 unit: postcode: getFromUser() file: client/components/mma/identity/idapi/user.ts start line: 140 end line: 156 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 89 unit: export function handleResponses() file: client/components/mma/shared/asyncComponents/DefaultApiResponseHandler.tsx start line: 15 end line: 32 size: 14 LOC McCabe index: 3 number of parameters: 2 id: 90 unit: upToPeriodsType: appendCorrectPluralisation() file: client/components/mma/cancel/CancellationReasonReview.tsx start line: 304 end line: 318 size: 14 LOC McCabe index: 3 number of parameters: 2 id: 91 unit: function getChargedThroughDateStr() file: client/components/mma/cancel/CancellationReasonSelection.tsx start line: 316 end line: 330 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 92 unit: export function getContributionSuggestedAmounts() file: client/utilities/pricingConfig/suggestedAmounts.ts start line: 18 end line: 33 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 93 unit: productTitle: calculateProductTitle() file: shared/productTypes.ts start line: 392 end line: 404 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 94 unit: country: getFromUser() file: client/components/mma/identity/idapi/user.ts start line: 141 end line: 156 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 95 unit: publicationDate: parseDate() file: client/components/mma/holiday/HolidayStopApi.ts start line: 98 end line: 113 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 96 unit: function getAppStoreMessage() file: client/components/mma/billing/Billing.tsx start line: 315 end line: 329 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 97 unit: await initESW() file: client/components/helpCentre/liveChat/LiveChat.tsx start line: 223 end line: 236 size: 12 LOC McCabe index: 1 number of parameters: 5 id: 98 unit: We use a type of cookie technology called an SDK() file: client/components/helpCentre/liveChat/LiveChatPrivacyNotice.tsx start line: 44 end line: 55 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 99 unit: countryCode: getFromUser() file: client/components/mma/identity/idapi/user.ts start line: 142 end line: 156 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 100 unit: dateRange: dateRange() file: client/components/mma/holiday/HolidayStopApi.ts start line: 154 end line: 165 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 101 unit: function organiseProductsIntoCategory() file: client/components/mma/billing/Billing.tsx start line: 125 end line: 136 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 102 unit: localNumber: getFromUser() file: client/components/mma/identity/idapi/user.ts start line: 143 end line: 156 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 103 unit: startDate: dateString() file: client/components/mma/holiday/HolidayReview.tsx start line: 59 end line: 69 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 104 unit: function BillingDetailsComponent() file: client/components/mma/billing/Billing.tsx start line: 379 end line: 389 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 105 unit: authorization_endpoint: joinUrl() file: server/oauth.ts start line: 120 end line: 132 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 106 unit: authorization_endpoint: joinUrl() file: server/oauth.ts start line: 160 end line: 172 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 107 unit: public render() file: client/components/shared/ErrorBoundary.tsx start line: 27 end line: 37 size: 10 LOC McCabe index: 3 number of parameters: 0 id: 108 unit: registrationLocation: getFromUser() file: client/components/mma/identity/idapi/user.ts start line: 144 end line: 156 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 109 unit: export function gridSrcset() file: client/components/mma/shared/images/theGrid.ts start line: 48 end line: 57 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 110 unit: export function ineligibleForSave() file: client/components/mma/cancel/cancellationSaves/saveEligibilityCheck.ts start line: 8 end line: 18 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 111 unit: function calculateTimeOfDay() file: client/components/mma/accountoverview/PersonalisedHeader.tsx start line: 21 end line: 31 size: 10 LOC McCabe index: 3 number of parameters: 0 id: 112 unit: publicationDate: parseDate() file: client/components/mma/holiday/HolidayStopApi.ts start line: 161 end line: 171 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 113 unit: Selected Issue() file: client/components/mma/delivery/records/DeliveryRecordsProblemReview.tsx start line: 379 end line: 388 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 114 unit: function handleError() file: client/utilities/hooks/useAsyncLoader.ts start line: 27 end line: 37 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 115 unit: src: url() file: client/styles/fonts.ts start line: 24 end line: 35 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 116 unit: src: url() file: client/styles/fonts.ts start line: 48 end line: 59 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 117 unit: src: url() file: client/styles/fonts.ts start line: 91 end line: 101 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 118 unit: export function annualContributionPaidByCardWithCurrency() file: client/fixtures/productBuilder/testProducts.ts start line: 90 end line: 99 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 119 unit: function getHostAndApiKeyForStack() file: server/apiGatewayDiscovery.ts start line: 97 end line: 123 size: 10 LOC McCabe index: 3 number of parameters: 3 id: 120 unit: token_endpoint: joinUrl() file: server/oauth.ts start line: 121 end line: 132 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 121 unit: token_endpoint: joinUrl() file: server/oauth.ts start line: 161 end line: 172 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 122 unit: function safeJsonParse() file: server/apiProxy.ts start line: 21 end line: 30 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 123 unit: Cookie: getCookiesOrEmptyString() file: server/middleware/identityMiddleware.ts start line: 266 end line: 276 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 124 unit: export function isPaidSubscriptionPlan() file: shared/productResponse.ts start line: 178 end line: 186 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 125 unit: function getPaymentInterval() file: client/components/mma/paymentUpdate/PaymentDetailUpdateConfirmation.tsx start line: 89 end line: 97 size: 9 LOC McCabe index: 4 number of parameters: 1 id: 126 unit: async subscribe() file: client/components/mma/identity/identity.ts start line: 97 end line: 105 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 127 unit: async unsubscribe() file: client/components/mma/identity/identity.ts start line: 106 end line: 114 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 128 unit: registrationLocationState: getFromUser() file: client/components/mma/identity/idapi/user.ts start line: 145 end line: 156 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 129 unit: function userHasProductWithConsent() file: client/components/mma/identity/emailAndMarketing/EmailAndMarketing.tsx start line: 218 end line: 226 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 130 unit: function userHasAppSubscriptionWithConsent() file: client/components/mma/identity/emailAndMarketing/EmailAndMarketing.tsx start line: 228 end line: 236 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 131 unit: function userHasSingleContributionWithConsent() file: client/components/mma/identity/emailAndMarketing/EmailAndMarketing.tsx start line: 238 end line: 246 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 132 unit: function handleSingleResponse() file: client/components/mma/shared/asyncComponents/DefaultApiResponseHandler.tsx start line: 43 end line: 51 size: 9 LOC McCabe index: 4 number of parameters: 2 id: 133 unit: export function gridUrl() file: client/components/mma/shared/images/theGrid.ts start line: 33 end line: 41 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 134 unit: country: getGeoLocation() file: client/components/mma/cancel/cancellationContributionReminder.tsx start line: 108 end line: 117 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 135 unit: Exclusive access to the Editions app() file: client/components/mma/cancel/cancellationSaves/digipack/DigiSubThankYouOffer.tsx start line: 107 end line: 115 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 136 unit: export function convertCurrencyToSymbol() file: client/utilities/currencyIso.ts start line: 22 end line: 31 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 137 unit: export function getBenefitsThreshold() file: client/utilities/pricingConfig/supporterPlusPricing.ts start line: 42 end line: 50 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 138 unit: src: url() file: client/styles/fonts.ts start line: 13 end line: 22 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 139 unit: src: url() file: client/styles/fonts.ts start line: 37 end line: 46 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 140 unit: src: url() file: client/styles/fonts.ts start line: 61 end line: 69 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 141 unit: src: url() file: client/styles/fonts.ts start line: 71 end line: 79 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 142 unit: src: url() file: client/styles/fonts.ts start line: 81 end line: 89 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 143 unit: export function patronMembership() file: client/fixtures/productBuilder/testProducts.ts start line: 345 end line: 353 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 144 unit: payByDirectDebit() file: client/fixtures/productBuilder/productBuilder.ts start line: 66 end line: 75 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 145 unit: withEvents() file: client/fixtures/productBuilder/productBuilder.ts start line: 149 end line: 157 size: 9 LOC McCabe index: 3 number of parameters: 0 id: 146 unit: function isPaidSubscriptionPlan() file: client/fixtures/productBuilder/productBuilder.ts start line: 239 end line: 247 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 147 unit: issuer: joinUrl() file: server/oauth.ts start line: 49 end line: 68 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 148 unit: jwks_uri: joinUrl() file: server/oauth.ts start line: 122 end line: 132 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 149 unit: jwks_uri: joinUrl() file: server/oauth.ts start line: 162 end line: 172 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 150 unit: async function getSupporterStatus() file: server/routes/newspaperArchive.ts start line: 119 end line: 128 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 151 unit: async function fetchUserBenefitsData() file: client/components/helpCentre/diagnosticInformation/UserBenefitsInformation.tsx start line: 10 end line: 17 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 152 unit: await initLiveChat() file: client/components/helpCentre/liveChat/LiveChat.tsx start line: 270 end line: 277 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 153 unit: gives you 6 free tickets each year() file: client/components/mma/accountoverview/ProductCard.tsx start line: 501 end line: 508 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 154 unit: export function isSharedHolidayDateChooserState() file: client/components/mma/holiday/HolidayDateChooser.tsx start line: 106 end line: 113 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 155 unit: export function getSupporterPlusSuggestedAmountsFromMainPlan() file: client/utilities/pricingConfig/suggestedAmounts.ts start line: 354 end line: 362 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 156 unit: export function guardianWeeklyExpiredCard() file: client/fixtures/productBuilder/testProducts.ts start line: 46 end line: 53 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 157 unit: export function supporterPlusAnnualCancelled() file: client/fixtures/productBuilder/testProducts.ts start line: 276 end line: 283 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 158 unit: payBySepa() file: client/fixtures/productBuilder/productBuilder.ts start line: 85 end line: 92 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 159 unit: userinfo_endpoint: joinUrl() file: server/oauth.ts start line: 123 end line: 132 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 160 unit: userinfo_endpoint: joinUrl() file: server/oauth.ts start line: 163 end line: 172 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 161 unit: signInStatus: signInStatus() file: server/oauth.ts start line: 408 end line: 418 size: 8 LOC McCabe index: 4 number of parameters: 3 id: 162 unit: responseBody: safeJsonParse() file: server/apiProxy.ts start line: 155 end line: 162 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 163 unit: export function isSpecificProductType() file: shared/productResponse.ts start line: 336 end line: 342 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 164 unit: constructor() file: client/components/mma/paymentUpdate/FieldWrapper.tsx start line: 40 end line: 46 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 165 unit: async saveChanges() file: client/components/mma/identity/identity.ts start line: 65 end line: 71 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 166 unit: await fetchWithDefaultParameters() file: client/components/mma/identity/idapi/newsletters.ts start line: 61 end line: 67 size: 7 LOC McCabe index: 1 number of parameters: 4 id: 167 unit: export function DefaultLoadingView() file: client/components/mma/shared/asyncComponents/DefaultLoadingView.tsx start line: 4 end line: 10 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 168 unit: color: calcTextColour() file: client/components/mma/shared/Buttons.tsx start line: 132 end line: 138 size: 7 LOC McCabe index: 3 number of parameters: 4 id: 169 unit: value: parseDate() file: client/components/mma/shared/BasicProductInfoTable.tsx start line: 33 end line: 39 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 170 unit: async function scrollToConfirmChange() file: client/components/mma/upgrade/UpgradeSupportAmountForm.tsx start line: 27 end line: 33 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 171 unit: function userIsNavigatingBackFromThankYouPage() file: client/components/mma/upgrade/UpgradeSupportContainer.tsx start line: 63 end line: 69 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 172 unit: endDate: dateString() file: client/components/mma/holiday/HolidayReview.tsx start line: 63 end line: 69 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 173 unit: export function getSupporterPlusSuggestedAmountsAnnual() file: client/utilities/pricingConfig/suggestedAmounts.ts start line: 374 end line: 381 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 174 unit: export function monthlyContributionPaidByCard() file: client/fixtures/productBuilder/testProducts.ts start line: 82 end line: 88 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 175 unit: export function contributionWithPaymentFailure() file: client/fixtures/productBuilder/testProducts.ts start line: 146 end line: 152 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 176 unit: export function membershipStaff() file: client/fixtures/productBuilder/testProducts.ts start line: 231 end line: 237 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 177 unit: export function supporterPlusMonthlyAllAccessDigital() file: client/fixtures/productBuilder/testProducts.ts start line: 252 end line: 258 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 178 unit: export function supporterPlusMonthlyAllAccessDigitalBeforePriceRise() file: client/fixtures/productBuilder/testProducts.ts start line: 260 end line: 266 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 179 unit: export function supporterPlusAnnual() file: client/fixtures/productBuilder/testProducts.ts start line: 268 end line: 274 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 180 unit: withDeliveryInstructions() file: client/fixtures/productBuilder/productBuilder.ts start line: 106 end line: 112 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 181 unit: host: getHost() file: server/apiGatewayDiscovery.ts start line: 113 end line: 119 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 182 unit: registration_endpoint: joinUrl() file: server/oauth.ts start line: 124 end line: 132 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 183 unit: registration_endpoint: joinUrl() file: server/oauth.ts start line: 164 end line: 172 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 184 unit: await fetch() file: server/stripeSetupIntentsHandler.ts start line: 17 end line: 23 size: 7 LOC McCabe index: 1 number of parameters: 6 id: 185 unit: Cookie: getCookiesOrEmptyString() file: server/apiProxy.ts start line: 183 end line: 189 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 186 unit: play: async() file: client/components/shared/CallCentreAccordion.stories.tsx start line: 16 end line: 24 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 187 unit: play: async() file: client/components/shared/CallCentreAccordion.stories.tsx start line: 28 end line: 33 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 188 unit: public static getDerivedStateFromError() file: client/components/shared/ErrorBoundary.tsx start line: 20 end line: 25 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 189 unit: function hasBadResponse() file: client/components/mma/shared/asyncComponents/DefaultApiResponseHandler.tsx start line: 34 end line: 40 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 190 unit: label: getDefaultLabel() file: client/components/mma/cancel/cancellationContributionReminder.tsx start line: 77 end line: 82 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 191 unit: function productHasEarlySaveJourney() file: client/components/mma/cancel/CancellationJourneyFunnel.tsx start line: 19 end line: 24 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 192 unit: function getDiscountPeriod() file: client/components/mma/cancel/cancellationSaves/digipack/DigiSubThankYouOffer.tsx start line: 133 end line: 138 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 193 unit: function getAmountDisplay() file: client/components/mma/accountoverview/SingleContributionCard.tsx start line: 17 end line: 22 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 194 unit: function isValidEntry() file: client/components/mma/delivery/records/UserPhoneNumber.tsx start line: 32 end line: 37 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 195 unit: export function getSupporterPlusSuggestedAmountsMonthly() file: client/utilities/pricingConfig/suggestedAmounts.ts start line: 364 end line: 372 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 196 unit: export function calculateAmountPayableToday() file: client/utilities/productMovePreview.ts start line: 7 end line: 13 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 197 unit: export function guardianWeeklyGiftPurchase() file: client/fixtures/productBuilder/testProducts.ts start line: 33 end line: 38 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 198 unit: export function guardianWeeklyCancelled() file: client/fixtures/productBuilder/testProducts.ts start line: 55 end line: 60 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 199 unit: export function digitalPackWithPaymentFailure() file: client/fixtures/productBuilder/testProducts.ts start line: 68 end line: 73 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 200 unit: export function digitalPackPaidByCardWithPaymentFailure() file: client/fixtures/productBuilder/testProducts.ts start line: 75 end line: 80 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 201 unit: export function contributionAboveSupporterPlusThreshold() file: client/fixtures/productBuilder/testProducts.ts start line: 107 end line: 112 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 202 unit: export function contributionPaidByPayPalAboveSupporterPlusThreshold() file: client/fixtures/productBuilder/testProducts.ts start line: 120 end line: 125 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 203 unit: export function contributionCancelled() file: client/fixtures/productBuilder/testProducts.ts start line: 139 end line: 144 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 204 unit: export function nonServicedCountryContributor() file: client/fixtures/productBuilder/testProducts.ts start line: 154 end line: 159 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 205 unit: export function homeDeliveryWithInstructions() file: client/fixtures/productBuilder/testProducts.ts start line: 179 end line: 184 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 206 unit: export function membershipSupporterWithOldPrice() file: client/fixtures/productBuilder/testProducts.ts start line: 210 end line: 215 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 207 unit: export function membershipSupporterAnnual() file: client/fixtures/productBuilder/testProducts.ts start line: 217 end line: 222 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 208 unit: export function membershipSupporterCurrencyUSD() file: client/fixtures/productBuilder/testProducts.ts start line: 224 end line: 229 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 209 unit: export function supporterPlusUSA() file: client/fixtures/productBuilder/testProducts.ts start line: 245 end line: 250 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 210 unit: export function supporterPlusCancelled() file: client/fixtures/productBuilder/testProducts.ts start line: 285 end line: 290 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 211 unit: export function supporterPlusInOfferPeriod() file: client/fixtures/productBuilder/testProducts.ts start line: 292 end line: 297 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 212 unit: export function guardianAdLite() file: client/fixtures/productBuilder/testProducts.ts start line: 299 end line: 304 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 213 unit: export function guardianAdLiteInTrialPeriod() file: client/fixtures/productBuilder/testProducts.ts start line: 306 end line: 311 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 214 unit: export function guardianAdLiteCancelled() file: client/fixtures/productBuilder/testProducts.ts start line: 313 end line: 318 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 215 unit: export function patronDigitalPack() file: client/fixtures/productBuilder/testProducts.ts start line: 338 end line: 343 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 216 unit: payByCard() file: client/fixtures/productBuilder/productBuilder.ts start line: 59 end line: 64 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 217 unit: payByPayPal() file: client/fixtures/productBuilder/productBuilder.ts start line: 77 end line: 83 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 218 unit: cancel() file: client/fixtures/productBuilder/productBuilder.ts start line: 114 end line: 119 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 219 unit: inOfferPeriod() file: client/fixtures/productBuilder/productBuilder.ts start line: 121 end line: 126 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 220 unit: apiKey: await getApiKeyPromise() file: server/apiGatewayDiscovery.ts start line: 114 end line: 119 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 221 unit: introspection_endpoint: joinUrl() file: server/oauth.ts start line: 125 end line: 132 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 222 unit: introspection_endpoint: joinUrl() file: server/oauth.ts start line: 165 end line: 172 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 223 unit: async function checkSupporterEntitlement() file: server/routes/newspaperArchive.ts start line: 112 end line: 117 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 224 unit: export function isProduct() file: shared/productResponse.ts start line: 116 end line: 120 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 225 unit: liveChatIsLoading ?() file: client/components/helpCentre/liveChat/LiveChat.tsx start line: 308 end line: 312 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 226 unit: inPaymentFailure ?() file: client/components/shared/productSwitch/SwitchErrorSummary.tsx start line: 14 end line: 18 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 227 unit: function cardExpired() file: client/components/mma/paymentUpdate/CurrentPaymentDetail.tsx start line: 24 end line: 29 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 228 unit: preparingCheckout ?() file: client/components/mma/paymentUpdate/card/StripeCheckoutSessionButton.tsx start line: 99 end line: 103 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 229 unit: isValidating ?() file: client/components/mma/paymentUpdate/card/stripeCardInputForm.tsx start line: 274 end line: 278 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 230 unit: function isSubscriptionWithCard() file: client/components/mma/paymentUpdate/card/NewCardPaymentMethodDetail.tsx start line: 10 end line: 14 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 231 unit: function isSubscriptionWithMandate() file: client/components/mma/paymentUpdate/dd/NewDirectDebitPaymentMethodDetail.tsx start line: 18 end line: 22 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 232 unit: Tel: 0330 333 6767() file: client/components/mma/paymentUpdate/dd/DirectDebitLegal.tsx start line: 129 end line: 133 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 233 unit: play: async() file: client/components/mma/shared/CallCentrePrompt.stories.tsx start line: 12 end line: 16 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 234 unit: a full refund() file: client/components/mma/shared/SupporterPlusTsAndCs.tsx start line: 67 end line: 71 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 235 unit: thankYouMessage: getDefaultThankYouMessage() file: client/components/mma/cancel/cancellationContributionReminder.tsx start line: 78 end line: 82 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 236 unit: await fetchWithDefaultParameters() file: client/components/mma/cancel/cancellationSaves/digipack/ConfirmDigiSubCancellation.tsx start line: 131 end line: 135 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 237 unit: await fetchWithDefaultParameters() file: client/components/mma/cancel/cancellationSaves/membership/ConfirmMembershipCancellation.tsx start line: 66 end line: 70 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 238 unit: price: getOldMembershipPrice() file: client/components/mma/cancel/cancellationSaves/membership/MembershipSwitch.tsx start line: 231 end line: 235 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 239 unit: export function isHolidayStopsResponse() file: client/components/mma/holiday/HolidayStopApi.ts start line: 131 end line: 135 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 240 unit: function decorateProductDetailWithInvoices() file: client/components/mma/billing/Billing.tsx start line: 89 end line: 93 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 241 unit: export function isAddress() file: client/components/mma/delivery/address/DeliveryAddressFormContext.tsx start line: 42 end line: 46 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 242 unit: export function convertCurrencyIsoToSymbol() file: client/utilities/currencyIso.ts start line: 33 end line: 37 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 243 unit: export function calculateCheckChargeAmountBeforeUpdate() file: client/utilities/productMovePreview.ts start line: 18 end line: 22 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 244 unit: productType: getSpecificProductType() file: client/utilities/deliveryAddress.ts start line: 38 end line: 42 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 245 unit: export function voucherPaidByCard() file: client/fixtures/productBuilder/testProducts.ts start line: 21 end line: 25 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 246 unit: export function guardianWeeklyPaidByCard() file: client/fixtures/productBuilder/testProducts.ts start line: 27 end line: 31 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 247 unit: export function guardianWeeklyGiftRecipient() file: client/fixtures/productBuilder/testProducts.ts start line: 40 end line: 44 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 248 unit: export function digitalPackPaidByDirectDebit() file: client/fixtures/productBuilder/testProducts.ts start line: 62 end line: 66 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 249 unit: export function contributionPaidByCard() file: client/fixtures/productBuilder/testProducts.ts start line: 101 end line: 105 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 250 unit: export function contributionPaidByPayPal() file: client/fixtures/productBuilder/testProducts.ts start line: 114 end line: 118 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 251 unit: export function contributionPaidByDirectDebit() file: client/fixtures/productBuilder/testProducts.ts start line: 127 end line: 131 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 252 unit: export function contributionPaidBySepa() file: client/fixtures/productBuilder/testProducts.ts start line: 133 end line: 137 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 253 unit: export function newspaperVoucherObserver() file: client/fixtures/productBuilder/testProducts.ts start line: 161 end line: 165 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 254 unit: export function newspaperVoucherPaidByPaypal() file: client/fixtures/productBuilder/testProducts.ts start line: 167 end line: 171 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 255 unit: export function homeDelivery() file: client/fixtures/productBuilder/testProducts.ts start line: 173 end line: 177 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 256 unit: export function observerDelivery() file: client/fixtures/productBuilder/testProducts.ts start line: 186 end line: 190 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 257 unit: export function observerDeliveryPaidByDirectDebit() file: client/fixtures/productBuilder/testProducts.ts start line: 192 end line: 196 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 258 unit: export function nationalDelivery() file: client/fixtures/productBuilder/testProducts.ts start line: 198 end line: 202 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 259 unit: export function membershipSupporter() file: client/fixtures/productBuilder/testProducts.ts start line: 204 end line: 208 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 260 unit: export function supporterPlus() file: client/fixtures/productBuilder/testProducts.ts start line: 239 end line: 243 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 261 unit: export function tierThree() file: client/fixtures/productBuilder/testProducts.ts start line: 320 end line: 324 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 262 unit: export function homeDeliverySundayPlus() file: client/fixtures/productBuilder/testProducts.ts start line: 326 end line: 330 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 263 unit: export function patron() file: client/fixtures/productBuilder/testProducts.ts start line: 332 end line: 336 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 264 unit: gift() file: client/fixtures/productBuilder/productBuilder.ts start line: 94 end line: 99 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 265 unit: withPotentialCancellationDate() file: client/fixtures/productBuilder/productBuilder.ts start line: 128 end line: 132 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 266 unit: revocation_endpoint: joinUrl() file: server/oauth.ts start line: 126 end line: 132 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 267 unit: revocation_endpoint: joinUrl() file: server/oauth.ts start line: 166 end line: 172 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 268 unit: await revokeAccessToken() file: server/middleware/identityMiddleware.ts start line: 153 end line: 157 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 269 unit: export function filterBenefitByRegion() file: client/components/mma/shared/benefits/BenefitsConfiguration.ts start line: 52 end line: 55 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 270 unit: function findPaymentFailureProduct() file: client/components/mma/shared/PaymentFailureAlertIfApplicable.tsx start line: 11 end line: 14 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 271 unit: await getUpdateCasePromise() file: client/components/mma/cancel/contributions/ContributionsCancellationFeedbackForm.tsx start line: 31 end line: 34 size: 4 LOC McCabe index: 1 number of parameters: 6 id: 272 unit: await getUpdateCasePromise() file: client/components/mma/cancel/CancellationReasonReview.tsx start line: 64 end line: 67 size: 4 LOC McCabe index: 1 number of parameters: 6 id: 273 unit: await getUpdateCasePromise() file: client/components/mma/cancel/cancellationSaves/CancelAlternativeConfirmed.tsx start line: 176 end line: 179 size: 4 LOC McCabe index: 1 number of parameters: 6 id: 274 unit: View invoice() file: client/components/mma/billing/InvoicesTable.tsx start line: 357 end line: 360 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 275 unit: state: guardianWeeklyPaidByCard() file: client/components/mma/delivery/address/DeliveryAddress.stories.tsx start line: 18 end line: 21 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 276 unit: tier() file: client/fixtures/productBuilder/productBuilder.ts start line: 49 end line: 52 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 277 unit: withNoCurrentPlans() file: client/fixtures/productBuilder/productBuilder.ts start line: 54 end line: 57 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 278 unit: withAlertText() file: client/fixtures/productBuilder/productBuilder.ts start line: 101 end line: 104 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 279 unit: inTrialPeriod() file: client/fixtures/productBuilder/productBuilder.ts start line: 134 end line: 137 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 280 unit: asPatron() file: client/fixtures/productBuilder/productBuilder.ts start line: 139 end line: 142 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 281 unit: asPatronTier() file: client/fixtures/productBuilder/productBuilder.ts start line: 144 end line: 147 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 282 unit: inUSA() file: client/fixtures/productBuilder/productBuilder.ts start line: 159 end line: 162 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 283 unit: nonServiceableCountry() file: client/fixtures/productBuilder/productBuilder.ts start line: 164 end line: 167 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 284 unit: end_session_endpoint: joinUrl() file: server/oauth.ts start line: 127 end line: 132 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 285 unit: end_session_endpoint: joinUrl() file: server/oauth.ts start line: 167 end line: 172 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 286 unit: const getConfig:() file: server/config.ts start line: 14 end line: 18 size: 4 LOC McCabe index: 3 number of parameters: 1 id: 287 unit: requestBody: safeJsonParse() file: server/apiProxy.ts start line: 87 end line: 91 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 288 unit: export function convertTimestampToDate() file: shared/dates.ts start line: 139 end line: 141 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 289 unit: export function isValidAppSubscription() file: shared/mpapiResponse.ts start line: 15 end line: 17 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 290 unit: export function isPuzzle() file: shared/mpapiResponse.ts start line: 54 end line: 56 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 291 unit: setupNodeEvents() file: cypress.config.ts start line: 28 end line: 30 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 292 unit: body: toMembersDataApiResponse() file: cypress/lib/signInAndAcceptCookies.ts start line: 10 end line: 13 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 293 unit: constructor() file: client/components/mma/paymentUpdate/dd/NewDirectDebitPaymentMethodDetail.tsx start line: 37 end line: 39 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 294 unit: async getCurrentUser() file: client/components/mma/identity/identity.ts start line: 59 end line: 61 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 295 unit: async save() file: client/components/mma/identity/identity.ts start line: 62 end line: 64 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 296 unit: async setUsername() file: client/components/mma/identity/identity.ts start line: 75 end line: 77 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 297 unit: async unsubscribeAll() file: client/components/mma/identity/identity.ts start line: 115 end line: 117 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 298 unit: function notEmpty() file: client/components/mma/identity/emailAndMarketing/NewsletterSection.tsx start line: 41 end line: 43 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 299 unit: export function ascending() file: client/components/mma/shared/images/theGrid.ts start line: 62 end line: 64 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 300 unit: Cancellation of your subscription() file: client/components/mma/shared/SupporterPlusTsAndCs.tsx start line: 69 end line: 71 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 301 unit: hasPaymentFailure ?() file: client/components/mma/accountoverview/ProductCard.tsx start line: 540 end line: 542 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 302 unit: function joinInvoicesWithProductsInCategories() file: client/components/mma/billing/Billing.tsx start line: 95 end line: 97 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 303 unit: width: calc() file: client/components/mma/delivery/address/DeliveryAddressForm.tsx start line: 312 end line: 314 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 304 unit: Selected Issue() file: client/components/mma/delivery/records/DeliveryRecordsProblemConfirmation.tsx start line: 276 end line: 278 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 305 unit: export function isNonServiceableCountry() file: client/utilities/productUtils.ts start line: 107 end line: 109 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 306 unit: export function isCurrencyIso() file: client/utilities/currencyIso.ts start line: 18 end line: 20 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 307 unit: export function getNewMembershipPrice() file: client/utilities/pricingConfig/membershipPriceRise.ts start line: 81 end line: 83 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 308 unit: export function getOldMembershipPrice() file: client/utilities/pricingConfig/membershipPriceRise.ts start line: 85 end line: 87 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 309 unit: function removeHashCharacter() file: client/utilities/hooks/useScrollToHashElement.ts start line: 4 end line: 6 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 310 unit: export function flattenEquivalent() file: client/utilities/utils.ts start line: 5 end line: 7 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 311 unit: export function formatAmount() file: client/utilities/utils.ts start line: 31 end line: 33 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 312 unit: constructor() file: client/fixtures/productBuilder/productBuilder.ts start line: 41 end line: 43 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 313 unit: getProductDetailObject() file: client/fixtures/productBuilder/productBuilder.ts start line: 45 end line: 47 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 314 unit: maxAge: ms() file: server/oauth.ts start line: 245 end line: 249 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 315 unit: function base64() file: server/routes/newspaperArchive.ts start line: 29 end line: 31 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 316 unit: webpackOptions: require() file: cypress/plugins/index.ts start line: 26 end line: 27 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 317 unit: await fetchWithDefaultParameters() file: client/components/mma/cancel/stages/ExecuteCancellation.tsx start line: 60 end line: 61 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 318 unit: productDetail: membershipSupporterCurrencyUSD() file: client/components/mma/cancel/cancellationSaves/CancellationLanding.stories.tsx start line: 30 end line: 31 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 319 unit: productDetail: digitalPackPaidByDirectDebit() file: client/components/mma/cancel/cancellationSaves/CancellationLanding.stories.tsx start line: 55 end line: 56 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 320 unit: productDetail: digitalPackPaidByDirectDebit() file: client/components/mma/cancel/cancellationSaves/digipack/DigiSubSaves.stories.tsx start line: 23 end line: 24 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 321 unit: productDetail: digitalPackPaidByDirectDebit() file: client/components/mma/cancel/cancellationSaves/digipack/DigiSubSaves.stories.tsx start line: 40 end line: 41 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 322 unit: productDetail: digitalPackWithPaymentFailure() file: client/components/mma/cancel/cancellationSaves/digipack/DigiSubSaves.stories.tsx start line: 76 end line: 77 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 323 unit: productDetail: digitalPackWithPaymentFailure() file: client/components/mma/cancel/cancellationSaves/digipack/DigiSubSaves.stories.tsx start line: 98 end line: 99 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 324 unit: productDetail: membershipSupporterCurrencyUSD() file: client/components/mma/cancel/cancellationSaves/membership/MembershipSaves.stories.tsx start line: 22 end line: 23 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 325 unit: function getMembershipPrice() file: client/utilities/pricingConfig/membershipPriceRise.ts start line: 63 end line: 64 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 326 unit: await s3FilePromise() file: server/fulfilmentDateCalculatorReader.ts start line: 18 end line: 19 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 327 unit: transform: translateY() file: client/components/helpCentre/HelpCentreStyles.tsx start line: 74 end line: 74 size: 1 LOC McCabe index: 2 number of parameters: 1 id: 328 unit: Round up to unlock extras() file: client/components/mma/upgrade/ConfirmForm.tsx start line: 204 end line: 204 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 329 unit: Imposed suspension() file: client/components/mma/holiday/ExistingHolidayStopActions.tsx start line: 106 end line: 106 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 330 unit: Problem reported() file: client/components/mma/delivery/records/DeliveryRecordStatus.tsx start line: 50 end line: 50 size: 1 LOC McCabe index: 1 number of parameters: 1