id: 1 unit: constructor() file: cdk/lib/support-workers.ts start line: 59 end line: 664 size: 532 LOC McCabe index: 1 number of parameters: 3 id: 2 unit: constructor() file: cdk/lib/payment-api.ts start line: 38 end line: 476 size: 408 LOC McCabe index: 16 number of parameters: 3 id: 3 unit: function PaperCheckoutForm() file: support-frontend/assets/pages/paper-subscription-checkout/components/paperCheckoutForm.tsx start line: 194 end line: 582 size: 360 LOC McCabe index: 19 number of parameters: 1 id: 4 unit: function WeeklyCheckoutFormGifting() file: support-frontend/assets/pages/weekly-subscription-checkout/components/weeklyCheckoutFormGifting.tsx start line: 160 end line: 484 size: 319 LOC McCabe index: 6 number of parameters: 1 id: 5 unit: function WeeklyCheckoutForm() file: support-frontend/assets/pages/weekly-subscription-checkout/components/weeklyCheckoutForm.tsx start line: 161 end line: 448 size: 279 LOC McCabe index: 9 number of parameters: 1 id: 6 unit: export function PaymentTsAndCs() file: support-frontend/assets/pages/supporter-plus-landing/components/paymentTsAndCs.tsx start line: 117 end line: 253 size: 135 LOC McCabe index: 5 number of parameters: 6 id: 7 unit: function AusMomentMap() file: support-frontend/assets/pages/aus-moment-map/ausMomentMap.tsx start line: 39 end line: 190 size: 134 LOC McCabe index: 12 number of parameters: 0 id: 8 unit: function getAmountsTestVariant() file: support-frontend/assets/helpers/abTests/abtest.ts start line: 224 end line: 396 size: 119 LOC McCabe index: 21 number of parameters: 5 id: 9 unit: def getSupporterRatePlanItemFromState() file: support-workers/src/main/scala/com/gu/support/workers/lambdas/UpdateSupporterProductData.scala start line: 74 end line: 191 size: 115 LOC McCabe index: 10 number of parameters: 2 id: 10 unit: function ThankYouContent() file: support-frontend/assets/pages/weekly-subscription-checkout/components/thankYou.tsx start line: 119 end line: 234 size: 113 LOC McCabe index: 6 number of parameters: 6 id: 11 unit: function TestimonialsForTerritory() file: support-frontend/assets/pages/aus-moment-map/components/testimonialsContainer.tsx start line: 118 end line: 243 size: 109 LOC McCabe index: 20 number of parameters: 1 id: 12 unit: constructor() file: cdk/lib/bigquery-acquisitions-publisher.ts start line: 21 end line: 147 size: 107 LOC McCabe index: 3 number of parameters: 3 id: 13 unit: export function ContributionsOrderSummary() file: support-frontend/assets/components/orderSummary/contributionsOrderSummary.tsx start line: 161 end line: 271 size: 105 LOC McCabe index: 19 number of parameters: 15 id: 14 unit: function ThankYouModule() file: support-frontend/assets/components/thankYou/thankYouModule.tsx start line: 259 end line: 366 size: 101 LOC McCabe index: 16 number of parameters: 10 id: 15 unit: function ProductOption() file: support-frontend/assets/components/product/productOption.tsx start line: 57 end line: 165 size: 99 LOC McCabe index: 11 number of parameters: 1 id: 16 unit: export function PaymentCards() file: support-frontend/assets/pages/supporter-plus-landing/components/PaymentIcons.tsx start line: 15 end line: 114 size: 99 LOC McCabe index: 1 number of parameters: 0 id: 17 unit: function Form() file: support-frontend/assets/components/directDebit/directDebitProgressiveDisclosure/components/form.tsx start line: 60 end line: 161 size: 98 LOC McCabe index: 3 number of parameters: 1 id: 18 unit: private def domestic() file: support-models/src/main/scala/com/gu/support/catalog/Product.scala start line: 288 end line: 385 size: 95 LOC McCabe index: 1 number of parameters: 4 id: 19 unit: export function PersonalEmailFields() file: support-frontend/assets/pages/[countryGroupId]/checkout/components/PersonalEmailFields.tsx start line: 16 end line: 110 size: 94 LOC McCabe index: 9 number of parameters: 7 id: 20 unit: def this() file: support-workers/src/main/scala/com/gu/support/workers/lambdas/PreparePaymentMethodForReuse.scala start line: 25 end line: 120 size: 93 LOC McCabe index: 5 number of parameters: 0 id: 21 unit: export function ThreeTierCard() file: support-frontend/assets/pages/supporter-plus-landing/components/threeTierCard.tsx start line: 188 end line: 278 size: 89 LOC McCabe index: 9 number of parameters: 7 id: 22 unit: export default function Tooltip() file: support-frontend/assets/components/tooltip/Tooltip.tsx start line: 184 end line: 276 size: 84 LOC McCabe index: 6 number of parameters: 8 id: 23 unit: private def collection() file: support-models/src/main/scala/com/gu/support/catalog/Product.scala start line: 194 end line: 287 size: 84 LOC McCabe index: 2 number of parameters: 3 id: 24 unit: export default function PersonalDetails() file: support-frontend/assets/components/subscriptionCheckouts/personalDetails.tsx start line: 79 end line: 162 size: 82 LOC McCabe index: 4 number of parameters: 1 id: 25 unit: export function SocialLinks() file: support-frontend/assets/pages/aus-moment-map/components/socialLinks.tsx start line: 19 end line: 102 size: 82 LOC McCabe index: 1 number of parameters: 0 id: 26 unit: export function AmountsCard() file: support-frontend/assets/pages/supporter-plus-landing/components/amountsCard.tsx start line: 74 end line: 157 size: 81 LOC McCabe index: 8 number of parameters: 7 id: 27 unit: constructor() file: cdk/lib/acquisition-events-api.ts start line: 32 end line: 144 size: 76 LOC McCabe index: 1 number of parameters: 3 id: 28 unit: function Playback() file: support-frontend/assets/components/directDebit/directDebitProgressiveDisclosure/components/playback.tsx start line: 57 end line: 139 size: 73 LOC McCabe index: 2 number of parameters: 1 id: 29 unit: function Links() file: support-frontend/assets/components/headers/links/links.tsx start line: 100 end line: 179 size: 72 LOC McCabe index: 15 number of parameters: 3 id: 30 unit: function Footer() file: support-frontend/assets/components/footerCompliant/Footer.tsx start line: 30 end line: 105 size: 72 LOC McCabe index: 3 number of parameters: 4 id: 31 unit: export function DeliveryAgentsSelect() file: support-frontend/assets/pages/paper-subscription-checkout/components/deliveryAgentsSelect.tsx start line: 42 end line: 116 size: 71 LOC McCabe index: 7 number of parameters: 1 id: 32 unit: def createSubscription() file: support-frontend/app/services/stepfunctions/SupportWorkersClient.scala start line: 130 end line: 202 size: 71 LOC McCabe index: 4 number of parameters: 3 id: 33 unit: def createPaymentIntent() file: support-payment-api/src/main/scala/backend/StripeBackend.scala start line: 83 end line: 166 size: 71 LOC McCabe index: 18 number of parameters: 2 id: 34 unit: export function WeeklyHero() file: support-frontend/assets/pages/weekly-subscription-landing/components/hero/hero.tsx start line: 125 end line: 195 size: 70 LOC McCabe index: 3 number of parameters: 3 id: 35 unit: export function SignInBodyCopy() file: support-frontend/assets/components/thankYou/signIn/signInItems.tsx start line: 75 end line: 147 size: 67 LOC McCabe index: 6 number of parameters: 3 id: 36 unit: function onPaymentAuthorised() file: support-frontend/assets/helpers/subscriptionsForms/submit.ts start line: 234 end line: 307 size: 67 LOC McCabe index: 4 number of parameters: 4 id: 37 unit: export function getLandingPageParticipations() file: support-frontend/assets/helpers/abTests/landingPageAbTests.ts start line: 117 end line: 193 size: 66 LOC McCabe index: 9 number of parameters: 1 id: 38 unit: private def chooseActionBuilder() file: support-frontend/app/actions/CustomActionBuilders.scala start line: 53 end line: 126 size: 66 LOC McCabe index: 7 number of parameters: 2 id: 39 unit: private def getAcquisitionTypeDetails() file: support-workers/src/main/scala/com/gu/acquisitions/AcquisitionDataRowBuilder.scala start line: 186 end line: 251 size: 66 LOC McCabe index: 9 number of parameters: 1 id: 40 unit: export function SummaryTsAndCs() file: support-frontend/assets/pages/supporter-plus-landing/components/summaryTsAndCs.tsx start line: 39 end line: 105 size: 64 LOC McCabe index: 4 number of parameters: 6 id: 41 unit: def fromConfig() file: support-frontend/app/controllers/Application.scala start line: 69 end line: 132 size: 64 LOC McCabe index: 2 number of parameters: 14 id: 42 unit: function WeeklyLPContent() file: support-frontend/assets/pages/weekly-subscription-landing/weeklySubscriptionLanding.tsx start line: 56 end line: 118 size: 63 LOC McCabe index: 4 number of parameters: 9 id: 43 unit: def otherwise() file: support-frontend/app/utils/CheckoutValidationRules.scala start line: 124 end line: 198 size: 63 LOC McCabe index: 2 number of parameters: 1 id: 44 unit: def callback() file: support-frontend/app/controllers/AuthCodeFlowController.scala start line: 85 end line: 171 size: 63 LOC McCabe index: 8 number of parameters: 4 id: 45 unit: def fromStripeCharge() file: support-payment-api/src/main/scala/model/db/ContributionData.scala start line: 47 end line: 122 size: 62 LOC McCabe index: 2 number of parameters: 5 id: 46 unit: function TabletAndDesktop() file: support-frontend/assets/components/subscriptionCheckouts/summary.tsx start line: 175 end line: 235 size: 61 LOC McCabe index: 11 number of parameters: 10 id: 47 unit: export function SubscriptionStartItems() file: support-frontend/assets/components/thankYou/subscriptionStart/subscriptionStartItems.tsx start line: 35 end line: 95 size: 61 LOC McCabe index: 4 number of parameters: 3 id: 48 unit: def this() file: support-workers/src/main/scala/com/gu/support/workers/lambdas/CreateZuoraSubscription.scala start line: 20 end line: 84 size: 61 LOC McCabe index: 8 number of parameters: 0 id: 49 unit: def build() file: support-workers/src/main/scala/com/gu/zuora/subscriptionBuilders/GuardianWeeklySubscriptionBuilder.scala start line: 21 end line: 84 size: 61 LOC McCabe index: 5 number of parameters: 3 id: 50 unit: export function PaperPrices() file: support-frontend/assets/pages/paper-subscription-landing/components/content/paperPrices.tsx start line: 105 end line: 166 size: 60 LOC McCabe index: 4 number of parameters: 4 id: 51 unit: export function PaperHero() file: support-frontend/assets/pages/paper-subscription-landing/components/hero/hero.tsx start line: 89 end line: 149 size: 60 LOC McCabe index: 2 number of parameters: 3 id: 52 unit: private def getNewContact() file: support-workers/src/main/scala/com/gu/salesforce/SalesforceService.scala start line: 104 end line: 165 size: 60 LOC McCabe index: 1 number of parameters: 2 id: 53 unit: export default function MobileMenuToggler() file: support-frontend/assets/components/headers/header/mobileMenuToggler.tsx start line: 16 end line: 76 size: 59 LOC McCabe index: 2 number of parameters: 3 id: 54 unit: export function PaymentMethodSelector() file: support-frontend/assets/components/paymentMethodSelector/paymentMethodSelector.tsx start line: 67 end line: 125 size: 57 LOC McCabe index: 3 number of parameters: 7 id: 55 unit: export function StripeCardForm() file: support-frontend/assets/components/stripeCardForm/stripeCardForm.tsx start line: 33 end line: 89 size: 57 LOC McCabe index: 2 number of parameters: 6 id: 56 unit: function DirectDebitForm() file: support-frontend/assets/components/directDebit/directDebitProgressiveDisclosure/directDebitForm.tsx start line: 82 end line: 196 size: 57 LOC McCabe index: 6 number of parameters: 1 id: 57 unit: function Subheading() file: support-frontend/assets/pages/supporter-plus-thank-you/components/thankYouHeader/subheading.tsx start line: 123 end line: 179 size: 57 LOC McCabe index: 9 number of parameters: 9 id: 58 unit: export default function Summary() file: support-frontend/assets/components/subscriptionCheckouts/summary.tsx start line: 357 end line: 418 size: 56 LOC McCabe index: 4 number of parameters: 10 id: 59 unit: export function FooterTsAndCs() file: support-frontend/assets/pages/supporter-plus-landing/components/paymentTsAndCs.tsx start line: 53 end line: 108 size: 56 LOC McCabe index: 12 number of parameters: 3 id: 60 unit: export default function Countdown() file: support-frontend/assets/pages/supporter-plus-landing/components/countdown.tsx start line: 92 end line: 181 size: 54 LOC McCabe index: 4 number of parameters: 4 id: 61 unit: export default function SvgSepa() file: support-frontend/assets/components/svgs/sepa.tsx start line: 1 end line: 52 size: 52 LOC McCabe index: 1 number of parameters: 0 id: 62 unit: export function PostcodeFinder() file: support-frontend/assets/components/subscriptionCheckouts/address/postcodeFinder.tsx start line: 26 end line: 92 size: 52 LOC McCabe index: 6 number of parameters: 9 id: 63 unit: function checkRegularStatus() file: support-frontend/assets/helpers/forms/paymentIntegrations/readerRevenueApis.ts start line: 310 end line: 367 size: 52 LOC McCabe index: 6 number of parameters: 1 id: 64 unit: private def printOptionsFromProduct() file: support-workers/src/main/scala/com/gu/acquisitions/AcquisitionDataRowBuilder.scala start line: 131 end line: 184 size: 52 LOC McCabe index: 28 number of parameters: 2 id: 65 unit: function ShowDropDown() file: support-frontend/assets/components/subscriptionCheckouts/summary.tsx start line: 266 end line: 316 size: 51 LOC McCabe index: 4 number of parameters: 9 id: 66 unit: export function SignUpBodyCopy() file: support-frontend/assets/components/thankYou/signUp/signUpItems.tsx start line: 8 end line: 58 size: 51 LOC McCabe index: 6 number of parameters: 3 id: 67 unit: private def contributionsHtml() file: support-frontend/app/controllers/Application.scala start line: 340 end line: 401 size: 51 LOC McCabe index: 1 number of parameters: 2 id: 68 unit: function MarketingConsent() file: support-frontend/assets/components/marketingConsent/marketingConsent.tsx start line: 64 end line: 117 size: 50 LOC McCabe index: 4 number of parameters: 1 id: 69 unit: function DirectDebitGuarantee() file: support-frontend/assets/components/directDebit/directDebitForm/directDebitGuarantee.tsx start line: 12 end line: 63 size: 50 LOC McCabe index: 2 number of parameters: 2 id: 70 unit: function GuardianLogoSvg() file: support-frontend/assets/pages/aus-moment-map/components/header.tsx start line: 8 end line: 57 size: 50 LOC McCabe index: 1 number of parameters: 0 id: 71 unit: function buildRegularPaymentRequest() file: support-frontend/assets/helpers/subscriptionsForms/submit.ts start line: 183 end line: 232 size: 49 LOC McCabe index: 1 number of parameters: 5 id: 72 unit: function regularPaymentFieldsFromAuthorisation() file: support-frontend/assets/helpers/forms/paymentIntegrations/readerRevenueApis.ts start line: 248 end line: 300 size: 49 LOC McCabe index: 8 number of parameters: 3 id: 73 unit: function SubscriptionsProduct() file: support-frontend/assets/pages/subscriptions-landing/components/subscriptionsProduct.tsx start line: 20 end line: 68 size: 48 LOC McCabe index: 2 number of parameters: 5 id: 74 unit: function WeeklyLandingPage() file: support-frontend/assets/pages/weekly-subscription-landing/weeklySubscriptionLanding.tsx start line: 128 end line: 179 size: 47 LOC McCabe index: 5 number of parameters: 7 id: 75 unit: def createUserIdFromEmailUser() file: support-frontend/app/services/HttpIdentityService.scala start line: 183 end line: 229 size: 47 LOC McCabe index: 1 number of parameters: 5 id: 76 unit: reminderPeriod: getReminderPeriod() file: support-frontend/assets/components/thankYou/supportReminder/supportReminderItems.tsx start line: 115 end line: 166 size: 46 LOC McCabe index: 4 number of parameters: 1 id: 77 unit: function PaperLandingPage() file: support-frontend/assets/pages/paper-subscription-landing/paperSubscriptionLandingPage.tsx start line: 50 end line: 112 size: 46 LOC McCabe index: 3 number of parameters: 3 id: 78 unit: def forUser() file: support-models/src/main/scala/com/gu/salesforce/Salesforce.scala start line: 22 end line: 71 size: 46 LOC McCabe index: 1 number of parameters: 2 id: 79 unit: def writeItem() file: support-modules/supporter-product-data-dynamo/src/main/scala/com/gu/supporterdata/services/SupporterDataDynamoService.scala start line: 72 end line: 124 size: 46 LOC McCabe index: 2 number of parameters: 1 id: 80 unit: def mapToTableRow() file: support-modules/acquisition-events/src/main/scala/com/gu/support/acquisitions/bigquery/AcquisitionDataRowMapper.scala start line: 9 end line: 56 size: 46 LOC McCabe index: 1 number of parameters: 1 id: 81 unit: private def directOrCorpFields() file: support-workers/src/main/scala/com/gu/emailservices/DigitalPackEmailFields.scala start line: 138 end line: 185 size: 46 LOC McCabe index: 1 number of parameters: 3 id: 82 unit: reminderOption: getReminderOption() file: support-frontend/assets/components/thankYou/supportReminder/supportReminderItems.tsx start line: 116 end line: 166 size: 45 LOC McCabe index: 4 number of parameters: 1 id: 83 unit: export default function PaperTerms() file: support-frontend/assets/pages/promotion-terms/PaperTerms.tsx start line: 6 end line: 50 size: 45 LOC McCabe index: 5 number of parameters: 1 id: 84 unit: export function Hero() file: support-frontend/stories/productPage/Hero.stories.tsx start line: 24 end line: 68 size: 45 LOC McCabe index: 1 number of parameters: 0 id: 85 unit: function Tabs() file: support-frontend/assets/components/tabs/tabs.tsx start line: 19 end line: 62 size: 44 LOC McCabe index: 2 number of parameters: 5 id: 86 unit: def convertStripeDeclineCode() file: support-models/src/main/scala/com/gu/support/workers/CheckoutFailureReasons.scala start line: 64 end line: 107 size: 44 LOC McCabe index: 43 number of parameters: 1 id: 87 unit: function PayPalSubmitButton() file: support-frontend/assets/components/subscriptionCheckouts/payPalSubmitButton.tsx start line: 51 end line: 97 size: 43 LOC McCabe index: 3 number of parameters: 1 id: 88 unit: function sendConsentToOphan() file: support-frontend/assets/helpers/page/analyticsAndConsent.ts start line: 62 end line: 108 size: 43 LOC McCabe index: 6 number of parameters: 0 id: 89 unit: function buildReferrerAcquisitionData() file: support-frontend/assets/helpers/tracking/acquisitions.ts start line: 143 end line: 191 size: 43 LOC McCabe index: 7 number of parameters: 1 id: 90 unit: function appropriateErrorMessage() file: support-frontend/assets/helpers/forms/errorReasons.ts start line: 32 end line: 95 size: 43 LOC McCabe index: 20 number of parameters: 1 id: 91 unit: export function GuardianAdLiteCard() file: support-frontend/assets/pages/[countryGroupId]/guardianAdLiteLanding/components/guardianAdLiteCard.tsx start line: 89 end line: 131 size: 43 LOC McCabe index: 2 number of parameters: 5 id: 92 unit: def buildFromStripe() file: support-payment-api/src/main/scala/model/acquisition/AcquisitionDataRowBuilder.scala start line: 22 end line: 65 size: 43 LOC McCabe index: 1 number of parameters: 2 id: 93 unit: def buildFromPayPal() file: support-payment-api/src/main/scala/model/acquisition/AcquisitionDataRowBuilder.scala start line: 67 end line: 110 size: 43 LOC McCabe index: 1 number of parameters: 2 id: 94 unit: def getPaymentFields() file: support-workers/src/main/scala/com/gu/emailservices/SupporterPlusEmailFields.scala start line: 43 end line: 85 size: 43 LOC McCabe index: 6 number of parameters: 3 id: 95 unit: private def getDiscountProductRatePlanIds() file: supporter-product-data/src/main/scala/com/gu/services/ConfigService.scala start line: 30 end line: 74 size: 41 LOC McCabe index: 3 number of parameters: 1 id: 96 unit: export function OtherAmount() file: support-frontend/assets/components/otherAmount/otherAmount.tsx start line: 22 end line: 64 size: 41 LOC McCabe index: 6 number of parameters: 10 id: 97 unit: function Annual() file: support-frontend/assets/pages/supporter-plus-thank-you/components/thankYouHeader/heading.tsx start line: 81 end line: 122 size: 41 LOC McCabe index: 6 number of parameters: 4 id: 98 unit: def build() file: support-workers/src/main/scala/com/gu/zuora/subscriptionBuilders/SupporterPlusSubcriptionBuilder.scala start line: 26 end line: 69 size: 41 LOC McCabe index: 3 number of parameters: 3 id: 99 unit: planCost: getPlanCost() file: support-frontend/assets/pages/supporter-plus-landing/twoStepPages/threeTierLanding.tsx start line: 571 end line: 611 size: 40 LOC McCabe index: 7 number of parameters: 3 id: 100 unit: export default function ErrorPage() file: support-frontend/assets/pages/error/components/errorPage.tsx start line: 25 end line: 64 size: 40 LOC McCabe index: 3 number of parameters: 1 id: 101 unit: acquisitionData: getAcquisitionData() file: support-frontend/assets/pages/[countryGroupId]/components/oneTimeCheckoutComponent.tsx start line: 474 end line: 514 size: 40 LOC McCabe index: 7 number of parameters: 3 id: 102 unit: def buildFromState() file: support-workers/src/main/scala/com/gu/acquisitions/AcquisitionDataRowBuilder.scala start line: 55 end line: 95 size: 40 LOC McCabe index: 1 number of parameters: 2 id: 103 unit: def buildProductSubscription() file: support-workers/src/main/scala/com/gu/zuora/subscriptionBuilders/SubscribeItemBuilder.scala start line: 60 end line: 100 size: 40 LOC McCabe index: 1 number of parameters: 3 id: 104 unit: def addToQueue() file: supporter-product-data/src/main/scala/com/gu/lambdas/AddSupporterRatePlanItemToQueueLambda.scala start line: 36 end line: 85 size: 39 LOC McCabe index: 6 number of parameters: 3 id: 105 unit: function Footer() file: support-frontend/assets/components/footer/footer.tsx start line: 23 end line: 61 size: 39 LOC McCabe index: 6 number of parameters: 6 id: 106 unit: def weeklyGeoRedirect() file: support-frontend/app/controllers/WeeklySubscriptionController.scala start line: 40 end line: 83 size: 39 LOC McCabe index: 3 number of parameters: 1 id: 107 unit: def insertContributionData() file: support-payment-api/src/main/scala/services/SupporterProductDataService.scala start line: 18 end line: 56 size: 39 LOC McCabe index: 3 number of parameters: 1 id: 108 unit: def getPaymentFields() file: support-workers/src/main/scala/com/gu/emailservices/ContributionEmailFields.scala start line: 38 end line: 76 size: 39 LOC McCabe index: 6 number of parameters: 3 id: 109 unit: function Hero() file: support-frontend/assets/components/page/hero.tsx start line: 32 end line: 70 size: 38 LOC McCabe index: 7 number of parameters: 9 id: 110 unit: export default function Page() file: support-frontend/assets/components/page/page.tsx start line: 18 end line: 56 size: 38 LOC McCabe index: 4 number of parameters: 1 id: 111 unit: function withDeliveryValidation() file: support-frontend/assets/helpers/subscriptionsForms/formValidation.ts start line: 75 end line: 118 size: 38 LOC McCabe index: 2 number of parameters: 1 id: 112 unit: def getProductParamsFromContributionParams() file: support-frontend/app/controllers/Application.scala start line: 449 end line: 490 size: 38 LOC McCabe index: 4 number of parameters: 4 id: 113 unit: private def toHttpResponse[A <: CreateResponse]() file: support-frontend/app/controllers/CreateSubscriptionController.scala start line: 395 end line: 434 size: 38 LOC McCabe index: 7 number of parameters: 5 id: 114 unit: private def productRatePlan() file: support-models/src/main/scala/com/gu/support/catalog/Product.scala start line: 46 end line: 85 size: 38 LOC McCabe index: 2 number of parameters: 4 id: 115 unit: constructor() file: cdk/lib/stripe-patrons-data.ts start line: 151 end line: 194 size: 38 LOC McCabe index: 1 number of parameters: 3 id: 116 unit: def build() file: support-workers/src/main/scala/com/gu/zuora/subscriptionBuilders/TierThreeSubscriptionBuilder.scala start line: 18 end line: 60 size: 38 LOC McCabe index: 1 number of parameters: 3 id: 117 unit: def build() file: support-workers/src/main/scala/com/gu/zuora/subscriptionBuilders/PaperSubscriptionBuilder.scala start line: 18 end line: 60 size: 38 LOC McCabe index: 1 number of parameters: 3 id: 118 unit: function PersonalDetailsGift() file: support-frontend/assets/components/subscriptionCheckouts/personalDetailsGift.tsx start line: 22 end line: 58 size: 37 LOC McCabe index: 1 number of parameters: 1 id: 119 unit: export function SupportReminderBodyCopy() file: support-frontend/assets/components/thankYou/supportReminder/supportReminderItems.tsx start line: 146 end line: 182 size: 37 LOC McCabe index: 3 number of parameters: 3 id: 120 unit: function Content() file: support-frontend/assets/components/content/content.tsx start line: 31 end line: 67 size: 37 LOC McCabe index: 7 number of parameters: 9 id: 121 unit: export function PaymentFrequencyButtons() file: support-frontend/assets/components/paymentFrequencyButtons/paymentFrequencyButtons.tsx start line: 58 end line: 94 size: 37 LOC McCabe index: 1 number of parameters: 4 id: 122 unit: function Monthly() file: support-frontend/assets/pages/supporter-plus-thank-you/components/thankYouHeader/heading.tsx start line: 28 end line: 64 size: 37 LOC McCabe index: 3 number of parameters: 4 id: 123 unit: private def handleError() file: support-workers/src/main/scala/com/gu/support/workers/lambdas/FailureHandler.scala start line: 60 end line: 97 size: 37 LOC McCabe index: 6 number of parameters: 3 id: 124 unit: function Mobile() file: support-frontend/assets/components/subscriptionCheckouts/summary.tsx start line: 318 end line: 355 size: 36 LOC McCabe index: 3 number of parameters: 10 id: 125 unit: static handleCountryForCountryGroup() file: support-frontend/assets/helpers/internationalisation/classes/country.ts start line: 204 end line: 243 size: 36 LOC McCabe index: 6 number of parameters: 2 id: 126 unit: function createFormReducer() file: support-frontend/assets/helpers/subscriptionsForms/formReducer.ts start line: 5 end line: 47 size: 36 LOC McCabe index: 7 number of parameters: 0 id: 127 unit: function submitForm() file: support-frontend/assets/helpers/subscriptionsForms/submit.ts start line: 392 end line: 432 size: 36 LOC McCabe index: 3 number of parameters: 2 id: 128 unit: function postRegularPaymentRequest() file: support-frontend/assets/helpers/forms/paymentIntegrations/readerRevenueApis.ts start line: 370 end line: 406 size: 36 LOC McCabe index: 6 number of parameters: 3 id: 129 unit: export function internationaliseProductAndRatePlan() file: support-frontend/assets/helpers/productCatalog.ts start line: 521 end line: 559 size: 36 LOC McCabe index: 10 number of parameters: 3 id: 130 unit: export function createTestStoreForSubscriptions() file: support-frontend/assets/__test-utils__/testStore.ts start line: 26 end line: 67 size: 36 LOC McCabe index: 1 number of parameters: 5 id: 131 unit: def productCheckoutRouter() file: support-frontend/app/controllers/Application.scala start line: 545 end line: 584 size: 36 LOC McCabe index: 1 number of parameters: 1 id: 132 unit: private def weeklySubscriptionFormHtml() file: support-frontend/app/controllers/WeeklySubscriptionFormController.scala start line: 48 end line: 86 size: 36 LOC McCabe index: 2 number of parameters: 2 id: 133 unit: def validateProductRatePlan() file: support-services/src/main/scala/com/gu/support/promotions/PromotionValidator.scala start line: 33 end line: 72 size: 35 LOC McCabe index: 10 number of parameters: 1 id: 134 unit: export function initReduxForSubscriptions() file: support-frontend/assets/helpers/redux/subscriptionsStore.ts start line: 56 end line: 94 size: 35 LOC McCabe index: 5 number of parameters: 5 id: 135 unit: function getUserParticipation() file: support-frontend/assets/helpers/abTests/abtest.ts start line: 479 end line: 523 size: 35 LOC McCabe index: 8 number of parameters: 6 id: 136 unit: export function ThreeTierCards() file: support-frontend/assets/pages/supporter-plus-landing/components/threeTierCards.tsx start line: 46 end line: 80 size: 35 LOC McCabe index: 3 number of parameters: 4 id: 137 unit: export function PosterComponent() file: support-frontend/assets/pages/[countryGroupId]/guardianAdLiteLanding/components/posterComponent.tsx start line: 99 end line: 133 size: 35 LOC McCabe index: 3 number of parameters: 0 id: 138 unit: private def getSupportedRatePlansForCountryGroup() file: support-frontend/app/services/pricing/PriceSummaryService.scala start line: 58 end line: 97 size: 35 LOC McCabe index: 2 number of parameters: 2 id: 139 unit: private def digitalSubscriptionFormHtml() file: support-frontend/app/controllers/DigitalSubscriptionFormController.scala start line: 49 end line: 85 size: 35 LOC McCabe index: 1 number of parameters: 1 id: 140 unit: private def validateRefundHook() file: support-payment-api/src/main/scala/backend/PaypalBackend.scala start line: 197 end line: 237 size: 35 LOC McCabe index: 3 number of parameters: 3 id: 141 unit: def this() file: support-workers/src/main/scala/com/gu/support/workers/lambdas/UpdateSupporterProductData.scala start line: 32 end line: 68 size: 35 LOC McCabe index: 4 number of parameters: 0 id: 142 unit: def createPayPalPaymentMethod() file: support-workers/src/main/scala/com/gu/support/workers/lambdas/CreatePaymentMethod.scala start line: 146 end line: 183 size: 35 LOC McCabe index: 4 number of parameters: 2 id: 143 unit: function MarketingButton() file: support-frontend/assets/components/marketingConsent/marketingConsent.tsx start line: 28 end line: 62 size: 34 LOC McCabe index: 3 number of parameters: 1 id: 144 unit: static detect() file: support-frontend/assets/helpers/internationalisation/classes/country.ts start line: 245 end line: 283 size: 34 LOC McCabe index: 4 number of parameters: 1 id: 145 unit: export function OneTimeCheckout() file: support-frontend/assets/pages/[countryGroupId]/oneTimeCheckout.tsx start line: 23 end line: 65 size: 34 LOC McCabe index: 1 number of parameters: 4 id: 146 unit: def terms() file: support-frontend/app/controllers/Promotions.scala start line: 57 end line: 92 size: 34 LOC McCabe index: 1 number of parameters: 1 id: 147 unit: private def validate() file: support-frontend/app/controllers/CreateSubscriptionController.scala start line: 355 end line: 389 size: 34 LOC McCabe index: 8 number of parameters: 2 id: 148 unit: def getAgents() file: support-frontend/app/controllers/PaperRound.scala start line: 31 end line: 64 size: 34 LOC McCabe index: 10 number of parameters: 1 id: 149 unit: def putAcquisitionEvent() file: support-modules/acquisition-events/src/main/scala/com/gu/support/acquisitions/eventbridge/AcquisitionsEventBusService.scala start line: 21 end line: 57 size: 34 LOC McCabe index: 4 number of parameters: 1 id: 150 unit: def build() file: support-workers/src/main/scala/com/gu/emailservices/PaperEmailFields.scala start line: 18 end line: 54 size: 34 LOC McCabe index: 6 number of parameters: 2 id: 151 unit: def standardDescription() file: support-workers/src/main/scala/com/gu/emailservices/SubscriptionEmailFieldHelpers.scala start line: 44 end line: 79 size: 34 LOC McCabe index: 8 number of parameters: 4 id: 152 unit: export function SignInCTA() file: support-frontend/assets/components/thankYou/signIn/signInItems.tsx start line: 149 end line: 204 size: 33 LOC McCabe index: 3 number of parameters: 5 id: 153 unit: function handleErrorsAndCheckAccount() file: support-frontend/assets/components/directDebit/directDebitProgressiveDisclosure/directDebitForm.tsx start line: 116 end line: 148 size: 33 LOC McCabe index: 6 number of parameters: 1 id: 154 unit: export default function PromoDetails() file: support-frontend/assets/pages/promotion-terms/promoDetails.tsx start line: 26 end line: 58 size: 33 LOC McCabe index: 2 number of parameters: 1 id: 155 unit: export function LandingPageLayout() file: support-frontend/assets/pages/[countryGroupId]/guardianAdLiteLanding/components/landingPageLayout.tsx start line: 24 end line: 56 size: 33 LOC McCabe index: 2 number of parameters: 3 id: 156 unit: def paper() file: support-frontend/app/controllers/PaperSubscriptionController.scala start line: 41 end line: 74 size: 33 LOC McCabe index: 1 number of parameters: 0 id: 157 unit: private def createSubscription() file: support-frontend/app/controllers/CreateSubscriptionController.scala start line: 258 end line: 297 size: 33 LOC McCabe index: 4 number of parameters: 2 id: 158 unit: function Template() file: support-frontend/stories/checkouts/SepaForm.stories.tsx start line: 38 end line: 71 size: 33 LOC McCabe index: 1 number of parameters: 1 id: 159 unit: def fromString() file: support-payment-api/src/main/scala/model/paypal/PaypalApiError.scala start line: 21 end line: 63 size: 33 LOC McCabe index: 14 number of parameters: 1 id: 160 unit: function DirectDebitTerms() file: support-frontend/assets/components/subscriptionCheckouts/directDebit/directDebitTerms.tsx start line: 16 end line: 49 size: 32 LOC McCabe index: 1 number of parameters: 0 id: 161 unit: export function AddressCta() file: support-frontend/assets/components/thankYou/guardianAdLite/addressCta.tsx start line: 19 end line: 50 size: 32 LOC McCabe index: 2 number of parameters: 4 id: 162 unit: function FormSectionHiddenUntilSelected() file: support-frontend/assets/components/checkoutForm/checkoutForm.tsx start line: 70 end line: 101 size: 32 LOC McCabe index: 4 number of parameters: 6 id: 163 unit: function Prices() file: support-frontend/assets/pages/weekly-subscription-landing/components/content/prices.tsx start line: 94 end line: 125 size: 32 LOC McCabe index: 4 number of parameters: 2 id: 164 unit: def pricingCopy() file: support-frontend/app/controllers/SubscriptionsController.scala start line: 57 end line: 94 size: 32 LOC McCabe index: 3 number of parameters: 1 id: 165 unit: def apply() file: support-modules/aws/src/main/scala/com/gu/aws/AwsCloudWatchMetricPut.scala start line: 31 end line: 66 size: 32 LOC McCabe index: 4 number of parameters: 1 id: 166 unit: def fieldsFor() file: support-workers/src/main/scala/com/gu/emailservices/PaperFieldsGenerator.scala start line: 12 end line: 47 size: 32 LOC McCabe index: 2 number of parameters: 8 id: 167 unit: export function CheckoutHeading() file: support-frontend/assets/components/checkoutHeading/checkoutHeading.tsx start line: 39 end line: 69 size: 31 LOC McCabe index: 1 number of parameters: 7 id: 168 unit: function SharedButton() file: support-frontend/assets/components/button/_sharedButton.tsx start line: 47 end line: 77 size: 31 LOC McCabe index: 2 number of parameters: 9 id: 169 unit: function StripeProviderForCountry() file: support-frontend/assets/components/subscriptionCheckouts/stripeForm/stripeProviderForCountry.tsx start line: 25 end line: 57 size: 31 LOC McCabe index: 2 number of parameters: 1 id: 170 unit: isTestUser: getGlobal() file: support-frontend/assets/components/headers/header/header.tsx start line: 68 end line: 100 size: 31 LOC McCabe index: 7 number of parameters: 1 id: 171 unit: export function CheckoutBenefitsList() file: support-frontend/assets/components/checkoutBenefits/checkoutBenefitsList.tsx start line: 69 end line: 99 size: 31 LOC McCabe index: 5 number of parameters: 5 id: 172 unit: function getDiscountDescription() file: support-frontend/assets/helpers/productPrice/priceDescriptions.ts start line: 58 end line: 92 size: 31 LOC McCabe index: 4 number of parameters: 6 id: 173 unit: function createPayPalPaymentResponseFromObject() file: support-frontend/assets/helpers/forms/paymentIntegrations/oneOffContributions.ts start line: 213 end line: 247 size: 31 LOC McCabe index: 5 number of parameters: 1 id: 174 unit: export function SupportOnce() file: support-frontend/assets/pages/supporter-plus-landing/components/supportOnce.tsx start line: 65 end line: 95 size: 31 LOC McCabe index: 1 number of parameters: 3 id: 175 unit: function mapDispatchToProps() file: support-frontend/assets/pages/paper-subscription-checkout/components/paperCheckoutForm.tsx start line: 143 end line: 176 size: 31 LOC McCabe index: 2 number of parameters: 0 id: 176 unit: def createPaymentIntent() file: support-payment-api/src/main/scala/services/StripeService.scala start line: 54 end line: 85 size: 31 LOC McCabe index: 2 number of parameters: 1 id: 177 unit: def build() file: support-workers/src/main/scala/com/gu/emailservices/GuardianWeeklyEmailFields.scala start line: 17 end line: 50 size: 31 LOC McCabe index: 1 number of parameters: 1 id: 178 unit: private def createStripeHostedPaymentMethod() file: support-workers/src/main/scala/com/gu/support/workers/lambdas/CreatePaymentMethod.scala start line: 89 end line: 119 size: 31 LOC McCabe index: 2 number of parameters: 2 id: 179 unit: def createSepaPaymentMethod() file: support-workers/src/main/scala/com/gu/support/workers/lambdas/CreatePaymentMethod.scala start line: 185 end line: 215 size: 31 LOC McCabe index: 3 number of parameters: 4 id: 180 unit: def fromPromoCode() file: support-services/src/main/scala/com/gu/support/promotions/PromotionTerms.scala start line: 26 end line: 60 size: 30 LOC McCabe index: 1 number of parameters: 3 id: 181 unit: def fetchResults() file: supporter-product-data/src/main/scala/com/gu/lambdas/FetchResultsLambda.scala start line: 28 end line: 58 size: 30 LOC McCabe index: 4 number of parameters: 3 id: 182 unit: def cancelSubscription() file: stripe-patrons-data/src/main/scala/com/gu/patrons/lambdas/PatronCancelledEventLambda.scala start line: 181 end line: 210 size: 30 LOC McCabe index: 5 number of parameters: 3 id: 183 unit: def byCountryCode() file: support-internationalisation/src/main/scala/com/gu/i18n/CountryGroup.scala start line: 359 end line: 395 size: 30 LOC McCabe index: 17 number of parameters: 1 id: 184 unit: export default function SvgClose() file: support-frontend/assets/components/svgs/close.tsx start line: 1 end line: 30 size: 30 LOC McCabe index: 1 number of parameters: 0 id: 185 unit: export default function AppImageGuardianNews() file: support-frontend/assets/components/svgs/appGuardianNews.tsx start line: 14 end line: 43 size: 30 LOC McCabe index: 1 number of parameters: 0 id: 186 unit: function HeadingBlock() file: support-frontend/assets/components/headingBlock/headingBlock.tsx start line: 16 end line: 45 size: 30 LOC McCabe index: 4 number of parameters: 1 id: 187 unit: function CheckoutStage() file: support-frontend/assets/components/subscriptionCheckouts/stage.tsx start line: 35 end line: 66 size: 30 LOC McCabe index: 5 number of parameters: 1 id: 188 unit: function getFormFields() file: support-frontend/assets/helpers/subscriptionsForms/formFields.ts start line: 61 end line: 90 size: 30 LOC McCabe index: 1 number of parameters: 1 id: 189 unit: title: getTitle() file: support-frontend/assets/pages/paper-subscription-landing/components/paperProductPrices.tsx start line: 177 end line: 208 size: 30 LOC McCabe index: 2 number of parameters: 1 id: 190 unit: def createCheckoutSession() file: support-frontend/app/services/StripeCheckoutSessionService.scala start line: 43 end line: 76 size: 30 LOC McCabe index: 1 number of parameters: 6 id: 191 unit: override def checkBankAccount() file: support-payment-api/src/main/scala/services/GoCardlessService.scala start line: 28 end line: 57 size: 30 LOC McCabe index: 6 number of parameters: 1 id: 192 unit: function ReturnSection() file: support-frontend/assets/components/subscriptionCheckouts/thankYou/returnSection.tsx start line: 23 end line: 51 size: 29 LOC McCabe index: 1 number of parameters: 1 id: 193 unit: export function HoldingContent() file: support-frontend/assets/components/serverSideRendered/holdingContent.tsx start line: 67 end line: 96 size: 29 LOC McCabe index: 1 number of parameters: 0 id: 194 unit: function sendMarketingPreferencesToIdentity() file: support-frontend/assets/components/marketingConsent/helpers.ts start line: 27 end line: 57 size: 29 LOC McCabe index: 3 number of parameters: 4 id: 195 unit: href: getCheckoutUrl() file: support-frontend/assets/pages/weekly-subscription-landing/components/weeklyProductPrices.tsx start line: 151 end line: 182 size: 29 LOC McCabe index: 3 number of parameters: 5 id: 196 unit: function mapDispatchToProps() file: support-frontend/assets/pages/weekly-subscription-checkout/components/weeklyCheckoutForm.tsx start line: 120 end line: 151 size: 29 LOC McCabe index: 2 number of parameters: 0 id: 197 unit: function getPlanCost() file: support-frontend/assets/pages/supporter-plus-landing/twoStepPages/threeTierLanding.tsx start line: 222 end line: 252 size: 29 LOC McCabe index: 6 number of parameters: 3 id: 198 unit: price: showPrice() file: support-frontend/assets/pages/paper-subscription-landing/components/paperProductPrices.tsx start line: 178 end line: 208 size: 29 LOC McCabe index: 2 number of parameters: 1 id: 199 unit: private def validateUserLocally[A]() file: support-frontend/app/actions/UserFromAuthCookiesActionBuilder.scala start line: 96 end line: 134 size: 29 LOC McCabe index: 6 number of parameters: 3 id: 200 unit: private def fetchLandingPageTests() file: support-frontend/app/services/LandingPageTestService.scala start line: 96 end line: 126 size: 29 LOC McCabe index: 4 number of parameters: 0 id: 201 unit: private def checkoutCompleteCookies() file: support-frontend/app/controllers/CreateSubscriptionController.scala start line: 444 end line: 473 size: 29 LOC McCabe index: 1 number of parameters: 2 id: 202 unit: private def processEvent() file: support-lambdas/bigquery-acquisitions-publisher/src/main/scala/com/gu/bigqueryAcquisitionsPublisher/Lambda.scala start line: 54 end line: 82 size: 29 LOC McCabe index: 5 number of parameters: 2 id: 203 unit: private def postPaymentTasks() file: support-payment-api/src/main/scala/backend/PaypalBackend.scala start line: 127 end line: 157 size: 29 LOC McCabe index: 2 number of parameters: 5 id: 204 unit: def build() file: support-workers/src/main/scala/com/gu/emailservices/TierThreeEmailFields.scala start line: 12 end line: 45 size: 29 LOC McCabe index: 1 number of parameters: 1 id: 205 unit: def sendBatch() file: supporter-product-data/src/main/scala/com/gu/services/SqsService.scala start line: 28 end line: 58 size: 28 LOC McCabe index: 5 number of parameters: 2 id: 206 unit: def createUserIdFromEmailUser() file: stripe-patrons-data/src/main/scala/com/gu/patrons/services/PatronsIdentityService.scala start line: 45 end line: 73 size: 28 LOC McCabe index: 1 number of parameters: 2 id: 207 unit: function HideDropDown() file: support-frontend/assets/components/subscriptionCheckouts/summary.tsx start line: 237 end line: 264 size: 28 LOC McCabe index: 2 number of parameters: 7 id: 208 unit: function SignedInEmailFooter() file: support-frontend/assets/components/subscriptionCheckouts/personalDetails.tsx start line: 46 end line: 73 size: 28 LOC McCabe index: 1 number of parameters: 1 id: 209 unit: export default function() file: support-frontend/assets/components/headers/header/headerWithCountrySwitcher.tsx start line: 11 end line: 38 size: 28 LOC McCabe index: 1 number of parameters: 5 id: 210 unit: function GuardianWeeklyPackShotHero() file: support-frontend/assets/components/packshots/guardian-weekly-packshot-hero.tsx start line: 3 end line: 30 size: 28 LOC McCabe index: 1 number of parameters: 0 id: 211 unit: export function ThankYouUserTypeSelector() file: support-frontend/assets/components/test-user-banner/thankYouUserTypeSelector.tsx start line: 18 end line: 49 size: 28 LOC McCabe index: 1 number of parameters: 0 id: 212 unit: function RegularLinks() file: support-frontend/assets/components/footerCompliant/FooterWithPromoTerms.tsx start line: 51 end line: 79 size: 28 LOC McCabe index: 5 number of parameters: 1 id: 213 unit: function GiftLinks() file: support-frontend/assets/components/footerCompliant/FooterWithPromoTerms.tsx start line: 81 end line: 108 size: 28 LOC McCabe index: 5 number of parameters: 1 id: 214 unit: function FooterWithPromoTerms() file: support-frontend/assets/components/footerCompliant/FooterWithPromoTerms.tsx start line: 129 end line: 156 size: 28 LOC McCabe index: 2 number of parameters: 6 id: 215 unit: function FormSection() file: support-frontend/assets/components/checkoutForm/checkoutForm.tsx start line: 25 end line: 52 size: 28 LOC McCabe index: 4 number of parameters: 8 id: 216 unit: function ProductPageHeroHeader() file: support-frontend/assets/components/productPage/productPageHero/productPageHero.tsx start line: 111 end line: 138 size: 28 LOC McCabe index: 2 number of parameters: 6 id: 217 unit: function buildInitialState() file: support-frontend/assets/helpers/redux/utils/setup.ts start line: 22 end line: 50 size: 28 LOC McCabe index: 1 number of parameters: 7 id: 218 unit: export function getInitialState() file: support-frontend/assets/helpers/redux/utils/setup.ts start line: 52 end line: 82 size: 28 LOC McCabe index: 1 number of parameters: 0 id: 219 unit: function init() file: support-frontend/assets/helpers/abTests/abtest.ts start line: 46 end line: 74 size: 28 LOC McCabe index: 1 number of parameters: 5 id: 220 unit: function getAcquisitionDataFromUtmParams() file: support-frontend/assets/helpers/tracking/acquisitions.ts start line: 263 end line: 294 size: 28 LOC McCabe index: 6 number of parameters: 0 id: 221 unit: export function getSubscriptionAnnualValue() file: support-frontend/assets/helpers/tracking/quantumMetricHelpers.ts start line: 9 end line: 50 size: 28 LOC McCabe index: 5 number of parameters: 2 id: 222 unit: function mapStateToProps() file: support-frontend/assets/pages/weekly-subscription-checkout/components/weeklyCheckoutForm.tsx start line: 91 end line: 118 size: 28 LOC McCabe index: 2 number of parameters: 1 id: 223 unit: function mapStateToProps() file: support-frontend/assets/pages/weekly-subscription-checkout/components/weeklyCheckoutFormGifting.tsx start line: 88 end line: 116 size: 28 LOC McCabe index: 2 number of parameters: 1 id: 224 unit: function updateTimeParts() file: support-frontend/assets/pages/supporter-plus-landing/components/countdown.tsx start line: 120 end line: 147 size: 28 LOC McCabe index: 2 number of parameters: 0 id: 225 unit: function PaperTabs() file: support-frontend/assets/pages/paper-subscription-landing/components/paperTabs.tsx start line: 35 end line: 62 size: 28 LOC McCabe index: 1 number of parameters: 2 id: 226 unit: href: paperCheckoutUrl() file: support-frontend/assets/pages/paper-subscription-landing/components/paperProductPrices.tsx start line: 179 end line: 208 size: 28 LOC McCabe index: 2 number of parameters: 3 id: 227 unit: function TestimonialsExpandableSingleColumn() file: support-frontend/assets/pages/aus-moment-map/components/testimonialsContainer.tsx start line: 251 end line: 278 size: 28 LOC McCabe index: 3 number of parameters: 1 id: 228 unit: def passes() file: support-frontend/app/utils/CheckoutValidationRules.scala start line: 349 end line: 382 size: 28 LOC McCabe index: 8 number of parameters: 2 id: 229 unit: def returnURL() file: support-frontend/app/controllers/PayPalOneOff.scala start line: 80 end line: 111 size: 28 LOC McCabe index: 3 number of parameters: 5 id: 230 unit: function Template() file: support-frontend/stories/checkouts/paymentMethodSelector.stories.tsx start line: 29 end line: 58 size: 28 LOC McCabe index: 2 number of parameters: 1 id: 231 unit: def combinedAddressLine() file: support-models/src/main/scala/com/gu/salesforce/AddressLineTransformer.scala start line: 10 end line: 42 size: 28 LOC McCabe index: 9 number of parameters: 2 id: 232 unit: def fromString() file: support-modules/acquisition-events/src/main/scala/com/gu/support/acquisitions/models/AcquisitionDataRow.scala start line: 195 end line: 222 size: 28 LOC McCabe index: 1 number of parameters: 1 id: 233 unit: def build() file: support-modules/acquisition-events/src/main/scala/com/gu/support/acquisitions/bigquery/BigQueryService.scala start line: 78 end line: 107 size: 28 LOC McCabe index: 5 number of parameters: 2 id: 234 unit: protected def getPaymentFields() file: support-workers/src/main/scala/com/gu/emailservices/PaperFieldsGenerator.scala start line: 61 end line: 88 size: 28 LOC McCabe index: 6 number of parameters: 2 id: 235 unit: def buildEmail() file: support-workers/src/main/scala/com/gu/support/workers/lambdas/SendThankYouEmail.scala start line: 65 end line: 94 size: 28 LOC McCabe index: 8 number of parameters: 1 id: 236 unit: def applyPromoCodeIfPresent() file: support-workers/src/main/scala/com/gu/zuora/subscriptionBuilders/ProductSubscriptionBuilders.scala start line: 22 end line: 51 size: 28 LOC McCabe index: 4 number of parameters: 4 id: 237 unit: export default function SvgSquaresHeroTablet() file: support-frontend/assets/components/svgs/squaresHeroTablet.tsx start line: 1 end line: 27 size: 27 LOC McCabe index: 1 number of parameters: 0 id: 238 unit: function TopNav() file: support-frontend/assets/components/headers/header/header.tsx start line: 28 end line: 54 size: 27 LOC McCabe index: 2 number of parameters: 2 id: 239 unit: export default function Highlights() file: support-frontend/assets/components/highlights/highlights.tsx start line: 12 end line: 39 size: 27 LOC McCabe index: 2 number of parameters: 1 id: 240 unit: function FeedbackBodyCopy() file: support-frontend/assets/components/thankYou/feedback/FeedbackItems.tsx start line: 31 end line: 58 size: 27 LOC McCabe index: 2 number of parameters: 2 id: 241 unit: function getPostcodeFinderSlice() file: support-frontend/assets/helpers/redux/checkout/address/reducer.ts start line: 107 end line: 141 size: 27 LOC McCabe index: 1 number of parameters: 1 id: 242 unit: function derivePaymentApiAcquisitionData() file: support-frontend/assets/helpers/tracking/acquisitions.ts start line: 222 end line: 249 size: 27 LOC McCabe index: 2 number of parameters: 3 id: 243 unit: onClick: sendTrackingEventsOnClick() file: support-frontend/assets/pages/paper-subscription-landing/components/paperProductPrices.tsx start line: 180 end line: 208 size: 27 LOC McCabe index: 2 number of parameters: 1 id: 244 unit: function TestimonialCtaPrimary() file: support-frontend/assets/pages/aus-moment-map/components/testimonialsContainer.tsx start line: 19 end line: 46 size: 27 LOC McCabe index: 2 number of parameters: 0 id: 245 unit: export function CheckoutLayout() file: support-frontend/assets/pages/[countryGroupId]/components/checkoutLayout.tsx start line: 47 end line: 73 size: 27 LOC McCabe index: 1 number of parameters: 1 id: 246 unit: export function GuardianAdLiteLanding() file: support-frontend/assets/pages/[countryGroupId]/guardianAdLiteLanding/guardianAdLiteLanding.tsx start line: 19 end line: 51 size: 27 LOC McCabe index: 2 number of parameters: 2 id: 247 unit: def validateUserRemotely[A]() file: support-frontend/app/actions/UserFromAuthCookiesActionBuilder.scala start line: 138 end line: 169 size: 27 LOC McCabe index: 4 number of parameters: 2 id: 248 unit: def retrieveUserInformation() file: support-frontend/app/services/PayPalNvpService.scala start line: 110 end line: 137 size: 27 LOC McCabe index: 2 number of parameters: 1 id: 249 unit: def executePayment() file: support-payment-api/src/main/scala/backend/PaypalBackend.scala start line: 89 end line: 117 size: 27 LOC McCabe index: 2 number of parameters: 2 id: 250 unit: private def paymentIntentSucceeded() file: support-payment-api/src/main/scala/backend/StripeBackend.scala start line: 194 end line: 227 size: 27 LOC McCabe index: 3 number of parameters: 3 id: 251 unit: private def apply() file: support-payment-api/src/main/scala/backend/StripeBackend.scala start line: 318 end line: 344 size: 27 LOC McCabe index: 1 number of parameters: 11 id: 252 unit: def subscribe() file: support-workers/src/main/scala/com/gu/zuora/productHandlers/ZuoraDigitalSubscriptionHandler.scala start line: 22 end line: 48 size: 27 LOC McCabe index: 2 number of parameters: 3 id: 253 unit: def excludeDiscountProductRatePlans() file: supporter-product-data/src/main/scala/com/gu/services/SelectActiveRatePlansQuery.scala start line: 18 end line: 77 size: 26 LOC McCabe index: 1 number of parameters: 1 id: 254 unit: def getAPIGatewayResult() file: stripe-patrons-data/src/main/scala/com/gu/patrons/lambdas/PatronCancelledEventLambda.scala start line: 99 end line: 124 size: 26 LOC McCabe index: 6 number of parameters: 2 id: 255 unit: export function InfoRound() file: support-frontend/assets/components/tooltip/InfoRound.tsx start line: 1 end line: 26 size: 26 LOC McCabe index: 1 number of parameters: 0 id: 256 unit: function Label() file: support-frontend/assets/components/forms/label.tsx start line: 19 end line: 45 size: 26 LOC McCabe index: 4 number of parameters: 7 id: 257 unit: export function updateAbandonedBasketCookie() file: support-frontend/assets/helpers/storage/abandonedBasketCookies.ts start line: 64 end line: 92 size: 26 LOC McCabe index: 3 number of parameters: 1 id: 258 unit: function showPaymentMethod() file: support-frontend/assets/helpers/subscriptionsForms/submit.ts start line: 338 end line: 368 size: 26 LOC McCabe index: 6 number of parameters: 1 id: 259 unit: function mapDispatchToProps() file: support-frontend/assets/pages/weekly-subscription-checkout/components/weeklyCheckoutFormGifting.tsx start line: 119 end line: 148 size: 26 LOC McCabe index: 2 number of parameters: 0 id: 260 unit: function HeroImage() file: support-frontend/assets/pages/weekly-subscription-checkout/components/thankYou.tsx start line: 92 end line: 117 size: 26 LOC McCabe index: 4 number of parameters: 1 id: 261 unit: onView: sendTrackingEventsOnView() file: support-frontend/assets/pages/paper-subscription-landing/components/paperProductPrices.tsx start line: 181 end line: 208 size: 26 LOC McCabe index: 2 number of parameters: 1 id: 262 unit: export function GuardianAdLiteCards() file: support-frontend/assets/pages/[countryGroupId]/guardianAdLiteLanding/components/guardianAdLiteCards.tsx start line: 39 end line: 64 size: 26 LOC McCabe index: 2 number of parameters: 3 id: 263 unit: function SingleDeliveryProvider() file: support-frontend/assets/pages/paper-subscription-checkout/components/deliveryAgentsSelect.tsx start line: 137 end line: 162 size: 26 LOC McCabe index: 1 number of parameters: 2 id: 264 unit: function mapStateToProps() file: support-frontend/assets/pages/paper-subscription-checkout/components/paperCheckoutForm.tsx start line: 116 end line: 141 size: 26 LOC McCabe index: 1 number of parameters: 1 id: 265 unit: def variant[A: ClassTag]() file: support-models/src/main/scala/com/gu/support/encoding/DiscriminatedType.scala start line: 36 end line: 68 size: 26 LOC McCabe index: 3 number of parameters: 1 id: 266 unit: def filter[A]() file: support-payment-api/src/main/scala/actions/RateLimitingAction.scala start line: 53 end line: 79 size: 26 LOC McCabe index: 7 number of parameters: 1 id: 267 unit: def createPayment() file: support-payment-api/src/main/scala/services/PaypalService.scala start line: 26 end line: 56 size: 26 LOC McCabe index: 2 number of parameters: 1 id: 268 unit: private def getTransaction() file: support-payment-api/src/main/scala/services/PaypalService.scala start line: 118 end line: 145 size: 26 LOC McCabe index: 1 number of parameters: 1 id: 269 unit: def paymentFields() file: support-workers/src/main/scala/com/gu/emailservices/DigitalPackEmailFields.scala start line: 191 end line: 216 size: 26 LOC McCabe index: 6 number of parameters: 2 id: 270 unit: def toPaymentMethod() file: support-workers/src/main/scala/com/gu/support/workers/lambdas/PreparePaymentMethodForReuse.scala start line: 122 end line: 149 size: 26 LOC McCabe index: 4 number of parameters: 3 id: 271 unit: def build() file: support-workers/src/main/scala/com/gu/zuora/subscriptionBuilders/DigitalSubscriptionBuilder.scala start line: 20 end line: 50 size: 26 LOC McCabe index: 1 number of parameters: 3 id: 272 unit: def getUnprocessedItems() file: supporter-product-data/src/main/scala/com/gu/lambdas/AddSupporterRatePlanItemToQueueLambda.scala start line: 95 end line: 121 size: 25 LOC McCabe index: 2 number of parameters: 2 id: 273 unit: export default function GeneralErrorMessage() file: support-frontend/assets/components/generalErrorMessage/generalErrorMessage.tsx start line: 18 end line: 43 size: 25 LOC McCabe index: 2 number of parameters: 1 id: 274 unit: effect() file: support-frontend/assets/helpers/redux/checkout/product/contributionsSideEffects.ts start line: 37 end line: 66 size: 25 LOC McCabe index: 4 number of parameters: 2 id: 275 unit: function getPriceDescription() file: support-frontend/assets/helpers/productPrice/priceDescriptions.ts start line: 94 end line: 120 size: 25 LOC McCabe index: 3 number of parameters: 3 id: 276 unit: void ifQmPermitted() file: support-frontend/assets/helpers/tracking/quantumMetric.ts start line: 153 end line: 178 size: 25 LOC McCabe index: 3 number of parameters: 1 id: 277 unit: billingPeriod: optional() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 213 end line: 255 size: 25 LOC McCabe index: 3 number of parameters: 4 id: 278 unit: function LinkToInfo() file: support-frontend/assets/pages/paper-subscription-landing/components/content/subsCardTab.tsx start line: 54 end line: 78 size: 25 LOC McCabe index: 1 number of parameters: 4 id: 279 unit: def checkContributionPaymentMethodEnabled() file: support-frontend/app/utils/CheckoutValidationRules.scala start line: 59 end line: 85 size: 25 LOC McCabe index: 18 number of parameters: 2 id: 280 unit: private def validateRecaptcha() file: support-frontend/app/controllers/CreateSubscriptionController.scala start line: 191 end line: 219 size: 25 LOC McCabe index: 5 number of parameters: 2 id: 281 unit: private def productRatePlan() file: support-models/src/main/scala/com/gu/support/catalog/Product.scala start line: 86 end line: 112 size: 25 LOC McCabe index: 2 number of parameters: 3 id: 282 unit: private def getAccountForPublicKey() file: support-payment-api/src/main/scala/services/StripeService.scala start line: 134 end line: 162 size: 25 LOC McCabe index: 5 number of parameters: 1 id: 283 unit: constructor() file: cdk/lib/frontend.ts start line: 37 end line: 419 size: 25 LOC McCabe index: 3 number of parameters: 3 id: 284 unit: def cancelSubscription() file: support-modules/supporter-product-data-dynamo/src/main/scala/com/gu/supporterdata/services/SupporterDataDynamoService.scala start line: 42 end line: 70 size: 25 LOC McCabe index: 3 number of parameters: 3 id: 285 unit: export function LoadingOverlay() file: support-frontend/assets/components/loadingOverlay/loadingOverlay.tsx start line: 31 end line: 60 size: 24 LOC McCabe index: 1 number of parameters: 1 id: 286 unit: function Item() file: support-frontend/assets/components/menu/menu.tsx start line: 81 end line: 104 size: 24 LOC McCabe index: 2 number of parameters: 4 id: 287 unit: export default function GridImage() file: support-frontend/assets/components/gridImage/gridImage.tsx start line: 25 end line: 51 size: 24 LOC McCabe index: 3 number of parameters: 1 id: 288 unit: function HeroHeading() file: support-frontend/assets/components/productPage/productPageHero/productPageHero.tsx start line: 59 end line: 82 size: 24 LOC McCabe index: 3 number of parameters: 5 id: 289 unit: effect() file: support-frontend/assets/helpers/redux/checkout/product/contributionsSideEffects.ts start line: 114 end line: 138 size: 24 LOC McCabe index: 4 number of parameters: 2 id: 290 unit: export function useRecaptchaV2() file: support-frontend/assets/helpers/customHooks/useRecaptcha.ts start line: 4 end line: 29 size: 24 LOC McCabe index: 3 number of parameters: 2 id: 291 unit: function consentInitialisation() file: support-frontend/assets/helpers/page/analyticsAndConsent.ts start line: 37 end line: 60 size: 24 LOC McCabe index: 5 number of parameters: 1 id: 292 unit: function getSimplifiedPriceDescription() file: support-frontend/assets/helpers/productPrice/priceDescriptions.ts start line: 122 end line: 147 size: 24 LOC McCabe index: 3 number of parameters: 2 id: 293 unit: priceCopy: getPriceCopyString() file: support-frontend/assets/pages/paper-subscription-landing/components/paperProductPrices.tsx start line: 183 end line: 208 size: 24 LOC McCabe index: 2 number of parameters: 2 id: 294 unit: function TestimonialsContainerHeader() file: support-frontend/assets/pages/aus-moment-map/components/testimonialsContainer.tsx start line: 294 end line: 321 size: 24 LOC McCabe index: 4 number of parameters: 0 id: 295 unit: function getPreSelectedAmount() file: support-frontend/assets/pages/[countryGroupId]/components/oneTimeCheckoutComponent.tsx start line: 160 end line: 186 size: 24 LOC McCabe index: 4 number of parameters: 2 id: 296 unit: returnURL: payPalReturnUrl() file: support-frontend/assets/pages/[countryGroupId]/components/oneTimeCheckoutComponent.tsx start line: 386 end line: 414 size: 24 LOC McCabe index: 4 number of parameters: 3 id: 297 unit: export function LandingPage() file: support-frontend/assets/pages/[countryGroupId]/landingPage.tsx start line: 19 end line: 45 size: 24 LOC McCabe index: 2 number of parameters: 4 id: 298 unit: def deliveryAgentChosenWhichCoversPostcode() file: support-frontend/app/utils/CheckoutValidationRules.scala start line: 391 end line: 414 size: 24 LOC McCabe index: 6 number of parameters: 3 id: 299 unit: private def buildSupportWorkersUser() file: support-frontend/app/controllers/CreateSubscriptionController.scala start line: 481 end line: 504 size: 24 LOC McCabe index: 2 number of parameters: 3 id: 300 unit: def removeIfNull() file: support-models/src/main/scala/com/gu/support/encoding/JsonHelpers.scala start line: 37 end line: 66 size: 24 LOC McCabe index: 2 number of parameters: 1 id: 301 unit: private def trackContribution() file: support-payment-api/src/main/scala/backend/PaypalBackend.scala start line: 159 end line: 183 size: 24 LOC McCabe index: 3 number of parameters: 5 id: 302 unit: def track() file: support-payment-api/src/main/scala/backend/PaymentBackend.scala start line: 42 end line: 70 size: 24 LOC McCabe index: 3 number of parameters: 2 id: 303 unit: override def parametersByPathRequest() file: support-payment-api/src/main/scala/conf/StripeConfig.scala start line: 34 end line: 62 size: 24 LOC McCabe index: 1 number of parameters: 1 id: 304 unit: private def decodeBody[A]() file: support-modules/rest/src/main/scala/com/gu/rest/WebServiceHelper.scala start line: 112 end line: 137 size: 24 LOC McCabe index: 4 number of parameters: 1 id: 305 unit: private def getCreateSalesforceContactState() file: support-workers/src/main/scala/com/gu/support/workers/lambdas/CreatePaymentMethod.scala start line: 63 end line: 87 size: 24 LOC McCabe index: 3 number of parameters: 2 id: 306 unit: def toRetryException() file: support-workers/src/main/scala/com/gu/support/workers/exceptions/ErrorHandler.scala start line: 27 end line: 67 size: 24 LOC McCabe index: 19 number of parameters: 1 id: 307 unit: def setupWarningRequest() file: support-services/src/main/scala/com/gu/aws/AwsCloudWatchMetricSetup.scala start line: 8 end line: 31 size: 23 LOC McCabe index: 1 number of parameters: 1 id: 308 unit: export default function SvgExclamationAlternate() file: support-frontend/assets/components/svgs/exclamationAlternate.tsx start line: 3 end line: 25 size: 23 LOC McCabe index: 1 number of parameters: 0 id: 309 unit: export function SecurePadlock() file: support-frontend/assets/components/svgs/securePadlock.tsx start line: 6 end line: 28 size: 23 LOC McCabe index: 1 number of parameters: 2 id: 310 unit: export function PageScaffold() file: support-frontend/assets/components/page/pageScaffold.tsx start line: 37 end line: 60 size: 23 LOC McCabe index: 1 number of parameters: 4 id: 311 unit: function QuestionsContact() file: support-frontend/assets/components/questionsContact/questionsContact.tsx start line: 16 end line: 38 size: 23 LOC McCabe index: 2 number of parameters: 1 id: 312 unit: function userInBreakpoint() file: support-frontend/assets/helpers/abTests/abtest.ts start line: 439 end line: 466 size: 23 LOC McCabe index: 8 number of parameters: 1 id: 313 unit: void ifQmPermitted() file: support-frontend/assets/helpers/tracking/quantumMetric.ts start line: 325 end line: 347 size: 23 LOC McCabe index: 3 number of parameters: 1 id: 314 unit: function getStripeKeyForCountry() file: support-frontend/assets/helpers/forms/stripe.ts start line: 11 end line: 34 size: 23 LOC McCabe index: 5 number of parameters: 4 id: 315 unit: function formReducer() file: support-frontend/assets/pages/supporter-plus-landing/setup/legacyReducer.ts start line: 58 end line: 83 size: 23 LOC McCabe index: 4 number of parameters: 2 id: 316 unit: function TestimonialCtaSecondary() file: support-frontend/assets/pages/aus-moment-map/components/testimonialsContainer.tsx start line: 48 end line: 71 size: 23 LOC McCabe index: 1 number of parameters: 0 id: 317 unit: async function pollIfLessThanMaximumNumberOfTries() file: support-frontend/assets/pages/[countryGroupId]/components/createSubscription.ts start line: 103 end line: 125 size: 23 LOC McCabe index: 6 number of parameters: 1 id: 318 unit: def apply() file: support-frontend/app/filters/SetCookiesCheck.scala start line: 14 end line: 38 size: 23 LOC McCabe index: 6 number of parameters: 1 id: 319 unit: def init() file: support-frontend/app/monitoring/SentryLogging.scala start line: 16 end line: 41 size: 23 LOC McCabe index: 6 number of parameters: 1 id: 320 unit: def getUserDetailsFromEmail() file: support-frontend/app/services/HttpIdentityService.scala start line: 159 end line: 181 size: 23 LOC McCabe index: 1 number of parameters: 1 id: 321 unit: private def uriWithoutQuery() file: support-frontend/app/services/HttpIdentityService.scala start line: 231 end line: 255 size: 23 LOC McCabe index: 5 number of parameters: 1 id: 322 unit: def redirectContributionsCheckout() file: support-frontend/app/controllers/Application.scala start line: 492 end line: 521 size: 23 LOC McCabe index: 2 number of parameters: 1 id: 323 unit: private def createCheckoutSession() file: support-frontend/app/controllers/CreateSubscriptionController.scala start line: 136 end line: 159 size: 23 LOC McCabe index: 4 number of parameters: 5 id: 324 unit: def landing() file: support-frontend/app/controllers/SubscriptionsController.scala start line: 96 end line: 120 size: 23 LOC McCabe index: 1 number of parameters: 1 id: 325 unit: private def apply() file: support-payment-api/src/main/scala/backend/PaypalBackend.scala start line: 243 end line: 265 size: 23 LOC McCabe index: 1 number of parameters: 9 id: 326 unit: def confirmPaymentIntent() file: support-payment-api/src/main/scala/backend/StripeBackend.scala start line: 167 end line: 192 size: 23 LOC McCabe index: 3 number of parameters: 2 id: 327 unit: private def postPaymentTasks() file: support-payment-api/src/main/scala/backend/StripeBackend.scala start line: 229 end line: 252 size: 23 LOC McCabe index: 1 number of parameters: 5 id: 328 unit: private def validateRefundHook() file: support-payment-api/src/main/scala/backend/StripeBackend.scala start line: 288 end line: 313 size: 23 LOC McCabe index: 1 number of parameters: 1 id: 329 unit: private def send() file: support-modules/acquisition-events/src/main/scala/com/gu/support/acquisitions/bigquery/BigQueryService.scala start line: 51 end line: 73 size: 23 LOC McCabe index: 4 number of parameters: 1 id: 330 unit: def build() file: support-workers/src/main/scala/com/gu/emailservices/SupporterPlusEmailFields.scala start line: 18 end line: 41 size: 23 LOC McCabe index: 1 number of parameters: 1 id: 331 unit: def this() file: support-workers/src/main/scala/com/gu/support/workers/lambdas/SendThankYouEmail.scala start line: 29 end line: 53 size: 23 LOC McCabe index: 4 number of parameters: 0 id: 332 unit: def createStripePaymentMethod() file: support-workers/src/main/scala/com/gu/support/workers/lambdas/CreatePaymentMethod.scala start line: 121 end line: 144 size: 23 LOC McCabe index: 2 number of parameters: 2 id: 333 unit: def postQuery() file: supporter-product-data/src/main/scala/com/gu/services/ZuoraQuerierService.scala start line: 28 end line: 49 size: 22 LOC McCabe index: 3 number of parameters: 1 id: 334 unit: export default function SvgSquaresHeroMobile() file: support-frontend/assets/components/svgs/squaresHeroMobile.tsx start line: 1 end line: 22 size: 22 LOC McCabe index: 1 number of parameters: 0 id: 335 unit: function OfferStrapline() file: support-frontend/assets/components/page/offerStrapline.tsx start line: 54 end line: 76 size: 22 LOC McCabe index: 2 number of parameters: 5 id: 336 unit: function SquaresIntroduction() file: support-frontend/assets/components/introduction/squaresIntroduction.tsx start line: 16 end line: 37 size: 22 LOC McCabe index: 1 number of parameters: 1 id: 337 unit: export function SubscriptionsSurvey() file: support-frontend/assets/components/subscriptionCheckouts/subscriptionsSurvey/SubscriptionsSurvey.tsx start line: 17 end line: 39 size: 22 LOC McCabe index: 2 number of parameters: 2 id: 338 unit: export function StripeCardFormContainer() file: support-frontend/assets/components/stripeCardForm/stripeCardFormContainer.tsx start line: 40 end line: 101 size: 22 LOC McCabe index: 2 number of parameters: 0 id: 339 unit: function getContributionCartValueData() file: support-frontend/assets/helpers/redux/checkout/product/selectors/cartValue.ts start line: 7 end line: 31 size: 22 LOC McCabe index: 1 number of parameters: 1 id: 340 unit: export function selectCorrespondingProductOptionPrice() file: support-frontend/assets/helpers/redux/checkout/product/selectors/productPrice.ts start line: 71 end line: 92 size: 22 LOC McCabe index: 3 number of parameters: 1 id: 341 unit: function supportedPaymentMethods() file: support-frontend/assets/helpers/subscriptionsForms/supportedPaymentMethods.ts start line: 31 end line: 57 size: 22 LOC McCabe index: 3 number of parameters: 2 id: 342 unit: export function productCatalogGuardianAdLite() file: support-frontend/assets/helpers/productCatalog.ts start line: 482 end line: 503 size: 22 LOC McCabe index: 2 number of parameters: 0 id: 343 unit: function MarketingCopy() file: support-frontend/assets/pages/supporter-plus-thank-you/components/thankYouHeader/subheading.tsx start line: 23 end line: 44 size: 22 LOC McCabe index: 4 number of parameters: 4 id: 344 unit: export function OfferHeading() file: support-frontend/assets/pages/supporter-plus-thank-you/components/thankYouHeader/subheading.tsx start line: 181 end line: 202 size: 22 LOC McCabe index: 2 number of parameters: 0 id: 345 unit: priceWithoutPromotions: selectPriceForProduct() file: support-frontend/assets/pages/paper-subscription-checkout/components/paperOrderSummary/paperOrderSummary.tsx start line: 48 end line: 78 size: 22 LOC McCabe index: 5 number of parameters: 1 id: 346 unit: def passes() file: support-frontend/app/utils/CheckoutValidationRules.scala start line: 210 end line: 233 size: 22 LOC McCabe index: 7 number of parameters: 1 id: 347 unit: def promo() file: support-frontend/app/controllers/Promotions.scala start line: 33 end line: 55 size: 22 LOC McCabe index: 7 number of parameters: 1 id: 348 unit: def createPayment() file: support-payment-api/src/main/scala/backend/PaypalBackend.scala start line: 66 end line: 87 size: 22 LOC McCabe index: 4 number of parameters: 1 id: 349 unit: def sendMessage() file: support-payment-api/src/main/scala/services/SoftOptInsService.scala start line: 22 end line: 46 size: 22 LOC McCabe index: 4 number of parameters: 2 id: 350 unit: def validateFor() file: support-services/src/main/scala/com/gu/support/promotions/PromotionValidator.scala start line: 10 end line: 31 size: 21 LOC McCabe index: 1 number of parameters: 4 id: 351 unit: def signUpCustomerInDynamoDb() file: stripe-patrons-data/src/main/scala/com/gu/patrons/lambdas/PatronSignUpEventLambda.scala start line: 57 end line: 78 size: 21 LOC McCabe index: 4 number of parameters: 1 id: 352 unit: function PaymentMethodSelectorLegend() file: support-frontend/assets/components/paymentMethodSelector/paymentMethodSelector.tsx start line: 33 end line: 53 size: 21 LOC McCabe index: 1 number of parameters: 3 id: 353 unit: function DropDownButton() file: support-frontend/assets/components/subscriptionCheckouts/summary.tsx start line: 153 end line: 173 size: 21 LOC McCabe index: 3 number of parameters: 1 id: 354 unit: function RadioWithImage() file: support-frontend/assets/components/subscriptionCheckouts/paymentMethodSelector.tsx start line: 43 end line: 63 size: 21 LOC McCabe index: 1 number of parameters: 7 id: 355 unit: function DigitalPackshotShotHero() file: support-frontend/assets/components/packshots/digital-packshot-hero.tsx start line: 3 end line: 23 size: 21 LOC McCabe index: 1 number of parameters: 0 id: 356 unit: function ProductPageHero() file: support-frontend/assets/components/productPage/productPageHero/productPageHero.tsx start line: 89 end line: 109 size: 21 LOC McCabe index: 2 number of parameters: 5 id: 357 unit: async function confirmAccountDetails() file: support-frontend/assets/helpers/redux/checkout/payment/directDebit/thunks.ts start line: 30 end line: 53 size: 21 LOC McCabe index: 3 number of parameters: 2 id: 358 unit: function getAddressFieldsSlice() file: support-frontend/assets/helpers/redux/checkout/address/reducer.ts start line: 52 end line: 105 size: 21 LOC McCabe index: 2 number of parameters: 1 id: 359 unit: setInitialCommonState() file: support-frontend/assets/helpers/redux/commonState/reducer.ts start line: 28 end line: 48 size: 21 LOC McCabe index: 1 number of parameters: 2 id: 360 unit: function getPromotion() file: support-frontend/assets/helpers/productPrice/promotions.tsx start line: 79 end line: 104 size: 21 LOC McCabe index: 2 number of parameters: 5 id: 361 unit: fulfilmentOptions: getPaperFulfilmentOption() file: support-frontend/assets/helpers/subscriptionsForms/submit.ts start line: 120 end line: 142 size: 21 LOC McCabe index: 4 number of parameters: 2 id: 362 unit: function setCsrCustomerData() file: support-frontend/assets/helpers/subscriptionsForms/formActionCreators.ts start line: 96 end line: 119 size: 21 LOC McCabe index: 9 number of parameters: 2 id: 363 unit: gaId: getCookie() file: support-frontend/assets/helpers/tracking/acquisitions.ts start line: 244 end line: 280 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 364 unit: export function getContributionAnnualValue() file: support-frontend/assets/helpers/tracking/quantumMetricHelpers.ts start line: 85 end line: 107 size: 21 LOC McCabe index: 4 number of parameters: 3 id: 365 unit: onClick: sendTrackingEventsOnClick() file: support-frontend/assets/pages/weekly-subscription-landing/components/weeklyProductPrices.tsx start line: 159 end line: 182 size: 21 LOC McCabe index: 3 number of parameters: 1 id: 366 unit: function LandingPageBanner() file: support-frontend/assets/pages/supporter-plus-landing/components/landingPageBanners.tsx start line: 108 end line: 128 size: 21 LOC McCabe index: 1 number of parameters: 5 id: 367 unit: override protected def onBadRequest() file: support-frontend/app/lib/CustomHttpErrorHandler.scala start line: 71 end line: 95 size: 21 LOC McCabe index: 3 number of parameters: 2 id: 368 unit: def retrieveToken() file: support-frontend/app/services/PayPalNvpService.scala start line: 80 end line: 101 size: 21 LOC McCabe index: 2 number of parameters: 2 id: 369 unit: def status() file: support-frontend/app/services/stepfunctions/SupportWorkersClient.scala start line: 204 end line: 227 size: 21 LOC McCabe index: 1 number of parameters: 2 id: 370 unit: def getProductRatePlanIdsForCountryGroup() file: support-frontend/app/controllers/LandingCopyProvider.scala start line: 30 end line: 50 size: 21 LOC McCabe index: 7 number of parameters: 3 id: 371 unit: function Template() file: support-frontend/stories/checkouts/thankYouModule.stories.tsx start line: 104 end line: 124 size: 21 LOC McCabe index: 1 number of parameters: 1 id: 372 unit: def validateWebhookEvent() file: support-payment-api/src/main/scala/services/PaypalService.scala start line: 64 end line: 85 size: 21 LOC McCabe index: 2 number of parameters: 3 id: 373 unit: alarmName: alarmName() file: cdk/lib/frontend.ts start line: 370 end line: 390 size: 21 LOC McCabe index: 1 number of parameters: 1 id: 374 unit: def asFlattenedPairs() file: support-workers/src/main/scala/com/gu/emailservices/DigitalPackEmailFields.scala start line: 226 end line: 247 size: 21 LOC McCabe index: 7 number of parameters: 1 id: 375 unit: def send() file: support-workers/src/main/scala/com/gu/emailservices/EmailService.scala start line: 26 end line: 46 size: 21 LOC McCabe index: 3 number of parameters: 1 id: 376 unit: def this() file: support-workers/src/main/scala/com/gu/support/workers/lambdas/CreatePaymentMethod.scala start line: 21 end line: 42 size: 21 LOC McCabe index: 1 number of parameters: 0 id: 377 unit: def build() file: support-workers/src/main/scala/com/gu/zuora/subscriptionBuilders/SubscribeItemBuilder.scala start line: 22 end line: 42 size: 21 LOC McCabe index: 1 number of parameters: 4 id: 378 unit: def getCustomer() file: stripe-patrons-data/src/main/scala/com/gu/patrons/lambdas/PatronCancelledEventLambda.scala start line: 147 end line: 166 size: 20 LOC McCabe index: 3 number of parameters: 3 id: 379 unit: def getCustomer() file: stripe-patrons-data/src/main/scala/com/gu/patrons/lambdas/PatronSignUpEventLambda.scala start line: 120 end line: 139 size: 20 LOC McCabe index: 3 number of parameters: 3 id: 380 unit: export function OrderSummaryStartDate() file: support-frontend/assets/components/orderSummary/orderSummaryTsAndCs.tsx start line: 51 end line: 70 size: 20 LOC McCabe index: 4 number of parameters: 3 id: 381 unit: export default function SvgDropdownArrow() file: support-frontend/assets/components/svgs/dropdownArrow.tsx start line: 1 end line: 20 size: 20 LOC McCabe index: 1 number of parameters: 0 id: 382 unit: function AddressSelector() file: support-frontend/assets/components/subscriptionCheckouts/address/postcodeFinder.tsx start line: 101 end line: 128 size: 20 LOC McCabe index: 1 number of parameters: 2 id: 383 unit: function Text() file: support-frontend/assets/components/text/text.tsx start line: 17 end line: 36 size: 20 LOC McCabe index: 3 number of parameters: 5 id: 384 unit: static fromPath() file: support-frontend/assets/helpers/internationalisation/classes/countryGroup.ts start line: 22 end line: 42 size: 20 LOC McCabe index: 15 number of parameters: 1 id: 385 unit: static fromString() file: support-frontend/assets/helpers/internationalisation/classes/countryGroup.ts start line: 44 end line: 70 size: 20 LOC McCabe index: 8 number of parameters: 1 id: 386 unit: export function getFallbackAmounts() file: support-frontend/assets/helpers/abTests/helpers.ts start line: 265 end line: 285 size: 20 LOC McCabe index: 3 number of parameters: 1 id: 387 unit: function addTagManagerScript() file: support-frontend/assets/helpers/tracking/googleTagManager.ts start line: 176 end line: 203 size: 20 LOC McCabe index: 2 number of parameters: 0 id: 388 unit: function sendEvent() file: support-frontend/assets/helpers/tracking/quantumMetric.ts start line: 106 end line: 130 size: 20 LOC McCabe index: 4 number of parameters: 4 id: 389 unit: function paymentResultFromObject() file: support-frontend/assets/helpers/forms/paymentIntegrations/oneOffContributions.ts start line: 133 end line: 154 size: 20 LOC McCabe index: 3 number of parameters: 1 id: 390 unit: contributionType: picklist() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 189 end line: 209 size: 20 LOC McCabe index: 1 number of parameters: 3 id: 391 unit: export function productCatalogDescriptionNewBenefits() file: support-frontend/assets/helpers/productCatalog.ts start line: 461 end line: 480 size: 20 LOC McCabe index: 2 number of parameters: 1 id: 392 unit: function SubscriptionsLandingPage() file: support-frontend/assets/pages/subscriptions-landing/subscriptionsLanding.tsx start line: 16 end line: 35 size: 20 LOC McCabe index: 1 number of parameters: 5 id: 393 unit: onView: sendTrackingEventsOnView() file: support-frontend/assets/pages/weekly-subscription-landing/components/weeklyProductPrices.tsx start line: 160 end line: 182 size: 20 LOC McCabe index: 3 number of parameters: 1 id: 394 unit: function StandardTerms() file: support-frontend/assets/pages/promotion-terms/weeklyTerms.tsx start line: 98 end line: 118 size: 20 LOC McCabe index: 3 number of parameters: 1 id: 395 unit: offerCopy: getOfferText() file: support-frontend/assets/pages/paper-subscription-landing/components/paperProductPrices.tsx start line: 187 end line: 208 size: 20 LOC McCabe index: 2 number of parameters: 2 id: 396 unit: private def getParameterStoreConfig() file: support-frontend/app/wiring/AppLoader.scala start line: 24 end line: 47 size: 20 LOC McCabe index: 5 number of parameters: 1 id: 397 unit: def getAndSetSettings() file: support-frontend/app/admin/settings/SettingsProvider.scala start line: 91 end line: 114 size: 20 LOC McCabe index: 1 number of parameters: 0 id: 398 unit: private def standardDirectives() file: support-frontend/app/actions/CacheControl.scala start line: 22 end line: 43 size: 20 LOC McCabe index: 1 number of parameters: 3 id: 399 unit: def buildSuccessUrl() file: support-frontend/app/services/StripeCheckoutSessionService.scala start line: 100 end line: 124 size: 20 LOC McCabe index: 6 number of parameters: 1 id: 400 unit: def checkBankDetails() file: support-frontend/app/services/GoCardlessFrontendService.scala start line: 23 end line: 42 size: 20 LOC McCabe index: 3 number of parameters: 1 id: 401 unit: def authorize() file: support-frontend/app/controllers/AuthCodeFlowController.scala start line: 52 end line: 77 size: 20 LOC McCabe index: 1 number of parameters: 0 id: 402 unit: def getProductRatePlan[T <: Product]() file: support-models/src/main/scala/com/gu/support/catalog/Product.scala start line: 14 end line: 33 size: 20 LOC McCabe index: 7 number of parameters: 5 id: 403 unit: def handler() file: support-lambdas/bigquery-acquisitions-publisher/src/main/scala/com/gu/bigqueryAcquisitionsPublisher/Lambda.scala start line: 22 end line: 46 size: 20 LOC McCabe index: 4 number of parameters: 1 id: 404 unit: private def buildPaypalTransactions() file: support-payment-api/src/main/scala/services/PaypalService.scala start line: 91 end line: 116 size: 20 LOC McCabe index: 1 number of parameters: 2 id: 405 unit: alarmName: alarmName() file: cdk/lib/frontend.ts start line: 186 end line: 205 size: 20 LOC McCabe index: 1 number of parameters: 1 id: 406 unit: alarmName: alarmName() file: cdk/lib/frontend.ts start line: 320 end line: 339 size: 20 LOC McCabe index: 1 number of parameters: 1 id: 407 unit: def build() file: support-workers/src/main/scala/com/gu/emailservices/ContributionEmailFields.scala start line: 16 end line: 36 size: 20 LOC McCabe index: 1 number of parameters: 1 id: 408 unit: def build() file: support-workers/src/main/scala/com/gu/support/workers/lambdas/CreateSalesforceContact.scala start line: 51 end line: 70 size: 20 LOC McCabe index: 10 number of parameters: 1 id: 409 unit: def parseResponseToResult() file: support-workers/src/main/scala/com/gu/salesforce/SalesforceService.scala start line: 55 end line: 75 size: 20 LOC McCabe index: 4 number of parameters: 1 id: 410 unit: export function Padlock() file: support-frontend/assets/components/svgs/padlock.tsx start line: 1 end line: 19 size: 19 LOC McCabe index: 1 number of parameters: 0 id: 411 unit: export default function SvgSubscribed() file: support-frontend/assets/components/svgs/subscribed.tsx start line: 3 end line: 21 size: 19 LOC McCabe index: 1 number of parameters: 0 id: 412 unit: function CheckoutLayout() file: support-frontend/assets/components/subscriptionCheckouts/layout.tsx start line: 23 end line: 41 size: 19 LOC McCabe index: 4 number of parameters: 5 id: 413 unit: export function addProductSideEffects() file: support-frontend/assets/helpers/redux/checkout/product/contributionsSideEffects.ts start line: 32 end line: 140 size: 19 LOC McCabe index: 1 number of parameters: 1 id: 414 unit: export function setUpUserState() file: support-frontend/assets/helpers/user/reduxSetup.ts start line: 13 end line: 34 size: 19 LOC McCabe index: 4 number of parameters: 1 id: 415 unit: void ifQmPermitted() file: support-frontend/assets/helpers/tracking/quantumMetric.ts start line: 189 end line: 209 size: 19 LOC McCabe index: 3 number of parameters: 1 id: 416 unit: function sendEventABTestParticipations() file: support-frontend/assets/helpers/tracking/quantumMetric.ts start line: 419 end line: 451 size: 19 LOC McCabe index: 3 number of parameters: 1 id: 417 unit: oneOffPaymentMethods: record() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 80 end line: 98 size: 19 LOC McCabe index: 1 number of parameters: 1 id: 418 unit: function getRequestOptions() file: support-frontend/assets/helpers/async/fetch.ts start line: 26 end line: 45 size: 19 LOC McCabe index: 2 number of parameters: 2 id: 419 unit: export function getLowerProductBenefitThreshold() file: support-frontend/assets/helpers/supporterPlus/benefitsThreshold.ts start line: 8 end line: 26 size: 19 LOC McCabe index: 5 number of parameters: 4 id: 420 unit: function getAcquisitionData() file: support-frontend/assets/pages/[countryGroupId]/components/oneTimeCheckoutComponent.tsx start line: 207 end line: 225 size: 19 LOC McCabe index: 2 number of parameters: 3 id: 421 unit: cancelURL: payPalCancelUrl() file: support-frontend/assets/pages/[countryGroupId]/components/oneTimeCheckoutComponent.tsx start line: 391 end line: 414 size: 19 LOC McCabe index: 4 number of parameters: 1 id: 422 unit: def getCookies() file: support-frontend/app/models/identity/responses/SetGuestPasswordResponseCookie.scala start line: 32 end line: 50 size: 19 LOC McCabe index: 1 number of parameters: 2 id: 423 unit: def getDefaultPromoCodes() file: support-frontend/app/services/pricing/PriceSummaryService.scala start line: 37 end line: 56 size: 19 LOC McCabe index: 3 number of parameters: 1 id: 424 unit: def apply() file: support-frontend/app/services/StripeSetupIntentService.scala start line: 42 end line: 62 size: 19 LOC McCabe index: 1 number of parameters: 1 id: 425 unit: function Template() file: support-frontend/stories/checkoutLayout/Container.stories.tsx start line: 26 end line: 44 size: 19 LOC McCabe index: 1 number of parameters: 1 id: 426 unit: private def productRatePlan() file: support-models/src/main/scala/com/gu/support/catalog/Product.scala start line: 113 end line: 133 size: 19 LOC McCabe index: 2 number of parameters: 1 id: 427 unit: private def productRatePlan() file: support-models/src/main/scala/com/gu/support/catalog/Product.scala start line: 134 end line: 154 size: 19 LOC McCabe index: 2 number of parameters: 3 id: 428 unit: private def trackContribution() file: support-payment-api/src/main/scala/backend/StripeBackend.scala start line: 254 end line: 274 size: 19 LOC McCabe index: 1 number of parameters: 4 id: 429 unit: override def parametersByPathRequest() file: support-payment-api/src/main/scala/conf/GoCardlessConfig.scala start line: 18 end line: 37 size: 19 LOC McCabe index: 3 number of parameters: 1 id: 430 unit: override protected def onBadRequest() file: support-payment-api/src/main/scala/controllers/ErrorHandler.scala start line: 40 end line: 62 size: 19 LOC McCabe index: 1 number of parameters: 2 id: 431 unit: alarmName: alarmName() file: cdk/lib/frontend.ts start line: 211 end line: 229 size: 19 LOC McCabe index: 1 number of parameters: 1 id: 432 unit: alarmName: alarmName() file: cdk/lib/frontend.ts start line: 236 end line: 254 size: 19 LOC McCabe index: 1 number of parameters: 1 id: 433 unit: alarmName: alarmName() file: cdk/lib/frontend.ts start line: 260 end line: 278 size: 19 LOC McCabe index: 1 number of parameters: 1 id: 434 unit: def decodeError() file: support-modules/rest/src/main/scala/com/gu/rest/WebServiceHelper.scala start line: 140 end line: 160 size: 19 LOC McCabe index: 1 number of parameters: 1 id: 435 unit: private def sendEmail() file: support-workers/src/main/scala/com/gu/support/workers/lambdas/FailureHandler.scala start line: 40 end line: 58 size: 19 LOC McCabe index: 8 number of parameters: 1 id: 436 unit: def subscribe() file: support-workers/src/main/scala/com/gu/zuora/productHandlers/ZuoraGuardianAdLiteHandler.scala start line: 20 end line: 40 size: 19 LOC McCabe index: 2 number of parameters: 3 id: 437 unit: def build() file: support-workers/src/main/scala/com/gu/zuora/subscriptionBuilders/GuardianAdLiteSubscriptionBuilder.scala start line: 16 end line: 36 size: 19 LOC McCabe index: 1 number of parameters: 3 id: 438 unit: private def writeItemToDynamo() file: supporter-product-data/src/main/scala/com/gu/lambdas/ProcessSupporterRatePlanItemLambda.scala start line: 70 end line: 88 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 439 unit: def cancelCustomerInDynamoDb() file: stripe-patrons-data/src/main/scala/com/gu/patrons/lambdas/PatronCancelledEventLambda.scala start line: 57 end line: 75 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 440 unit: def getAPIGatewayResult() file: stripe-patrons-data/src/main/scala/com/gu/patrons/lambdas/PatronSignUpEventLambda.scala start line: 80 end line: 97 size: 18 LOC McCabe index: 4 number of parameters: 2 id: 441 unit: export function SepaFormContainer() file: support-frontend/assets/components/sepaForm/SepaFormContainer.tsx start line: 17 end line: 52 size: 18 LOC McCabe index: 1 number of parameters: 2 id: 442 unit: function handleErrors() file: support-frontend/assets/components/subscriptionCheckouts/address/postcodeLookup.ts start line: 10 end line: 28 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 443 unit: export function DefaultPaymentButton() file: support-frontend/assets/components/paymentButton/defaultPaymentButton.tsx start line: 23 end line: 40 size: 18 LOC McCabe index: 1 number of parameters: 3 id: 444 unit: function onCardFieldChange() file: support-frontend/assets/components/stripeCardForm/stripeCardFormContainer.tsx start line: 49 end line: 66 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 445 unit: function fetchSignInLink() file: support-frontend/assets/components/thankYou/signIn/signInItems.tsx start line: 157 end line: 175 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 446 unit: export function createSliceValidatorFor() file: support-frontend/assets/helpers/redux/utils/validation/errors.ts start line: 45 end line: 62 size: 18 LOC McCabe index: 3 number of parameters: 2 id: 447 unit: function fromString() file: support-frontend/assets/helpers/internationalisation/currency.ts start line: 97 end line: 120 size: 18 LOC McCabe index: 7 number of parameters: 1 id: 448 unit: static stateProvinceFieldFromString() file: support-frontend/assets/helpers/internationalisation/classes/country.ts start line: 64 end line: 85 size: 18 LOC McCabe index: 5 number of parameters: 2 id: 449 unit: static stateProvinceFromString() file: support-frontend/assets/helpers/internationalisation/classes/country.ts start line: 87 end line: 108 size: 18 LOC McCabe index: 5 number of parameters: 2 id: 450 unit: export function useAbandonedBasketCookie() file: support-frontend/assets/helpers/storage/abandonedBasketCookies.ts start line: 28 end line: 58 size: 18 LOC McCabe index: 3 number of parameters: 5 id: 451 unit: function getAddresses() file: support-frontend/assets/helpers/subscriptionsForms/submit.ts start line: 67 end line: 87 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 452 unit: function getTestFromAcquisitionData() file: support-frontend/assets/helpers/abTests/abtest.ts start line: 398 end line: 418 size: 18 LOC McCabe index: 4 number of parameters: 0 id: 453 unit: function assignUserToVariant() file: support-frontend/assets/helpers/abTests/abtest.ts start line: 545 end line: 571 size: 18 LOC McCabe index: 3 number of parameters: 3 id: 454 unit: void ifQmPermitted() file: support-frontend/assets/helpers/tracking/quantumMetric.ts start line: 296 end line: 315 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 455 unit: function paperSubsUrl() file: support-frontend/assets/helpers/urls/routes.ts start line: 63 end line: 83 size: 18 LOC McCabe index: 4 number of parameters: 2 id: 456 unit: export function toPaymentMethodSwitchNaming() file: support-frontend/assets/helpers/forms/paymentMethods.ts start line: 51 end line: 73 size: 18 LOC McCabe index: 7 number of parameters: 1 id: 457 unit: function toPaymentMethodSwitchNaming() file: support-frontend/assets/helpers/forms/checkouts.ts start line: 29 end line: 51 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 458 unit: payment: setupPayment() file: support-frontend/assets/helpers/forms/paymentIntegrations/payPalRecurringCheckout.ts start line: 191 end line: 209 size: 18 LOC McCabe index: 1 number of parameters: 5 id: 459 unit: switches: object() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 79 end line: 96 size: 18 LOC McCabe index: 1 number of parameters: 1 id: 460 unit: recurringPaymentMethods: record() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 81 end line: 98 size: 18 LOC McCabe index: 1 number of parameters: 1 id: 461 unit: testName: string() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 99 end line: 116 size: 18 LOC McCabe index: 1 number of parameters: 0 id: 462 unit: function getCountryPrice() file: support-frontend/assets/pages/promotion-terms/weeklyTerms.tsx start line: 54 end line: 71 size: 18 LOC McCabe index: 2 number of parameters: 2 id: 463 unit: function LocationMarker() file: support-frontend/assets/pages/aus-moment-map/components/testimonialsContainer.tsx start line: 99 end line: 116 size: 18 LOC McCabe index: 1 number of parameters: 0 id: 464 unit: function getFinalAmount() file: support-frontend/assets/pages/[countryGroupId]/components/oneTimeCheckoutComponent.tsx start line: 188 end line: 205 size: 18 LOC McCabe index: 6 number of parameters: 5 id: 465 unit: function ErrorMessage() file: support-frontend/assets/pages/paper-subscription-checkout/components/deliveryAgentsSelect.tsx start line: 118 end line: 135 size: 18 LOC McCabe index: 1 number of parameters: 2 id: 466 unit: def validate() file: support-frontend/app/utils/CheckoutValidationRules.scala start line: 104 end line: 121 size: 18 LOC McCabe index: 12 number of parameters: 1 id: 467 unit: override def onClientError() file: support-frontend/app/lib/CustomHttpErrorHandler.scala start line: 33 end line: 51 size: 18 LOC McCabe index: 1 number of parameters: 3 id: 468 unit: override protected def fromDefaultAndRaw() file: support-frontend/app/actions/UserFromAuthCookiesActionBuilder.scala start line: 206 end line: 224 size: 18 LOC McCabe index: 3 number of parameters: 2 id: 469 unit: def renameField() file: support-models/src/main/scala/com/gu/support/encoding/JsonHelpers.scala start line: 15 end line: 35 size: 18 LOC McCabe index: 2 number of parameters: 2 id: 470 unit: def fromStripeApiError() file: support-payment-api/src/main/scala/model/CheckoutErrorResponse.scala start line: 23 end line: 44 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 471 unit: def toJson() file: support-payment-api/src/main/scala/services/ContributionsStoreService.scala start line: 69 end line: 89 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 472 unit: alarmName: alarmName() file: cdk/lib/frontend.ts start line: 163 end line: 180 size: 18 LOC McCabe index: 1 number of parameters: 1 id: 473 unit: alarmDescription: alarmDescription() file: cdk/lib/frontend.ts start line: 212 end line: 229 size: 18 LOC McCabe index: 1 number of parameters: 1 id: 474 unit: alarmName: alarmName() file: cdk/lib/frontend.ts start line: 346 end line: 363 size: 18 LOC McCabe index: 1 number of parameters: 1 id: 475 unit: alarmDescription: alarmDescription() file: cdk/lib/frontend.ts start line: 373 end line: 390 size: 18 LOC McCabe index: 1 number of parameters: 1 id: 476 unit: alarmName: alarmName() file: cdk/lib/frontend.ts start line: 397 end line: 414 size: 18 LOC McCabe index: 1 number of parameters: 1 id: 477 unit: private def createPaymentMethod() file: support-workers/src/main/scala/com/gu/support/workers/lambdas/CreatePaymentMethod.scala start line: 44 end line: 61 size: 18 LOC McCabe index: 7 number of parameters: 2 id: 478 unit: def preview() file: support-workers/src/main/scala/com/gu/zuora/ZuoraSubscriptionCreator.scala start line: 23 end line: 41 size: 18 LOC McCabe index: 2 number of parameters: 2 id: 479 unit: def subscribeIfApplicable() file: support-workers/src/main/scala/com/gu/zuora/ZuoraSubscriptionCreator.scala start line: 57 end line: 74 size: 18 LOC McCabe index: 4 number of parameters: 3 id: 480 unit: def getProductRatePlan() file: support-services/src/main/scala/com/gu/support/catalog/CatalogService.scala start line: 16 end line: 35 size: 17 LOC McCabe index: 2 number of parameters: 5 id: 481 unit: private def findParameterOrThrow() file: supporter-product-data/src/main/scala/com/gu/services/ConfigService.scala start line: 76 end line: 95 size: 17 LOC McCabe index: 1 number of parameters: 2 id: 482 unit: def getSubscriptions() file: stripe-patrons-data/src/main/scala/com/gu/patrons/services/PatronsStripeService.scala start line: 23 end line: 39 size: 17 LOC McCabe index: 1 number of parameters: 4 id: 483 unit: def writeToDynamo() file: stripe-patrons-data/src/main/scala/com/gu/patrons/services/StripeSubscriptionsProcessor.scala start line: 59 end line: 75 size: 17 LOC McCabe index: 1 number of parameters: 2 id: 484 unit: export default function SvgMenu() file: support-frontend/assets/components/svgs/menu.tsx start line: 1 end line: 17 size: 17 LOC McCabe index: 1 number of parameters: 0 id: 485 unit: export default function LeftMarginSection() file: support-frontend/assets/components/leftMarginSection/leftMarginSection.tsx start line: 14 end line: 30 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 486 unit: function VeggieBurgerButton() file: support-frontend/assets/components/headers/veggieBurgerButton/veggieBurgerButton.tsx start line: 13 end line: 29 size: 17 LOC McCabe index: 1 number of parameters: 4 id: 487 unit: function CsrBanner() file: support-frontend/assets/components/csr/csrBanner.tsx start line: 20 end line: 38 size: 17 LOC McCabe index: 2 number of parameters: 0 id: 488 unit: function onRecaptchaCompleted() file: support-frontend/assets/components/stripeCardForm/stripeCardFormContainer.tsx start line: 68 end line: 85 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 489 unit: function sortedOptions() file: support-frontend/assets/components/forms/customFields/sortedOptions.tsx start line: 5 end line: 21 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 490 unit: export function AusMapCTA() file: support-frontend/assets/components/thankYou/ausMap/ausMapItems.tsx start line: 16 end line: 32 size: 17 LOC McCabe index: 1 number of parameters: 0 id: 491 unit: function ThankYouModules() file: support-frontend/assets/components/thankYou/thankyouModules.tsx start line: 28 end line: 44 size: 17 LOC McCabe index: 1 number of parameters: 4 id: 492 unit: export default function Heading() file: support-frontend/assets/components/heading/heading.tsx start line: 13 end line: 34 size: 17 LOC McCabe index: 7 number of parameters: 1 id: 493 unit: function HeroWrapper() file: support-frontend/assets/components/productPage/productPageHero/productPageHero.tsx start line: 35 end line: 51 size: 17 LOC McCabe index: 1 number of parameters: 5 id: 494 unit: function PageSection() file: support-frontend/assets/components/pageSection/pageSection.tsx start line: 15 end line: 31 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 495 unit: campaign: getCampaign() file: support-frontend/assets/helpers/redux/utils/setup.ts start line: 42 end line: 60 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 496 unit: export function getSliceErrorsFromZodResult() file: support-frontend/assets/helpers/redux/utils/validation/errors.ts start line: 14 end line: 30 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 497 unit: export function initReduxForContributions() file: support-frontend/assets/helpers/redux/contributionsStore.ts start line: 42 end line: 59 size: 17 LOC McCabe index: 2 number of parameters: 2 id: 498 unit: rule: isSaturdayOrSundayDeliveryAvailable() file: support-frontend/assets/helpers/redux/checkout/address/validation.ts start line: 171 end line: 190 size: 17 LOC McCabe index: 2 number of parameters: 3 id: 499 unit: function getAbParticipations() file: support-frontend/assets/helpers/page/page.ts start line: 27 end line: 44 size: 17 LOC McCabe index: 1 number of parameters: 0 id: 500 unit: function getProductPrice() file: support-frontend/assets/helpers/productPrice/productPrices.ts start line: 55 end line: 74 size: 17 LOC McCabe index: 2 number of parameters: 5 id: 501 unit: function getGiftRecipient() file: support-frontend/assets/helpers/subscriptionsForms/submit.ts start line: 149 end line: 165 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 502 unit: ophanIds: getOphanIds() file: support-frontend/assets/helpers/subscriptionsForms/submit.ts start line: 223 end line: 240 size: 17 LOC McCabe index: 1 number of parameters: 0 id: 503 unit: function addressActionCreatorsFor() file: support-frontend/assets/helpers/subscriptionsForms/formActionCreators.ts start line: 121 end line: 137 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 504 unit: error: formError() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 171 end line: 188 size: 17 LOC McCabe index: 2 number of parameters: 2 id: 505 unit: export function getLandingPageVariant() file: support-frontend/assets/helpers/abTests/landingPageAbTests.ts start line: 196 end line: 213 size: 17 LOC McCabe index: 4 number of parameters: 2 id: 506 unit: void ifQmPermitted() file: support-frontend/assets/helpers/tracking/quantumMetric.ts start line: 356 end line: 372 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 507 unit: void ifQmPermitted() file: support-frontend/assets/helpers/tracking/quantumMetric.ts start line: 384 end line: 400 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 508 unit: export function getConvertedValue() file: support-frontend/assets/helpers/tracking/quantumMetricHelpers.ts start line: 66 end line: 82 size: 17 LOC McCabe index: 2 number of parameters: 2 id: 509 unit: function getStripeKeyForProduct() file: support-frontend/assets/helpers/forms/stripe.ts start line: 36 end line: 52 size: 17 LOC McCabe index: 6 number of parameters: 4 id: 510 unit: export const isEmpty:() file: support-frontend/assets/helpers/forms/formValidation.ts start line: 9 end line: 29 size: 17 LOC McCabe index: 5 number of parameters: 1 id: 511 unit: liveTestName: optional() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 100 end line: 116 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 512 unit: export function getCampaignSettings() file: support-frontend/assets/helpers/campaigns/campaigns.tsx start line: 43 end line: 59 size: 17 LOC McCabe index: 6 number of parameters: 2 id: 513 unit: function WeeklyProductPrices() file: support-frontend/assets/pages/weekly-subscription-landing/components/weeklyProductPrices.tsx start line: 206 end line: 224 size: 17 LOC McCabe index: 2 number of parameters: 5 id: 514 unit: function Benefits() file: support-frontend/assets/pages/weekly-subscription-landing/components/content/benefits.tsx start line: 28 end line: 44 size: 17 LOC McCabe index: 1 number of parameters: 0 id: 515 unit: unavailableOutsideLondon: getUnavailableOutsideLondon() file: support-frontend/assets/pages/paper-subscription-landing/components/paperProductPrices.tsx start line: 190 end line: 208 size: 17 LOC McCabe index: 2 number of parameters: 2 id: 516 unit: function PaperProductPrices() file: support-frontend/assets/pages/paper-subscription-landing/components/paperProductPrices.tsx start line: 203 end line: 220 size: 17 LOC McCabe index: 2 number of parameters: 4 id: 517 unit: function paymentResultThankyouRoute() file: support-frontend/assets/pages/[countryGroupId]/components/oneTimeCheckoutComponent.tsx start line: 525 end line: 542 size: 17 LOC McCabe index: 6 number of parameters: 3 id: 518 unit: function GreenDeliverySummary() file: support-frontend/assets/pages/paper-subscription-checkout/components/deliveryAgentsSelect.tsx start line: 198 end line: 216 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 519 unit: def checkPaymentMethodEnabled() file: support-frontend/app/utils/CheckoutValidationRules.scala start line: 86 end line: 102 size: 17 LOC McCabe index: 3 number of parameters: 3 id: 520 unit: override def load() file: support-frontend/app/wiring/AppLoader.scala start line: 49 end line: 69 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 521 unit: def fromConfig() file: support-frontend/app/admin/settings/SettingsProvider.scala start line: 51 end line: 67 size: 17 LOC McCabe index: 2 number of parameters: 2 id: 522 unit: private def responseWithUser[A]() file: support-frontend/app/actions/UserFromAuthCookiesActionBuilder.scala start line: 172 end line: 191 size: 17 LOC McCabe index: 1 number of parameters: 2 id: 523 unit: private def getPromotionSummary() file: support-frontend/app/services/pricing/PriceSummaryService.scala start line: 99 end line: 115 size: 17 LOC McCabe index: 1 number of parameters: 3 id: 524 unit: private def dynamoToJson() file: support-frontend/app/services/LandingPageTestService.scala start line: 35 end line: 57 size: 17 LOC McCabe index: 7 number of parameters: 1 id: 525 unit: private def postPaypalData[A]() file: support-frontend/app/services/PaymentAPIService.scala start line: 59 end line: 77 size: 17 LOC McCabe index: 2 number of parameters: 3 id: 526 unit: private def buildCountryGroupPriceData() file: support-frontend/app/controllers/PricesController.scala start line: 102 end line: 119 size: 17 LOC McCabe index: 1 number of parameters: 3 id: 527 unit: private def adFreeCookie() file: support-frontend/app/controllers/SubscriptionProductCookiesCreator.scala start line: 24 end line: 50 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 528 unit: def ausMomentMap() file: support-frontend/app/controllers/Application.scala start line: 406 end line: 422 size: 17 LOC McCabe index: 1 number of parameters: 0 id: 529 unit: private def validateUserIsEligibleForPurchase() file: support-frontend/app/controllers/CreateSubscriptionController.scala start line: 235 end line: 251 size: 17 LOC McCabe index: 4 number of parameters: 2 id: 530 unit: export function Nav() file: support-frontend/stories/nav/Nav.stories.tsx start line: 35 end line: 51 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 531 unit: def fromSubscribe() file: support-models/src/main/scala/com/gu/support/zuora/api/PreviewSubscribeRequest.scala start line: 24 end line: 41 size: 17 LOC McCabe index: 1 number of parameters: 2 id: 532 unit: override def handleRequest() file: support-lambdas/stripe-intent/src/main/scala/com/gu/handler/JsonLambda.scala start line: 29 end line: 45 size: 17 LOC McCabe index: 2 number of parameters: 3 id: 533 unit: def fromStripeException() file: support-payment-api/src/main/scala/model/stripe/StripeApiError.scala start line: 46 end line: 68 size: 17 LOC McCabe index: 7 number of parameters: 2 id: 534 unit: override def parametersByPathRequest() file: support-payment-api/src/main/scala/conf/PaypalConfig.scala start line: 18 end line: 35 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 535 unit: private def sendRequest() file: support-payment-api/src/main/scala/services/SoftOptInsService.scala start line: 48 end line: 67 size: 17 LOC McCabe index: 1 number of parameters: 2 id: 536 unit: def verify() file: support-payment-api/src/main/scala/services/RecaptchaService.scala start line: 24 end line: 40 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 537 unit: alarmDescription: alarmDescription() file: cdk/lib/frontend.ts start line: 164 end line: 180 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 538 unit: alarmDescription: alarmDescription() file: cdk/lib/frontend.ts start line: 189 end line: 205 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 539 unit: alarmDescription: alarmDescription() file: cdk/lib/frontend.ts start line: 323 end line: 339 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 540 unit: alarmDescription: alarmDescription() file: cdk/lib/frontend.ts start line: 347 end line: 363 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 541 unit: alarmDescription: alarmDescription() file: cdk/lib/frontend.ts start line: 398 end line: 414 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 542 unit: def fromString() file: support-modules/acquisition-events/src/main/scala/com/gu/support/acquisitions/models/AcquisitionDataRow.scala start line: 119 end line: 135 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 543 unit: def build() file: support-workers/src/main/scala/com/gu/emailservices/GuardianAdLiteEmailFields.scala start line: 19 end line: 37 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 544 unit: def apply() file: support-workers/src/main/scala/com/gu/support/workers/GetSubscriptionWithCurrentRequestId.scala start line: 15 end line: 31 size: 17 LOC McCabe index: 2 number of parameters: 4 id: 545 unit: def handleRequestFuture() file: support-workers/src/main/scala/com/gu/support/workers/lambdas/Handler.scala start line: 61 end line: 78 size: 17 LOC McCabe index: 3 number of parameters: 3 id: 546 unit: override protected def servicesHandler() file: support-workers/src/main/scala/com/gu/support/workers/lambdas/CreateSalesforceContact.scala start line: 26 end line: 43 size: 17 LOC McCabe index: 2 number of parameters: 4 id: 547 unit: def subscribe() file: support-workers/src/main/scala/com/gu/zuora/productHandlers/ZuoraTierThreeHandler.scala start line: 19 end line: 35 size: 17 LOC McCabe index: 2 number of parameters: 3 id: 548 unit: def subscribe() file: support-workers/src/main/scala/com/gu/zuora/productHandlers/ZuoraGuardianWeeklyHandler.scala start line: 19 end line: 35 size: 17 LOC McCabe index: 2 number of parameters: 3 id: 549 unit: override def onError() file: supporter-product-data/src/main/scala/com/gu/AWSAsyncHandler.scala start line: 19 end line: 34 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 550 unit: override def onError() file: stripe-patrons-data/src/main/scala/com/gu/patrons/AWSAsyncHandler.scala start line: 19 end line: 34 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 551 unit: def processSubscriptions() file: stripe-patrons-data/src/main/scala/com/gu/patrons/lambdas/ProcessStripeSubscriptionsLambda.scala start line: 40 end line: 55 size: 16 LOC McCabe index: 1 number of parameters: 4 id: 552 unit: def processSubscriptions() file: stripe-patrons-data/src/main/scala/com/gu/patrons/services/StripeSubscriptionsProcessor.scala start line: 18 end line: 34 size: 16 LOC McCabe index: 3 number of parameters: 2 id: 553 unit: export function DropdownArrowUp() file: support-frontend/assets/components/svgs/dropDownArrowUp.tsx start line: 1 end line: 16 size: 16 LOC McCabe index: 1 number of parameters: 0 id: 554 unit: export default function GridPicture() file: support-frontend/assets/components/gridPicture/gridPicture.tsx start line: 26 end line: 41 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 555 unit: export function ErrorSummary() file: support-frontend/assets/components/subscriptionCheckouts/submitFormErrorSummary.tsx start line: 35 end line: 50 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 556 unit: function PromotionDiscount() file: support-frontend/assets/components/subscriptionCheckouts/summary.tsx start line: 128 end line: 143 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 557 unit: function mapDispatchToProps() file: support-frontend/assets/components/subscriptionCheckouts/thankYou/marketingConsentContainer.ts start line: 17 end line: 32 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 558 unit: function ChecklistItemIcon() file: support-frontend/assets/components/checkoutBenefits/benefitsCheckList.tsx start line: 101 end line: 116 size: 16 LOC McCabe index: 4 number of parameters: 3 id: 559 unit: async function getIsRecurringContributor() file: support-frontend/assets/helpers/redux/user/thunks.ts start line: 19 end line: 39 size: 16 LOC McCabe index: 3 number of parameters: 0 id: 560 unit: export function applyDeliveryAddressRules() file: support-frontend/assets/helpers/redux/checkout/address/validation.ts start line: 32 end line: 47 size: 16 LOC McCabe index: 1 number of parameters: 4 id: 561 unit: rule: zuoraCompatibleString() file: support-frontend/assets/helpers/redux/checkout/address/validation.ts start line: 139 end line: 155 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 562 unit: function validateOtherAmount() file: support-frontend/assets/helpers/redux/checkout/product/reducer.ts start line: 23 end line: 39 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 563 unit: function getSubscriptionTypeFromURL() file: support-frontend/assets/helpers/redux/checkout/product/selectors/productType.ts start line: 39 end line: 54 size: 16 LOC McCabe index: 3 number of parameters: 0 id: 564 unit: function checkStripeUserType() file: support-frontend/assets/helpers/subscriptionsForms/submit.ts start line: 309 end line: 324 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 565 unit: function checkoutValidation() file: support-frontend/assets/helpers/subscriptionsForms/formValidation.ts start line: 56 end line: 73 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 566 unit: await onConsentChangeEvent() file: support-frontend/assets/helpers/tracking/googleTagManager.ts start line: 212 end line: 248 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 567 unit: function successfulContributionConversion() file: support-frontend/assets/helpers/tracking/googleTagManager.ts start line: 254 end line: 270 size: 16 LOC McCabe index: 1 number of parameters: 5 id: 568 unit: function successfulSubscriptionConversion() file: support-frontend/assets/helpers/tracking/googleTagManager.ts start line: 272 end line: 288 size: 16 LOC McCabe index: 1 number of parameters: 5 id: 569 unit: function sendEventSubscriptionCheckoutStart() file: support-frontend/assets/helpers/tracking/quantumMetric.ts start line: 255 end line: 271 size: 16 LOC McCabe index: 2 number of parameters: 4 id: 570 unit: function sendEventSubscriptionCheckoutConversion() file: support-frontend/assets/helpers/tracking/quantumMetric.ts start line: 273 end line: 289 size: 16 LOC McCabe index: 2 number of parameters: 4 id: 571 unit: void import() file: support-frontend/assets/helpers/rendering/render.ts start line: 30 end line: 45 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 572 unit: function getPaymentMethods() file: support-frontend/assets/helpers/forms/checkouts.ts start line: 55 end line: 72 size: 16 LOC McCabe index: 5 number of parameters: 3 id: 573 unit: function getGlobal() file: support-frontend/assets/helpers/globalsAndSwitches/globals.ts start line: 11 end line: 28 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 574 unit: isLive: boolean() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 101 end line: 116 size: 16 LOC McCabe index: 1 number of parameters: 0 id: 575 unit: function DirectDebitMessage() file: support-frontend/assets/pages/supporter-plus-thank-you/components/thankYouHeader/directDebitMessage.tsx start line: 12 end line: 27 size: 16 LOC McCabe index: 3 number of parameters: 2 id: 576 unit: function StartDateCopy() file: support-frontend/assets/pages/weekly-subscription-checkout/components/thankYou.tsx start line: 75 end line: 90 size: 16 LOC McCabe index: 2 number of parameters: 3 id: 577 unit: function StandardCountryPrice() file: support-frontend/assets/pages/promotion-terms/weeklyTerms.tsx start line: 81 end line: 96 size: 16 LOC McCabe index: 3 number of parameters: 2 id: 578 unit: def fromS3[T: Decoder]() file: support-frontend/app/admin/settings/SettingsProvider.scala start line: 134 end line: 153 size: 16 LOC McCabe index: 2 number of parameters: 2 id: 579 unit: def shouldValidateUser[A]() file: support-frontend/app/actions/UserFromAuthCookiesActionBuilder.scala start line: 76 end line: 92 size: 16 LOC McCabe index: 2 number of parameters: 3 id: 580 unit: def generateExecutionName() file: support-frontend/app/services/stepfunctions/Client.scala start line: 33 end line: 48 size: 16 LOC McCabe index: 2 number of parameters: 2 id: 581 unit: def createSignInURL() file: support-frontend/app/controllers/IdentityController.scala start line: 53 end line: 68 size: 16 LOC McCabe index: 1 number of parameters: 0 id: 582 unit: def fromConfig() file: support-config/src/main/scala/com/gu/support/config/StripeConfig.scala start line: 37 end line: 54 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 583 unit: def apply() file: support-payment-api/src/main/scala/model/AppThreadPool.scala start line: 32 end line: 54 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 584 unit: def validateRefundHook() file: support-payment-api/src/main/scala/services/StripeService.scala start line: 37 end line: 52 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 585 unit: def iAmForThisPublicKey() file: support-payment-api/src/main/scala/services/StripeService.scala start line: 104 end line: 132 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 586 unit: def execute() file: support-modules/rest/src/main/scala/com.gu.okhttp/package.scala start line: 13 end line: 31 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 587 unit: implicit def localDateOrdering: Ordering[LocalDate] = Ordering.fromLessThan() file: support-workers/src/main/scala/com/gu/emailservices/SubscriptionEmailFieldHelpers.scala start line: 14 end line: 36 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 588 unit: def retrieveToken() file: support-workers/src/main/scala/com/gu/paypal/PayPalService.scala start line: 92 end line: 108 size: 16 LOC McCabe index: 1 number of parameters: 2 id: 589 unit: def build() file: support-workers/src/main/scala/com/gu/zuora/subscriptionBuilders/ContributionSubscriptionBuilder.scala start line: 15 end line: 30 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 590 unit: def discountRatePlan: RatePlanData = RatePlanData() file: support-services/src/main/scala/com/gu/support/promotions/PromotionApplicator.scala start line: 45 end line: 60 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 591 unit: def getPayload() file: stripe-patrons-data/src/main/scala/com/gu/patrons/lambdas/PatronCancelledEventLambda.scala start line: 126 end line: 140 size: 15 LOC McCabe index: 1 number of parameters: 2 id: 592 unit: def getPayload() file: stripe-patrons-data/src/main/scala/com/gu/patrons/lambdas/PatronSignUpEventLambda.scala start line: 99 end line: 113 size: 15 LOC McCabe index: 1 number of parameters: 2 id: 593 unit: def getUserIdFromEmail() file: stripe-patrons-data/src/main/scala/com/gu/patrons/services/PatronsIdentityService.scala start line: 29 end line: 43 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 594 unit: function PaperPackshot() file: support-frontend/assets/components/packshots/paper-packshot.tsx start line: 3 end line: 17 size: 15 LOC McCabe index: 1 number of parameters: 0 id: 595 unit: export function getDisplayErrors() file: support-frontend/assets/components/stripeCardForm/selectors.ts start line: 10 end line: 25 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 596 unit: function PromoTerms() file: support-frontend/assets/components/footerCompliant/FooterWithPromoTerms.tsx start line: 113 end line: 127 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 597 unit: error: formError() file: support-frontend/assets/helpers/redux/checkout/address/validation.ts start line: 140 end line: 155 size: 15 LOC McCabe index: 1 number of parameters: 2 id: 598 unit: export function selectPriceForProduct() file: support-frontend/assets/helpers/redux/checkout/product/selectors/productPrice.ts start line: 33 end line: 47 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 599 unit: function nth() file: support-frontend/assets/helpers/utilities/dateFormatting.ts start line: 13 end line: 31 size: 15 LOC McCabe index: 6 number of parameters: 1 id: 600 unit: function ophanProductFromSubscriptionProduct() file: support-frontend/assets/helpers/productPrice/subscriptions.ts start line: 65 end line: 80 size: 15 LOC McCabe index: 7 number of parameters: 1 id: 601 unit: function getPrintDiscountedPrice() file: support-frontend/assets/helpers/subscriptionsForms/submit.ts start line: 167 end line: 181 size: 15 LOC McCabe index: 4 number of parameters: 2 id: 602 unit: supportAbTests: getSupportAbTests() file: support-frontend/assets/helpers/subscriptionsForms/submit.ts start line: 225 end line: 240 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 603 unit: function getSourceFromAcquisitionData() file: support-frontend/assets/helpers/abTests/abtest.ts start line: 420 end line: 437 size: 15 LOC McCabe index: 3 number of parameters: 0 id: 604 unit: async function postOneOffPayPalCreatePaymentRequest() file: support-frontend/assets/helpers/forms/paymentIntegrations/oneOffContributions.ts start line: 249 end line: 263 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 605 unit: const isNotEmpty:() file: support-frontend/assets/helpers/forms/formValidation.ts start line: 12 end line: 29 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 606 unit: export const checkEmail:() file: support-frontend/assets/helpers/forms/formValidation.ts start line: 31 end line: 50 size: 15 LOC McCabe index: 5 number of parameters: 1 id: 607 unit: order: number() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 102 end line: 116 size: 15 LOC McCabe index: 1 number of parameters: 0 id: 608 unit: export function createTestStoreForContributions() file: support-frontend/assets/__test-utils__/testStore.ts start line: 69 end line: 95 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 609 unit: subtitle: getDisplayPrice() file: support-frontend/assets/pages/subscriptions-landing/copy/subscriptionCopy.tsx start line: 138 end line: 152 size: 15 LOC McCabe index: 1 number of parameters: 2 id: 610 unit: export function PaymentMethodRadio() file: support-frontend/assets/pages/[countryGroupId]/components/paymentMethod.tsx start line: 64 end line: 78 size: 15 LOC McCabe index: 2 number of parameters: 3 id: 611 unit: firstName: string() file: support-frontend/assets/pages/[countryGroupId]/checkout/helpers/sessionStorage.ts start line: 42 end line: 56 size: 15 LOC McCabe index: 1 number of parameters: 0 id: 612 unit: function GreenLabel() file: support-frontend/assets/pages/paper-subscription-checkout/components/deliveryAgentsSelect.tsx start line: 164 end line: 179 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 613 unit: function DeliveryProviderSummary() file: support-frontend/assets/pages/paper-subscription-checkout/components/deliveryAgentsSelect.tsx start line: 181 end line: 196 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 614 unit: def fromStringAndCountry() file: support-frontend/app/utils/NormalisedPhoneNumber.scala start line: 20 end line: 35 size: 15 LOC McCabe index: 1 number of parameters: 2 id: 615 unit: def start() file: support-frontend/app/monitoring/StateMachineMonitor.scala start line: 14 end line: 28 size: 15 LOC McCabe index: 4 number of parameters: 0 id: 616 unit: override protected def onProdServerError() file: support-frontend/app/lib/CustomHttpErrorHandler.scala start line: 53 end line: 67 size: 15 LOC McCabe index: 1 number of parameters: 2 id: 617 unit: override def invokeBlock[A]() file: support-frontend/app/actions/UserFromAuthCookiesActionBuilder.scala start line: 52 end line: 68 size: 15 LOC McCabe index: 2 number of parameters: 2 id: 618 unit: def getUserType() file: support-frontend/app/services/HttpIdentityService.scala start line: 111 end line: 125 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 619 unit: def getOrCreateUserFromEmail() file: support-frontend/app/services/HttpIdentityService.scala start line: 138 end line: 157 size: 15 LOC McCabe index: 1 number of parameters: 5 id: 620 unit: def getUserBenefits() file: support-frontend/app/services/UserBenefitsApiService.scala start line: 36 end line: 50 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 621 unit: def getArticle() file: support-frontend/app/services/CapiService.scala start line: 60 end line: 75 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 622 unit: def findAddress() file: support-frontend/app/controllers/GetAddress.scala start line: 22 end line: 38 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 623 unit: override def parametersByPathRequest() file: support-payment-api/src/main/scala/conf/IdentityConfig.scala start line: 17 end line: 32 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 624 unit: private def getQueue() file: support-payment-api/src/main/scala/services/SoftOptInsService.scala start line: 84 end line: 100 size: 15 LOC McCabe index: 1 number of parameters: 2 id: 625 unit: def confirmPaymentIntent() file: support-payment-api/src/main/scala/services/StripeService.scala start line: 87 end line: 102 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 626 unit: def isPaymentError() file: support-payment-api/src/main/scala/services/CloudWatchService.scala start line: 49 end line: 67 size: 15 LOC McCabe index: 10 number of parameters: 1 id: 627 unit: function monitoringForEnvironment() file: cdk/lib/stripe-patrons-data.ts start line: 69 end line: 83 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 628 unit: private def getJsonBody[A]() file: support-modules/rest/src/main/scala/com/gu/rest/WebServiceHelper.scala start line: 96 end line: 110 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 629 unit: protected def servicesHandler() file: support-workers/src/main/scala/com/gu/support/workers/lambdas/ServicesHandler.scala start line: 27 end line: 43 size: 15 LOC McCabe index: 1 number of parameters: 4 id: 630 unit: def subscribe() file: support-workers/src/main/scala/com/gu/zuora/productHandlers/ZuoraSupporterPlusHandler.scala start line: 18 end line: 32 size: 15 LOC McCabe index: 2 number of parameters: 3 id: 631 unit: private def buildAccount() file: support-workers/src/main/scala/com/gu/zuora/subscriptionBuilders/SubscribeItemBuilder.scala start line: 44 end line: 58 size: 15 LOC McCabe index: 1 number of parameters: 2 id: 632 unit: def find() file: support-services/src/main/scala/com/gu/support/getaddressio/GetAddressIOService.scala start line: 37 end line: 51 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 633 unit: override def previewSubscribe() file: support-services/src/main/scala/com/gu/zuora/ZuoraService.scala start line: 65 end line: 82 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 634 unit: override protected def handlerFuture() file: supporter-product-data/src/main/scala/com/gu/lambdas/ProcessSupporterRatePlanItemLambda.scala start line: 24 end line: 37 size: 14 LOC McCabe index: 3 number of parameters: 2 id: 635 unit: def maybeCancelJointPatron() file: stripe-patrons-data/src/main/scala/com/gu/patrons/lambdas/PatronCancelledEventLambda.scala start line: 84 end line: 97 size: 14 LOC McCabe index: 3 number of parameters: 3 id: 636 unit: export default function SvgArrowRightStraight() file: support-frontend/assets/components/svgs/arrowRightStraight.tsx start line: 3 end line: 16 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 637 unit: function DataList() file: support-frontend/assets/components/subscriptionCheckouts/summary.tsx start line: 112 end line: 125 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 638 unit: function ListComponent() file: support-frontend/assets/components/list/list.tsx start line: 121 end line: 134 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 639 unit: function mapStateToProps() file: support-frontend/assets/components/directDebit/directDebitProgressiveDisclosure/directDebitForm.tsx start line: 26 end line: 39 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 640 unit: page: initReducer() file: support-frontend/assets/helpers/redux/contributionsStore.ts start line: 29 end line: 47 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 641 unit: async function fetchSetupIntent() file: support-frontend/assets/helpers/redux/checkout/payment/stripe/thunks.ts start line: 22 end line: 35 size: 14 LOC McCabe index: 2 number of parameters: 2 id: 642 unit: export function selectDiscountedPrice() file: support-frontend/assets/helpers/redux/checkout/product/selectors/productPrice.ts start line: 49 end line: 63 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 643 unit: lastName: zuoraCompatibleString() file: support-frontend/assets/helpers/redux/checkout/personalDetails/state.ts start line: 31 end line: 46 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 644 unit: export function useScrollToAnchor() file: support-frontend/assets/helpers/customHooks/useScrollToAnchor.ts start line: 3 end line: 17 size: 14 LOC McCabe index: 3 number of parameters: 0 id: 645 unit: function getPromotionCopy() file: support-frontend/assets/helpers/productPrice/promotions.tsx start line: 106 end line: 119 size: 14 LOC McCabe index: 3 number of parameters: 2 id: 646 unit: export function set() file: support-frontend/assets/helpers/storage/cookie.ts start line: 27 end line: 42 size: 14 LOC McCabe index: 2 number of parameters: 3 id: 647 unit: function getPaymentMethodSwitchName() file: support-frontend/assets/helpers/subscriptionsForms/supportedPaymentMethods.ts start line: 13 end line: 29 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 648 unit: export function setPaperDeliveryPostcode() file: support-frontend/assets/helpers/subscriptionsForms/formActionCreators.ts start line: 139 end line: 152 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 649 unit: checkout: createFormReducer() file: support-frontend/assets/helpers/subscriptionsForms/subscriptionCheckoutReducer.ts start line: 66 end line: 79 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 650 unit: function getUser() file: support-frontend/assets/helpers/user/user.ts start line: 14 end line: 28 size: 14 LOC McCabe index: 6 number of parameters: 0 id: 651 unit: export function gridUrl() file: support-frontend/assets/helpers/images/theGrid.ts start line: 16 end line: 31 size: 14 LOC McCabe index: 2 number of parameters: 3 id: 652 unit: export function getMvtId() file: support-frontend/assets/helpers/abTests/mvt.ts start line: 7 end line: 22 size: 14 LOC McCabe index: 5 number of parameters: 0 id: 653 unit: subscriptionsPaymentMethods: record() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 85 end line: 98 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 654 unit: seed: number() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 103 end line: 116 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 655 unit: function YellowHighlight() file: support-frontend/assets/pages/supporter-plus-thank-you/components/thankYouHeader/heading.tsx start line: 152 end line: 165 size: 14 LOC McCabe index: 3 number of parameters: 3 id: 656 unit: function getTierThreeDeliveryDate() file: support-frontend/assets/pages/weekly-subscription-checkout/helpers/deliveryDays.ts start line: 50 end line: 66 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 657 unit: function ReportLink() file: support-frontend/assets/pages/error/components/errorPage.tsx start line: 66 end line: 80 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 658 unit: function TerritorySvgContainer() file: support-frontend/assets/pages/aus-moment-map/components/map.tsx start line: 20 end line: 35 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 659 unit: email: string() file: support-frontend/assets/pages/[countryGroupId]/checkout/helpers/sessionStorage.ts start line: 43 end line: 56 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 660 unit: def checkSubscriptionPaymentMethodEnabled() file: support-frontend/app/utils/CheckoutValidationRules.scala start line: 44 end line: 57 size: 14 LOC McCabe index: 10 number of parameters: 2 id: 661 unit: private def suitableForCaching() file: support-frontend/app/filters/CacheHeadersCheck.scala start line: 12 end line: 26 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 662 unit: def fromConfig() file: support-frontend/app/admin/settings/Settings.scala start line: 82 end line: 96 size: 14 LOC McCabe index: 2 number of parameters: 3 id: 663 unit: private def startExecution() file: support-frontend/app/services/stepfunctions/Client.scala start line: 54 end line: 67 size: 14 LOC McCabe index: 1 number of parameters: 3 id: 664 unit: def apply() file: support-frontend/app/services/stepfunctions/SupportWorkersClient.scala start line: 70 end line: 85 size: 14 LOC McCabe index: 2 number of parameters: 4 id: 665 unit: private def referrerAcquisitionDataWithGAFields() file: support-frontend/app/services/stepfunctions/SupportWorkersClient.scala start line: 100 end line: 113 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 666 unit: private def getGiftRecipient() file: support-frontend/app/services/stepfunctions/SupportWorkersClient.scala start line: 115 end line: 128 size: 14 LOC McCabe index: 3 number of parameters: 2 id: 667 unit: private def supportLandingPages() file: support-frontend/app/controllers/SiteMap.scala start line: 26 end line: 39 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 668 unit: private def contributeLandingPages() file: support-frontend/app/controllers/SiteMap.scala start line: 41 end line: 54 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 669 unit: def buildProductPriceData() file: support-frontend/app/controllers/PricesController.scala start line: 72 end line: 85 size: 14 LOC McCabe index: 2 number of parameters: 5 id: 670 unit: function Template() file: support-frontend/stories/landingPage/GuardianLightCards.stories.tsx start line: 16 end line: 29 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 671 unit: function Template() file: support-frontend/stories/landingPage/ThreeTierCards.stories.tsx start line: 33 end line: 46 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 672 unit: function Template() file: support-frontend/stories/landingPage/ThreeTierCard.stories.tsx start line: 46 end line: 59 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 673 unit: function Template() file: support-frontend/stories/landingPage/GuardianLightCard.stories.tsx start line: 13 end line: 26 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 674 unit: override def lambdaBody() file: support-lambdas/stripe-intent/src/main/scala/com/gu/stripeIntent/Handler.scala start line: 50 end line: 63 size: 14 LOC McCabe index: 2 number of parameters: 2 id: 675 unit: def getRealConfig() file: support-lambdas/stripe-intent/src/main/scala/com/gu/stripeIntent/Handler.scala start line: 77 end line: 91 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 676 unit: def decodePaymentStatus() file: support-payment-api/src/main/scala/model/stripe/StripeRefundHook.scala start line: 34 end line: 47 size: 14 LOC McCabe index: 5 number of parameters: 0 id: 677 unit: def fromS3() file: support-payment-api/src/main/scala/services/SwitchService.scala start line: 97 end line: 112 size: 14 LOC McCabe index: 4 number of parameters: 0 id: 678 unit: private def executeRequest[A: Decoder]() file: support-payment-api/src/main/scala/services/IdentityClient.scala start line: 38 end line: 51 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 679 unit: def fromIdentityConfig() file: support-payment-api/src/main/scala/services/IdentityClient.scala start line: 76 end line: 95 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 680 unit: def publish() file: support-payment-api/src/main/scala/services/ContributionsStoreService.scala start line: 98 end line: 113 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 681 unit: def put() file: support-payment-api/src/main/scala/services/CloudWatchService.scala start line: 19 end line: 35 size: 14 LOC McCabe index: 1 number of parameters: 2 id: 682 unit: private def makeTask[T]() file: support-modules/retry/src/main/scala/com/gu/retry/DelayedFuture.scala start line: 11 end line: 24 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 683 unit: def postForm[A]() file: support-modules/rest/src/main/scala/com/gu/rest/WebServiceHelper.scala start line: 174 end line: 187 size: 14 LOC McCabe index: 4 number of parameters: 5 id: 684 unit: protected def buildRequest() file: support-modules/rest/src/main/scala/com/gu/rest/WebServiceHelper.scala start line: 190 end line: 204 size: 14 LOC McCabe index: 3 number of parameters: 3 id: 685 unit: override def start() file: support-workers/src/main/scala/com/gu/support/workers/lambdas/Handler.scala start line: 19 end line: 36 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 686 unit: override protected def handlerFuture() file: support-workers/src/main/scala/com/gu/support/workers/lambdas/FailureHandler.scala start line: 25 end line: 38 size: 14 LOC McCabe index: 1 number of parameters: 4 id: 687 unit: def subscribe() file: support-workers/src/main/scala/com/gu/zuora/productHandlers/ZuoraPaperHandler.scala start line: 19 end line: 32 size: 14 LOC McCabe index: 2 number of parameters: 3 id: 688 unit: function mapBillingAddressStateToProps() file: support-frontend/assets/components/subscriptionCheckouts/address/scopedAddressFields.tsx start line: 31 end line: 43 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 689 unit: function mapDeliveryAddressStateToProps() file: support-frontend/assets/components/subscriptionCheckouts/address/scopedAddressFields.tsx start line: 64 end line: 76 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 690 unit: export function Title() file: support-frontend/assets/components/text/text.tsx start line: 45 end line: 57 size: 13 LOC McCabe index: 1 number of parameters: 3 id: 691 unit: function getPriceCardLabel() file: support-frontend/assets/components/priceCards/priceCard.tsx start line: 14 end line: 27 size: 13 LOC McCabe index: 3 number of parameters: 3 id: 692 unit: function LinkItem() file: support-frontend/assets/components/menu/menu.tsx start line: 106 end line: 118 size: 13 LOC McCabe index: 1 number of parameters: 2 id: 693 unit: function Menu() file: support-frontend/assets/components/menu/menu.tsx start line: 128 end line: 140 size: 13 LOC McCabe index: 1 number of parameters: 2 id: 694 unit: function Rows() file: support-frontend/assets/components/base/rows.tsx start line: 14 end line: 26 size: 13 LOC McCabe index: 1 number of parameters: 4 id: 695 unit: function Asyncronously() file: support-frontend/assets/components/asyncronously/asyncronously.ts start line: 12 end line: 31 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 696 unit: export default function BulletSvg() file: support-frontend/assets/components/checkoutBenefits/bulletSvg.tsx start line: 3 end line: 15 size: 13 LOC McCabe index: 1 number of parameters: 0 id: 697 unit: function SvgBullet() file: support-frontend/assets/components/thankYou/utilityComponents/BulletPointedList.tsx start line: 30 end line: 42 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 698 unit: export function getInitialAddressFieldsState() file: support-frontend/assets/helpers/redux/checkout/address/state.ts start line: 53 end line: 65 size: 13 LOC McCabe index: 1 number of parameters: 0 id: 699 unit: function getInternationalisationFromCountry() file: support-frontend/assets/helpers/redux/commonState/reducer.ts start line: 10 end line: 22 size: 13 LOC McCabe index: 1 number of parameters: 2 id: 700 unit: function deserialiseJsonObject() file: support-frontend/assets/helpers/utilities/utilities.ts start line: 35 end line: 49 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 701 unit: function analyticsInitialisation() file: support-frontend/assets/helpers/page/analyticsAndConsent.ts start line: 22 end line: 35 size: 13 LOC McCabe index: 1 number of parameters: 2 id: 702 unit: static stateProvinceFromMap() file: support-frontend/assets/helpers/internationalisation/classes/country.ts start line: 38 end line: 50 size: 13 LOC McCabe index: 7 number of parameters: 2 id: 703 unit: function getMaxSavingVsRetail() file: support-frontend/assets/helpers/productPrice/paperSavingsVsRetail.ts start line: 22 end line: 37 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 704 unit: function billingPeriodNoun() file: support-frontend/assets/helpers/productPrice/billingPeriods.ts start line: 18 end line: 32 size: 13 LOC McCabe index: 5 number of parameters: 2 id: 705 unit: function billingPeriodTitle() file: support-frontend/assets/helpers/productPrice/billingPeriods.ts start line: 34 end line: 48 size: 13 LOC McCabe index: 5 number of parameters: 2 id: 706 unit: description: getSanitisedHtml() file: support-frontend/assets/helpers/productPrice/promotions.tsx start line: 116 end line: 130 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 707 unit: product: string() file: support-frontend/assets/helpers/storage/abandonedBasketCookies.ts start line: 20 end line: 34 size: 13 LOC McCabe index: 1 number of parameters: 0 id: 708 unit: function trackSubmitAttempt() file: support-frontend/assets/helpers/subscriptionsForms/submit.ts start line: 370 end line: 382 size: 13 LOC McCabe index: 2 number of parameters: 3 id: 709 unit: checkoutForm: combineReducers() file: support-frontend/assets/helpers/subscriptionsForms/subscriptionCheckoutReducer.ts start line: 67 end line: 79 size: 13 LOC McCabe index: 1 number of parameters: 12 id: 710 unit: selectedAmountsVariant: getFallbackAmounts() file: support-frontend/assets/helpers/abTests/abtest.ts start line: 237 end line: 252 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 711 unit: function getParticipationFromQueryString() file: support-frontend/assets/helpers/abTests/landingPageAbTests.ts start line: 90 end line: 102 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 712 unit: function addQM() file: support-frontend/assets/helpers/tracking/quantumMetric.ts start line: 465 end line: 477 size: 13 LOC McCabe index: 1 number of parameters: 0 id: 713 unit: function getCampaign() file: support-frontend/assets/helpers/tracking/acquisitions.ts start line: 95 end line: 109 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 714 unit: function getAcquisitionDataFromPPCParams() file: support-frontend/assets/helpers/tracking/acquisitions.ts start line: 309 end line: 322 size: 13 LOC McCabe index: 2 number of parameters: 0 id: 715 unit: export function getConvertedAnnualValue() file: support-frontend/assets/helpers/tracking/quantumMetricHelpers.ts start line: 52 end line: 64 size: 13 LOC McCabe index: 1 number of parameters: 3 id: 716 unit: function convertCountryGroupIdToAppStoreCountryCode() file: support-frontend/assets/helpers/urls/externalLinks.ts start line: 35 end line: 51 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 717 unit: function paperCheckoutUrl() file: support-frontend/assets/helpers/urls/routes.ts start line: 108 end line: 120 size: 13 LOC McCabe index: 2 number of parameters: 3 id: 718 unit: function getValidPaymentMethods() file: support-frontend/assets/helpers/forms/checkouts.ts start line: 82 end line: 94 size: 13 LOC McCabe index: 1 number of parameters: 3 id: 719 unit: export const isValidEmail:() file: support-frontend/assets/helpers/forms/formValidation.ts start line: 15 end line: 29 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 720 unit: export const emailAddressesMatch:() file: support-frontend/assets/helpers/forms/formValidation.ts start line: 34 end line: 50 size: 13 LOC McCabe index: 3 number of parameters: 3 id: 721 unit: targeting: union() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 104 end line: 116 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 722 unit: planCost: getPlanCost() file: support-frontend/assets/pages/supporter-plus-landing/twoStepPages/threeTierLanding.tsx start line: 557 end line: 569 size: 13 LOC McCabe index: 3 number of parameters: 3 id: 723 unit: paymentMethod: picklist() file: support-frontend/assets/pages/[countryGroupId]/checkout/helpers/sessionStorage.ts start line: 44 end line: 56 size: 13 LOC McCabe index: 1 number of parameters: 8 id: 724 unit: price: selectPriceForProduct() file: support-frontend/assets/pages/paper-subscription-checkout/components/paperCheckoutForm.tsx start line: 131 end line: 144 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 725 unit: export function getOrderSummaryTitle() file: support-frontend/assets/pages/paper-subscription-checkout/helpers/orderSummaryText.ts start line: 22 end line: 36 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 726 unit: def passes() file: support-frontend/app/utils/CheckoutValidationRules.scala start line: 329 end line: 341 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 727 unit: def checkoutStatus() file: support-frontend/app/services/stepfunctions/SupportWorkersClient.scala start line: 236 end line: 251 size: 13 LOC McCabe index: 5 number of parameters: 3 id: 728 unit: def getFailureDetails() file: support-frontend/app/services/stepfunctions/SupportWorkersClient.scala start line: 253 end line: 266 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 729 unit: def geoRedirect: Action[AnyContent] = GeoTargetedCachedAction() file: support-frontend/app/controllers/Application.scala start line: 244 end line: 257 size: 13 LOC McCabe index: 9 number of parameters: 0 id: 730 unit: private def getOrCreateIdentityUser() file: support-frontend/app/controllers/CreateSubscriptionController.scala start line: 341 end line: 353 size: 13 LOC McCabe index: 1 number of parameters: 2 id: 731 unit: def resultFromPaypalSuccess() file: support-frontend/app/controllers/PayPalOneOff.scala start line: 66 end line: 78 size: 13 LOC McCabe index: 1 number of parameters: 3 id: 732 unit: private def getWeeklyHrefLangLinks() file: support-frontend/app/controllers/WeeklySubscriptionController.scala start line: 85 end line: 98 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 733 unit: function Template() file: support-frontend/stories/landingPage/Countdown.stories.tsx start line: 23 end line: 35 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 734 unit: function Template() file: support-frontend/stories/landingPage/PaperProductPrices.stories.tsx start line: 24 end line: 36 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 735 unit: function Template() file: support-frontend/stories/content/Tabs.stories.tsx start line: 83 end line: 95 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 736 unit: def fromPaymentFields() file: support-models/src/main/scala/com/gu/support/workers/PaymentProvider.scala start line: 50 end line: 62 size: 13 LOC McCabe index: 10 number of parameters: 1 id: 737 unit: def weeklyRatePlan() file: support-models/src/main/scala/com/gu/support/workers/ProductTypeRatePlans.scala start line: 10 end line: 22 size: 13 LOC McCabe index: 3 number of parameters: 3 id: 738 unit: def convert() file: support-models/src/main/scala/com/gu/support/catalog/Catalog.scala start line: 41 end line: 59 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 739 unit: private def headers() file: support-lambdas/stripe-intent/src/main/scala/com/gu/handler/ApiGatewayHandler.scala start line: 22 end line: 36 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 740 unit: def combineResults() file: support-payment-api/src/main/scala/backend/BackendError.scala start line: 49 end line: 61 size: 13 LOC McCabe index: 1 number of parameters: 9 id: 741 unit: def load() file: support-payment-api/src/main/scala/MyApplicationLoader.scala start line: 25 end line: 38 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 742 unit: override def parametersByPathRequest() file: support-payment-api/src/main/scala/conf/ContributionsStoreQueueConfig.scala start line: 18 end line: 31 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 743 unit: override def parametersByPathRequest() file: support-payment-api/src/main/scala/conf/RecaptchaConfig.scala start line: 15 end line: 29 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 744 unit: def fromContributionsStoreQueueConfig() file: support-payment-api/src/main/scala/services/ContributionsStoreService.scala start line: 37 end line: 49 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 745 unit: def processRefund: Action[StripeRefundHook] = Action() file: support-payment-api/src/main/scala/controllers/StripeController.scala start line: 43 end line: 55 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 746 unit: alarmName: alarmName() file: cdk/lib/frontend.ts start line: 301 end line: 313 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 747 unit: function dynamoPolicy() file: cdk/lib/stripe-patrons-data.ts start line: 23 end line: 35 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 748 unit: def fromString() file: support-modules/acquisition-events/src/main/scala/com/gu/support/acquisitions/models/AcquisitionDataRow.scala start line: 250 end line: 262 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 749 unit: def createContactRecords() file: support-workers/src/main/scala/com/gu/salesforce/SalesforceService.scala start line: 77 end line: 89 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 750 unit: override def handleRequest() file: supporter-product-data/src/main/scala/com/gu/lambdas/Handler.scala start line: 22 end line: 34 size: 12 LOC McCabe index: 2 number of parameters: 3 id: 751 unit: def getIdentityId() file: stripe-patrons-data/src/main/scala/com/gu/patrons/lambdas/PatronCancelledEventLambda.scala start line: 168 end line: 179 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 752 unit: def fromParameterStoreSync() file: stripe-patrons-data/src/main/scala/com/gu/patrons/conf/PatronsStripeConfig.scala start line: 19 end line: 30 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 753 unit: def logDynamoResult() file: stripe-patrons-data/src/main/scala/com/gu/patrons/services/StripeSubscriptionsProcessor.scala start line: 77 end line: 89 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 754 unit: export default function SvgCheckmark() file: support-frontend/assets/components/svgs/checkmark.tsx start line: 3 end line: 14 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 755 unit: function statesForCountry() file: support-frontend/assets/components/subscriptionCheckouts/address/addressFields.tsx start line: 94 end line: 108 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 756 unit: export async function findAddressesForPostcode() file: support-frontend/assets/components/subscriptionCheckouts/address/postcodeLookup.ts start line: 30 end line: 43 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 757 unit: function Total() file: support-frontend/assets/components/subscriptionCheckouts/total/total.tsx start line: 13 end line: 24 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 758 unit: export function CardNumberWithError() file: support-frontend/assets/components/subscriptionCheckouts/stripeForm/composedStripeElements.tsx start line: 15 end line: 27 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 759 unit: export function CardExpiryWithError() file: support-frontend/assets/components/subscriptionCheckouts/stripeForm/composedStripeElements.tsx start line: 29 end line: 41 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 760 unit: export function CardCvcWithError() file: support-frontend/assets/components/subscriptionCheckouts/stripeForm/composedStripeElements.tsx start line: 43 end line: 55 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 761 unit: export function RecaptchaWithError() file: support-frontend/assets/components/subscriptionCheckouts/stripeForm/composedStripeElements.tsx start line: 57 end line: 69 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 762 unit: function getActiveLinkClassModifiers() file: support-frontend/assets/components/headers/links/links.tsx start line: 86 end line: 97 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 763 unit: icon: getThankYouModuleIcon() file: support-frontend/assets/components/thankYou/thankYouModuleData.tsx start line: 232 end line: 243 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 764 unit: effect() file: support-frontend/assets/helpers/redux/checkout/payment/subscriptionsSideEffects.ts start line: 13 end line: 26 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 765 unit: error: formError() file: support-frontend/assets/helpers/redux/checkout/address/validation.ts start line: 176 end line: 190 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 766 unit: static fromCountryGroup() file: support-frontend/assets/helpers/internationalisation/classes/country.ts start line: 139 end line: 152 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 767 unit: function productOptionIfDigiAddOnChanged() file: support-frontend/assets/helpers/productPrice/productOptions.ts start line: 75 end line: 86 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 768 unit: function isStorageAvailable() file: support-frontend/assets/helpers/storage/storage.ts start line: 5 end line: 18 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 769 unit: amount: union() file: support-frontend/assets/helpers/storage/abandonedBasketCookies.ts start line: 21 end line: 34 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 770 unit: function requiredDeliveryAgentChosen() file: support-frontend/assets/helpers/subscriptionsForms/validation.ts start line: 42 end line: 54 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 771 unit: function getSessionParticipations() file: support-frontend/assets/helpers/abTests/sessionStorage.ts start line: 10 end line: 21 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 772 unit: function getReferrerAcquisitionData() file: support-frontend/assets/helpers/tracking/acquisitions.ts start line: 326 end line: 341 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 773 unit: export function waitForQuantumMetricAPi() file: support-frontend/assets/helpers/tracking/quantumMetricHelpers.ts start line: 109 end line: 121 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 774 unit: default: string() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 52 end line: 63 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 775 unit: targetingType: literal() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 106 end line: 117 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 776 unit: defaultContributionType: picklist() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 141 end line: 152 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 777 unit: isDefault: optional() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 190 end line: 209 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 778 unit: function requestOptions() file: support-frontend/assets/helpers/async/fetch.ts start line: 48 end line: 59 size: 12 LOC McCabe index: 1 number of parameters: 4 id: 779 unit: export default function getPromotionTermsProps() file: support-frontend/assets/pages/promotion-terms/promotionTermsReducer.ts start line: 19 end line: 30 size: 12 LOC McCabe index: 3 number of parameters: 0 id: 780 unit: async function getInitialTickerValues() file: support-frontend/assets/pages/supporter-plus-landing/twoStepPages/tickerContainer.tsx start line: 19 end line: 30 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 781 unit: function TestimonialComponent() file: support-frontend/assets/pages/aus-moment-map/components/testimonialsContainer.tsx start line: 77 end line: 89 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 782 unit: userWasShownCheckbox: userShouldSeeConsentCheckbox() file: support-frontend/assets/pages/[countryGroupId]/components/checkoutComponent.tsx start line: 526 end line: 537 size: 12 LOC McCabe index: 3 number of parameters: 3 id: 783 unit: function mapStateToProps() file: support-frontend/assets/pages/paper-subscription-checkout/components/paperOrderSummary/paperOrderSummary.tsx start line: 41 end line: 52 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 784 unit: title: getMobileSummaryTitle() file: support-frontend/assets/pages/paper-subscription-checkout/components/paperOrderSummary/paperOrderSummary.tsx start line: 125 end line: 137 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 785 unit: discountedPrice: selectDiscountedPrice() file: support-frontend/assets/pages/paper-subscription-checkout/components/paperCheckoutForm.tsx start line: 132 end line: 144 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 786 unit: def hasStateIfRequired() file: support-frontend/app/utils/CheckoutValidationRules.scala start line: 248 end line: 259 size: 12 LOC McCabe index: 7 number of parameters: 2 id: 787 unit: def fromConfig() file: support-frontend/app/config/FastlyConfig.scala start line: 15 end line: 26 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 788 unit: def apply() file: support-frontend/app/views/JsStringLiteral.scala start line: 7 end line: 18 size: 12 LOC McCabe index: 8 number of parameters: 1 id: 789 unit: private def startPollingS3() file: support-frontend/app/admin/settings/SettingsProvider.scala start line: 116 end line: 127 size: 12 LOC McCabe index: 2 number of parameters: 0 id: 790 unit: private def flattenSwitchState() file: support-frontend/app/admin/settings/Switches.scala start line: 117 end line: 129 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 791 unit: def generateParticipations() file: support-frontend/app/admin/ServersideAbTest.scala start line: 11 end line: 25 size: 12 LOC McCabe index: 6 number of parameters: 1 id: 792 unit: def sendConsentPreferencesEmail() file: support-frontend/app/services/HttpIdentityService.scala start line: 98 end line: 109 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 793 unit: def getPrices[T <: Product]() file: support-frontend/app/services/pricing/PriceSummaryService.scala start line: 24 end line: 35 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 794 unit: private def nestPriceLists() file: support-frontend/app/services/pricing/PriceSummaryService.scala start line: 117 end line: 130 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 795 unit: def purgeSurrogateKey() file: support-frontend/app/services/fastly/FastlyService.scala start line: 21 end line: 32 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 796 unit: def validateCancelUrl() file: support-frontend/app/services/StripeCheckoutSessionService.scala start line: 126 end line: 138 size: 12 LOC McCabe index: 5 number of parameters: 1 id: 797 unit: def apply[Request <: AmazonWebServiceRequest, Response]() file: support-frontend/app/services/aws/AwsAsync.scala start line: 21 end line: 32 size: 12 LOC McCabe index: 3 number of parameters: 3 id: 798 unit: def verify() file: support-frontend/app/services/RecaptchaService.scala start line: 23 end line: 34 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 799 unit: def statusFromEvents() file: support-frontend/app/services/stepfunctions/Client.scala start line: 97 end line: 109 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 800 unit: def fromCapiResult() file: support-frontend/app/services/CapiService.scala start line: 44 end line: 55 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 801 unit: private def buildRatePlanPriceData() file: support-frontend/app/controllers/PricesController.scala start line: 58 end line: 70 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 802 unit: def supportGeoRedirect: Action[AnyContent] = GeoTargetedCachedAction() file: support-frontend/app/controllers/Application.scala start line: 259 end line: 271 size: 12 LOC McCabe index: 4 number of parameters: 0 id: 803 unit: private def getGeoRedirectUrl() file: support-frontend/app/controllers/Application.scala start line: 436 end line: 447 size: 12 LOC McCabe index: 9 number of parameters: 2 id: 804 unit: private def validateBenefitsForAdLitePurchase() file: support-frontend/app/controllers/CreateSubscriptionController.scala start line: 221 end line: 233 size: 12 LOC McCabe index: 4 number of parameters: 2 id: 805 unit: private def mapIdentityErrorToCreateSubscriptionError() file: support-frontend/app/controllers/CreateSubscriptionController.scala start line: 299 end line: 313 size: 12 LOC McCabe index: 8 number of parameters: 1 id: 806 unit: def submitMarketing() file: support-frontend/app/controllers/IdentityController.scala start line: 40 end line: 51 size: 12 LOC McCabe index: 2 number of parameters: 0 id: 807 unit: def secureCookie() file: support-frontend/app/controllers/AuthCodeFlowController.scala start line: 200 end line: 212 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 808 unit: def createSetupIntentPRB: Action[SetupIntentRequest] = PrivateAction.async() file: support-frontend/app/controllers/StripeController.scala start line: 94 end line: 106 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 809 unit: function Template() file: support-frontend/stories/landingPage/poster.stories.tsx start line: 10 end line: 21 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 810 unit: function Template() file: support-frontend/stories/landingPage/GuardianLightAccordian.stories.tsx start line: 10 end line: 21 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 811 unit: def fromSubscription() file: support-models/src/main/scala/com/gu/support/zuora/domain/package.scala start line: 18 end line: 32 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 812 unit: def impliedByAppliedPromotion() file: support-models/src/main/scala/com/gu/support/zuora/api/SubscriptionData.scala start line: 129 end line: 142 size: 12 LOC McCabe index: 6 number of parameters: 1 id: 813 unit: def fromString() file: support-models/src/main/scala/com/gu/support/zuora/api/PaymentGateway.scala start line: 23 end line: 34 size: 12 LOC McCabe index: 11 number of parameters: 1 id: 814 unit: def describe: String = getClass.getSimpleName.replaceAll() file: support-models/src/main/scala/com/gu/support/workers/PaymentFields.scala start line: 12 end line: 26 size: 12 LOC McCabe index: 4 number of parameters: 2 id: 815 unit: def fromPayment() file: support-payment-api/src/main/scala/model/paypal/PaypalPaymentSuccess.scala start line: 15 end line: 26 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 816 unit: override def parametersByPathRequest() file: support-payment-api/src/main/scala/conf/OphanConfig.scala start line: 16 end line: 28 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 817 unit: override def parametersByPathRequest() file: support-payment-api/src/main/scala/conf/EmailConfig.scala start line: 16 end line: 28 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 818 unit: alarmDescription: alarmDescription() file: cdk/lib/frontend.ts start line: 302 end line: 313 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 819 unit: def subscriptionExists() file: support-modules/supporter-product-data-dynamo/src/main/scala/com/gu/supporterdata/services/SupporterDataDynamoService.scala start line: 28 end line: 40 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 820 unit: def futureRunner() file: support-modules/rest/src/main/scala/com.gu.okhttp/RequestRunners.scala start line: 23 end line: 38 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 821 unit: private def paymentProviderFromPaymentMethod() file: support-workers/src/main/scala/com/gu/acquisitions/AcquisitionDataRowBuilder.scala start line: 104 end line: 115 size: 12 LOC McCabe index: 8 number of parameters: 1 id: 822 unit: private def getAbTests() file: support-workers/src/main/scala/com/gu/acquisitions/AcquisitionDataRowBuilder.scala start line: 117 end line: 129 size: 12 LOC McCabe index: 8 number of parameters: 1 id: 823 unit: def getAccount() file: support-services/src/main/scala/com/gu/zuora/ZuoraService.scala start line: 45 end line: 57 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 824 unit: def load() file: supporter-product-data/src/main/scala/com/gu/services/ConfigService.scala start line: 18 end line: 28 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 825 unit: def bucketName() file: supporter-product-data/src/main/scala/com/gu/services/S3Service.scala start line: 22 end line: 34 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 826 unit: def processSubs() file: stripe-patrons-data/src/main/scala/com/gu/patrons/services/StripeSubscriptionsProcessor.scala start line: 36 end line: 46 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 827 unit: def processCustomerEmail() file: stripe-patrons-data/src/main/scala/com/gu/patrons/services/StripeSubscriptionsProcessor.scala start line: 100 end line: 110 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 828 unit: export function ReauthenticateLink() file: support-frontend/assets/components/paymentMethodSelector/reauthenticateLink.tsx start line: 10 end line: 20 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 829 unit: function ListItemWithSubtext() file: support-frontend/assets/components/list/list.tsx start line: 103 end line: 113 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 830 unit: href: getPatronsLink() file: support-frontend/assets/components/headers/links/links.tsx start line: 66 end line: 77 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 831 unit: icon: getThankYouModuleIcon() file: support-frontend/assets/components/thankYou/thankYouModuleData.tsx start line: 216 end line: 226 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 832 unit: export function Divider() file: support-frontend/assets/components/content/content.tsx start line: 83 end line: 93 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 833 unit: function onCountryGroupSelect() file: support-frontend/assets/components/countryGroupSwitcher/countryGroupSwitcher.tsx start line: 62 end line: 72 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 834 unit: function getDeliveryOnlyRules() file: support-frontend/assets/helpers/redux/checkout/address/validation.ts start line: 148 end line: 182 size: 11 LOC McCabe index: 1 number of parameters: 4 id: 835 unit: rule: isHomeDeliveryAvailable() file: support-frontend/assets/helpers/redux/checkout/address/validation.ts start line: 160 end line: 170 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 836 unit: billingPeriod: string() file: support-frontend/assets/helpers/storage/abandonedBasketCookies.ts start line: 22 end line: 34 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 837 unit: paymentMethod: ophanPaymentMethod() file: support-frontend/assets/helpers/tracking/googleTagManager.ts start line: 101 end line: 117 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 838 unit: function sendData() file: support-frontend/assets/helpers/tracking/googleTagManager.ts start line: 147 end line: 162 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 839 unit: function storeReferrerAcquisitionDataInSessionStorage() file: support-frontend/assets/helpers/tracking/acquisitions.ts start line: 112 end line: 122 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 840 unit: queryParameters: toAcquisitionQueryParameters() file: support-frontend/assets/helpers/tracking/acquisitions.ts start line: 289 end line: 314 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 841 unit: function digitalSubscriptionLanding() file: support-frontend/assets/helpers/urls/routes.ts start line: 85 end line: 95 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 842 unit: function addQueryParamsToURL() file: support-frontend/assets/helpers/urls/url.ts start line: 42 end line: 52 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 843 unit: region: picklist() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 107 end line: 117 size: 11 LOC McCabe index: 1 number of parameters: 8 id: 844 unit: displayContributionType: array() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 142 end line: 152 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 845 unit: checkoutForm: combineReducers() file: support-frontend/assets/pages/supporter-plus-landing/setup/legacyReducer.ts start line: 88 end line: 98 size: 11 LOC McCabe index: 1 number of parameters: 10 id: 846 unit: def currencyIsSupportedForCountry() file: support-frontend/app/utils/CheckoutValidationRules.scala start line: 288 end line: 299 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 847 unit: def passes() file: support-frontend/app/utils/CheckoutValidationRules.scala start line: 306 end line: 322 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 848 unit: def fromAppConfig[T: Decoder]() file: support-frontend/app/admin/settings/SettingsProvider.scala start line: 158 end line: 168 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 849 unit: override def invokeBlock[A]() file: support-frontend/app/actions/UserFromAuthCookiesActionBuilder.scala start line: 36 end line: 50 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 850 unit: def convertErrors[T]() file: support-frontend/app/services/stepfunctions/StateMachineContainer.scala start line: 12 end line: 22 size: 11 LOC McCabe index: 8 number of parameters: 1 id: 851 unit: def getArticles: Action[AnyContent] = CachedAction() file: support-frontend/app/controllers/ArticleShare.scala start line: 32 end line: 42 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 852 unit: private def getPrices() file: support-frontend/app/controllers/PricesController.scala start line: 121 end line: 131 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 853 unit: private def persistentCookieWithMaxAge() file: support-frontend/app/controllers/SubscriptionProductCookiesCreator.scala start line: 13 end line: 23 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 854 unit: def downForMaintenance() file: support-frontend/app/controllers/Application.scala start line: 323 end line: 333 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 855 unit: def redirectToCheckout() file: support-frontend/app/controllers/Application.scala start line: 531 end line: 543 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 856 unit: private def logErrorDetailedMessage() file: support-frontend/app/controllers/CreateSubscriptionController.scala start line: 315 end line: 326 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 857 unit: private def logDetailedMessage() file: support-frontend/app/controllers/CreateSubscriptionController.scala start line: 328 end line: 339 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 858 unit: def fromAgentsCoverage() file: support-frontend/app/controllers/PaperRound.scala start line: 66 end line: 76 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 859 unit: def promotionCopy() file: support-frontend/app/controllers/LandingCopyProvider.scala start line: 18 end line: 28 size: 11 LOC McCabe index: 2 number of parameters: 4 id: 860 unit: def cookies() file: support-frontend/app/controllers/DiagnosticsController.scala start line: 27 end line: 37 size: 11 LOC McCabe index: 5 number of parameters: 0 id: 861 unit: def status() file: support-frontend/app/controllers/SupportWorkersStatus.scala start line: 23 end line: 33 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 862 unit: export function Menu() file: support-frontend/stories/core/Menu.stories.tsx start line: 10 end line: 20 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 863 unit: private def extractDouble() file: support-models/src/main/scala/com/gu/support/encoding/JsonHelpers.scala start line: 88 end line: 99 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 864 unit: def fromString[T]() file: support-models/src/main/scala/com/gu/support/catalog/ProductOptions.scala start line: 39 end line: 54 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 865 unit: def getAddressLine() file: support-models/src/main/scala/com/gu/salesforce/AddressLineTransformer.scala start line: 56 end line: 68 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 866 unit: override def asPlayConfig() file: support-payment-api/src/main/scala/conf/AppConfig.scala start line: 30 end line: 41 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 867 unit: @tailrec private def executePathRequestImpl() file: support-payment-api/src/main/scala/conf/ConfigLoader.scala start line: 21 end line: 33 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 868 unit: def validateRefundHook() file: support-payment-api/src/main/scala/services/StripeService.scala start line: 19 end line: 31 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 869 unit: def startPoller() file: support-payment-api/src/main/scala/services/SwitchService.scala start line: 114 end line: 125 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 870 unit: override def apply() file: support-payment-api/src/main/scala/controllers/ActionOps.scala start line: 29 end line: 39 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 871 unit: def fillInEmptyMessage() file: support-payment-api/src/main/scala/controllers/ErrorHandler.scala start line: 28 end line: 38 size: 11 LOC McCabe index: 6 number of parameters: 2 id: 872 unit: def withStream[RESULT]() file: support-modules/aws/src/main/scala/com/gu/aws/AwsS3Client.scala start line: 22 end line: 34 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 873 unit: def retry[A, B]() file: support-modules/retry/src/main/scala/com/gu/retry/EitherTRetry.scala start line: 17 end line: 27 size: 11 LOC McCabe index: 3 number of parameters: 5 id: 874 unit: private def urlBuilder = HttpUrl.parse() file: support-modules/rest/src/main/scala/com/gu/rest/WebServiceHelper.scala start line: 51 end line: 85 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 875 unit: def putJson[A]() file: support-modules/rest/src/main/scala/com/gu/rest/WebServiceHelper.scala start line: 162 end line: 172 size: 11 LOC McCabe index: 1 number of parameters: 4 id: 876 unit: def record[T]() file: support-workers/src/main/scala/com/gu/helpers/Timing.scala start line: 9 end line: 22 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 877 unit: def get[A]() file: support-workers/src/main/scala/com/gu/stripe/StripeService.scala start line: 40 end line: 51 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 878 unit: private def sendAcquisitionEvent() file: support-workers/src/main/scala/com/gu/support/workers/lambdas/SendAcquisitionEvent.scala start line: 33 end line: 45 size: 11 LOC McCabe index: 3 number of parameters: 3 id: 879 unit: private def getBaseProductPrice() file: support-workers/src/main/scala/com/gu/zuora/subscriptionBuilders/SupporterPlusSubcriptionBuilder.scala start line: 71 end line: 81 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 880 unit: private def maybeAddGiftRecipient() file: support-workers/src/main/scala/com/gu/salesforce/SalesforceService.scala start line: 91 end line: 101 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 881 unit: def applyTo() file: support-services/src/main/scala/com/gu/support/promotions/PromotionApplicator.scala start line: 8 end line: 20 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 882 unit: def getCopyForPromoCode() file: support-services/src/main/scala/com/gu/support/promotions/ProductPromotionCopy.scala start line: 9 end line: 18 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 883 unit: def processSubscription() file: stripe-patrons-data/src/main/scala/com/gu/patrons/lambdas/PatronSignUpEventLambda.scala start line: 141 end line: 150 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 884 unit: function getLabelText() file: support-frontend/assets/components/paymentMethodSelector/radioWithImage.tsx start line: 29 end line: 39 size: 10 LOC McCabe index: 2 number of parameters: 3 id: 885 unit: function handleSubmit() file: support-frontend/assets/components/subscriptionCheckouts/address/postcodeFinder.tsx start line: 36 end line: 47 size: 10 LOC McCabe index: 3 number of parameters: 0 id: 886 unit: message: appropriateErrorMessage() file: support-frontend/assets/components/subscriptionCheckouts/stripeForm/stripeForm.tsx start line: 160 end line: 170 size: 10 LOC McCabe index: 4 number of parameters: 1 id: 887 unit: function CheckoutExpander() file: support-frontend/assets/components/checkoutExpander/checkoutExpander.tsx start line: 35 end line: 44 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 888 unit: export function BackToTop() file: support-frontend/assets/components/footerCompliant/BackToTop.tsx start line: 52 end line: 61 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 889 unit: function BulletPointedListItem() file: support-frontend/assets/components/thankYou/utilityComponents/BulletPointedList.tsx start line: 44 end line: 53 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 890 unit: export function getDirectDebitFormErrors() file: support-frontend/assets/components/directDebit/directDebitForm/selectors.ts start line: 8 end line: 18 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 891 unit: function onChange() file: support-frontend/assets/components/directDebit/directDebitProgressiveDisclosure/directDebitForm.tsx start line: 105 end line: 114 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 892 unit: export function getStripeFormErrors() file: support-frontend/assets/helpers/redux/selectors/formValidation/paymentValidation.ts start line: 5 end line: 15 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 893 unit: function payWithDirectDebit() file: support-frontend/assets/helpers/redux/checkout/payment/directDebit/thunks.ts start line: 65 end line: 74 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 894 unit: function getAddressReducer() file: support-frontend/assets/helpers/redux/checkout/address/reducer.ts start line: 39 end line: 50 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 895 unit: export function addAddressSideEffects() file: support-frontend/assets/helpers/redux/checkout/address/subscriptionsSideEffects.ts start line: 21 end line: 47 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 896 unit: effect() file: support-frontend/assets/helpers/redux/checkout/address/subscriptionsSideEffects.ts start line: 33 end line: 45 size: 10 LOC McCabe index: 4 number of parameters: 2 id: 897 unit: export function getMinimumContributionAmount() file: support-frontend/assets/helpers/redux/checkout/product/selectors/productType.ts start line: 67 end line: 77 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 898 unit: export function getMaximumContributionAmount() file: support-frontend/assets/helpers/redux/checkout/product/selectors/productType.ts start line: 79 end line: 89 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 899 unit: function classNameWithModifiers() file: support-frontend/assets/helpers/utilities/utilities.ts start line: 18 end line: 28 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 900 unit: static fromString() file: support-frontend/assets/helpers/internationalisation/classes/country.ts start line: 110 end line: 121 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 901 unit: static findIsoCountry() file: support-frontend/assets/helpers/internationalisation/classes/country.ts start line: 127 end line: 137 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 902 unit: static fromPath() file: support-frontend/assets/helpers/internationalisation/classes/country.ts start line: 154 end line: 164 size: 10 LOC McCabe index: 5 number of parameters: 1 id: 903 unit: static fromCookie() file: support-frontend/assets/helpers/internationalisation/classes/countryGroup.ts start line: 93 end line: 104 size: 10 LOC McCabe index: 3 number of parameters: 0 id: 904 unit: static fromGeolocation() file: support-frontend/assets/helpers/internationalisation/classes/countryGroup.ts start line: 106 end line: 117 size: 10 LOC McCabe index: 3 number of parameters: 0 id: 905 unit: export function get() file: support-frontend/assets/helpers/storage/cookie.ts start line: 14 end line: 25 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 906 unit: region: string() file: support-frontend/assets/helpers/storage/abandonedBasketCookies.ts start line: 23 end line: 34 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 907 unit: export function gridSrcset() file: support-frontend/assets/helpers/images/theGrid.ts start line: 37 end line: 46 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 908 unit: function getParticipationsFromUrl() file: support-frontend/assets/helpers/abTests/abtest.ts start line: 193 end line: 204 size: 10 LOC McCabe index: 4 number of parameters: 0 id: 909 unit: function ophanPaymentMethod() file: support-frontend/assets/helpers/tracking/googleTagManager.ts start line: 80 end line: 91 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 910 unit: function processQueues() file: support-frontend/assets/helpers/tracking/googleTagManager.ts start line: 164 end line: 174 size: 10 LOC McCabe index: 3 number of parameters: 0 id: 911 unit: guestAccountCreationToken: optional() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 59 end line: 68 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 912 unit: subscriptionsSwitches: record() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 89 end line: 98 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 913 unit: function NewspaperArchiveBanner() file: support-frontend/assets/pages/supporter-plus-landing/components/landingPageBanners.tsx start line: 130 end line: 139 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 914 unit: function FeastBanner() file: support-frontend/assets/pages/supporter-plus-landing/components/landingPageBanners.tsx start line: 141 end line: 150 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 915 unit: function handleSetTabAction() file: support-frontend/assets/pages/paper-subscription-landing/paperSubscriptionLandingPage.tsx start line: 66 end line: 76 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 916 unit: function getCopyParagraph() file: support-frontend/assets/pages/aus-moment-map/components/blurb.tsx start line: 24 end line: 33 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 917 unit: export function PaymentMethodSelector() file: support-frontend/assets/pages/[countryGroupId]/components/paymentMethod.tsx start line: 85 end line: 94 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 918 unit: src: url() file: support-frontend/assets/stylesheets/emotion/fonts.ts start line: 48 end line: 59 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 919 unit: src: url() file: support-frontend/assets/stylesheets/emotion/fonts.ts start line: 91 end line: 102 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 920 unit: src: url() file: support-frontend/assets/stylesheets/emotion/fonts.ts start line: 134 end line: 145 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 921 unit: def apply() file: support-frontend/app/filters/RelaxReferrerPolicyFromRedirectFilter.scala start line: 10 end line: 21 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 922 unit: def fromLocalFile[T: Decoder]() file: support-frontend/app/admin/settings/SettingsProvider.scala start line: 76 end line: 87 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 923 unit: def apply() file: support-frontend/app/assets/AssetsResolver.scala start line: 14 end line: 25 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 924 unit: def createSignInToken() file: support-frontend/app/services/HttpIdentityService.scala start line: 127 end line: 136 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 925 unit: private def update() file: support-frontend/app/services/pricing/DefaultPromotionService.scala start line: 65 end line: 75 size: 10 LOC McCabe index: 3 number of parameters: 0 id: 926 unit: def getDiscountedPrice() file: support-frontend/app/services/pricing/PriceSummaryService.scala start line: 137 end line: 146 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 927 unit: def getNumberOfDiscountedPeriods() file: support-frontend/app/services/pricing/PriceSummaryService.scala start line: 148 end line: 164 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 928 unit: private def logNVPResponse() file: support-frontend/app/services/PayPalNvpService.scala start line: 24 end line: 36 size: 10 LOC McCabe index: 6 number of parameters: 1 id: 929 unit: def executePaypalPayment() file: support-frontend/app/services/PaymentAPIService.scala start line: 95 end line: 104 size: 10 LOC McCabe index: 1 number of parameters: 5 id: 930 unit: def createAgreement: Action[Token] = MaybeAuthenticatedActionOnFormSubmission.async() file: support-frontend/app/controllers/PayPalRegular.scala start line: 51 end line: 60 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 931 unit: def contributionsLanding() file: support-frontend/app/controllers/Application.scala start line: 311 end line: 321 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 932 unit: def promotionCopyForCountryGroup() file: support-frontend/app/controllers/LandingCopyProvider.scala start line: 52 end line: 61 size: 10 LOC McCabe index: 2 number of parameters: 3 id: 933 unit: def fromConfig() file: support-config/src/main/scala/com/gu/support/config/PayPalConfig.scala start line: 15 end line: 24 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 934 unit: private def extractBenefitForType() file: support-models/src/main/scala/com/gu/support/encoding/JsonHelpers.scala start line: 77 end line: 86 size: 10 LOC McCabe index: 8 number of parameters: 3 id: 935 unit: def parse() file: support-models/src/main/scala/com/gu/support/workers/PaymentFields.scala start line: 33 end line: 42 size: 10 LOC McCabe index: 10 number of parameters: 1 id: 936 unit: def parse() file: support-models/src/main/scala/com/gu/support/workers/PaymentFields.scala start line: 57 end line: 66 size: 10 LOC McCabe index: 11 number of parameters: 1 id: 937 unit: print_options: mapPrintOptions() file: support-lambdas/bigquery-acquisitions-publisher/typescript/acquisitions.ts start line: 83 end line: 92 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 938 unit: def load() file: support-payment-api/src/main/scala/model/AppThreadPool.scala start line: 90 end line: 102 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 939 unit: private def corsHeaders() file: support-payment-api/src/main/scala/actions/CorsAction.scala start line: 16 end line: 25 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 940 unit: def loadConfig[EnvType: Show, A: ClassTag: ParameterStoreLoadable[EnvType, *]]() file: support-payment-api/src/main/scala/conf/ConfigLoader.scala start line: 44 end line: 53 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 941 unit: def apply() file: support-payment-api/src/main/scala/services/SoftOptInsService.scala start line: 71 end line: 82 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 942 unit: private def buildCaptureByTransaction() file: support-payment-api/src/main/scala/services/PaypalService.scala start line: 161 end line: 170 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 943 unit: override def getOrCreateIdentityIdFromEmail() file: support-payment-api/src/main/scala/services/IdentityService.scala start line: 47 end line: 61 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 944 unit: def sendThankYouEmail() file: support-payment-api/src/main/scala/services/EmailService.scala start line: 23 end line: 33 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 945 unit: def recordPaymentSuccess() file: support-payment-api/src/main/scala/services/CloudWatchService.scala start line: 37 end line: 47 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 946 unit: protected def getAddressFields() file: support-workers/src/main/scala/com/gu/emailservices/PaperFieldsGenerator.scala start line: 49 end line: 59 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 947 unit: private def extractResponse() file: support-workers/src/main/scala/com/gu/paypal/PayPalService.scala start line: 41 end line: 55 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 948 unit: private def nvpRequest() file: support-workers/src/main/scala/com/gu/paypal/PayPalService.scala start line: 58 end line: 70 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 949 unit: def preview() file: support-workers/src/main/scala/com/gu/support/workers/PreviewPaymentSchedule.scala start line: 13 end line: 22 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 950 unit: private def round() file: support-workers/src/main/scala/com/gu/support/workers/PreviewPaymentSchedule.scala start line: 24 end line: 34 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 951 unit: def this() file: support-workers/src/main/scala/com/gu/support/workers/lambdas/SendAcquisitionEvent.scala start line: 21 end line: 31 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 952 unit: private def sendPaymentSuccessMetric() file: support-workers/src/main/scala/com/gu/support/workers/lambdas/SendAcquisitionEvent.scala start line: 47 end line: 59 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 953 unit: override def handleRequest() file: support-workers/src/main/scala/com/gu/support/workers/lambdas/Handler.scala start line: 49 end line: 59 size: 10 LOC McCabe index: 5 number of parameters: 3 id: 954 unit: def findPromotions() file: support-services/src/main/scala/com/gu/support/promotions/PromotionService.scala start line: 30 end line: 39 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 955 unit: def getAccountFields() file: support-services/src/main/scala/com/gu/zuora/ZuoraService.scala start line: 24 end line: 36 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 956 unit: private def itemIsDiscount() file: supporter-product-data/src/main/scala/com/gu/lambdas/ProcessSupporterRatePlanItemLambda.scala start line: 59 end line: 68 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 957 unit: def fetchContributionAmountFromZuora() file: supporter-product-data/src/main/scala/com/gu/lambdas/ProcessSupporterRatePlanItemLambda.scala start line: 94 end line: 102 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 958 unit: def fromStream[T]() file: supporter-product-data/src/main/scala/com/gu/lambdas/Handler.scala start line: 44 end line: 52 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 959 unit: def getFiles() file: support-frontend/build.sbt start line: 79 end line: 87 size: 9 LOC McCabe index: 5 number of parameters: 2 id: 960 unit: function OrderedList() file: support-frontend/assets/components/list/orderedList.tsx start line: 26 end line: 34 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 961 unit: function internationalisationID() file: support-frontend/assets/components/headers/links/links.tsx start line: 75 end line: 84 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 962 unit: export default function AnimatedDots() file: support-frontend/assets/components/spinners/animatedDots.tsx start line: 11 end line: 19 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 963 unit: function getBorderStyling() file: support-frontend/assets/components/footerCompliant/containers/Content.tsx start line: 31 end line: 39 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 964 unit: function BulletPointedList() file: support-frontend/assets/components/thankYou/utilityComponents/BulletPointedList.tsx start line: 55 end line: 63 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 965 unit: icon: getThankYouModuleIcon() file: support-frontend/assets/components/thankYou/thankYouModuleData.tsx start line: 283 end line: 291 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 966 unit: export function isValidPostcodeForHomeDelivery() file: support-frontend/assets/helpers/redux/checkout/address/validation.ts start line: 186 end line: 195 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 967 unit: export function getContributionType() file: support-frontend/assets/helpers/redux/checkout/product/selectors/productType.ts start line: 21 end line: 29 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 968 unit: export function getSubscriptionType() file: support-frontend/assets/helpers/redux/checkout/product/selectors/productType.ts start line: 56 end line: 65 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 969 unit: function removeErrorsForField() file: support-frontend/assets/helpers/redux/checkout/addressMeta/subscriptionsSideEffects.ts start line: 9 end line: 17 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 970 unit: setCountryInternationalisation() file: support-frontend/assets/helpers/redux/commonState/reducer.ts start line: 49 end line: 57 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 971 unit: settings: getSettings() file: support-frontend/assets/helpers/redux/commonState/state.ts start line: 52 end line: 60 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 972 unit: static fromCountry() file: support-frontend/assets/helpers/internationalisation/classes/countryGroup.ts start line: 72 end line: 80 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 973 unit: static detect() file: support-frontend/assets/helpers/internationalisation/classes/countryGroup.ts start line: 119 end line: 127 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 974 unit: function getSavingsForFulfilmentOption() file: support-frontend/assets/helpers/productPrice/paperSavingsVsRetail.ts start line: 12 end line: 20 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 975 unit: function applyDiscount() file: support-frontend/assets/helpers/productPrice/promotions.tsx start line: 54 end line: 62 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 976 unit: function getAppliedPromo() file: support-frontend/assets/helpers/productPrice/promotions.tsx start line: 67 end line: 77 size: 9 LOC McCabe index: 4 number of parameters: 1 id: 977 unit: roundel: getSanitisedHtml() file: support-frontend/assets/helpers/productPrice/promotions.tsx start line: 117 end line: 130 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 978 unit: amount: parseAmount() file: support-frontend/assets/helpers/storage/abandonedBasketCookies.ts start line: 37 end line: 49 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 979 unit: function notLongerThan() file: support-frontend/assets/helpers/subscriptionsForms/validation.ts start line: 22 end line: 30 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 980 unit: function firstError() file: support-frontend/assets/helpers/subscriptionsForms/validation.ts start line: 57 end line: 65 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 981 unit: function formError() file: support-frontend/assets/helpers/subscriptionsForms/validation.ts start line: 74 end line: 82 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 982 unit: function enableOrDisablePayPalExpressCheckoutButton() file: support-frontend/assets/helpers/subscriptionsForms/checkoutFormIsSubmittableActions.ts start line: 7 end line: 15 size: 9 LOC McCabe index: 4 number of parameters: 1 id: 983 unit: rule: notLongerThan() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 131 end line: 139 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 984 unit: function getParticipations() file: support-frontend/assets/helpers/abTests/abtest.ts start line: 78 end line: 86 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 985 unit: selectedAmountsVariant: getFallbackAmounts() file: support-frontend/assets/helpers/abTests/abtest.ts start line: 354 end line: 364 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 986 unit: function targetPageMatches() file: support-frontend/assets/helpers/abTests/abtest.ts start line: 579 end line: 588 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 987 unit: function mapFields() file: support-frontend/assets/helpers/tracking/googleTagManager.ts start line: 98 end line: 106 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 988 unit: function sendEventWhenReadyTrigger() file: support-frontend/assets/helpers/tracking/quantumMetric.ts start line: 132 end line: 148 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 989 unit: function sendEventSubscriptionCheckoutEvent() file: support-frontend/assets/helpers/tracking/quantumMetric.ts start line: 181 end line: 210 size: 9 LOC McCabe index: 1 number of parameters: 4 id: 990 unit: function sendEventContributionCartValue() file: support-frontend/assets/helpers/tracking/quantumMetric.ts start line: 376 end line: 401 size: 9 LOC McCabe index: 3 number of parameters: 3 id: 991 unit: function getReferrerAcquisitionDataFromSessionStorage() file: support-frontend/assets/helpers/tracking/acquisitions.ts start line: 252 end line: 261 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 992 unit: function getAcquisitionDataFromAcquisitionDataParam() file: support-frontend/assets/helpers/tracking/acquisitions.ts start line: 297 end line: 306 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 993 unit: function getPatronsLink() file: support-frontend/assets/helpers/urls/externalLinks.ts start line: 24 end line: 33 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 994 unit: function payPalReturnUrl() file: support-frontend/assets/helpers/urls/routes.ts start line: 127 end line: 135 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 995 unit: function getBaseDomain() file: support-frontend/assets/helpers/urls/url.ts start line: 63 end line: 73 size: 9 LOC McCabe index: 3 number of parameters: 0 id: 996 unit: env: getPayPalEnvironment() file: support-frontend/assets/helpers/forms/paymentIntegrations/payPalRecurringCheckout.ts start line: 167 end line: 175 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 997 unit: recaptchaEnabled: boolean() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 60 end line: 68 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 998 unit: function pollUntilPromise() file: support-frontend/assets/helpers/async/promise.ts start line: 19 end line: 28 size: 9 LOC McCabe index: 2 number of parameters: 3 id: 999 unit: export default function LegalTerms() file: support-frontend/assets/pages/promotion-terms/legalTerms.tsx start line: 30 end line: 38 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 1000 unit: export function BackButton() file: support-frontend/assets/pages/[countryGroupId]/components/backButton.tsx start line: 8 end line: 16 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 1001 unit: export function getReturnAddress() file: support-frontend/assets/pages/[countryGroupId]/checkout/helpers/sessionStorage.ts start line: 26 end line: 34 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 1002 unit: lineOne: nullish() file: support-frontend/assets/pages/[countryGroupId]/checkout/helpers/stripeCheckoutSession.ts start line: 23 end line: 31 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 1003 unit: deliveryAddress: optional() file: support-frontend/assets/pages/[countryGroupId]/checkout/helpers/stripeCheckoutSession.ts start line: 30 end line: 38 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 1004 unit: version: number() file: support-frontend/assets/pages/[countryGroupId]/checkout/helpers/stripeCheckoutSession.ts start line: 54 end line: 65 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 1005 unit: export function sensiblyGenerateDigiSubPrice() file: support-frontend/assets/pages/paper-subscription-checkout/helpers/orderSummaryText.ts start line: 38 end line: 46 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 1006 unit: src: url() file: support-frontend/assets/stylesheets/emotion/fonts.ts start line: 8 end line: 16 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 1007 unit: src: url() file: support-frontend/assets/stylesheets/emotion/fonts.ts start line: 18 end line: 26 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 1008 unit: src: url() file: support-frontend/assets/stylesheets/emotion/fonts.ts start line: 28 end line: 36 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 1009 unit: src: url() file: support-frontend/assets/stylesheets/emotion/fonts.ts start line: 38 end line: 46 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 1010 unit: src: url() file: support-frontend/assets/stylesheets/emotion/fonts.ts start line: 61 end line: 69 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 1011 unit: src: url() file: support-frontend/assets/stylesheets/emotion/fonts.ts start line: 71 end line: 79 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 1012 unit: src: url() file: support-frontend/assets/stylesheets/emotion/fonts.ts start line: 81 end line: 89 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 1013 unit: src: url() file: support-frontend/assets/stylesheets/emotion/fonts.ts start line: 104 end line: 112 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 1014 unit: src: url() file: support-frontend/assets/stylesheets/emotion/fonts.ts start line: 114 end line: 122 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 1015 unit: src: url() file: support-frontend/assets/stylesheets/emotion/fonts.ts start line: 124 end line: 132 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 1016 unit: def hasPostcodeIfRequired() file: support-frontend/app/utils/CheckoutValidationRules.scala start line: 278 end line: 286 size: 9 LOC McCabe index: 5 number of parameters: 2 id: 1017 unit: def settings() file: support-frontend/app/admin/settings/SettingsProvider.scala start line: 28 end line: 37 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 1018 unit: def getAllSettings() file: support-frontend/app/admin/settings/SettingsProvider.scala start line: 39 end line: 47 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 1019 unit: def getPromoCodes() file: support-frontend/app/services/pricing/DefaultPromotionService.scala start line: 77 end line: 85 size: 9 LOC McCabe index: 7 number of parameters: 1 id: 1020 unit: def retrieveEmail() file: support-frontend/app/services/PayPalNvpService.scala start line: 68 end line: 77 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 1021 unit: def createBillingAgreement() file: support-frontend/app/services/PayPalNvpService.scala start line: 140 end line: 149 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 1022 unit: def getTokens() file: support-frontend/app/services/AuthenticationService.scala start line: 45 end line: 55 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 1023 unit: def jobIdFromArn() file: support-frontend/app/services/stepfunctions/Client.scala start line: 78 end line: 87 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 1024 unit: def fromCapiElement() file: support-frontend/app/services/CapiService.scala start line: 28 end line: 36 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 1025 unit: def getAllProductPrices() file: support-frontend/app/controllers/Application.scala start line: 234 end line: 242 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 1026 unit: icon: getThankYouModuleIcon() file: support-frontend/stories/checkouts/thankYouModule.stories.tsx start line: 394 end line: 402 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 1027 unit: export function Block() file: support-frontend/stories/productPage/Block.stories.tsx start line: 22 end line: 30 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 1028 unit: final def apply() file: support-models/src/main/scala/com/gu/support/encoding/CustomCodecs.scala start line: 90 end line: 98 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 1029 unit: def fromErrorJson() file: support-models/src/main/scala/com/gu/support/zuora/api/response/Responses.scala start line: 28 end line: 36 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 1030 unit: def apply() file: support-models/src/main/scala/com/gu/support/workers/PaymentFields.scala start line: 85 end line: 93 size: 9 LOC McCabe index: 9 number of parameters: 1 id: 1031 unit: def load() file: support-lambdas/stripe-intent/src/main/scala/com/gu/handler/impure/S3Loader.scala start line: 9 end line: 17 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 1032 unit: def okSetupIntent() file: support-lambdas/stripe-intent/src/main/scala/com/gu/stripeIntent/Handler.scala start line: 65 end line: 75 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 1033 unit: def isAmountOutOfBounds() file: support-payment-api/src/main/scala/model/Currency.scala start line: 30 end line: 41 size: 9 LOC McCabe index: 4 number of parameters: 2 id: 1034 unit: def fromRequest() file: support-payment-api/src/main/scala/model/ClientBrowserInfo.scala start line: 15 end line: 24 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 1035 unit: def getCountryCode() file: support-payment-api/src/main/scala/model/acquisition/StripeCharge.scala start line: 10 end line: 21 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 1036 unit: def mapCurrency() file: support-payment-api/src/main/scala/model/acquisition/AcquisitionDataRowBuilder.scala start line: 119 end line: 127 size: 9 LOC McCabe index: 7 number of parameters: 1 id: 1037 unit: private def getOrCreateIdentityIdFromEmail() file: support-payment-api/src/main/scala/backend/PaypalBackend.scala start line: 185 end line: 193 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 1038 unit: private def getOrCreateIdentityIdFromEmail() file: support-payment-api/src/main/scala/backend/StripeBackend.scala start line: 276 end line: 284 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 1039 unit: def apply[A]() file: support-payment-api/src/main/scala/util/RequestBasedProvider.scala start line: 42 end line: 51 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 1040 unit: override def parametersByPathRequest() file: support-payment-api/src/main/scala/conf/AppConfig.scala start line: 17 end line: 26 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 1041 unit: def fromEmailConfig() file: support-payment-api/src/main/scala/services/EmailService.scala start line: 38 end line: 46 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 1042 unit: def asByteString() file: support-payment-api/src/main/scala/controllers/JsonUtils.scala start line: 21 end line: 33 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 1043 unit: alarmName: alarmName() file: cdk/lib/frontend.ts start line: 127 end line: 136 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 1044 unit: private def logNVPResponse() file: support-workers/src/main/scala/com/gu/paypal/PayPalService.scala start line: 27 end line: 38 size: 9 LOC McCabe index: 5 number of parameters: 1 id: 1045 unit: def applyTo() file: support-services/src/main/scala/com/gu/support/promotions/PromotionApplicator.scala start line: 28 end line: 35 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1046 unit: def findPromotion() file: support-services/src/main/scala/com/gu/support/promotions/PromotionService.scala start line: 20 end line: 27 size: 8 LOC McCabe index: 4 number of parameters: 1 id: 1047 unit: def fromString() file: supporter-product-data/src/main/scala/com/gu/model/StageConstructors.scala start line: 8 end line: 16 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1048 unit: def queryZuora() file: supporter-product-data/src/main/scala/com/gu/lambdas/QueryZuoraLambda.scala start line: 28 end line: 39 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 1049 unit: def putParameter() file: supporter-product-data/src/main/scala/com/gu/services/ParameterStoreService.scala start line: 47 end line: 56 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 1050 unit: def fromString() file: stripe-patrons-data/src/main/scala/com/gu/patrons/model/StageConstructors.scala start line: 8 end line: 16 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1051 unit: def fromParameterStoreSync() file: stripe-patrons-data/src/main/scala/com/gu/patrons/conf/PatronsIdentityConfig.scala start line: 10 end line: 17 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1052 unit: def putParameter() file: stripe-patrons-data/src/main/scala/com/gu/patrons/services/ParameterStoreService.scala start line: 57 end line: 66 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 1053 unit: def getOrCreateUserFromEmail() file: stripe-patrons-data/src/main/scala/com/gu/patrons/services/PatronsIdentityService.scala start line: 20 end line: 27 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 1054 unit: function HeaderWrapper() file: support-frontend/assets/components/subscriptionCheckouts/headerWrapper.tsx start line: 27 end line: 34 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 1055 unit: function ListItem() file: support-frontend/assets/components/list/list.tsx start line: 89 end line: 96 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 1056 unit: function ListWith() file: support-frontend/assets/components/list/list.tsx start line: 120 end line: 142 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1057 unit: function ProductInfoChip() file: support-frontend/assets/components/product/productInfoChip.tsx start line: 39 end line: 46 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 1058 unit: function Error() file: support-frontend/assets/components/forms/customFields/error.tsx start line: 15 end line: 22 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 1059 unit: export function Box() file: support-frontend/assets/components/checkoutBox/checkoutBox.tsx start line: 27 end line: 34 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1060 unit: export function BoxContents() file: support-frontend/assets/components/checkoutBox/checkoutBox.tsx start line: 48 end line: 55 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1061 unit: icon: getThankYouModuleIcon() file: support-frontend/assets/components/thankYou/thankYouModuleData.tsx start line: 244 end line: 251 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1062 unit: function onSubmit() file: support-frontend/assets/components/directDebit/directDebitProgressiveDisclosure/directDebitForm.tsx start line: 95 end line: 103 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 1063 unit: export function zuoraCompatibleString() file: support-frontend/assets/helpers/redux/utils/validation/commonRules.ts start line: 10 end line: 17 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 1064 unit: effect() file: support-frontend/assets/helpers/redux/checkout/product/contributionsSideEffects.ts start line: 85 end line: 93 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 1065 unit: effect() file: support-frontend/assets/helpers/redux/checkout/product/contributionsSideEffects.ts start line: 98 end line: 106 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 1066 unit: amounts: getFallbackAmounts() file: support-frontend/assets/helpers/redux/commonState/state.ts start line: 53 end line: 60 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1067 unit: function setUpTrackingAndConsents() file: support-frontend/assets/helpers/page/page.ts start line: 17 end line: 25 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1068 unit: static fromQueryParameter() file: support-frontend/assets/helpers/internationalisation/classes/countryGroup.ts start line: 82 end line: 91 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 1069 unit: void postRegularPaymentRequest() file: support-frontend/assets/helpers/subscriptionsForms/submit.ts start line: 304 end line: 312 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 1070 unit: function submitWithDeliveryForm() file: support-frontend/assets/helpers/subscriptionsForms/submit.ts start line: 434 end line: 441 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 1071 unit: rule: notNull() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 81 end line: 88 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 1072 unit: error: formError() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 132 end line: 139 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 1073 unit: export function validateWithDeliveryForm() file: support-frontend/assets/helpers/subscriptionsForms/formValidation.ts start line: 34 end line: 41 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 1074 unit: function getOrderId() file: support-frontend/assets/helpers/tracking/googleTagManager.ts start line: 69 end line: 78 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 1075 unit: orderId: getOrderId() file: support-frontend/assets/helpers/tracking/googleTagManager.ts start line: 124 end line: 137 size: 8 LOC McCabe index: 5 number of parameters: 0 id: 1076 unit: function productToCheckoutEvents() file: support-frontend/assets/helpers/tracking/quantumMetric.ts start line: 212 end line: 219 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 1077 unit: function sendEventCheckoutValue() file: support-frontend/assets/helpers/tracking/quantumMetric.ts start line: 318 end line: 348 size: 8 LOC McCabe index: 1 number of parameters: 5 id: 1078 unit: void ifQmPermitted() file: support-frontend/assets/helpers/tracking/quantumMetric.ts start line: 407 end line: 415 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1079 unit: export function canRunQuantumMetric() file: support-frontend/assets/helpers/tracking/quantumMetricHelpers.ts start line: 123 end line: 132 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 1080 unit: function paymentApiEndpointWithMode() file: support-frontend/assets/helpers/forms/paymentIntegrations/oneOffContributions.ts start line: 106 end line: 114 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 1081 unit: v2recaptchaPublicKey: string() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 61 end line: 68 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 1082 unit: id: string() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 64 end line: 71 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 1083 unit: variantName: string() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 145 end line: 152 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 1084 unit: function isCampaignEnabled() file: support-frontend/assets/helpers/campaigns/campaigns.tsx start line: 61 end line: 68 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 1085 unit: export function filterBenefitByABTest() file: support-frontend/assets/helpers/productCatalog.ts start line: 75 end line: 82 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 1086 unit: price: selectPriceForProduct() file: support-frontend/assets/pages/weekly-subscription-checkout/components/weeklyCheckoutForm.tsx start line: 113 end line: 121 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1087 unit: function getTermsConditionsLink() file: support-frontend/assets/pages/promotion-terms/promotionTerms.tsx start line: 23 end line: 31 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 1088 unit: export function LandingPageBanners() file: support-frontend/assets/pages/supporter-plus-landing/components/landingPageBanners.tsx start line: 152 end line: 159 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 1089 unit: function TestimonialsTwoColumns() file: support-frontend/assets/pages/aus-moment-map/components/testimonialsContainer.tsx start line: 285 end line: 292 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1090 unit: function fromSessionStorage() file: support-frontend/assets/pages/[countryGroupId]/checkout/helpers/sessionStorage.ts start line: 5 end line: 12 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 1091 unit: billingAddress: object() file: support-frontend/assets/pages/[countryGroupId]/checkout/helpers/stripeCheckoutSession.ts start line: 22 end line: 29 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1092 unit: lineTwo: nullish() file: support-frontend/assets/pages/[countryGroupId]/checkout/helpers/stripeCheckoutSession.ts start line: 24 end line: 31 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1093 unit: checkoutSessionId: string() file: support-frontend/assets/pages/[countryGroupId]/checkout/helpers/stripeCheckoutSession.ts start line: 55 end line: 65 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 1094 unit: export function preventDefaultValidityMessage() file: support-frontend/assets/pages/[countryGroupId]/validation.ts start line: 1 end line: 15 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 1095 unit: function getGreenSummary() file: support-frontend/assets/pages/paper-subscription-checkout/components/deliveryAgentsSelect.tsx start line: 226 end line: 233 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 1096 unit: function setSubsCardStartDateInState() file: support-frontend/assets/pages/paper-subscription-checkout/components/paperCheckoutForm.tsx start line: 184 end line: 191 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1097 unit: function getDays() file: support-frontend/assets/pages/paper-subscription-checkout/helpers/options.ts start line: 7 end line: 14 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 1098 unit: def setEndpoint() file: support-frontend/app/models/identity/responses/IdentityErrorResponse.scala start line: 35 end line: 42 size: 8 LOC McCabe index: 5 number of parameters: 1 id: 1099 unit: def hasValidPostcodeLength() file: support-frontend/app/utils/CheckoutValidationRules.scala start line: 262 end line: 269 size: 8 LOC McCabe index: 4 number of parameters: 2 id: 1100 unit: def fromS3[T: Decoder]() file: support-frontend/app/admin/settings/Settings.scala start line: 39 end line: 46 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 1101 unit: def fromLocalFile[T: Decoder]() file: support-frontend/app/admin/settings/Settings.scala start line: 48 end line: 55 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 1102 unit: private def parseJson() file: support-frontend/app/assets/AssetsResolver.scala start line: 32 end line: 39 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 1103 unit: override def invokeBlock[BODYTYPE]() file: support-frontend/app/actions/AsyncAuthenticatedBuilder.scala start line: 24 end line: 31 size: 8 LOC McCabe index: 2 number of parameters: 3 id: 1104 unit: def apply() file: support-frontend/app/services/stepfunctions/Client.scala start line: 22 end line: 31 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1105 unit: def triggerExecution[T]() file: support-frontend/app/services/stepfunctions/Client.scala start line: 69 end line: 76 size: 8 LOC McCabe index: 1 number of parameters: 4 id: 1106 unit: def sitemap: Action[AnyContent] = CachedAction() file: support-frontend/app/controllers/SiteMap.scala start line: 16 end line: 24 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 1107 unit: private def contributionsLandingPageUS() file: support-frontend/app/controllers/SiteMap.scala start line: 56 end line: 63 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 1108 unit: def eventsRouter() file: support-frontend/app/controllers/Application.scala start line: 586 end line: 593 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 1109 unit: def processPayPalError() file: support-frontend/app/controllers/PayPalOneOff.scala start line: 48 end line: 55 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 1110 unit: def resultFromPaymentAPIError() file: support-frontend/app/controllers/PayPalOneOff.scala start line: 57 end line: 64 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 1111 unit: final def apply() file: support-frontend/app/controllers/PaperRound.scala start line: 85 end line: 92 size: 8 LOC McCabe index: 6 number of parameters: 1 id: 1112 unit: icon: getThankYouModuleIcon() file: support-frontend/stories/checkouts/thankYouModule.stories.tsx start line: 203 end line: 210 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1113 unit: def all = List() file: support-models/src/main/scala/com/gu/support/promotions/DefaultPromotions.scala start line: 12 end line: 20 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1114 unit: private def mapFields() file: support-models/src/main/scala/com/gu/support/promotions/Promotion.scala start line: 32 end line: 39 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1115 unit: private def fromString() file: support-models/src/main/scala/com/gu/support/zuora/api/SubscriptionData.scala start line: 101 end line: 108 size: 8 LOC McCabe index: 5 number of parameters: 1 id: 1116 unit: def getProductRatePlans() file: support-models/src/main/scala/com/gu/support/catalog/Product.scala start line: 35 end line: 45 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 1117 unit: def getParam() file: support-lambdas/bigquery-acquisitions-publisher/src/main/scala/com/gu/bigqueryAcquisitionsPublisher/SSMService.scala start line: 34 end line: 41 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1118 unit: def fromString() file: support-payment-api/src/main/scala/model/stripe/StripeApiError.scala start line: 36 end line: 44 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 1119 unit: private def insertContributionDataIntoDatabase() file: support-payment-api/src/main/scala/backend/PaymentBackend.scala start line: 23 end line: 31 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1120 unit: private def insertContributionIntoSupporterProductData() file: support-payment-api/src/main/scala/backend/PaymentBackend.scala start line: 33 end line: 40 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1121 unit: private def executePathRequest[EnvType: Show, A: ClassTag]() file: support-payment-api/src/main/scala/conf/ConfigLoader.scala start line: 35 end line: 42 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 1122 unit: private def requestForPath() file: support-payment-api/src/main/scala/services/IdentityClient.scala start line: 25 end line: 36 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1123 unit: private def validateCapture() file: support-payment-api/src/main/scala/services/PaypalService.scala start line: 147 end line: 155 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 1124 unit: private def validatePayment() file: support-payment-api/src/main/scala/services/PaypalService.scala start line: 172 end line: 180 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 1125 unit: def recordPostPaymentTasksErrors() file: support-payment-api/src/main/scala/services/CloudWatchService.scala start line: 69 end line: 76 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 1126 unit: alarmDescription: alarmDescription() file: cdk/lib/frontend.ts start line: 128 end line: 136 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1127 unit: function parameterStorePolicy() file: cdk/lib/stripe-patrons-data.ts start line: 37 end line: 44 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 1128 unit: def asEpochSecond() file: support-modules/supporter-product-data-dynamo/src/main/scala/com/gu/supporterdata/services/SupporterDataDynamoService.scala start line: 126 end line: 135 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1129 unit: def sendAcquisition() file: support-modules/acquisition-events/src/main/scala/com/gu/support/acquisitions/bigquery/BigQueryService.scala start line: 39 end line: 49 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1130 unit: def apply() file: support-workers/src/main/scala/com/gu/stripe/retrieveCheckoutSession.scala start line: 24 end line: 31 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 1131 unit: override def load() file: support-workers/src/main/scala/com/gu/config/loaders/S3Loader.scala start line: 9 end line: 16 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 1132 unit: private def retrieveNVPParam() file: support-workers/src/main/scala/com/gu/paypal/PayPalService.scala start line: 73 end line: 80 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 1133 unit: override protected def handlerFuture() file: support-workers/src/main/scala/com/gu/support/workers/lambdas/ServicesHandler.scala start line: 18 end line: 25 size: 8 LOC McCabe index: 1 number of parameters: 4 id: 1134 unit: private def exitHandler() file: support-workers/src/main/scala/com/gu/support/workers/lambdas/FailureHandler.scala start line: 99 end line: 106 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 1135 unit: private def tryToDecode[T]() file: support-workers/src/main/scala/com/gu/support/workers/lambdas/FailureHandler.scala start line: 117 end line: 126 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 1136 unit: def subscriptionRatePlansMatchDomainSubscriptionRatePlans() file: support-workers/src/main/scala/com/gu/zuora/ZuoraSubscriptionCreator.scala start line: 47 end line: 55 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 1137 unit: def initialTermInDays() file: support-workers/src/main/scala/com/gu/zuora/subscriptionBuilders/GuardianWeeklySubscriptionBuilder.scala start line: 87 end line: 94 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 1138 unit: def validateRatePlan() file: support-workers/src/main/scala/com/gu/zuora/subscriptionBuilders/ProductSubscriptionBuilders.scala start line: 13 end line: 20 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 1139 unit: def coverage() file: support-services/src/main/scala/com/gu/support/paperround/PaperRoundService.scala start line: 26 end line: 32 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1140 unit: def agents() file: support-services/src/main/scala/com/gu/support/paperround/PaperRoundService.scala start line: 34 end line: 40 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 1141 unit: def chargebands() file: support-services/src/main/scala/com/gu/support/paperround/PaperRoundService.scala start line: 42 end line: 48 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 1142 unit: def fromString() file: supporter-product-data/src/main/scala/com/gu/model/states/QueryZuoraState.scala start line: 14 end line: 22 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1143 unit: def apply[Request <: AmazonWebServiceRequest, Response]() file: supporter-product-data/src/main/scala/com/gu/AWSAsyncHandler.scala start line: 46 end line: 52 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 1144 unit: def alarmAndExit() file: supporter-product-data/src/main/scala/com/gu/lambdas/AddSupporterRatePlanItemToQueueLambda.scala start line: 87 end line: 93 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 1145 unit: private def isRecurringContribution() file: supporter-product-data/src/main/scala/com/gu/lambdas/ProcessSupporterRatePlanItemLambda.scala start line: 49 end line: 56 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1146 unit: def getParametersByPath() file: supporter-product-data/src/main/scala/com/gu/services/ParameterStoreService.scala start line: 31 end line: 37 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1147 unit: def apply[Request <: AmazonWebServiceRequest, Response]() file: stripe-patrons-data/src/main/scala/com/gu/patrons/AWSAsyncHandler.scala start line: 46 end line: 52 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 1148 unit: override def handleRequest() file: stripe-patrons-data/src/main/scala/com/gu/patrons/lambdas/ProcessStripeSubscriptionsLambda.scala start line: 29 end line: 35 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 1149 unit: def getParametersByPath() file: stripe-patrons-data/src/main/scala/com/gu/patrons/services/ParameterStoreService.scala start line: 31 end line: 38 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1150 unit: def getParametersByPathSync() file: stripe-patrons-data/src/main/scala/com/gu/patrons/services/ParameterStoreService.scala start line: 40 end line: 47 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1151 unit: override def processSubscription() file: stripe-patrons-data/src/main/scala/com/gu/patrons/services/StripeSubscriptionsProcessor.scala start line: 92 end line: 98 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1152 unit: def maybeAddJointPatron() file: stripe-patrons-data/src/main/scala/com/gu/patrons/services/StripeSubscriptionsProcessor.scala start line: 112 end line: 118 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 1153 unit: def fromString() file: support-internationalisation/src/main/scala/com/gu/i18n/Currency.scala start line: 177 end line: 183 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1154 unit: function hideUntilBreakpoint() file: support-frontend/assets/components/page/heroStyles.ts start line: 103 end line: 109 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1155 unit: function handleAddressSelected() file: support-frontend/assets/components/subscriptionCheckouts/address/postcodeFinder.tsx start line: 102 end line: 108 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1156 unit: function ChangeSubscription() file: support-frontend/assets/components/subscriptionCheckouts/summary.tsx start line: 145 end line: 151 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1157 unit: message: appropriateErrorMessage() file: support-frontend/assets/components/subscriptionCheckouts/stripeForm/stripeForm.tsx start line: 151 end line: 158 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1158 unit: export function LargeParagraph() file: support-frontend/assets/components/text/text.tsx start line: 58 end line: 64 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 1159 unit: export function SansParagraph() file: support-frontend/assets/components/text/text.tsx start line: 65 end line: 71 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 1160 unit: function ButtonItem() file: support-frontend/assets/components/menu/menu.tsx start line: 120 end line: 126 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 1161 unit: icon: getThankYouModuleIcon() file: support-frontend/assets/components/thankYou/thankYouModuleData.tsx start line: 187 end line: 193 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1162 unit: bodyCopy: getSocialShareCopy() file: support-frontend/assets/components/thankYou/thankYouModuleData.tsx start line: 285 end line: 291 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1163 unit: icon: getThankYouModuleIcon() file: support-frontend/assets/components/thankYou/thankYouModuleData.tsx start line: 292 end line: 298 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1164 unit: export function AppDownloadBodyCopy() file: support-frontend/assets/components/thankYou/appDownload/appDownloadItems.tsx start line: 13 end line: 19 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 1165 unit: export function AppDownloadEditionsBodyCopy() file: support-frontend/assets/components/thankYou/appDownload/appDownloadItems.tsx start line: 23 end line: 29 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 1166 unit: export function AppNewsDownloadBodyCopy() file: support-frontend/assets/components/thankYou/appDownload/appDownloadItems.tsx start line: 35 end line: 41 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 1167 unit: export function AppFeastDownloadBodyCopy() file: support-frontend/assets/components/thankYou/appDownload/appDownloadItems.tsx start line: 45 end line: 51 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 1168 unit: export function NarrowContent() file: support-frontend/assets/components/content/content.tsx start line: 109 end line: 115 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 1169 unit: function Form() file: support-frontend/assets/components/checkoutForm/checkoutForm.tsx start line: 118 end line: 124 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 1170 unit: function getRecaptchaError() file: support-frontend/assets/helpers/redux/selectors/formValidation/paymentValidation.ts start line: 17 end line: 25 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1171 unit: setStripeFormError() file: support-frontend/assets/helpers/redux/checkout/payment/stripe/reducer.ts start line: 25 end line: 31 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 1172 unit: export function addPaymentsSideEffects() file: support-frontend/assets/helpers/redux/checkout/payment/subscriptionsSideEffects.ts start line: 8 end line: 28 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1173 unit: export function addPaymentsSideEffects() file: support-frontend/assets/helpers/redux/checkout/payment/contributionsSideEffects.ts start line: 5 end line: 14 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1174 unit: setCountry() file: support-frontend/assets/helpers/redux/checkout/address/reducer.ts start line: 78 end line: 85 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 1175 unit: rule: notLongerThan() file: support-frontend/assets/helpers/redux/checkout/address/validation.ts start line: 62 end line: 68 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 1176 unit: rule: zuoraCompatibleString() file: support-frontend/assets/helpers/redux/checkout/address/validation.ts start line: 69 end line: 75 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1177 unit: rule: notLongerThan() file: support-frontend/assets/helpers/redux/checkout/address/validation.ts start line: 76 end line: 82 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 1178 unit: rule: zuoraCompatibleString() file: support-frontend/assets/helpers/redux/checkout/address/validation.ts start line: 83 end line: 89 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1179 unit: rule: zuoraCompatibleString() file: support-frontend/assets/helpers/redux/checkout/address/validation.ts start line: 94 end line: 100 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1180 unit: setOtherAmountError() file: support-frontend/assets/helpers/redux/checkout/product/reducer.ts start line: 92 end line: 98 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 1181 unit: function isSubscription() file: support-frontend/assets/helpers/redux/checkout/product/selectors/productType.ts start line: 31 end line: 37 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1182 unit: errors: removeError() file: support-frontend/assets/helpers/redux/checkout/addressMeta/subscriptionsSideEffects.ts start line: 15 end line: 22 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 1183 unit: export function addAddressMetaSideEffects() file: support-frontend/assets/helpers/redux/checkout/addressMeta/subscriptionsSideEffects.ts start line: 19 end line: 32 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1184 unit: export function addPersonalDetailsSideEffects() file: support-frontend/assets/helpers/redux/checkout/personalDetails/subscriptionsSideEffects.ts start line: 28 end line: 37 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1185 unit: export function addPersonalDetailsSideEffects() file: support-frontend/assets/helpers/redux/checkout/personalDetails/contributionsSideEffects.ts start line: 8 end line: 19 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1186 unit: export function useScrollToTop() file: support-frontend/assets/helpers/customHooks/useScrollToTop.ts start line: 3 end line: 9 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 1187 unit: function fromQueryParameter() file: support-frontend/assets/helpers/internationalisation/currency.ts start line: 129 end line: 137 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 1188 unit: static fromQueryParameter() file: support-frontend/assets/helpers/internationalisation/classes/country.ts start line: 166 end line: 174 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 1189 unit: static fromCookie() file: support-frontend/assets/helpers/internationalisation/classes/country.ts start line: 176 end line: 184 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 1190 unit: static fromGeolocation() file: support-frontend/assets/helpers/internationalisation/classes/country.ts start line: 186 end line: 194 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 1191 unit: function zuoraCompatibleString() file: support-frontend/assets/helpers/subscriptionsForms/validation.ts start line: 32 end line: 40 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1192 unit: rule: zuoraCompatibleString() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 32 end line: 38 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1193 unit: rule: zuoraCompatibleString() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 47 end line: 53 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1194 unit: rule: zuoraCompatibleString() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 58 end line: 64 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1195 unit: error: formError() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 82 end line: 88 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 1196 unit: rule: nonEmptyString() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 89 end line: 95 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1197 unit: rule: zuoraCompatibleString() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 96 end line: 102 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1198 unit: rule: nonEmptyString() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 103 end line: 109 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1199 unit: rule: zuoraCompatibleString() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 110 end line: 116 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1200 unit: rule: nonEmptyString() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 117 end line: 123 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1201 unit: rule: isValidEmail() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 124 end line: 130 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1202 unit: rule: nonEmptyString() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 140 end line: 146 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1203 unit: rule: zuoraCompatibleString() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 147 end line: 153 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1204 unit: rule: nonEmptyString() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 154 end line: 160 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1205 unit: rule: zuoraCompatibleString() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 161 end line: 167 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1206 unit: rule: notNull() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 193 end line: 199 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1207 unit: rule: zuoraCompatibleString() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 200 end line: 206 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1208 unit: function isTestUser() file: support-frontend/assets/helpers/user/user.ts start line: 30 end line: 37 size: 7 LOC McCabe index: 3 number of parameters: 0 id: 1209 unit: function guardianWeeklyLanding() file: support-frontend/assets/helpers/urls/routes.ts start line: 97 end line: 103 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 1210 unit: function getOrigin() file: support-frontend/assets/helpers/urls/url.ts start line: 54 end line: 60 size: 7 LOC McCabe index: 3 number of parameters: 0 id: 1211 unit: function switchKeyForContributionType() file: support-frontend/assets/helpers/forms/checkouts.ts start line: 74 end line: 80 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1212 unit: export const checkOptionalEmail:() file: support-frontend/assets/helpers/forms/formValidation.ts start line: 41 end line: 50 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1213 unit: user: optional() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 62 end line: 68 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1214 unit: email: optional() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 65 end line: 71 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1215 unit: metricUrl: string() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 194 end line: 201 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 1216 unit: id: string() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 205 end line: 211 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 1217 unit: function sleepPromise() file: support-frontend/assets/helpers/async/promise.ts start line: 9 end line: 15 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 1218 unit: page: initReducer() file: support-frontend/assets/__test-utils__/testStore.ts start line: 74 end line: 83 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 1219 unit: ctaButtonText: getDigitalEditionPrice() file: support-frontend/assets/pages/subscriptions-landing/copy/subscriptionCopy.tsx start line: 105 end line: 111 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 1220 unit: ctaButtonText: getDigitalEditionPrice() file: support-frontend/assets/pages/subscriptions-landing/copy/subscriptionCopy.tsx start line: 115 end line: 121 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 1221 unit: discountedPrice: selectDiscountedPrice() file: support-frontend/assets/pages/weekly-subscription-checkout/components/weeklyCheckoutForm.tsx start line: 114 end line: 121 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1222 unit: price: selectPriceForProduct() file: support-frontend/assets/pages/weekly-subscription-checkout/components/weeklyCheckoutFormGifting.tsx start line: 112 end line: 120 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1223 unit: function paymentMethodIsActive() file: support-frontend/assets/pages/[countryGroupId]/components/oneTimeCheckoutComponent.tsx start line: 152 end line: 158 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1224 unit: export function pollUntilCompleteOrTimeout() file: support-frontend/assets/pages/[countryGroupId]/components/createSubscription.ts start line: 98 end line: 127 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1225 unit: export async function getDeliveryAgents() file: support-frontend/assets/pages/[countryGroupId]/checkout/helpers/getDeliveryAgents.ts start line: 20 end line: 26 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1226 unit: city: nullish() file: support-frontend/assets/pages/[countryGroupId]/checkout/helpers/stripeCheckoutSession.ts start line: 25 end line: 31 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1227 unit: def countryGroup: Option[CountryGroup] = countryCode.flatMap() file: support-frontend/app/models/GeoData.scala start line: 6 end line: 12 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1228 unit: def deliveredToUkAndPaidInGbp() file: support-frontend/app/utils/CheckoutValidationRules.scala start line: 239 end line: 246 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 1229 unit: def fromConfig() file: support-frontend/app/admin/settings/Settings.scala start line: 61 end line: 67 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 1230 unit: private def fromS3() file: support-frontend/app/admin/settings/Settings.scala start line: 103 end line: 109 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 1231 unit: def apply() file: support-frontend/app/actions/CSRFAction.scala start line: 17 end line: 23 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1232 unit: private def getPrivateKey() file: support-frontend/app/services/StripeCheckoutSessionService.scala start line: 78 end line: 84 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 1233 unit: private def nvpRequest() file: support-frontend/app/services/PayPalNvpService.scala start line: 48 end line: 57 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 1234 unit: private def retrieveNVPParam() file: support-frontend/app/services/PayPalNvpService.scala start line: 60 end line: 66 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 1235 unit: def decodePaymentAPIResponse[A: Decoder, B: Decoder]() file: support-frontend/app/services/PaymentAPIService.scala start line: 79 end line: 85 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1236 unit: def logErrorResponse() file: support-frontend/app/services/PaymentAPIService.scala start line: 87 end line: 93 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1237 unit: def codeChallenge() file: support-frontend/app/controllers/AuthCodeFlowController.scala start line: 231 end line: 237 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1238 unit: icon: getThankYouModuleIcon() file: support-frontend/stories/checkouts/thankYouModule.stories.tsx start line: 134 end line: 142 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1239 unit: icon: getThankYouModuleIcon() file: support-frontend/stories/checkouts/thankYouModule.stories.tsx start line: 145 end line: 153 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1240 unit: icon: getThankYouModuleIcon() file: support-frontend/stories/checkouts/thankYouModule.stories.tsx start line: 181 end line: 189 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1241 unit: icon: getThankYouModuleIcon() file: support-frontend/stories/checkouts/thankYouModule.stories.tsx start line: 192 end line: 200 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1242 unit: header: getFeedbackHeader() file: support-frontend/stories/checkouts/thankYouModule.stories.tsx start line: 204 end line: 210 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1243 unit: icon: getThankYouModuleIcon() file: support-frontend/stories/checkouts/thankYouModule.stories.tsx start line: 232 end line: 240 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1244 unit: icon: getThankYouModuleIcon() file: support-frontend/stories/checkouts/thankYouModule.stories.tsx start line: 243 end line: 251 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1245 unit: icon: getThankYouModuleIcon() file: support-frontend/stories/checkouts/thankYouModule.stories.tsx start line: 254 end line: 262 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1246 unit: icon: getThankYouModuleIcon() file: support-frontend/stories/checkouts/thankYouModule.stories.tsx start line: 265 end line: 273 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1247 unit: icon: getThankYouModuleIcon() file: support-frontend/stories/checkouts/thankYouModule.stories.tsx start line: 276 end line: 284 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1248 unit: icon: getThankYouModuleIcon() file: support-frontend/stories/checkouts/thankYouModule.stories.tsx start line: 317 end line: 324 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1249 unit: export function CheckoutExpander() file: support-frontend/stories/checkouts/CheckoutExpander.stories.tsx start line: 16 end line: 22 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1250 unit: function Template() file: support-frontend/stories/checkoutLayout/CheckoutHeading.stories.tsx start line: 33 end line: 39 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1251 unit: function Template() file: support-frontend/stories/core/PageScaffold.stories.tsx start line: 18 end line: 24 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1252 unit: def fromStage() file: support-models/src/main/scala/com/gu/support/config/TouchPointEnvironments.scala start line: 22 end line: 28 size: 7 LOC McCabe index: 4 number of parameters: 2 id: 1253 unit: implicit def decodeEither[A, B]() file: support-models/src/main/scala/com/gu/support/encoding/CustomCodecs.scala start line: 66 end line: 72 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 1254 unit: override def apply() file: support-models/src/main/scala/com/gu/support/zuora/api/response/Responses.scala start line: 135 end line: 141 size: 7 LOC McCabe index: 4 number of parameters: 1 id: 1255 unit: private def fromString() file: support-models/src/main/scala/com/gu/support/workers/PaymentMethods.scala start line: 28 end line: 34 size: 7 LOC McCabe index: 4 number of parameters: 1 id: 1256 unit: def get() file: support-models/src/main/scala/com/gu/support/workers/PaymentFields.scala start line: 46 end line: 55 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1257 unit: def get() file: support-models/src/main/scala/com/gu/support/workers/PaymentFields.scala start line: 74 end line: 83 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1258 unit: private def mapFields() file: support-models/src/main/scala/com/gu/support/catalog/Price.scala start line: 14 end line: 20 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1259 unit: def sumPriceLists() file: support-models/src/main/scala/com/gu/support/catalog/Catalog.scala start line: 24 end line: 34 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1260 unit: def minimalEnvironment() file: support-lambdas/stripe-intent/src/main/scala/com/gu/handler/JsonLambda.scala start line: 19 end line: 27 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 1261 unit: def fromStripePaymentMethod() file: support-payment-api/src/main/scala/model/PaymentProvider.scala start line: 12 end line: 18 size: 7 LOC McCabe index: 4 number of parameters: 1 id: 1262 unit: def isValidEmail() file: support-payment-api/src/main/scala/backend/PaypalBackend.scala start line: 57 end line: 64 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 1263 unit: private def stripeEnabled() file: support-payment-api/src/main/scala/backend/StripeBackend.scala start line: 62 end line: 68 size: 7 LOC McCabe index: 5 number of parameters: 1 id: 1264 unit: override def requestType() file: support-payment-api/src/main/scala/util/RequestBasedProvider.scala start line: 16 end line: 22 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1265 unit: def updateConfiguration() file: support-payment-api/src/main/scala/conf/PlayConfigEncoder.scala start line: 16 end line: 22 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 1266 unit: def validate() file: support-payment-api/src/main/scala/conf/ConfigLoader.scala start line: 81 end line: 88 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1267 unit: def createGuestAccount() file: support-payment-api/src/main/scala/services/IdentityClient.scala start line: 64 end line: 70 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1268 unit: override def apply() file: support-payment-api/src/main/scala/controllers/ActionOps.scala start line: 42 end line: 48 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1269 unit: alarmName: alarmName() file: cdk/lib/acquisition-events-api.ts start line: 46 end line: 52 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1270 unit: def parseUri() file: support-modules/aws/src/main/scala/com/gu/aws/AwsS3Client.scala start line: 43 end line: 49 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1271 unit: private def maybeLog() file: support-modules/rest/src/main/scala/com/gu/rest/WebServiceHelper.scala start line: 87 end line: 94 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 1272 unit: private def buildLabels() file: support-workers/src/main/scala/com/gu/acquisitions/AcquisitionDataRowBuilder.scala start line: 253 end line: 260 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 1273 unit: private def paymentMethodName() file: support-workers/src/main/scala/com/gu/emailservices/GuardianAdLiteEmailFields.scala start line: 39 end line: 45 size: 7 LOC McCabe index: 6 number of parameters: 1 id: 1274 unit: def retrieveEmail() file: support-workers/src/main/scala/com/gu/paypal/PayPalService.scala start line: 82 end line: 89 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1275 unit: def retrieveBaid() file: support-workers/src/main/scala/com/gu/paypal/PayPalService.scala start line: 111 end line: 118 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1276 unit: def toClass[T]() file: support-workers/src/main/scala/com/gu/support/workers/encoding/Conversions.scala start line: 24 end line: 30 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1277 unit: def cloneMandate() file: support-workers/src/main/scala/com/gu/support/workers/lambdas/PreparePaymentMethodForReuse.scala start line: 151 end line: 157 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 1278 unit: def fromStripeError() file: support-workers/src/main/scala/com/gu/support/workers/exceptions/ErrorHandler.scala start line: 69 end line: 75 size: 7 LOC McCabe index: 4 number of parameters: 1 id: 1279 unit: override def decodeError() file: support-workers/src/main/scala/com/gu/salesforce/SalesforceService.scala start line: 40 end line: 52 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1280 unit: override def all: Iterator[Promotion] = cache.get.getOrElse() file: support-services/src/main/scala/com/gu/support/promotions/PromotionCollection.scala start line: 23 end line: 29 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1281 unit: def getMandateIdFromAccountNumber() file: support-services/src/main/scala/com/gu/zuora/ZuoraService.scala start line: 90 end line: 95 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1282 unit: override def decodeError() file: support-services/src/main/scala/com/gu/zuora/ZuoraService.scala start line: 97 end line: 106 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1283 unit: def updatedClause() file: support-services/src/main/scala/com/gu/zuora/ZuoraService.scala start line: 108 end line: 113 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1284 unit: protected def handlerFuture() file: supporter-product-data/src/main/scala/com/gu/lambdas/Handler.scala start line: 36 end line: 43 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1285 unit: def getParameter() file: supporter-product-data/src/main/scala/com/gu/services/ParameterStoreService.scala start line: 39 end line: 45 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1286 unit: def getResults() file: supporter-product-data/src/main/scala/com/gu/services/ZuoraQuerierService.scala start line: 51 end line: 57 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1287 unit: def expandCustomerInfo() file: stripe-patrons-data/src/main/scala/com/gu/patrons/model/StripeSubscriptionsResponse.scala start line: 65 end line: 70 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1288 unit: def handleRequest() file: stripe-patrons-data/src/main/scala/com/gu/patrons/lambdas/PatronCancelledEventLambda.scala start line: 50 end line: 55 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1289 unit: def cancelSubscriptionForEmail() file: stripe-patrons-data/src/main/scala/com/gu/patrons/lambdas/PatronCancelledEventLambda.scala start line: 77 end line: 82 size: 6 LOC McCabe index: 2 number of parameters: 3 id: 1290 unit: def handleRequest() file: stripe-patrons-data/src/main/scala/com/gu/patrons/lambdas/PatronSignUpEventLambda.scala start line: 50 end line: 55 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1291 unit: def getParameter() file: stripe-patrons-data/src/main/scala/com/gu/patrons/services/ParameterStoreService.scala start line: 49 end line: 55 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1292 unit: protected def findParameterOrThrow() file: stripe-patrons-data/src/main/scala/com/gu/patrons/services/ConfigService.scala start line: 9 end line: 14 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1293 unit: def processSubscription() file: stripe-patrons-data/src/main/scala/com/gu/patrons/services/StripeSubscriptionsProcessor.scala start line: 50 end line: 56 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1294 unit: override def processSubscription() file: stripe-patrons-data/src/main/scala/com/gu/patrons/services/StripeSubscriptionsProcessor.scala start line: 129 end line: 134 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 1295 unit: function mapStateToProps() file: support-frontend/assets/components/subscriptionCheckouts/stage.tsx start line: 27 end line: 32 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1296 unit: function mapStateToProps() file: support-frontend/assets/components/subscriptionCheckouts/headerWrapper.tsx start line: 18 end line: 23 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1297 unit: function addressOption() file: support-frontend/assets/components/subscriptionCheckouts/address/postcodeFinder.tsx start line: 136 end line: 141 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1298 unit: message: appropriateErrorMessage() file: support-frontend/assets/components/subscriptionCheckouts/stripeForm/stripeForm.tsx start line: 201 end line: 207 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1299 unit: function getChoiceCardGroupStyles() file: support-frontend/assets/components/priceCards/priceCards.tsx start line: 56 end line: 61 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1300 unit: icon: getThankYouModuleIcon() file: support-frontend/assets/components/thankYou/thankYouModuleData.tsx start line: 175 end line: 180 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1301 unit: icon: getThankYouModuleIcon() file: support-frontend/assets/components/thankYou/thankYouModuleData.tsx start line: 181 end line: 186 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1302 unit: function Heading() file: support-frontend/assets/components/pageSection/pageSection.tsx start line: 34 end line: 40 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1303 unit: clickPaymentRequestButton() file: support-frontend/assets/helpers/redux/checkout/payment/paymentRequestButton/reducer.ts start line: 12 end line: 17 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 1304 unit: error: formError() file: support-frontend/assets/helpers/redux/checkout/address/validation.ts start line: 63 end line: 68 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1305 unit: error: formError() file: support-frontend/assets/helpers/redux/checkout/address/validation.ts start line: 70 end line: 75 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1306 unit: error: formError() file: support-frontend/assets/helpers/redux/checkout/address/validation.ts start line: 77 end line: 82 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1307 unit: error: formError() file: support-frontend/assets/helpers/redux/checkout/address/validation.ts start line: 84 end line: 89 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1308 unit: error: formError() file: support-frontend/assets/helpers/redux/checkout/address/validation.ts start line: 95 end line: 100 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1309 unit: error: formError() file: support-frontend/assets/helpers/redux/checkout/address/validation.ts start line: 165 end line: 170 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1310 unit: effect() file: support-frontend/assets/helpers/redux/checkout/addressMeta/subscriptionsSideEffects.ts start line: 24 end line: 30 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1311 unit: setTitle() file: support-frontend/assets/helpers/redux/checkout/personalDetails/reducer.ts start line: 13 end line: 18 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 1312 unit: export function getDefaultContributionType() file: support-frontend/assets/helpers/redux/commonState/selectors.ts start line: 4 end line: 9 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1313 unit: function getSanitisedHtml() file: support-frontend/assets/helpers/utilities/utilities.ts start line: 51 end line: 56 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1314 unit: function currencyFromCountryCode() file: support-frontend/assets/helpers/internationalisation/currency.ts start line: 122 end line: 127 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1315 unit: static fromCountryGroupName() file: support-frontend/assets/helpers/internationalisation/classes/countryGroup.ts start line: 129 end line: 134 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1316 unit: function fixDecimals() file: support-frontend/assets/helpers/productPrice/subscriptions.ts start line: 56 end line: 62 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1317 unit: function getLocal() file: support-frontend/assets/helpers/storage/storage.ts start line: 30 end line: 36 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1318 unit: function getSession() file: support-frontend/assets/helpers/storage/storage.ts start line: 44 end line: 50 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1319 unit: function getPricingCountry() file: support-frontend/assets/helpers/subscriptionsForms/submit.ts start line: 384 end line: 390 size: 6 LOC McCabe index: 3 number of parameters: 2 id: 1320 unit: function removeError() file: support-frontend/assets/helpers/subscriptionsForms/validation.ts start line: 67 end line: 72 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1321 unit: function validate() file: support-frontend/assets/helpers/subscriptionsForms/validation.ts start line: 84 end line: 89 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1322 unit: error: formError() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 33 end line: 38 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1323 unit: error: formError() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 48 end line: 53 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1324 unit: error: formError() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 59 end line: 64 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1325 unit: error: formError() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 90 end line: 95 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1326 unit: error: formError() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 97 end line: 102 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1327 unit: error: formError() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 104 end line: 109 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1328 unit: error: formError() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 111 end line: 116 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1329 unit: error: formError() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 118 end line: 123 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1330 unit: error: formError() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 125 end line: 130 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1331 unit: error: formError() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 141 end line: 146 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1332 unit: error: formError() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 148 end line: 153 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1333 unit: error: formError() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 155 end line: 160 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1334 unit: error: formError() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 162 end line: 167 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1335 unit: error: formError() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 194 end line: 199 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1336 unit: error: formError() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 201 end line: 206 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1337 unit: export function checkoutFormIsValid() file: support-frontend/assets/helpers/subscriptionsForms/formValidation.ts start line: 43 end line: 48 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1338 unit: function getServerSideParticipations() file: support-frontend/assets/helpers/abTests/abtest.ts start line: 206 end line: 211 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 1339 unit: function getAmountsTestFromURL() file: support-frontend/assets/helpers/abTests/abtest.ts start line: 213 end line: 218 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1340 unit: campaignCodeBusinessUnit: getQueryParameter() file: support-frontend/assets/helpers/tracking/googleTagManager.ts start line: 131 end line: 137 size: 6 LOC McCabe index: 5 number of parameters: 1 id: 1341 unit: async function ifQmPermitted() file: support-frontend/assets/helpers/tracking/quantumMetric.ts start line: 98 end line: 104 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1342 unit: function checkoutEvents() file: support-frontend/assets/helpers/tracking/quantumMetric.ts start line: 248 end line: 253 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1343 unit: function sendEventOneTimeCheckoutValue() file: support-frontend/assets/helpers/tracking/quantumMetric.ts start line: 291 end line: 316 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 1344 unit: function sendEventContributionCheckoutConversion() file: support-frontend/assets/helpers/tracking/quantumMetric.ts start line: 351 end line: 373 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 1345 unit: function sendEventPaymentMethodSelected() file: support-frontend/assets/helpers/tracking/quantumMetric.ts start line: 403 end line: 417 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1346 unit: void ifQmPermitted() file: support-frontend/assets/helpers/tracking/quantumMetric.ts start line: 455 end line: 460 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1347 unit: function getDailyEditionUrl() file: support-frontend/assets/helpers/urls/externalLinks.ts start line: 63 end line: 68 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1348 unit: function unexpectedError() file: support-frontend/assets/helpers/forms/paymentIntegrations/oneOffContributions.ts start line: 99 end line: 104 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1349 unit: function toggleButton() file: support-frontend/assets/helpers/forms/paymentIntegrations/payPalRecurringCheckout.ts start line: 159 end line: 164 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1350 unit: firstName: optional() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 66 end line: 71 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1351 unit: featureSwitches: record() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 93 end line: 98 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1352 unit: targetingType: literal() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 118 end line: 123 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1353 unit: contributionType: picklist() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 153 end line: 158 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 1354 unit: contributionType: picklist() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 159 end line: 164 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 1355 unit: contributionType: picklist() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 165 end line: 170 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 1356 unit: contributionType: picklist() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 171 end line: 176 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 1357 unit: contributionType: picklist() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 177 end line: 182 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 1358 unit: contributionType: picklist() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 183 end line: 188 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 1359 unit: pricing: record() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 206 end line: 211 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1360 unit: function logPromise() file: support-frontend/assets/helpers/async/promise.ts start line: 31 end line: 36 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1361 unit: function displayBenefitByABTest() file: support-frontend/assets/helpers/productCatalog.ts start line: 83 end line: 88 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 1362 unit: function displayBenefitByABTestVariant() file: support-frontend/assets/helpers/productCatalog.ts start line: 101 end line: 106 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 1363 unit: function getGuardianWeeklyOfferCopy() file: support-frontend/assets/pages/subscriptions-landing/copy/subscriptionCopy.tsx start line: 86 end line: 92 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1364 unit: link: digitalSubscriptionLanding() file: support-frontend/assets/pages/subscriptions-landing/copy/subscriptionCopy.tsx start line: 106 end line: 111 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1365 unit: link: digitalSubscriptionLanding() file: support-frontend/assets/pages/subscriptions-landing/copy/subscriptionCopy.tsx start line: 116 end line: 121 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1366 unit: link: guardianWeeklyLanding() file: support-frontend/assets/pages/subscriptions-landing/copy/subscriptionCopy.tsx start line: 145 end line: 150 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1367 unit: link: guardianWeeklyLanding() file: support-frontend/assets/pages/subscriptions-landing/copy/subscriptionCopy.tsx start line: 155 end line: 160 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1368 unit: link: paperSubsUrl() file: support-frontend/assets/pages/subscriptions-landing/copy/subscriptionCopy.tsx start line: 180 end line: 185 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 1369 unit: function getStudentBeanLink() file: support-frontend/assets/pages/weekly-subscription-landing/weeklySubscriptionLanding.tsx start line: 120 end line: 125 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1370 unit: discountedPrice: selectDiscountedPrice() file: support-frontend/assets/pages/weekly-subscription-checkout/components/weeklyCheckoutFormGifting.tsx start line: 113 end line: 120 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1371 unit: function getSaving() file: support-frontend/assets/pages/promotion-terms/weeklyTerms.tsx start line: 73 end line: 79 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1372 unit: function initReducer() file: support-frontend/assets/pages/supporter-plus-landing/setup/legacyReducer.ts start line: 85 end line: 101 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 1373 unit: state: nullish() file: support-frontend/assets/pages/[countryGroupId]/checkout/helpers/stripeCheckoutSession.ts start line: 26 end line: 31 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1374 unit: function isGreenOption() file: support-frontend/assets/pages/paper-subscription-checkout/components/deliveryAgentsSelect.tsx start line: 218 end line: 224 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1375 unit: function getMobileSummaryTitle() file: support-frontend/assets/pages/paper-subscription-checkout/components/paperOrderSummary/paperOrderSummary.tsx start line: 34 end line: 39 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1376 unit: def and() file: support-frontend/app/utils/CheckoutValidationRules.scala start line: 29 end line: 34 size: 6 LOC McCabe index: 5 number of parameters: 1 id: 1377 unit: def or() file: support-frontend/app/utils/CheckoutValidationRules.scala start line: 35 end line: 40 size: 6 LOC McCabe index: 5 number of parameters: 1 id: 1378 unit: def hasValidBillingPostcodeCharacters() file: support-frontend/app/utils/CheckoutValidationRules.scala start line: 271 end line: 276 size: 6 LOC McCabe index: 4 number of parameters: 1 id: 1379 unit: def fromConfig() file: support-frontend/app/config/RecaptchaConfigProvider.scala start line: 12 end line: 17 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1380 unit: def fromConfig() file: support-frontend/app/admin/Segment.scala start line: 14 end line: 20 size: 6 LOC McCabe index: 4 number of parameters: 2 id: 1381 unit: override def invokeBlock[A]() file: support-frontend/app/actions/CachedActionBuilder.scala start line: 19 end line: 25 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1382 unit: private def extractResponse() file: support-frontend/app/services/PayPalNvpService.scala start line: 38 end line: 45 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1383 unit: private def dynamoMapToJson() file: support-frontend/app/services/LandingPageTestService.scala start line: 59 end line: 65 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1384 unit: def parseLandingPageTest() file: support-frontend/app/services/LandingPageTestService.scala start line: 67 end line: 75 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1385 unit: def apply() file: support-frontend/app/services/AuthenticationService.scala start line: 62 end line: 67 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1386 unit: def get() file: support-frontend/app/services/ProductCatalogService.scala start line: 46 end line: 52 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 1387 unit: def fromString() file: support-frontend/app/services/stepfunctions/StateMachineArn.scala start line: 4 end line: 9 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1388 unit: def arnFromJobId() file: support-frontend/app/services/stepfunctions/Client.scala start line: 89 end line: 95 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 1389 unit: def warnAndReturn() file: support-frontend/app/controllers/IdentityController.scala start line: 31 end line: 36 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 1390 unit: def codeVerifier() file: support-frontend/app/controllers/AuthCodeFlowController.scala start line: 223 end line: 228 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 1391 unit: def displayForm() file: support-frontend/app/controllers/DigitalSubscriptionFormController.scala start line: 42 end line: 47 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 1392 unit: def getHeader: Action[AnyContent] = CachedAction() file: support-frontend/app/controllers/NewspaperArchiveController.scala start line: 17 end line: 23 size: 6 LOC McCabe index: 3 number of parameters: 0 id: 1393 unit: def get() file: support-frontend/app/controllers/Favicon.scala start line: 18 end line: 23 size: 6 LOC McCabe index: 3 number of parameters: 0 id: 1394 unit: function Template() file: support-frontend/stories/product/ProductInfoChip.stories.tsx start line: 31 end line: 36 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1395 unit: header: signInHeader() file: support-frontend/stories/checkouts/thankYouModule.stories.tsx start line: 266 end line: 273 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 1396 unit: header: signInHeader() file: support-frontend/stories/checkouts/thankYouModule.stories.tsx start line: 277 end line: 284 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1397 unit: icon: getThankYouModuleIcon() file: support-frontend/stories/checkouts/thankYouModule.stories.tsx start line: 287 end line: 292 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1398 unit: icon: getThankYouModuleIcon() file: support-frontend/stories/checkouts/thankYouModule.stories.tsx start line: 326 end line: 332 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1399 unit: def fromConfig() file: support-config/src/main/scala/com/gu/support/config/GoCardlessConfigProvider.scala start line: 11 end line: 16 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1400 unit: override protected def fromConfig() file: support-config/src/main/scala/com/gu/support/config/PriceSummaryConfig.scala start line: 8 end line: 13 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1401 unit: def forPublicKey() file: support-config/src/main/scala/com/gu/support/config/StripeConfig.scala start line: 29 end line: 36 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1402 unit: def fromConfig() file: support-config/src/main/scala/com/gu/support/config/UserBenefitsApiConfig.scala start line: 12 end line: 17 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1403 unit: def coverage() file: support-models/src/main/scala/com/gu/support/paperround/PaperRound.scala start line: 13 end line: 20 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1404 unit: implicit def encodeEither[A, B]() file: support-models/src/main/scala/com/gu/support/encoding/CustomCodecs.scala start line: 74 end line: 79 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1405 unit: def asRetryException: RetryException = if() file: support-models/src/main/scala/com/gu/salesforce/Salesforce.scala start line: 184 end line: 190 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1406 unit: def withLogging() file: support-lambdas/stripe-intent/src/main/scala/com/gu/handler/LogImplicit.scala start line: 12 end line: 17 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1407 unit: def lambdaBody() file: support-lambdas/stripe-intent/src/main/scala/com/gu/handler/ApiGatewayHandler.scala start line: 39 end line: 44 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 1408 unit: def postForm[A]() file: support-lambdas/stripe-intent/src/main/scala/com/gu/stripeIntent/StripeService.scala start line: 22 end line: 27 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 1409 unit: def fromEnvironment() file: support-payment-api/src/main/scala/model/paypal/PaypalMode.scala start line: 15 end line: 20 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 1410 unit: def mapStripePaymentProvider() file: support-payment-api/src/main/scala/model/acquisition/AcquisitionDataRowBuilder.scala start line: 112 end line: 117 size: 6 LOC McCabe index: 4 number of parameters: 1 id: 1411 unit: def processRefundHook() file: support-payment-api/src/main/scala/backend/PaypalBackend.scala start line: 119 end line: 124 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1412 unit: def checkBankAccount() file: support-payment-api/src/main/scala/backend/GoCardlessBackend.scala start line: 23 end line: 29 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1413 unit: private def apply() file: support-payment-api/src/main/scala/backend/GoCardlessBackend.scala start line: 31 end line: 36 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1414 unit: def processRefundHook() file: support-payment-api/src/main/scala/backend/StripeBackend.scala start line: 76 end line: 81 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1415 unit: def parametersByPathRequest() file: support-payment-api/src/main/scala/conf/ConfigLoader.scala start line: 66 end line: 77 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1416 unit: def fromStripeConfig() file: support-payment-api/src/main/scala/services/StripeService.scala start line: 167 end line: 172 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1417 unit: def getUser() file: support-payment-api/src/main/scala/services/IdentityClient.scala start line: 53 end line: 58 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1418 unit: private def checkBankAccountErrorToResponse() file: support-payment-api/src/main/scala/controllers/GoCardlessController.scala start line: 41 end line: 46 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 1419 unit: alarmDescription: alarmDescription() file: cdk/lib/acquisition-events-api.ts start line: 47 end line: 52 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1420 unit: def env() file: project/BuildInfoSettings.scala start line: 7 end line: 13 size: 6 LOC McCabe index: 3 number of parameters: 2 id: 1421 unit: def mapPlatformName() file: support-modules/acquisition-events/src/main/scala/com/gu/support/acquisitions/bigquery/AcquisitionDataRowMapper.scala start line: 58 end line: 63 size: 6 LOC McCabe index: 4 number of parameters: 1 id: 1422 unit: private def paymentFrequencyFromBillingPeriod() file: support-workers/src/main/scala/com/gu/acquisitions/AcquisitionDataRowBuilder.scala start line: 97 end line: 102 size: 6 LOC McCabe index: 4 number of parameters: 1 id: 1423 unit: def getCustomerAccountIdFromMandateId() file: support-workers/src/main/scala/com/gu/gocardless/GoCardlessWorkersService.scala start line: 15 end line: 20 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1424 unit: def createNewMandateOnExistingCustomerAccount() file: support-workers/src/main/scala/com/gu/gocardless/GoCardlessWorkersService.scala start line: 24 end line: 29 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1425 unit: def withPublicKey() file: support-workers/src/main/scala/com/gu/stripe/StripeService.scala start line: 25 end line: 30 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1426 unit: def withEventualLogging() file: support-workers/src/main/scala/com/gu/WithLoggingSugar.scala start line: 13 end line: 18 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1427 unit: def ifFalseReturnError() file: support-workers/src/main/scala/com/gu/support/workers/lambdas/PreparePaymentMethodForReuse.scala start line: 169 end line: 175 size: 6 LOC McCabe index: 4 number of parameters: 2 id: 1428 unit: def checkSingleResponse[ResponseItem]() file: support-workers/src/main/scala/com/gu/zuora/ZuoraSubscriptionCreator.scala start line: 76 end line: 81 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 1429 unit: def addAuthenticationToRequest() file: support-workers/src/main/scala/com/gu/salesforce/SalesforceService.scala start line: 33 end line: 38 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1430 unit: def getAuth() file: support-workers/src/main/scala/com/gu/salesforce/SalesforceService.scala start line: 180 end line: 185 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 1431 unit: def applyTo() file: support-services/src/main/scala/com/gu/support/promotions/PromotionApplicator.scala start line: 39 end line: 43 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1432 unit: def fetchJson() file: support-services/src/main/scala/com/gu/support/catalog/AwsS3ClientJson.scala start line: 13 end line: 17 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 1433 unit: override def getSubscriptions() file: support-services/src/main/scala/com/gu/zuora/ZuoraService.scala start line: 59 end line: 63 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1434 unit: def getDirectDebitMandateId() file: support-services/src/main/scala/com/gu/zuora/ZuoraService.scala start line: 84 end line: 88 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1435 unit: def getValueOrThrow[T]() file: supporter-product-data/src/main/scala/com/gu/lambdas/FetchResultsLambda.scala start line: 60 end line: 64 size: 5 LOC McCabe index: 3 number of parameters: 2 id: 1436 unit: def toStream[T]() file: supporter-product-data/src/main/scala/com/gu/lambdas/Handler.scala start line: 54 end line: 58 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 1437 unit: def apply() file: supporter-product-data/src/main/scala/com/gu/services/SqsService.scala start line: 63 end line: 67 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1438 unit: def authHeader() file: stripe-patrons-data/src/main/scala/com/gu/patrons/services/PatronsStripeService.scala start line: 16 end line: 20 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 1439 unit: def identifier: String = prefix.getOrElse() file: support-internationalisation/src/main/scala/com/gu/i18n/Currency.scala start line: 6 end line: 12 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1440 unit: def apply() file: support-internationalisation/src/main/scala/com/gu/i18n/PostalCode.scala start line: 6 end line: 10 size: 5 LOC McCabe index: 4 number of parameters: 1 id: 1441 unit: function checkForParentMessage() file: support-frontend/assets/components/csr/csrMode.ts start line: 85 end line: 89 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1442 unit: function logCreateSetupIntentError() file: support-frontend/assets/components/stripeCardForm/stripeCardFormContainer.tsx start line: 34 end line: 38 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1443 unit: icon: getThankYouModuleIcon() file: support-frontend/assets/components/thankYou/thankYouModuleData.tsx start line: 155 end line: 159 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1444 unit: icon: getThankYouModuleIcon() file: support-frontend/assets/components/thankYou/thankYouModuleData.tsx start line: 194 end line: 198 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1445 unit: icon: getThankYouModuleIcon() file: support-frontend/assets/components/thankYou/thankYouModuleData.tsx start line: 252 end line: 256 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1446 unit: icon: getThankYouModuleIcon() file: support-frontend/assets/components/thankYou/thankYouModuleData.tsx start line: 271 end line: 275 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1447 unit: icon: getThankYouModuleIcon() file: support-frontend/assets/components/thankYou/thankYouModuleData.tsx start line: 339 end line: 343 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1448 unit: export function BenefitsBodyCopy() file: support-frontend/assets/components/thankYou/subscriptionStart/subscriptionStartItems.tsx start line: 24 end line: 28 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 1449 unit: label: getDefaultLabel() file: support-frontend/assets/components/thankYou/supportReminder/supportReminderItems.tsx start line: 113 end line: 117 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 1450 unit: Tel: 0330 333 6767() file: support-frontend/assets/components/directDebit/directDebitForm/legalNotice.tsx start line: 72 end line: 76 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1451 unit: setTestUserStatus() file: support-frontend/assets/helpers/redux/user/reducer.ts start line: 13 end line: 17 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 1452 unit: setPaymentMethod() file: support-frontend/assets/helpers/redux/checkout/payment/paymentMethod/reducer.ts start line: 13 end line: 17 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 1453 unit: setState() file: support-frontend/assets/helpers/redux/checkout/address/reducer.ts start line: 69 end line: 73 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 1454 unit: export function applyBillingAddressRules() file: support-frontend/assets/helpers/redux/checkout/address/validation.ts start line: 26 end line: 30 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1455 unit: rule: checkLength() file: support-frontend/assets/helpers/redux/checkout/address/validation.ts start line: 112 end line: 116 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 1456 unit: setAddDigital() file: support-frontend/assets/helpers/redux/checkout/product/reducer.ts start line: 52 end line: 56 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 1457 unit: setSelectedAmount() file: support-frontend/assets/helpers/redux/checkout/product/reducer.ts start line: 69 end line: 73 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 1458 unit: setOtherAmount() file: support-frontend/assets/helpers/redux/checkout/product/reducer.ts start line: 74 end line: 78 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 1459 unit: function canDeterminePaperPrice() file: support-frontend/assets/helpers/redux/checkout/product/selectors/productPrice.ts start line: 10 end line: 14 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1460 unit: export function isContribution() file: support-frontend/assets/helpers/redux/checkout/product/selectors/productType.ts start line: 15 end line: 19 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1461 unit: setTitle() file: support-frontend/assets/helpers/redux/checkout/giftingState/reducer.ts start line: 10 end line: 14 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 1462 unit: setRecaptchaToken() file: support-frontend/assets/helpers/redux/checkout/recaptcha/reducer.ts start line: 11 end line: 15 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 1463 unit: firstName: zuoraCompatibleString() file: support-frontend/assets/helpers/redux/checkout/personalDetails/state.ts start line: 24 end line: 28 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1464 unit: effect() file: support-frontend/assets/helpers/redux/checkout/personalDetails/contributionsSideEffects.ts start line: 13 end line: 17 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1465 unit: export function getLongMonth() file: support-frontend/assets/helpers/utilities/dateFormatting.ts start line: 1 end line: 5 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1466 unit: export function getNumericYear() file: support-frontend/assets/helpers/utilities/dateFormatting.ts start line: 7 end line: 11 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1467 unit: function getFirstValidPrice() file: support-frontend/assets/helpers/productPrice/productPrices.ts start line: 45 end line: 49 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1468 unit: function setLocal() file: support-frontend/assets/helpers/storage/storage.ts start line: 24 end line: 28 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 1469 unit: function setSession() file: support-frontend/assets/helpers/storage/storage.ts start line: 38 end line: 42 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 1470 unit: const nonEmptyString:() file: support-frontend/assets/helpers/subscriptionsForms/validation.ts start line: 15 end line: 20 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1471 unit: function deliveryAgentHasBeenChosen() file: support-frontend/assets/helpers/subscriptionsForms/validation.ts start line: 91 end line: 95 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1472 unit: function deliveryAgentsAreAvailable() file: support-frontend/assets/helpers/subscriptionsForms/validation.ts start line: 97 end line: 101 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1473 unit: function enableOrDisableForm() file: support-frontend/assets/helpers/subscriptionsForms/checkoutFormIsSubmittableActions.ts start line: 17 end line: 21 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 1474 unit: export function createReducer() file: support-frontend/assets/helpers/subscriptionsForms/subscriptionCheckoutReducer.ts start line: 64 end line: 82 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 1475 unit: selectedAmountsVariant: getFallbackAmounts() file: support-frontend/assets/helpers/abTests/abtest.ts start line: 385 end line: 390 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1476 unit: campaignCodeTeam: getQueryParameter() file: support-frontend/assets/helpers/tracking/googleTagManager.ts start line: 132 end line: 137 size: 5 LOC McCabe index: 4 number of parameters: 1 id: 1477 unit: async function init() file: support-frontend/assets/helpers/tracking/googleTagManager.ts start line: 205 end line: 252 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 1478 unit: abTestRegister: buildOphanPayload() file: support-frontend/assets/helpers/tracking/trackingOphan.ts start line: 106 end line: 115 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1479 unit: function init() file: support-frontend/assets/helpers/tracking/quantumMetric.ts start line: 479 end line: 495 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 1480 unit: void addQM() file: support-frontend/assets/helpers/tracking/quantumMetric.ts start line: 484 end line: 493 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 1481 unit: browserId: getCookie() file: support-frontend/assets/helpers/tracking/acquisitions.ts start line: 195 end line: 200 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1482 unit: function getSupportAbTests() file: support-frontend/assets/helpers/tracking/acquisitions.ts start line: 198 end line: 202 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1483 unit: void import() file: support-frontend/assets/helpers/rendering/render.ts start line: 61 end line: 65 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1484 unit: function getAppleStoreUrl() file: support-frontend/assets/helpers/urls/externalLinks.ts start line: 53 end line: 57 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 1485 unit: export function isValidPostcode() file: support-frontend/assets/helpers/forms/formValidation.ts start line: 46 end line: 50 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1486 unit: geoip: optional() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 29 end line: 33 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1487 unit: countryCode: string() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 31 end line: 35 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 1488 unit: campaignSwitches: record() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 94 end line: 98 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1489 unit: countries: array() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 119 end line: 123 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1490 unit: ANNUAL: object() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 125 end line: 129 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1491 unit: amounts: array() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 126 end line: 130 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1492 unit: MONTHLY: object() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 130 end line: 134 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1493 unit: amounts: array() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 131 end line: 135 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1494 unit: ONE_OFF: object() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 135 end line: 139 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1495 unit: AUDCountries: array() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 151 end line: 155 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 1496 unit: isDefault: optional() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 154 end line: 158 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1497 unit: Canada: array() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 157 end line: 161 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 1498 unit: isDefault: optional() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 160 end line: 164 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1499 unit: EURCountries: array() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 163 end line: 167 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 1500 unit: isDefault: optional() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 166 end line: 170 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1501 unit: GBPCountries: array() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 169 end line: 173 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 1502 unit: isDefault: optional() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 172 end line: 176 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1503 unit: International: array() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 175 end line: 179 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 1504 unit: isDefault: optional() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 178 end line: 182 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1505 unit: NZDCountries: array() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 181 end line: 185 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 1506 unit: isDefault: optional() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 184 end line: 188 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1507 unit: UnitedStates: array() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 187 end line: 191 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 1508 unit: productCatalog: record() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 199 end line: 218 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1509 unit: charges: record() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 207 end line: 211 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1510 unit: function digitalCheckout() file: support-frontend/assets/pages/subscriptions-landing/copy/subscriptionCopy.tsx start line: 94 end line: 130 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 1511 unit: analyticsTracking: sendTrackingEventsOnClick() file: support-frontend/assets/pages/subscriptions-landing/copy/subscriptionCopy.tsx start line: 107 end line: 111 size: 5 LOC McCabe index: 1 number of parameters: 4 id: 1512 unit: analyticsTracking: sendTrackingEventsOnClick() file: support-frontend/assets/pages/subscriptions-landing/copy/subscriptionCopy.tsx start line: 117 end line: 121 size: 5 LOC McCabe index: 1 number of parameters: 4 id: 1513 unit: analyticsTracking: sendTrackingEventsOnClick() file: support-frontend/assets/pages/subscriptions-landing/copy/subscriptionCopy.tsx start line: 146 end line: 150 size: 5 LOC McCabe index: 1 number of parameters: 4 id: 1514 unit: analyticsTracking: sendTrackingEventsOnClick() file: support-frontend/assets/pages/subscriptions-landing/copy/subscriptionCopy.tsx start line: 156 end line: 160 size: 5 LOC McCabe index: 1 number of parameters: 4 id: 1515 unit: analyticsTracking: sendTrackingEventsOnClick() file: support-frontend/assets/pages/subscriptions-landing/copy/subscriptionCopy.tsx start line: 181 end line: 185 size: 5 LOC McCabe index: 1 number of parameters: 4 id: 1516 unit: title: billingPeriodTitle() file: support-frontend/assets/pages/weekly-subscription-landing/components/weeklyProductPrices.tsx start line: 144 end line: 148 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 1517 unit: function mapStateToProps() file: support-frontend/assets/pages/weekly-subscription-checkout/components/thankYou.tsx start line: 30 end line: 34 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1518 unit: function addDays() file: support-frontend/assets/pages/weekly-subscription-checkout/helpers/deliveryDays.ts start line: 44 end line: 48 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 1519 unit: export default function WeeklyTerms() file: support-frontend/assets/pages/promotion-terms/weeklyTerms.tsx start line: 48 end line: 52 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1520 unit: void paypalOneClickCheckout() file: support-frontend/assets/pages/[countryGroupId]/components/submitButton.tsx start line: 109 end line: 113 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 1521 unit: function paymentMethodIsActive() file: support-frontend/assets/pages/[countryGroupId]/components/checkoutComponent.tsx start line: 128 end line: 132 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1522 unit: void findAddressesForPostcode() file: support-frontend/assets/pages/[countryGroupId]/components/checkoutComponent.tsx start line: 940 end line: 944 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1523 unit: void findAddressesForPostcode() file: support-frontend/assets/pages/[countryGroupId]/components/checkoutComponent.tsx start line: 1041 end line: 1045 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1524 unit: constructor() file: support-frontend/assets/pages/[countryGroupId]/components/paymentFields.ts start line: 35 end line: 39 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 1525 unit: personalData: object() file: support-frontend/assets/pages/[countryGroupId]/checkout/helpers/stripeCheckoutSession.ts start line: 16 end line: 20 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1526 unit: firstName: string() file: support-frontend/assets/pages/[countryGroupId]/checkout/helpers/stripeCheckoutSession.ts start line: 17 end line: 21 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 1527 unit: postCode: nullish() file: support-frontend/assets/pages/[countryGroupId]/checkout/helpers/stripeCheckoutSession.ts start line: 27 end line: 31 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1528 unit: deliveryInstructions: nullish() file: support-frontend/assets/pages/[countryGroupId]/checkout/helpers/stripeCheckoutSession.ts start line: 41 end line: 47 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1529 unit: private def asFormattedString() file: support-frontend/app/utils/NormalisedPhoneNumber.scala start line: 14 end line: 19 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1530 unit: def getOptionalString() file: support-frontend/app/config/ConfigImplicits.scala start line: 7 end line: 11 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1531 unit: def getOptionalBoolean() file: support-frontend/app/config/ConfigImplicits.scala start line: 13 end line: 17 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1532 unit: def fromOption() file: support-frontend/app/views/JsStringLiteral.scala start line: 20 end line: 24 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 1533 unit: def getFileContentsAsHtml() file: support-frontend/app/assets/AssetsResolver.scala start line: 41 end line: 45 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1534 unit: private def request() file: support-frontend/app/services/HttpIdentityService.scala start line: 92 end line: 96 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1535 unit: def fetch() file: support-frontend/app/services/pricing/DefaultPromotionService.scala start line: 59 end line: 63 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 1536 unit: override protected def createService() file: support-frontend/app/services/pricing/PriceSummaryServiceProvider.scala start line: 12 end line: 16 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1537 unit: def decode() file: support-frontend/app/services/fastly/FastlyService.scala start line: 51 end line: 55 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 1538 unit: private def decodeResponse[A: Decoder]() file: support-frontend/app/services/StripeCheckoutSessionService.scala start line: 86 end line: 90 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1539 unit: def createAgreementAndRetrieveUser() file: support-frontend/app/services/PayPalNvpService.scala start line: 104 end line: 108 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1540 unit: override def onError() file: support-frontend/app/services/aws/AwsAsync.scala start line: 12 end line: 19 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1541 unit: def isTestUser() file: support-frontend/app/services/TestUserService.scala start line: 25 end line: 29 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 1542 unit: private def request() file: support-frontend/app/services/UserBenefitsApiService.scala start line: 52 end line: 56 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1543 unit: private def toEither[T]() file: support-frontend/app/services/stepfunctions/Client.scala start line: 111 end line: 115 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1544 unit: def unWrap[T]() file: support-frontend/app/services/stepfunctions/StateWrapper.scala start line: 27 end line: 31 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1545 unit: private def withPaypalServiceForRequest[T]() file: support-frontend/app/controllers/PayPalRegular.scala start line: 75 end line: 79 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1546 unit: private def getGeoPath() file: support-frontend/app/controllers/Application.scala start line: 283 end line: 287 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 1547 unit: private def cookies() file: support-frontend/app/controllers/CreateSubscriptionController.scala start line: 475 end line: 479 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 1548 unit: icon: getThankYouModuleIcon() file: support-frontend/stories/checkouts/thankYouModule.stories.tsx start line: 156 end line: 160 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1549 unit: bodyCopy: getSocialShareCopy() file: support-frontend/stories/checkouts/thankYouModule.stories.tsx start line: 194 end line: 200 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1550 unit: header: signInHeader() file: support-frontend/stories/checkouts/thankYouModule.stories.tsx start line: 288 end line: 292 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 1551 unit: icon: getThankYouModuleIcon() file: support-frontend/stories/checkouts/thankYouModule.stories.tsx start line: 334 end line: 338 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1552 unit: icon: getThankYouModuleIcon() file: support-frontend/stories/checkouts/thankYouModule.stories.tsx start line: 348 end line: 352 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1553 unit: icon: getThankYouModuleIcon() file: support-frontend/stories/checkouts/thankYouModule.stories.tsx start line: 362 end line: 366 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1554 unit: icon: getThankYouModuleIcon() file: support-frontend/stories/checkouts/thankYouModule.stories.tsx start line: 377 end line: 381 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1555 unit: icon: getThankYouModuleIcon() file: support-frontend/stories/checkouts/thankYouModule.stories.tsx start line: 420 end line: 424 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1556 unit: icon: getThankYouModuleIcon() file: support-frontend/stories/checkouts/thankYouModule.stories.tsx start line: 434 end line: 438 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1557 unit: icon: getThankYouModuleIcon() file: support-frontend/stories/checkouts/thankYouModule.stories.tsx start line: 448 end line: 452 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1558 unit: icon: getThankYouModuleIcon() file: support-frontend/stories/checkouts/thankYouModule.stories.tsx start line: 462 end line: 466 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1559 unit: def contributionConfig() file: support-config/src/main/scala/com/gu/support/config/ZuoraConfigProvider.scala start line: 40 end line: 44 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 1560 unit: def fromString() file: support-models/src/main/scala/com/gu/support/config/Stages.scala start line: 18 end line: 22 size: 5 LOC McCabe index: 4 number of parameters: 1 id: 1561 unit: def fromString() file: support-models/src/main/scala/com/gu/support/config/TouchPointEnvironments.scala start line: 30 end line: 34 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 1562 unit: private def fromString() file: support-models/src/main/scala/com/gu/support/promotions/Benefit.scala start line: 50 end line: 54 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1563 unit: def getSingle[A]() file: support-models/src/main/scala/com/gu/support/encoding/DiscriminatedType.scala start line: 16 end line: 20 size: 5 LOC McCabe index: 4 number of parameters: 2 id: 1564 unit: def encoder() file: support-models/src/main/scala/com/gu/support/encoding/DiscriminatedType.scala start line: 22 end line: 27 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1565 unit: def fromString() file: support-models/src/main/scala/com/gu/support/zuora/api/SubscriptionData.scala start line: 162 end line: 166 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 1566 unit: def appendMessage() file: support-models/src/main/scala/com/gu/support/workers/RequestInfo.scala start line: 4 end line: 10 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1567 unit: def clipForZuoraStreetNameLimit() file: support-models/src/main/scala/com/gu/salesforce/AddressLineTransformer.scala start line: 44 end line: 49 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1568 unit: def successful: Boolean = buyer.Success && giftRecipient.forall() file: support-models/src/main/scala/com/gu/salesforce/Salesforce.scala start line: 159 end line: 166 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1569 unit: private def pathForStage() file: support-lambdas/stripe-intent/src/main/scala/com/gu/stripeIntent/StripeConfigPath.scala start line: 7 end line: 11 size: 5 LOC McCabe index: 4 number of parameters: 1 id: 1570 unit: override def execute() file: support-payment-api/src/main/scala/model/AppThreadPool.scala start line: 20 end line: 30 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1571 unit: def getInstanceForRequestType() file: support-payment-api/src/main/scala/util/RequestBasedProvider.scala start line: 32 end line: 39 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1572 unit: def checkBankAccount() file: support-payment-api/src/main/scala/services/GoCardlessService.scala start line: 18 end line: 24 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1573 unit: private def fromBufferedSource() file: support-payment-api/src/main/scala/services/SwitchService.scala start line: 91 end line: 95 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1574 unit: def fromThrowable() file: support-payment-api/src/main/scala/services/IdentityClient.scala start line: 148 end line: 166 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1575 unit: def fromRecaptchaConfig() file: support-payment-api/src/main/scala/services/RecaptchaService.scala start line: 44 end line: 48 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1576 unit: def createPayment() file: support-payment-api/src/main/scala/services/PaypalService.scala start line: 19 end line: 24 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1577 unit: def executePayment() file: support-payment-api/src/main/scala/services/PaypalService.scala start line: 58 end line: 62 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1578 unit: private def executePayment() file: support-payment-api/src/main/scala/services/PaypalService.scala start line: 182 end line: 186 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 1579 unit: def getIdentityIdFromEmail() file: support-payment-api/src/main/scala/services/IdentityService.scala start line: 20 end line: 32 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1580 unit: override def getIdentityIdFromEmail() file: support-payment-api/src/main/scala/services/IdentityService.scala start line: 34 end line: 38 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1581 unit: override def createGuestAccount() file: support-payment-api/src/main/scala/services/IdentityService.scala start line: 40 end line: 45 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1582 unit: private def prettyPrint[A]() file: support-payment-api/src/main/scala/controllers/ActionOps.scala start line: 55 end line: 59 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1583 unit: function enableSnapstart() file: cdk/lib/stripe-patrons-data.ts start line: 17 end line: 21 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1584 unit: def fromString() file: support-modules/acquisition-events/src/main/scala/com/gu/support/acquisitions/models/AcquisitionType.scala start line: 11 end line: 15 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 1585 unit: private def buildHeaders() file: support-modules/rest/src/main/scala/com/gu/rest/WebServiceHelper.scala start line: 206 end line: 210 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1586 unit: private def getHeaders() file: support-workers/src/main/scala/com/gu/stripe/StripeService.scala start line: 53 end line: 57 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 1587 unit: def giftNoun() file: support-workers/src/main/scala/com/gu/emailservices/SubscriptionEmailFieldHelpers.scala start line: 38 end line: 42 size: 5 LOC McCabe index: 4 number of parameters: 1 id: 1588 unit: def in[T]() file: support-workers/src/main/scala/com/gu/support/workers/encoding/Encoding.scala start line: 17 end line: 21 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1589 unit: def out[T]() file: support-workers/src/main/scala/com/gu/support/workers/encoding/Encoding.scala start line: 23 end line: 27 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 1590 unit: def asInputStream() file: support-workers/src/main/scala/com/gu/support/workers/encoding/Conversions.scala start line: 16 end line: 20 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 1591 unit: def unWrap() file: support-workers/src/main/scala/com/gu/support/workers/encoding/Wrapper.scala start line: 16 end line: 20 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1592 unit: def handleException() file: support-workers/src/main/scala/com/gu/support/workers/exceptions/ErrorHandler.scala start line: 21 end line: 25 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1593 unit: private def storeAuth() file: support-workers/src/main/scala/com/gu/salesforce/SalesforceService.scala start line: 192 end line: 196 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 1594 unit: def applyTo() file: support-services/src/main/scala/com/gu/support/promotions/PromotionApplicator.scala start line: 61 end line: 64 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1595 unit: def get: Option[Iterable[Promotion]] = promotionsRef.single() file: support-services/src/main/scala/com/gu/support/promotions/PromotionCache.scala start line: 17 end line: 21 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1596 unit: def apply() file: support-services/src/main/scala/com/gu/support/catalog/CatalogService.scala start line: 10 end line: 14 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1597 unit: override def onSuccess() file: supporter-product-data/src/main/scala/com/gu/AWSAsyncHandler.scala start line: 36 end line: 39 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1598 unit: def forStage() file: supporter-product-data/src/main/scala/com/gu/lambdas/ProcessSupporterRatePlanItemLambda.scala start line: 107 end line: 110 size: 4 LOC McCabe index: 3 number of parameters: 1 id: 1599 unit: override protected def handlerFuture() file: supporter-product-data/src/main/scala/com/gu/lambdas/FetchResultsLambda.scala start line: 19 end line: 23 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1600 unit: override protected def handlerFuture() file: supporter-product-data/src/main/scala/com/gu/lambdas/QueryZuoraLambda.scala start line: 18 end line: 23 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1601 unit: def streamFromS3() file: supporter-product-data/src/main/scala/com/gu/services/S3Service.scala start line: 36 end line: 39 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1602 unit: override def onSuccess() file: stripe-patrons-data/src/main/scala/com/gu/patrons/AWSAsyncHandler.scala start line: 36 end line: 39 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1603 unit: def getEvent() file: stripe-patrons-data/src/main/scala/com/gu/patrons/lambdas/PatronCancelledEventLambda.scala start line: 142 end line: 145 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1604 unit: def getEvent() file: stripe-patrons-data/src/main/scala/com/gu/patrons/lambdas/PatronSignUpEventLambda.scala start line: 115 end line: 118 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1605 unit: override def prefix: Option[String] = Some() file: support-internationalisation/src/main/scala/com/gu/i18n/Currency.scala start line: 191 end line: 194 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 1606 unit: override def prefix: Option[String] = Some() file: support-internationalisation/src/main/scala/com/gu/i18n/Currency.scala start line: 196 end line: 199 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 1607 unit: override def prefix: Option[String] = Some() file: support-internationalisation/src/main/scala/com/gu/i18n/Currency.scala start line: 201 end line: 204 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 1608 unit: def countryByCode() file: support-internationalisation/src/main/scala/com/gu/i18n/CountryGroup.scala start line: 348 end line: 351 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1609 unit: function MaybeSelect() file: support-frontend/assets/components/subscriptionCheckouts/address/addressFields.tsx start line: 73 end line: 76 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 1610 unit: function MaybeInput() file: support-frontend/assets/components/subscriptionCheckouts/address/addressFields.tsx start line: 81 end line: 84 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 1611 unit: email: getEmail() file: support-frontend/assets/components/subscriptionCheckouts/thankYou/marketingConsentContainer.ts start line: 13 end line: 17 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1612 unit: header: getFeedbackHeader() file: support-frontend/assets/components/thankYou/thankYouModuleData.tsx start line: 195 end line: 198 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1613 unit: header: signInHeader() file: support-frontend/assets/components/thankYou/thankYouModuleData.tsx start line: 253 end line: 256 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1614 unit: function onRecaptchaCompleted() file: support-frontend/assets/components/directDebit/directDebitForm/directDebitFormContainer.tsx start line: 65 end line: 68 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1615 unit: setPaymentRequestError() file: support-frontend/assets/helpers/redux/checkout/payment/paymentRequestButton/reducer.ts start line: 27 end line: 30 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1616 unit: setSepaIban() file: support-frontend/assets/helpers/redux/checkout/payment/sepa/reducer.ts start line: 11 end line: 14 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1617 unit: setSepaAccountHolderName() file: support-frontend/assets/helpers/redux/checkout/payment/sepa/reducer.ts start line: 15 end line: 18 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1618 unit: setSepaAddressStreetName() file: support-frontend/assets/helpers/redux/checkout/payment/sepa/reducer.ts start line: 19 end line: 22 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1619 unit: setSepaAddressCountry() file: support-frontend/assets/helpers/redux/checkout/payment/sepa/reducer.ts start line: 23 end line: 26 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1620 unit: setLineOne() file: support-frontend/assets/helpers/redux/checkout/address/reducer.ts start line: 57 end line: 60 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1621 unit: setLineTwo() file: support-frontend/assets/helpers/redux/checkout/address/reducer.ts start line: 61 end line: 64 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1622 unit: setTownCity() file: support-frontend/assets/helpers/redux/checkout/address/reducer.ts start line: 65 end line: 68 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1623 unit: setPostcode() file: support-frontend/assets/helpers/redux/checkout/address/reducer.ts start line: 74 end line: 77 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1624 unit: error: formError() file: support-frontend/assets/helpers/redux/checkout/address/validation.ts start line: 104 end line: 107 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 1625 unit: error: formError() file: support-frontend/assets/helpers/redux/checkout/address/validation.ts start line: 113 end line: 116 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 1626 unit: rule: checkLength() file: support-frontend/assets/helpers/redux/checkout/address/validation.ts start line: 132 end line: 135 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1627 unit: rule: isValidPostcodeForHomeDelivery() file: support-frontend/assets/helpers/redux/checkout/address/validation.ts start line: 156 end line: 159 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1628 unit: setProductType() file: support-frontend/assets/helpers/redux/checkout/product/reducer.ts start line: 45 end line: 48 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1629 unit: function amountIsNotInRange() file: support-frontend/assets/helpers/redux/checkout/product/contributionsSideEffects.ts start line: 142 end line: 146 size: 4 LOC McCabe index: 2 number of parameters: 3 id: 1630 unit: expireRecaptchaToken() file: support-frontend/assets/helpers/redux/checkout/recaptcha/reducer.ts start line: 16 end line: 19 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1631 unit: setFirstName() file: support-frontend/assets/helpers/redux/checkout/personalDetails/reducer.ts start line: 19 end line: 22 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1632 unit: setLastName() file: support-frontend/assets/helpers/redux/checkout/personalDetails/reducer.ts start line: 23 end line: 26 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1633 unit: setEmail() file: support-frontend/assets/helpers/redux/checkout/personalDetails/reducer.ts start line: 27 end line: 30 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1634 unit: setConfirmEmail() file: support-frontend/assets/helpers/redux/checkout/personalDetails/reducer.ts start line: 31 end line: 34 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1635 unit: setTelephone() file: support-frontend/assets/helpers/redux/checkout/personalDetails/reducer.ts start line: 35 end line: 38 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1636 unit: setCurrencyId() file: support-frontend/assets/helpers/redux/commonState/reducer.ts start line: 61 end line: 64 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1637 unit: export function getDateWithOrdinal() file: support-frontend/assets/helpers/utilities/dateFormatting.ts start line: 33 end line: 36 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1638 unit: function fromCountryGroupId() file: support-frontend/assets/helpers/internationalisation/currency.ts start line: 91 end line: 95 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1639 unit: function getCurrency() file: support-frontend/assets/helpers/productPrice/productPrices.ts start line: 81 end line: 84 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1640 unit: rule: nonEmptyString() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 28 end line: 31 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1641 unit: rule: notLongerThan() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 39 end line: 42 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1642 unit: rule: nonEmptyString() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 43 end line: 46 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1643 unit: rule: notLongerThan() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 54 end line: 57 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1644 unit: rule: nonEmptyString() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 65 end line: 68 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1645 unit: rule: isValidEmail() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 69 end line: 72 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1646 unit: rule: notLongerThan() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 73 end line: 76 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1647 unit: rule: emailAddressesMatch() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 77 end line: 80 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 1648 unit: rule: notNull() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 189 end line: 192 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1649 unit: function randomNumber() file: support-frontend/assets/helpers/abTests/abtest.ts start line: 536 end line: 539 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1650 unit: function clearParticipationsFromSession() file: support-frontend/assets/helpers/abTests/sessionStorage.ts start line: 27 end line: 30 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1651 unit: function randomNumber() file: support-frontend/assets/helpers/abTests/landingPageAbTests.ts start line: 80 end line: 83 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1652 unit: function push() file: support-frontend/assets/helpers/tracking/googleTagManager.ts start line: 108 end line: 111 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1653 unit: internalCampaignCode: getQueryParameter() file: support-frontend/assets/helpers/tracking/googleTagManager.ts start line: 133 end line: 137 size: 4 LOC McCabe index: 3 number of parameters: 1 id: 1654 unit: function sendEventAcquisitionDataFromQueryParamEvent() file: support-frontend/assets/helpers/tracking/quantumMetric.ts start line: 150 end line: 179 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1655 unit: stateCode: optional() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 32 end line: 35 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1656 unit: payPalEnvironment: object() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 51 end line: 54 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1657 unit: mdapiUrl: string() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 55 end line: 58 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1658 unit: lastName: optional() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 67 end line: 71 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1659 unit: recaptchaSwitches: record() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 95 end line: 98 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1660 unit: defaultAmount: number() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 127 end line: 130 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1661 unit: defaultAmount: number() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 132 end line: 135 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1662 unit: export function countdownSwitchOn() file: support-frontend/assets/helpers/campaigns/campaigns.tsx start line: 14 end line: 17 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1663 unit: export function filterBenefitByRegion() file: support-frontend/assets/helpers/productCatalog.ts start line: 62 end line: 65 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1664 unit: price: getPriceWithSymbol() file: support-frontend/assets/pages/weekly-subscription-landing/components/weeklyProductPrices.tsx start line: 145 end line: 148 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1665 unit: link: string() file: support-frontend/assets/pages/[countryGroupId]/checkout/helpers/sessionStorage.ts start line: 20 end line: 23 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1666 unit: status: picklist() file: support-frontend/assets/pages/[countryGroupId]/checkout/helpers/sessionStorage.ts start line: 53 end line: 56 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1667 unit: export function getThankYouOrder() file: support-frontend/assets/pages/[countryGroupId]/checkout/helpers/sessionStorage.ts start line: 59 end line: 62 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 1668 unit: lastName: string() file: support-frontend/assets/pages/[countryGroupId]/checkout/helpers/stripeCheckoutSession.ts start line: 18 end line: 21 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1669 unit: country: picklist() file: support-frontend/assets/pages/[countryGroupId]/checkout/helpers/stripeCheckoutSession.ts start line: 28 end line: 31 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1670 unit: billingAddressMatchesDelivery: optional() file: support-frontend/assets/pages/[countryGroupId]/checkout/helpers/stripeCheckoutSession.ts start line: 42 end line: 47 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1671 unit: def getPrefix() file: support-frontend/app/utils/CheckoutValidationRules.scala start line: 384 end line: 389 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1672 unit: def fold[C]() file: support-frontend/app/views/MainTypes.scala start line: 6 end line: 9 size: 4 LOC McCabe index: 3 number of parameters: 2 id: 1673 unit: private def expandHomeDirectory() file: support-frontend/app/admin/settings/Settings.scala start line: 98 end line: 101 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1674 unit: private def loadResource() file: support-frontend/app/assets/AssetsResolver.scala start line: 27 end line: 30 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1675 unit: def header:() file: support-frontend/app/actions/HttpHeaders.scala start line: 11 end line: 17 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1676 unit: def apply() file: support-frontend/app/services/HttpIdentityService.scala start line: 84 end line: 88 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1677 unit: private def removeInvalidPricingOptions() file: support-frontend/app/services/pricing/PriceSummaryService.scala start line: 132 end line: 136 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1678 unit: def tryAuthenticateUser() file: support-frontend/app/services/AuthenticationService.scala start line: 22 end line: 25 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 1679 unit: def isTestUser[A]() file: support-frontend/app/services/TestUserService.scala start line: 20 end line: 23 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1680 unit: def healthy() file: support-frontend/app/services/stepfunctions/SupportWorkersClient.scala start line: 229 end line: 234 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1681 unit: def getPrices: Action[AnyContent] = NoCacheAction() file: support-frontend/app/controllers/PricesController.scala start line: 133 end line: 136 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1682 unit: def contributeGeoRedirect() file: support-frontend/app/controllers/Application.scala start line: 273 end line: 276 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1683 unit: def geoRedirectToPath() file: support-frontend/app/controllers/Application.scala start line: 278 end line: 281 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1684 unit: def permanentRedirectWithCountry() file: support-frontend/app/controllers/Application.scala start line: 298 end line: 301 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1685 unit: def displayForm() file: support-frontend/app/controllers/WeeklySubscriptionFormController.scala start line: 43 end line: 46 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1686 unit: def toJson() file: support-frontend/app/controllers/PaperRound.scala start line: 78 end line: 83 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1687 unit: def geoRedirect: Action[AnyContent] = geoRedirect() file: support-frontend/app/controllers/SubscriptionsController.scala start line: 44 end line: 50 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1688 unit: def geoRedirect() file: support-frontend/app/controllers/GeoRedirect.scala start line: 14 end line: 17 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1689 unit: presentIn: await fileSearch() file: support-frontend/scripts/gridImages.js start line: 7 end line: 10 size: 4 LOC McCabe index: 1 number of parameters: 5 id: 1690 unit: productDescription: productCatalogGuardianAdLite() file: support-frontend/stories/landingPage/GuardianLightCards.stories.tsx start line: 38 end line: 41 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1691 unit: def error() file: support-config/src/main/scala/com/gu/monitoring/SafeLogger.scala start line: 48 end line: 51 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1692 unit: def error() file: support-config/src/main/scala/com/gu/monitoring/SafeLogger.scala start line: 53 end line: 56 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1693 unit: def flattenJsonArrays: Seq[Json] = jsonList.foldLeft() file: support-models/src/main/scala/com/gu/support/encoding/JsonHelpers.scala start line: 105 end line: 108 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1694 unit: override def apply() file: support-models/src/main/scala/com/gu/support/encoding/Codec.scala start line: 13 end line: 18 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1695 unit: override def apply() file: support-models/src/main/scala/com/gu/support/encoding/CustomCodecs.scala start line: 85 end line: 89 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1696 unit: def domainAccountNumber: ZuoraAccountNumber = ZuoraAccountNumber() file: support-models/src/main/scala/com/gu/support/zuora/api/response/Responses.scala start line: 161 end line: 165 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1697 unit: def fromString() file: support-models/src/main/scala/com/gu/support/workers/CheckoutFailureReasons.scala start line: 21 end line: 25 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1698 unit: def fromString() file: support-models/src/main/scala/com/gu/support/workers/Status.scala start line: 12 end line: 16 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 1699 unit: def sumPrices() file: support-models/src/main/scala/com/gu/support/catalog/Catalog.scala start line: 36 end line: 39 size: 4 LOC McCabe index: 2 number of parameters: 2 id: 1700 unit: def apply() file: support-payment-api/src/main/scala/model/stripe/StripeRequest.scala start line: 22 end line: 25 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1701 unit: def contains() file: support-payment-api/src/main/scala/model/Currency.scala start line: 8 end line: 14 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 1702 unit: private def paypalDateToLocalDateTime() file: support-payment-api/src/main/scala/model/db/ContributionData.scala start line: 41 end line: 45 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1703 unit: private def typeDiscriminatorEncoder[A: ClassTag]() file: support-payment-api/src/main/scala/model/ResultBody.scala start line: 24 end line: 27 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1704 unit: def validateEventType() file: support-payment-api/src/main/scala/model/paypal/PaypalRefundWebHookData.scala start line: 16 end line: 19 size: 4 LOC McCabe index: 3 number of parameters: 1 id: 1705 unit: override def invokeBlock[A]() file: support-payment-api/src/main/scala/actions/CorsAction.scala start line: 27 end line: 32 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1706 unit: def isNotFound: Boolean = errors.exists() file: support-payment-api/src/main/scala/services/IdentityClient.scala start line: 167 end line: 171 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1707 unit: def fromIdentityConfig() file: support-payment-api/src/main/scala/services/IdentityService.scala start line: 66 end line: 69 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1708 unit: def insertContributionData() file: support-payment-api/src/main/scala/services/ContributionsStoreService.scala start line: 26 end line: 30 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1709 unit: override def insertContributionData() file: support-payment-api/src/main/scala/services/ContributionsStoreService.scala start line: 116 end line: 119 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1710 unit: override def flagContributionAsRefunded() file: support-payment-api/src/main/scala/services/ContributionsStoreService.scala start line: 121 end line: 124 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1711 unit: def recordPostPaymentTasksError() file: support-payment-api/src/main/scala/services/CloudWatchService.scala start line: 78 end line: 81 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1712 unit: def recordTrackingRefundFailure() file: support-payment-api/src/main/scala/services/CloudWatchService.scala start line: 83 end line: 88 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1713 unit: def acquisition() file: support-payment-api/src/main/scala/controllers/AppController.scala start line: 26 end line: 29 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1714 unit: def fetchAsString() file: support-modules/aws/src/main/scala/com/gu/aws/AwsS3Client.scala start line: 37 end line: 40 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1715 unit: def error() file: support-modules/rest/src/main/scala/com/gu/monitoring/SafeLogger.scala start line: 48 end line: 51 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1716 unit: def error() file: support-modules/rest/src/main/scala/com/gu/monitoring/SafeLogger.scala start line: 53 end line: 56 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1717 unit: implicit def decoder[T]() file: support-workers/src/main/scala/com/gu/stripe/Stripe.scala start line: 11 end line: 16 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 1718 unit: def withLogging() file: support-workers/src/main/scala/com/gu/WithLoggingSugar.scala start line: 24 end line: 27 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1719 unit: private def extractUnderlyingError() file: support-workers/src/main/scala/com/gu/support/workers/lambdas/FailureHandler.scala start line: 112 end line: 115 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 1720 unit: def subscribe() file: support-workers/src/main/scala/com/gu/zuora/productHandlers/ZuoraContributionHandler.scala start line: 19 end line: 22 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 1721 unit: def forUser() file: support-workers/src/main/scala/com/gu/services/Services.scala start line: 28 end line: 33 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 1722 unit: override def wsPreExecute() file: support-workers/src/main/scala/com/gu/salesforce/SalesforceService.scala start line: 28 end line: 31 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1723 unit: override protected def createService() file: support-services/src/main/scala/com/gu/support/paperround/PaperRoundService.scala start line: 13 end line: 15 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1724 unit: def applyTo() file: support-services/src/main/scala/com/gu/support/promotions/PromotionApplicator.scala start line: 24 end line: 27 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1725 unit: override protected def createService() file: support-services/src/main/scala/com/gu/support/promotions/PromotionServiceProvider.scala start line: 8 end line: 10 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1726 unit: override protected def handlerFuture() file: supporter-product-data/src/main/scala/com/gu/lambdas/AddSupporterRatePlanItemToQueueLambda.scala start line: 27 end line: 29 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1727 unit: export default defineConfig() file: support-e2e/playwright.prod.config.ts start line: 4 end line: 6 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1728 unit: def unapply() file: support-internationalisation/src/main/scala/com/gu/i18n/PostalCode.scala start line: 12 end line: 15 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1729 unit: function updateIban() file: support-frontend/assets/components/sepaForm/SepaFormContainer.tsx start line: 25 end line: 27 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1730 unit: function updateAccountHolderName() file: support-frontend/assets/components/sepaForm/SepaFormContainer.tsx start line: 29 end line: 31 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1731 unit: function updateAddressStreetName() file: support-frontend/assets/components/sepaForm/SepaFormContainer.tsx start line: 33 end line: 35 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1732 unit: function updateAddressCountry() file: support-frontend/assets/components/sepaForm/SepaFormContainer.tsx start line: 37 end line: 39 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1733 unit: function preventKeydown() file: support-frontend/assets/components/loadingOverlay/loadingOverlay.tsx start line: 33 end line: 35 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1734 unit: function shouldShowStateDropdown() file: support-frontend/assets/components/subscriptionCheckouts/address/addressFields.tsx start line: 86 end line: 88 size: 3 LOC McCabe index: 3 number of parameters: 1 id: 1735 unit: function shouldShowStateInput() file: support-frontend/assets/components/subscriptionCheckouts/address/addressFields.tsx start line: 90 end line: 92 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1736 unit: function pluralisedAddress() file: support-frontend/assets/components/subscriptionCheckouts/address/postcodeFinder.tsx start line: 132 end line: 134 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1737 unit: function SignedOutEmailFooter() file: support-frontend/assets/components/subscriptionCheckouts/personalDetails.tsx start line: 75 end line: 77 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1738 unit: isTestUser: getGlobal() file: support-frontend/assets/components/headers/header/header.tsx start line: 62 end line: 65 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1739 unit: function showPrivacyManager() file: support-frontend/assets/components/footerCompliant/Footer.tsx start line: 35 end line: 37 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1740 unit: ctas: feedbackSurveyCompleted ? null :() file: support-frontend/assets/components/thankYou/thankYouModuleData.tsx start line: 201 end line: 203 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1741 unit: export function Outset() file: support-frontend/assets/components/content/content.tsx start line: 102 end line: 104 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1742 unit: function updateAccountHolderName() file: support-frontend/assets/components/directDebit/directDebitForm/directDebitFormContainer.tsx start line: 49 end line: 51 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1743 unit: function updateAccountNumber() file: support-frontend/assets/components/directDebit/directDebitForm/directDebitFormContainer.tsx start line: 53 end line: 55 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1744 unit: function updateSortCode() file: support-frontend/assets/components/directDebit/directDebitForm/directDebitFormContainer.tsx start line: 57 end line: 59 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1745 unit: function updateAccountHolderConfirmation() file: support-frontend/assets/components/directDebit/directDebitForm/directDebitFormContainer.tsx start line: 61 end line: 63 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1746 unit: setIsSignedIn() file: support-frontend/assets/helpers/redux/user/reducer.ts start line: 10 end line: 12 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1747 unit: setIsReturningContributor() file: support-frontend/assets/helpers/redux/user/reducer.ts start line: 18 end line: 20 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1748 unit: setStorybookUser() file: support-frontend/assets/helpers/redux/user/reducer.ts start line: 21 end line: 23 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1749 unit: setClientSecret() file: support-frontend/assets/helpers/redux/checkout/payment/stripe/reducer.ts start line: 16 end line: 18 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1750 unit: completePaymentRequest() file: support-frontend/assets/helpers/redux/checkout/payment/paymentRequestButton/reducer.ts start line: 24 end line: 26 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1751 unit: updatePayPalButtonReady() file: support-frontend/assets/helpers/redux/checkout/payment/payPal/reducer.ts start line: 11 end line: 13 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1752 unit: setStripePublicKey() file: support-frontend/assets/helpers/redux/checkout/payment/stripeAccountDetails/reducer.ts start line: 10 end line: 12 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1753 unit: setStripeAccountName() file: support-frontend/assets/helpers/redux/checkout/payment/stripeAccountDetails/reducer.ts start line: 13 end line: 15 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1754 unit: effect() file: support-frontend/assets/helpers/redux/checkout/payment/contributionsSideEffects.ts start line: 10 end line: 12 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1755 unit: setPopupOpen() file: support-frontend/assets/helpers/redux/checkout/payment/directDebit/reducer.ts start line: 17 end line: 19 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1756 unit: setPopupClose() file: support-frontend/assets/helpers/redux/checkout/payment/directDebit/reducer.ts start line: 20 end line: 22 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1757 unit: setDDGuaranteeOpen() file: support-frontend/assets/helpers/redux/checkout/payment/directDebit/reducer.ts start line: 23 end line: 25 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1758 unit: setDDGuaranteeClose() file: support-frontend/assets/helpers/redux/checkout/payment/directDebit/reducer.ts start line: 26 end line: 28 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1759 unit: setSortCode() file: support-frontend/assets/helpers/redux/checkout/payment/directDebit/reducer.ts start line: 29 end line: 31 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1760 unit: setAccountNumber() file: support-frontend/assets/helpers/redux/checkout/payment/directDebit/reducer.ts start line: 32 end line: 34 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1761 unit: setAccountHolderName() file: support-frontend/assets/helpers/redux/checkout/payment/directDebit/reducer.ts start line: 35 end line: 37 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1762 unit: setAccountHolderConfirmation() file: support-frontend/assets/helpers/redux/checkout/payment/directDebit/reducer.ts start line: 38 end line: 40 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1763 unit: setFormError() file: support-frontend/assets/helpers/redux/checkout/payment/directDebit/reducer.ts start line: 41 end line: 43 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1764 unit: resetFormError() file: support-frontend/assets/helpers/redux/checkout/payment/directDebit/reducer.ts start line: 44 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1765 unit: setPhase() file: support-frontend/assets/helpers/redux/checkout/payment/directDebit/reducer.ts start line: 47 end line: 49 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1766 unit: setFormErrors() file: support-frontend/assets/helpers/redux/checkout/address/reducer.ts start line: 86 end line: 88 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1767 unit: setPostcode() file: support-frontend/assets/helpers/redux/checkout/address/reducer.ts start line: 117 end line: 119 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1768 unit: setError() file: support-frontend/assets/helpers/redux/checkout/address/reducer.ts start line: 120 end line: 122 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1769 unit: effect() file: support-frontend/assets/helpers/redux/checkout/address/subscriptionsSideEffects.ts start line: 26 end line: 28 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1770 unit: function getGenericRules() file: support-frontend/assets/helpers/redux/checkout/address/validation.ts start line: 52 end line: 146 size: 3 LOC McCabe index: 4 number of parameters: 2 id: 1771 unit: error: formError() file: support-frontend/assets/helpers/redux/checkout/address/validation.ts start line: 133 end line: 135 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1772 unit: error: formError() file: support-frontend/assets/helpers/redux/checkout/address/validation.ts start line: 157 end line: 159 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1773 unit: setProductOption() file: support-frontend/assets/helpers/redux/checkout/product/reducer.ts start line: 49 end line: 51 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1774 unit: setFulfilmentOption() file: support-frontend/assets/helpers/redux/checkout/product/reducer.ts start line: 57 end line: 59 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1775 unit: setBillingPeriod() file: support-frontend/assets/helpers/redux/checkout/product/reducer.ts start line: 60 end line: 62 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1776 unit: setProductPrices() file: support-frontend/assets/helpers/redux/checkout/product/reducer.ts start line: 63 end line: 65 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1777 unit: setAllAmounts() file: support-frontend/assets/helpers/redux/checkout/product/reducer.ts start line: 66 end line: 68 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1778 unit: setCoverTransactionCost() file: support-frontend/assets/helpers/redux/checkout/product/reducer.ts start line: 79 end line: 82 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1779 unit: setCurrency() file: support-frontend/assets/helpers/redux/checkout/product/reducer.ts start line: 83 end line: 85 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1780 unit: setOrderIsAGift() file: support-frontend/assets/helpers/redux/checkout/product/reducer.ts start line: 86 end line: 88 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1781 unit: setStartDate() file: support-frontend/assets/helpers/redux/checkout/product/reducer.ts start line: 89 end line: 91 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1782 unit: orderIsAGift: getGlobal() file: support-frontend/assets/helpers/redux/checkout/product/state.ts start line: 88 end line: 90 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1783 unit: function isPaperProduct() file: support-frontend/assets/helpers/redux/checkout/product/selectors/productPrice.ts start line: 65 end line: 67 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1784 unit: effect() file: support-frontend/assets/helpers/redux/checkout/product/contributionsSideEffects.ts start line: 71 end line: 80 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1785 unit: setBillingAddressMatchesDelivery() file: support-frontend/assets/helpers/redux/checkout/addressMeta/reducer.ts start line: 11 end line: 13 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1786 unit: setDeliveryInstructions() file: support-frontend/assets/helpers/redux/checkout/addressMeta/reducer.ts start line: 14 end line: 16 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1787 unit: setDeliveryAgent() file: support-frontend/assets/helpers/redux/checkout/addressMeta/reducer.ts start line: 17 end line: 19 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1788 unit: clearDeliveryAgentResponse() file: support-frontend/assets/helpers/redux/checkout/addressMeta/reducer.ts start line: 20 end line: 22 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1789 unit: setFirstName() file: support-frontend/assets/helpers/redux/checkout/giftingState/reducer.ts start line: 15 end line: 17 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1790 unit: setLastName() file: support-frontend/assets/helpers/redux/checkout/giftingState/reducer.ts start line: 18 end line: 20 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1791 unit: setEmail() file: support-frontend/assets/helpers/redux/checkout/giftingState/reducer.ts start line: 21 end line: 23 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1792 unit: setGiftMessage() file: support-frontend/assets/helpers/redux/checkout/giftingState/reducer.ts start line: 24 end line: 26 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1793 unit: setGiftDeliveryDate() file: support-frontend/assets/helpers/redux/checkout/giftingState/reducer.ts start line: 27 end line: 29 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1794 unit: effect() file: support-frontend/assets/helpers/redux/checkout/personalDetails/subscriptionsSideEffects.ts start line: 33 end line: 35 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1795 unit: setApiError() file: support-frontend/assets/helpers/redux/checkout/marketingConsent/reducer.ts start line: 9 end line: 11 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1796 unit: setConfirmMarketingConsent() file: support-frontend/assets/helpers/redux/checkout/marketingConsent/reducer.ts start line: 12 end line: 14 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1797 unit: setRequestPending() file: support-frontend/assets/helpers/redux/checkout/marketingConsent/reducer.ts start line: 15 end line: 17 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1798 unit: setContributionTypes() file: support-frontend/assets/helpers/redux/commonState/reducer.ts start line: 58 end line: 60 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1799 unit: function ascending() file: support-frontend/assets/helpers/utilities/utilities.ts start line: 7 end line: 9 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1800 unit: function roundToDecimalPlaces() file: support-frontend/assets/helpers/utilities/utilities.ts start line: 12 end line: 14 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1801 unit: function hiddenIf() file: support-frontend/assets/helpers/utilities/utilities.ts start line: 30 end line: 32 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 1802 unit: function shouldInitCmp() file: support-frontend/assets/helpers/page/analyticsAndConsent.ts start line: 112 end line: 119 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1803 unit: function detect() file: support-frontend/assets/helpers/internationalisation/currency.ts start line: 139 end line: 141 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1804 unit: static usStateFromString() file: support-frontend/assets/helpers/internationalisation/classes/country.ts start line: 52 end line: 54 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1805 unit: static caStateFromString() file: support-frontend/assets/helpers/internationalisation/classes/country.ts start line: 56 end line: 58 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1806 unit: static auStateFromString() file: support-frontend/assets/helpers/internationalisation/classes/country.ts start line: 60 end line: 62 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1807 unit: static isIsoCountry() file: support-frontend/assets/helpers/internationalisation/classes/country.ts start line: 123 end line: 125 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1808 unit: static fromOldGeolocation() file: support-frontend/assets/helpers/internationalisation/classes/country.ts start line: 196 end line: 198 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1809 unit: static setCountry() file: support-frontend/assets/helpers/internationalisation/classes/country.ts start line: 200 end line: 202 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1810 unit: function promotionHTML() file: support-frontend/assets/helpers/productPrice/promotions.tsx start line: 126 end line: 128 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1811 unit: function getCountryGroup() file: support-frontend/assets/helpers/productPrice/productPrices.ts start line: 51 end line: 53 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1812 unit: function parseAmount() file: support-frontend/assets/helpers/storage/abandonedBasketCookies.ts start line: 60 end line: 62 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1813 unit: function getEmail() file: support-frontend/assets/helpers/subscriptionsForms/formFields.ts start line: 92 end line: 94 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1814 unit: function notNull() file: support-frontend/assets/helpers/subscriptionsForms/validation.ts start line: 18 end line: 20 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1815 unit: error: formError() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 29 end line: 31 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1816 unit: error: formError() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 40 end line: 42 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1817 unit: error: formError() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 44 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1818 unit: error: formError() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 55 end line: 57 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1819 unit: error: formError() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 66 end line: 68 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1820 unit: error: formError() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 70 end line: 72 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1821 unit: error: formError() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 74 end line: 76 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1822 unit: error: formError() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 78 end line: 80 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1823 unit: function applyDeliveryRules() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 183 end line: 212 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1824 unit: error: formError() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 190 end line: 192 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1825 unit: export function withDeliveryFormIsValid() file: support-frontend/assets/helpers/subscriptionsForms/formValidation.ts start line: 50 end line: 52 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1826 unit: function shouldValidateBillingAddress() file: support-frontend/assets/helpers/subscriptionsForms/formValidation.ts start line: 120 end line: 122 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1827 unit: function dispatchAllErrors() file: support-frontend/assets/helpers/subscriptionsForms/formValidation.ts start line: 124 end line: 126 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1828 unit: function getErrorList() file: support-frontend/assets/helpers/subscriptionsForms/formValidation.ts start line: 128 end line: 130 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1829 unit: function assigned() file: support-frontend/assets/helpers/abTests/abtest.ts start line: 575 end line: 577 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1830 unit: function setSessionParticipations() file: support-frontend/assets/helpers/abTests/sessionStorage.ts start line: 23 end line: 25 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1831 unit: function isLandingPage() file: support-frontend/assets/helpers/abTests/landingPageAbTests.ts start line: 86 end line: 88 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1832 unit: function sendEventPageViewId() file: support-frontend/assets/helpers/tracking/quantumMetric.ts start line: 453 end line: 461 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1833 unit: function getIosAppUrl() file: support-frontend/assets/helpers/urls/externalLinks.ts start line: 59 end line: 61 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1834 unit: function postcodeLookupUrl() file: support-frontend/assets/helpers/urls/routes.ts start line: 59 end line: 61 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1835 unit: function payPalCancelUrl() file: support-frontend/assets/helpers/urls/routes.ts start line: 123 end line: 125 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1836 unit: function isProd() file: support-frontend/assets/helpers/urls/url.ts start line: 75 end line: 77 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1837 unit: function isCode() file: support-frontend/assets/helpers/urls/url.ts start line: 79 end line: 81 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1838 unit: function isCodeOrProd() file: support-frontend/assets/helpers/urls/url.ts start line: 83 end line: 85 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1839 unit: function round() file: support-frontend/assets/helpers/forms/checkouts.ts start line: 96 end line: 104 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1840 unit: export function isErrorReason() file: support-frontend/assets/helpers/forms/errorReasons.ts start line: 26 end line: 28 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1841 unit: function isRecord() file: support-frontend/assets/helpers/globalsAndSwitches/globals.ts start line: 7 end line: 9 size: 3 LOC McCabe index: 3 number of parameters: 1 id: 1842 unit: paymentApiPayPalEndpoint: string() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 56 end line: 58 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1843 unit: amountsCardData: object() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 124 end line: 140 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1844 unit: hideChooseYourAmount: boolean() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 128 end line: 130 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1845 unit: hideChooseYourAmount: boolean() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 133 end line: 135 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1846 unit: allProductPrices: record() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 232 end line: 234 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1847 unit: function repeatPromise() file: support-frontend/assets/helpers/async/promise.ts start line: 4 end line: 6 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 1848 unit: export function isProductKey() file: support-frontend/assets/helpers/productCatalog.ts start line: 109 end line: 111 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1849 unit: function getTickerUrl() file: support-frontend/assets/pages/supporter-plus-landing/twoStepPages/tickerContainer.tsx start line: 15 end line: 17 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1850 unit: planCost: getPlanCost() file: support-frontend/assets/pages/supporter-plus-landing/twoStepPages/threeTierLanding.tsx start line: 553 end line: 555 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1851 unit: function getWindowWidth() file: support-frontend/assets/pages/aus-moment-map/hooks/useWindowWidth.ts start line: 17 end line: 19 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1852 unit: function handleResize() file: support-frontend/assets/pages/aus-moment-map/hooks/useWindowWidth.ts start line: 23 end line: 25 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1853 unit: void fetch() file: support-frontend/assets/pages/aus-moment-map/ausMomentMap.tsx start line: 25 end line: 27 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1854 unit: export function Legend() file: support-frontend/assets/pages/[countryGroupId]/components/form.tsx start line: 55 end line: 57 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1855 unit: export function FormSection() file: support-frontend/assets/pages/[countryGroupId]/components/form.tsx start line: 63 end line: 65 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1856 unit: function timeOut() file: support-frontend/assets/pages/[countryGroupId]/components/createSubscription.ts start line: 129 end line: 131 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1857 unit: export function setReturnAddress() file: support-frontend/assets/pages/[countryGroupId]/checkout/helpers/sessionStorage.ts start line: 23 end line: 25 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1858 unit: export function setThankYouOrder() file: support-frontend/assets/pages/[countryGroupId]/checkout/helpers/sessionStorage.ts start line: 56 end line: 58 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1859 unit: email: string() file: support-frontend/assets/pages/[countryGroupId]/checkout/helpers/stripeCheckoutSession.ts start line: 19 end line: 21 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1860 unit: addressFields: object() file: support-frontend/assets/pages/[countryGroupId]/checkout/helpers/stripeCheckoutSession.ts start line: 21 end line: 40 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1861 unit: function Router() file: support-frontend/assets/pages/[countryGroupId]/router.tsx start line: 116 end line: 118 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1862 unit: function Router() file: support-frontend/assets/pages/[countryGroupId]/events/router.tsx start line: 20 end line: 22 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1863 unit: def fromString() file: support-frontend/app/models/DirectDebitDetails.scala start line: 12 end line: 14 size: 3 LOC McCabe index: 3 number of parameters: 1 id: 1864 unit: def fromString() file: support-frontend/app/models/DirectDebitDetails.scala start line: 28 end line: 30 size: 3 LOC McCabe index: 3 number of parameters: 1 id: 1865 unit: def isMessagePreservable() file: support-frontend/app/utils/CheckoutValidationRules.scala start line: 23 end line: 26 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1866 unit: override def settings() file: support-frontend/app/admin/settings/SettingsProvider.scala start line: 71 end line: 74 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1867 unit: override def settings() file: support-frontend/app/admin/settings/SettingsProvider.scala start line: 129 end line: 132 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1868 unit: def addTo() file: support-frontend/app/admin/settings/SettingsProvider.scala start line: 183 end line: 188 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1869 unit: def getSsrCacheContentsAsHtml() file: support-frontend/app/assets/AssetsResolver.scala start line: 61 end line: 63 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 1870 unit: def apply() file: support-frontend/app/lib/RedirectWithEncodedQueryString.scala start line: 8 end line: 10 size: 3 LOC McCabe index: 2 number of parameters: 4 id: 1871 unit: def error500() file: support-frontend/app/lib/ErrorController.scala start line: 13 end line: 15 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1872 unit: def browser() file: support-frontend/app/actions/CacheControl.scala start line: 12 end line: 14 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1873 unit: def cdn() file: support-frontend/app/actions/CacheControl.scala start line: 16 end line: 18 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1874 unit: def toHttpDateTimeString: String = date.toString() file: support-frontend/app/actions/HttpHeaders.scala start line: 18 end line: 21 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1875 unit: def flattenValues: List[() file: support-frontend/app/services/HttpIdentityService.scala start line: 29 end line: 31 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 1876 unit: def getPromoCodes() file: support-frontend/app/services/pricing/DefaultPromotionService.scala start line: 23 end line: 26 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1877 unit: def getTests() file: support-frontend/app/services/LandingPageTestService.scala start line: 30 end line: 33 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1878 unit: def get() file: support-frontend/app/services/ProductCatalogService.scala start line: 26 end line: 28 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1879 unit: private def update() file: support-frontend/app/services/ProductCatalogService.scala start line: 43 end line: 45 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1880 unit: def status() file: support-frontend/app/services/stepfunctions/Client.scala start line: 117 end line: 119 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1881 unit: def wrap[T]() file: support-frontend/app/services/stepfunctions/StateWrapper.scala start line: 23 end line: 25 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 1882 unit: def fromStateMachineListItem() file: support-frontend/app/services/stepfunctions/package.scala start line: 22 end line: 24 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1883 unit: def getArticles() file: support-frontend/app/services/CapiService.scala start line: 77 end line: 79 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1884 unit: def redirect() file: support-frontend/app/controllers/Application.scala start line: 289 end line: 291 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1885 unit: def permanentRedirect() file: support-frontend/app/controllers/Application.scala start line: 293 end line: 295 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1886 unit: def redirectPath() file: support-frontend/app/controllers/Application.scala start line: 303 end line: 305 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1887 unit: def unsupportedBrowser: Action[AnyContent] = NoCacheAction() file: support-frontend/app/controllers/Application.scala start line: 307 end line: 309 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1888 unit: private def shareImageUrl() file: support-frontend/app/controllers/Application.scala start line: 335 end line: 338 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1889 unit: def removeTrailingSlash() file: support-frontend/app/controllers/Application.scala start line: 432 end line: 434 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1890 unit: def redirectContributionsCheckoutDigital() file: support-frontend/app/controllers/Application.scala start line: 523 end line: 525 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1891 unit: def redirectCheckoutPaper() file: support-frontend/app/controllers/Application.scala start line: 527 end line: 529 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1892 unit: def oauthCallbackUrl() file: support-frontend/app/controllers/AuthCodeFlowController.scala start line: 48 end line: 50 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1893 unit: def urlEncode() file: support-frontend/app/controllers/AuthCodeFlowController.scala start line: 195 end line: 198 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1894 unit: function Template() file: support-frontend/stories/checkouts/PriceCards.stories.tsx start line: 55 end line: 57 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1895 unit: function Template() file: support-frontend/stories/checkouts/SecureTransactionIndicator.stories.tsx start line: 24 end line: 26 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1896 unit: function Template() file: support-frontend/stories/checkouts/ContributionsOrderSummary.stories.tsx start line: 75 end line: 77 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1897 unit: function Template() file: support-frontend/stories/checkouts/Patrons.stories.tsx start line: 37 end line: 39 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1898 unit: function Template() file: support-frontend/stories/images/GridPicture.stories.tsx start line: 33 end line: 35 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1899 unit: function Template() file: support-frontend/stories/images/GridImage.stories.tsx start line: 33 end line: 35 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1900 unit: await waitFor() file: support-frontend/stories/nav/Nav.stories.tsx start line: 62 end line: 64 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1901 unit: await waitFor() file: support-frontend/stories/nav/Nav.stories.tsx start line: 66 end line: 68 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1902 unit: await waitFor() file: support-frontend/stories/nav/Nav.stories.tsx start line: 70 end line: 72 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1903 unit: function Template() file: support-frontend/stories/checkoutLayout/LoadingOverlay.stories.tsx start line: 21 end line: 23 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1904 unit: function Template() file: support-frontend/stories/checkoutLayout/PersonalDetails.stories.tsx start line: 39 end line: 41 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1905 unit: function Template() file: support-frontend/stories/checkoutLayout/CheckoutBox.stories.tsx start line: 44 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1906 unit: function Template() file: support-frontend/stories/core/SimpleHeader.stories.tsx start line: 20 end line: 22 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1907 unit: function Template() file: support-frontend/stories/content/Tooltip.stories.tsx start line: 20 end line: 22 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1908 unit: await waitFor() file: support-frontend/stories/content/Tabs.stories.tsx start line: 58 end line: 60 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1909 unit: function Template() file: support-frontend/stories/content/CheckList.stories.tsx start line: 68 end line: 70 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1910 unit: get() file: support-frontend/jestSetup.js start line: 7 end line: 9 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1911 unit: def scrub() file: support-config/src/main/scala/com/gu/monitoring/SafeLogger.scala start line: 13 end line: 15 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1912 unit: def debug() file: support-config/src/main/scala/com/gu/monitoring/SafeLogger.scala start line: 32 end line: 34 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1913 unit: def info() file: support-config/src/main/scala/com/gu/monitoring/SafeLogger.scala start line: 36 end line: 38 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1914 unit: def warn() file: support-config/src/main/scala/com/gu/monitoring/SafeLogger.scala start line: 40 end line: 42 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1915 unit: def warn() file: support-config/src/main/scala/com/gu/monitoring/SafeLogger.scala start line: 44 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1916 unit: override protected def fromConfig() file: support-config/src/main/scala/com/gu/support/config/CatalogConfig.scala start line: 8 end line: 11 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1917 unit: override protected def fromConfig() file: support-config/src/main/scala/com/gu/support/config/PromotionsConfig.scala start line: 16 end line: 19 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1918 unit: def all = List() file: support-models/src/main/scala/com/gu/support/promotions/DefaultPromotions.scala start line: 8 end line: 11 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1919 unit: def renameField() file: support-models/src/main/scala/com/gu/support/encoding/JsonHelpers.scala start line: 9 end line: 11 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1920 unit: private def string() file: support-models/src/main/scala/com/gu/support/encoding/JsonHelpers.scala start line: 101 end line: 104 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1921 unit: def getField() file: support-models/src/main/scala/com/gu/support/encoding/JsonHelpers.scala start line: 112 end line: 116 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1922 unit: def codec() file: support-models/src/main/scala/com/gu/support/encoding/DiscriminatedType.scala start line: 32 end line: 34 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1923 unit: def errorMessage = reasons.flatMap() file: support-models/src/main/scala/com/gu/support/zuora/api/response/Responses.scala start line: 205 end line: 208 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1924 unit: def fromString() file: support-models/src/main/scala/com/gu/support/workers/BillingPeriod.scala start line: 11 end line: 13 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1925 unit: def fromString() file: support-models/src/main/scala/com/gu/support/workers/PaymentProvider.scala start line: 39 end line: 41 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1926 unit: def recipient: SalesforceContactRecord = giftRecipient.getOrElse() file: support-models/src/main/scala/com/gu/salesforce/Salesforce.scala start line: 149 end line: 151 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1927 unit: override def toString() file: support-payment-api/src/main/scala/model/stripe/StripeRequest.scala start line: 13 end line: 16 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1928 unit: def requestType() file: support-payment-api/src/main/scala/util/RequestBasedProvider.scala start line: 8 end line: 11 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1929 unit: def asPlayConfig() file: support-payment-api/src/main/scala/conf/PlayConfigEncoder.scala start line: 10 end line: 13 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1930 unit: private def getPayment() file: support-payment-api/src/main/scala/services/PaypalService.scala start line: 157 end line: 159 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1931 unit: def onError() file: support-payment-api/src/main/scala/services/CloudWatchService.scala start line: 94 end line: 96 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1932 unit: def toErrorResult() file: support-payment-api/src/main/scala/controllers/PaypalController.scala start line: 27 end line: 29 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1933 unit: def unsafe: LogId = LogId() file: support-payment-api/src/main/scala/controllers/ActionOps.scala start line: 22 end line: 25 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1934 unit: def corsOptions() file: support-payment-api/src/main/scala/controllers/AppController.scala start line: 31 end line: 33 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1935 unit: function scheduleRateForEnvironment() file: cdk/lib/stripe-patrons-data.ts start line: 85 end line: 87 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 1936 unit: def fromString() file: support-modules/acquisition-events/src/main/scala/com/gu/support/acquisitions/models/AcquisitionDataRow.scala start line: 85 end line: 87 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1937 unit: def apply[T]() file: support-modules/retry/src/main/scala/com/gu/retry/DelayedFuture.scala start line: 25 end line: 27 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1938 unit: def scrub() file: support-modules/rest/src/main/scala/com/gu/monitoring/SafeLogger.scala start line: 13 end line: 15 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1939 unit: def debug() file: support-modules/rest/src/main/scala/com/gu/monitoring/SafeLogger.scala start line: 32 end line: 34 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1940 unit: def info() file: support-modules/rest/src/main/scala/com/gu/monitoring/SafeLogger.scala start line: 36 end line: 38 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1941 unit: def warn() file: support-modules/rest/src/main/scala/com/gu/monitoring/SafeLogger.scala start line: 40 end line: 42 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1942 unit: def warn() file: support-modules/rest/src/main/scala/com/gu/monitoring/SafeLogger.scala start line: 44 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1943 unit: def decoder() file: support-workers/src/main/scala/com/gu/stripe/StripeBrand.scala start line: 27 end line: 29 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1944 unit: def load() file: support-workers/src/main/scala/com/gu/config/loaders/PrivateConfigLoader.scala start line: 7 end line: 13 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1945 unit: override protected def servicesHandler() file: support-workers/src/main/scala/com/gu/support/workers/lambdas/ServicesHandler.scala start line: 45 end line: 47 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 1946 unit: def toCheckoutFailureReason() file: support-workers/src/main/scala/com/gu/support/workers/lambdas/FailureHandler.scala start line: 128 end line: 130 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1947 unit: def alarmShouldBeSuppressedForErrorMessage() file: support-workers/src/main/scala/com/gu/support/workers/exceptions/CardDeclinedMessages.scala start line: 22 end line: 24 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1948 unit: Tel: 0330 333 6767() file: support-frontend/assets/components/subscriptionCheckouts/directDebit/directDebitTerms.tsx start line: 38 end line: 39 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 1949 unit: Tel: 0330 333 6767() file: support-frontend/assets/components/directDebit/directDebitForm/legalNotice.tsx start line: 38 end line: 39 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 1950 unit: rule: nonEmptyString() file: support-frontend/assets/helpers/redux/checkout/address/validation.ts start line: 58 end line: 59 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 1951 unit: rule: nonEmptyString() file: support-frontend/assets/helpers/redux/checkout/address/validation.ts start line: 90 end line: 91 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 1952 unit: rule: nonEmptyString() file: support-frontend/assets/helpers/redux/checkout/address/validation.ts start line: 121 end line: 122 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 1953 unit: function applyCheckoutRules() file: support-frontend/assets/helpers/subscriptionsForms/rules.ts start line: 24 end line: 181 size: 2 LOC McCabe index: 2 number of parameters: 1 id: 1954 unit: function getData() file: support-frontend/assets/helpers/tracking/googleTagManager.ts start line: 113 end line: 145 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 1955 unit: void ifQmPermitted() file: support-frontend/assets/helpers/tracking/quantumMetric.ts start line: 483 end line: 494 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 1956 unit: stripeKeyDefaultCurrencies: object() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 35 end line: 38 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 1957 unit: stripeKeyAustralia: object() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 39 end line: 42 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 1958 unit: stripeKeyUnitedStates: object() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 43 end line: 46 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 1959 unit: stripeKeyTortoiseMedia: object() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 47 end line: 50 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 1960 unit: paymentApiUrl: string() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 57 end line: 58 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 1961 unit: variants: array() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 122 end line: 146 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 1962 unit: ratePlans: record() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 202 end line: 216 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 1963 unit: productDescription: productCatalogGuardianAdLite() file: support-frontend/assets/pages/[countryGroupId]/guardianAdLiteLanding/components/headerCards.tsx start line: 114 end line: 115 size: 2 LOC McCabe index: 2 number of parameters: 0 id: 1964 unit: private def publicIpAddress() file: support-frontend/app/services/HttpIdentityService.scala start line: 41 end line: 42 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 1965 unit: def fromString() file: support-payment-api/src/main/scala/services/SwitchService.scala start line: 25 end line: 27 size: 2 LOC McCabe index: 3 number of parameters: 1 id: 1966 unit: monitoringConfiguration: monitoringForEnvironment() file: cdk/lib/stripe-patrons-data.ts start line: 59 end line: 60 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 1967 unit: def whenFinished[U]() file: support-workers/src/main/scala/com/gu/helpers/FutureExtensions.scala start line: 7 end line: 8 size: 2 LOC McCabe index: 2 number of parameters: 1 id: 1968 unit: def environment = if() file: support-services/src/main/scala/com/gu/support/promotions/PromotionService.scala start line: 17 end line: 17 size: 1 LOC McCabe index: 2 number of parameters: 1 id: 1969 unit: def fromString() file: support-internationalisation/src/main/scala/com/gu/i18n/Title.scala start line: 15 end line: 15 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 1970 unit: def countryByName() file: support-internationalisation/src/main/scala/com/gu/i18n/CountryGroup.scala start line: 353 end line: 353 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 1971 unit: def countryByNameOrCode() file: support-internationalisation/src/main/scala/com/gu/i18n/CountryGroup.scala start line: 357 end line: 357 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 1972 unit: error: formError() file: support-frontend/assets/helpers/redux/checkout/address/validation.ts start line: 59 end line: 59 size: 1 LOC McCabe index: 1 number of parameters: 2 id: 1973 unit: error: formError() file: support-frontend/assets/helpers/redux/checkout/address/validation.ts start line: 91 end line: 91 size: 1 LOC McCabe index: 1 number of parameters: 2 id: 1974 unit: error: formError() file: support-frontend/assets/helpers/redux/checkout/address/validation.ts start line: 122 end line: 122 size: 1 LOC McCabe index: 1 number of parameters: 2 id: 1975 unit: error: formError() file: support-frontend/assets/helpers/redux/checkout/address/validation.ts start line: 129 end line: 129 size: 1 LOC McCabe index: 1 number of parameters: 2 id: 1976 unit: productPrices: getGlobal() file: support-frontend/assets/helpers/redux/checkout/product/state.ts start line: 69 end line: 69 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 1977 unit: consentUUID: getCookie() file: support-frontend/assets/helpers/page/analyticsAndConsent.ts start line: 81 end line: 81 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 1978 unit: consentUUID: getCookie() file: support-frontend/assets/helpers/page/analyticsAndConsent.ts start line: 98 end line: 98 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 1979 unit: ONE_OFF: object() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 36 end line: 36 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 1980 unit: REGULAR: object() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 37 end line: 37 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 1981 unit: ONE_OFF: object() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 40 end line: 40 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 1982 unit: REGULAR: object() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 41 end line: 41 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 1983 unit: ONE_OFF: object() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 44 end line: 44 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 1984 unit: REGULAR: object() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 45 end line: 45 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 1985 unit: ONE_OFF: object() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 48 end line: 48 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 1986 unit: REGULAR: object() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 49 end line: 49 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 1987 unit: test: string() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 53 end line: 63 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 1988 unit: csrf: object() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 58 end line: 58 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 1989 unit: serversideTests: optional() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 70 end line: 70 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 1990 unit: settings: object() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 71 end line: 195 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 1991 unit: amounts: array() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 97 end line: 148 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 1992 unit: contributionTypes: object() file: support-frontend/assets/helpers/globalsAndSwitches/window.ts start line: 150 end line: 193 size: 1 LOC McCabe index: 1 number of parameters: 3 id: 1993 unit: subtitle: getDigitalEditionPrices() file: support-frontend/assets/pages/subscriptions-landing/copy/subscriptionCopy.tsx start line: 100 end line: 113 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 1994 unit: offer: getGuardianWeeklyOfferCopy() file: support-frontend/assets/pages/subscriptions-landing/copy/subscriptionCopy.tsx start line: 141 end line: 152 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 1995 unit: credentials: defaultProvider() file: support-lambdas/bigquery-acquisitions-publisher/typescript/config.ts start line: 7 end line: 7 size: 1 LOC McCabe index: 1 number of parameters: 1