id: 1 unit: constructor() file: cdk/lib/recipes-backend.ts start line: 28 end line: 389 size: 333 LOC McCabe index: 4 number of parameters: 3 id: 2 unit: async function main() file: lambda/recipes-responder/src/commandline-reindex.ts start line: 105 end line: 280 size: 142 LOC McCabe index: 13 number of parameters: 0 id: 3 unit: constructor() file: cdk/lib/printable-recipe-generator.ts start line: 32 end line: 181 size: 133 LOC McCabe index: 1 number of parameters: 3 id: 4 unit: export async function processRecord() file: lambda/recipes-responder/src/main.ts start line: 38 end line: 128 size: 87 LOC McCabe index: 16 number of parameters: 6 id: 5 unit: export async function handleContentUpdate() file: lambda/recipes-responder/src/update_processor.ts start line: 64 end line: 141 size: 72 LOC McCabe index: 6 number of parameters: 6 id: 6 unit: constructor() file: cdk/lib/dynamic-fronts.ts start line: 22 end line: 91 size: 62 LOC McCabe index: 1 number of parameters: 3 id: 7 unit: lastModifiedDate: capiDateTimeToDate() file: lib/recipes-data/src/lib/extract-recipes.ts start line: 66 end line: 137 size: 59 LOC McCabe index: 6 number of parameters: 1 id: 8 unit: export async function handleContentUpdateByCapiUrl() file: lambda/recipes-responder/src/update_retrievable_processor.ts start line: 43 end line: 108 size: 58 LOC McCabe index: 13 number of parameters: 8 id: 9 unit: firstPublishedDate: getFirstPublishedDate() file: lib/recipes-data/src/lib/extract-recipes.ts start line: 67 end line: 137 size: 58 LOC McCabe index: 6 number of parameters: 2 id: 10 unit: export async function callCAPI() file: lib/capi/src/lib/capi.ts start line: 26 end line: 83 size: 56 LOC McCabe index: 15 number of parameters: 1 id: 11 unit: export async function publishRecipeContent() file: lib/recipes-data/src/lib/s3.ts start line: 46 end line: 111 size: 55 LOC McCabe index: 8 number of parameters: 6 id: 12 unit: export async function sendFastlyPurgeRequest() file: lib/recipes-data/src/lib/fastly.ts start line: 40 end line: 98 size: 54 LOC McCabe index: 8 number of parameters: 5 id: 13 unit: export async function removeRecipeContent() file: lib/recipes-data/src/lib/s3.ts start line: 113 end line: 174 size: 53 LOC McCabe index: 7 number of parameters: 7 id: 14 unit: constructor() file: cdk/lib/rest-endpoints.ts start line: 19 end line: 72 size: 51 LOC McCabe index: 1 number of parameters: 3 id: 15 unit: export async function removeAllRecipesForArticle() file: lib/recipes-data/src/lib/takedown.ts start line: 130 end line: 180 size: 49 LOC McCabe index: 3 number of parameters: 6 id: 16 unit: export async function generateHybridFront() file: lambda/rest-endpoints/src/curation.ts start line: 192 end line: 238 size: 43 LOC McCabe index: 6 number of parameters: 5 id: 17 unit: function parseJsonBlob() file: lib/recipes-data/src/lib/extract-recipes.ts start line: 130 end line: 177 size: 43 LOC McCabe index: 3 number of parameters: 4 id: 18 unit: export async function sendFastlyPurgeRequestWithRetries() file: lib/recipes-data/src/lib/fastly.ts start line: 109 end line: 151 size: 43 LOC McCabe index: 7 number of parameters: 6 id: 19 unit: constructor() file: cdk/lib/datastore.ts start line: 18 end line: 67 size: 43 LOC McCabe index: 2 number of parameters: 2 id: 20 unit: export async function findRecentLocalisation() file: lambda/rest-endpoints/src/curation.ts start line: 129 end line: 176 size: 42 LOC McCabe index: 10 number of parameters: 5 id: 21 unit: async function handleS3Event() file: lambda/publish-todays-curation/src/main.ts start line: 21 end line: 64 size: 41 LOC McCabe index: 10 number of parameters: 4 id: 22 unit: export async function recursivelyGetIdList() file: lambda/rest-endpoints/src/helpers.ts start line: 41 end line: 82 size: 39 LOC McCabe index: 6 number of parameters: 3 id: 23 unit: async function bulkRemovePage() file: lib/recipes-data/src/lib/dynamo.ts start line: 201 end line: 244 size: 39 LOC McCabe index: 8 number of parameters: 3 id: 24 unit: year: parseInt() file: lambda/publish-todays-curation/src/curation.ts start line: 99 end line: 139 size: 38 LOC McCabe index: 2 number of parameters: 1 id: 25 unit: export async function sendTelemetryEvent() file: lib/recipes-data/src/lib/telemetry.ts start line: 24 end line: 63 size: 38 LOC McCabe index: 5 number of parameters: 4 id: 26 unit: month: parseInt() file: lambda/publish-todays-curation/src/curation.ts start line: 100 end line: 139 size: 37 LOC McCabe index: 2 number of parameters: 1 id: 27 unit: async function getQueryUri() file: lambda/recipes-responder/src/commandline-reindex.ts start line: 31 end line: 66 size: 35 LOC McCabe index: 7 number of parameters: 3 id: 28 unit: export async function retrieveContent() file: lambda/dynamic-fronts-fetcher/src/url-handling.ts start line: 34 end line: 69 size: 35 LOC McCabe index: 6 number of parameters: 1 id: 29 unit: export async function validateAllCuration() file: lambda/publish-todays-curation/src/curation.ts start line: 26 end line: 61 size: 35 LOC McCabe index: 6 number of parameters: 3 id: 30 unit: export async function writeChefData() file: lib/recipes-data/src/lib/s3.ts start line: 235 end line: 277 size: 35 LOC McCabe index: 3 number of parameters: 6 id: 31 unit: export async function validateCurationData() file: lambda/publish-todays-curation/src/curation.ts start line: 122 end line: 159 size: 34 LOC McCabe index: 5 number of parameters: 4 id: 32 unit: export async function announceNewRecipe() file: lib/recipes-data/src/lib/eventbus.ts start line: 16 end line: 55 size: 34 LOC McCabe index: 1 number of parameters: 3 id: 33 unit: export async function removeRecipe() file: lib/recipes-data/src/lib/dynamo.ts start line: 122 end line: 156 size: 33 LOC McCabe index: 5 number of parameters: 3 id: 34 unit: export function buildUriList() file: lib/capi/src/lib/capitags.ts start line: 15 end line: 54 size: 33 LOC McCabe index: 4 number of parameters: 5 id: 35 unit: export async function removeAllRecipeIndexEntriesForArticle() file: lib/recipes-data/src/lib/dynamo.ts start line: 165 end line: 199 size: 31 LOC McCabe index: 5 number of parameters: 1 id: 36 unit: export async function retrieveLocalisationInsert() file: lambda/rest-endpoints/src/curation.ts start line: 94 end line: 127 size: 30 LOC McCabe index: 6 number of parameters: 2 id: 37 unit: async function reindex() file: lambda/recipes-responder/src/commandline-reindex.ts start line: 68 end line: 103 size: 29 LOC McCabe index: 3 number of parameters: 5 id: 38 unit: export async function handler() file: lambda/profile-cache-rebuild/src/main.ts start line: 28 end line: 71 size: 29 LOC McCabe index: 3 number of parameters: 0 id: 39 unit: export async function retrieveTodaysCuration() file: lambda/rest-endpoints/src/curation.ts start line: 58 end line: 86 size: 28 LOC McCabe index: 5 number of parameters: 2 id: 40 unit: export async function registerMetric() file: lib/cwmetrics/src/lib/cloudwatch.ts start line: 14 end line: 42 size: 28 LOC McCabe index: 1 number of parameters: 2 id: 41 unit: async function rawCurationDataForToday() file: lambda/rest-endpoints/src/curation.ts start line: 25 end line: 56 size: 27 LOC McCabe index: 4 number of parameters: 2 id: 42 unit: export async function extractAllRecipesFromArticle() file: lib/recipes-data/src/lib/extract-recipes.ts start line: 28 end line: 54 size: 27 LOC McCabe index: 3 number of parameters: 1 id: 43 unit: export async function handleTakedown() file: lambda/recipes-responder/src/takedown_processor.ts start line: 6 end line: 33 size: 26 LOC McCabe index: 2 number of parameters: 6 id: 44 unit: async function handleTimerEvent() file: lambda/publish-todays-curation/src/main.ts start line: 70 end line: 95 size: 25 LOC McCabe index: 4 number of parameters: 4 id: 45 unit: export function extractRecipeData() file: lib/recipes-data/src/lib/extract-recipes.ts start line: 56 end line: 81 size: 25 LOC McCabe index: 2 number of parameters: 3 id: 46 unit: export async function notifyFaciaTool() file: lambda/facia-responder/src/facia-notifications.ts start line: 26 end line: 59 size: 24 LOC McCabe index: 2 number of parameters: 3 id: 47 unit: day: parseInt() file: lambda/publish-todays-curation/src/curation.ts start line: 101 end line: 139 size: 23 LOC McCabe index: 2 number of parameters: 1 id: 48 unit: async function takeRecipeDown() file: lib/recipes-data/src/lib/takedown.ts start line: 23 end line: 59 size: 23 LOC McCabe index: 4 number of parameters: 7 id: 49 unit: sponsorshipType: getSponsorshipTypeNames() file: lib/recipes-data/src/lib/transform.ts start line: 112 end line: 164 size: 23 LOC McCabe index: 3 number of parameters: 1 id: 50 unit: export async function loadConfig() file: lambda/dynamic-fronts-fetcher/src/config.ts start line: 12 end line: 35 size: 22 LOC McCabe index: 2 number of parameters: 0 id: 51 unit: export async function handler() file: lambda/publish-todays-curation/src/main.ts start line: 97 end line: 119 size: 22 LOC McCabe index: 2 number of parameters: 1 id: 52 unit: publishedDate: getPublishedDate() file: lib/recipes-data/src/lib/extract-recipes.ts start line: 68 end line: 137 size: 22 LOC McCabe index: 1 number of parameters: 2 id: 53 unit: export async function writeIndexData() file: lib/recipes-data/src/lib/s3.ts start line: 200 end line: 233 size: 22 LOC McCabe index: 1 number of parameters: 6 id: 54 unit: export async function removeRecipePermanently() file: lib/recipes-data/src/lib/takedown.ts start line: 68 end line: 98 size: 22 LOC McCabe index: 2 number of parameters: 6 id: 55 unit: export async function removeRecipeVersion() file: lib/recipes-data/src/lib/takedown.ts start line: 107 end line: 128 size: 22 LOC McCabe index: 1 number of parameters: 6 id: 56 unit: constructor() file: cdk/lib/static-serving.ts start line: 10 end line: 35 size: 22 LOC McCabe index: 2 number of parameters: 2 id: 57 unit: async function publishRecipe() file: lambda/recipes-responder/src/update_processor.ts start line: 18 end line: 56 size: 21 LOC McCabe index: 1 number of parameters: 6 id: 58 unit: export function generateTargetedRegionFronts() file: lambda/facia-responder/src/targeted-regions.ts start line: 38 end line: 63 size: 21 LOC McCabe index: 3 number of parameters: 1 id: 59 unit: export async function activateCuration() file: lambda/publish-todays-curation/src/curation.ts start line: 161 end line: 187 size: 20 LOC McCabe index: 1 number of parameters: 4 id: 60 unit: function renderJsonToHtml() file: printable-recipe-generator/src/main.ts start line: 7 end line: 34 size: 19 LOC McCabe index: 2 number of parameters: 1 id: 61 unit: export const addSponsorsTransform:() file: lib/recipes-data/src/lib/transform.ts start line: 101 end line: 119 size: 19 LOC McCabe index: 2 number of parameters: 1 id: 62 unit: export async function retrieveContent() file: lambda/recipes-responder/src/update_retrievable_processor.ts start line: 22 end line: 41 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 63 unit: function filterFrontsFor() file: lambda/facia-responder/src/targeted-regions.ts start line: 11 end line: 31 size: 18 LOC McCabe index: 5 number of parameters: 3 id: 64 unit: export async function writeDynamicData() file: lambda/dynamic-fronts-fetcher/src/s3.ts start line: 10 end line: 28 size: 17 LOC McCabe index: 1 number of parameters: 4 id: 65 unit: export function convertBQReport() file: lambda/dynamic-fronts-fetcher/src/transform.ts start line: 29 end line: 47 size: 17 LOC McCabe index: 1 number of parameters: 2 id: 66 unit: export async function discover_profile_tags() file: lambda/profile-cache-rebuild/src/recipe-search.ts start line: 7 end line: 24 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 67 unit: export function generatePublicationMessage() file: lambda/facia-responder/src/util.ts start line: 11 end line: 29 size: 17 LOC McCabe index: 3 number of parameters: 2 id: 68 unit: async function getExistingEtag() file: lib/recipes-data/src/lib/s3.ts start line: 176 end line: 193 size: 17 LOC McCabe index: 3 number of parameters: 2 id: 69 unit: export async function bulkRemoveRecipe() file: lib/recipes-data/src/lib/dynamo.ts start line: 251 end line: 268 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 70 unit: export async function consumeReadable() file: lib/recipes-data/src/lib/consume-readable.ts start line: 9 end line: 29 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 71 unit: function printableCountryName() file: lambda/dynamic-fronts-fetcher/src/transform.ts start line: 6 end line: 21 size: 16 LOC McCabe index: 6 number of parameters: 1 id: 72 unit: export function validateDateParam() file: lambda/rest-endpoints/src/helpers.ts start line: 18 end line: 35 size: 16 LOC McCabe index: 5 number of parameters: 1 id: 73 unit: async function retrieveIndexPage() file: lib/recipes-data/src/lib/dynamo.ts start line: 38 end line: 54 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 74 unit: export async function recipeByUID() file: lib/recipes-data/src/lib/dynamo.ts start line: 84 end line: 100 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 75 unit: export async function insertNewRecipe() file: lib/recipes-data/src/lib/dynamo.ts start line: 270 end line: 285 size: 16 LOC McCabe index: 1 number of parameters: 2 id: 76 unit: export const addRecipeDatesTransform:() file: lib/recipes-data/src/lib/transform.ts start line: 121 end line: 136 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 77 unit: export function checkCurationPath() file: lambda/publish-todays-curation/src/curation.ts start line: 93 end line: 106 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 78 unit: export function buildChefInfo() file: lambda/profile-cache-rebuild/src/main.ts start line: 13 end line: 26 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 79 unit: function createRecord() file: tools/fill-db/src/main.ts start line: 16 end line: 33 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 80 unit: export async function deployCurationData() file: lib/recipes-data/src/lib/curation.ts start line: 8 end line: 21 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 81 unit: export async function putReindexIds() file: lib/recipes-data/src/lib/eventbus.ts start line: 57 end line: 71 size: 14 LOC McCabe index: 1 number of parameters: 2 id: 82 unit: constructor() file: cdk/lib/external_parameters.ts start line: 18 end line: 32 size: 14 LOC McCabe index: 1 number of parameters: 2 id: 83 unit: export function newCurationPath() file: lambda/publish-todays-curation/src/curation.ts start line: 108 end line: 120 size: 13 LOC McCabe index: 1 number of parameters: 3 id: 84 unit: export function getPublishedDate() file: lib/recipes-data/src/lib/extract-recipes.ts start line: 94 end line: 106 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 85 unit: export async function recipesforArticle() file: lib/recipes-data/src/lib/dynamo.ts start line: 69 end line: 82 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 86 unit: export function RecipeDatabaseEntryFromDynamo() file: lib/recipes-data/src/lib/models.ts start line: 99 end line: 112 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 87 unit: export function createGetMandatoryParameter() file: lib/recipes-data/src/lib/parameters.ts start line: 1 end line: 13 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 88 unit: export function createGetMandatoryNumberParameter() file: lib/recipes-data/src/lib/parameters.ts start line: 15 end line: 27 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 89 unit: export function getStorageClient() file: lambda/dynamic-fronts-fetcher/src/gcloud.ts start line: 6 end line: 18 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 90 unit: export function getBodyContentAsJson() file: lambda/rest-endpoints/src/helpers.ts start line: 5 end line: 16 size: 12 LOC McCabe index: 5 number of parameters: 1 id: 91 unit: recipeUID: uuid() file: tools/fill-db/src/main.ts start line: 25 end line: 38 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 92 unit: async function batchWrite() file: tools/fill-db/src/main.ts start line: 35 end line: 48 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 93 unit: function determineRecipeUID() file: lib/recipes-data/src/lib/extract-recipes.ts start line: 116 end line: 128 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 94 unit: export function breakDownUrl() file: lambda/dynamic-fronts-fetcher/src/url-handling.ts start line: 5 end line: 15 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 95 unit: function recipeFromContainer() file: lambda/rest-endpoints/src/curation.ts start line: 178 end line: 190 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 96 unit: await notifyFaciaTool() file: lambda/facia-responder/src/main.ts start line: 137 end line: 147 size: 11 LOC McCabe index: 1 number of parameters: 5 id: 97 unit: function makeCacheControl() file: lib/recipes-data/src/lib/s3.ts start line: 25 end line: 35 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 98 unit: export function RecipeDatabaseEntryToDynamo() file: lib/recipes-data/src/lib/models.ts start line: 119 end line: 129 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 99 unit: export async function handleDeletedContent() file: lambda/recipes-responder/src/takedown_processor.ts start line: 36 end line: 45 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 100 unit: message: generatePublicationMessage() file: lambda/facia-responder/src/main.ts start line: 129 end line: 138 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 101 unit: export function getFirstPublishedDate() file: lib/recipes-data/src/lib/extract-recipes.ts start line: 83 end line: 92 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 102 unit: export async function retrieveIndexData() file: lib/recipes-data/src/lib/dynamo.ts start line: 56 end line: 67 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 103 unit: export function RecipeDatabaseEntryToIndex() file: lib/recipes-data/src/lib/models.ts start line: 32 end line: 41 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 104 unit: export function RecipeIndexEntryFromDynamo() file: lib/recipes-data/src/lib/models.ts start line: 139 end line: 149 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 105 unit: export function countryCodeFromCDN() file: lambda/rest-endpoints/src/geo_cdn.ts start line: 3 end line: 19 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 106 unit: export function regionFromCDN() file: lambda/rest-endpoints/src/geo_cdn.ts start line: 21 end line: 30 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 107 unit: await notifyFaciaTool() file: lambda/facia-responder/src/main.ts start line: 123 end line: 131 size: 9 LOC McCabe index: 1 number of parameters: 5 id: 108 unit: async function main() file: tools/manual-takedown/src/main.ts start line: 19 end line: 35 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 109 unit: await reindex() file: lambda/recipes-responder/src/commandline-reindex.ts start line: 219 end line: 226 size: 8 LOC McCabe index: 2 number of parameters: 5 id: 110 unit: await writeDynamicData() file: lambda/dynamic-fronts-fetcher/src/main.ts start line: 50 end line: 57 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 111 unit: function checkArgs() file: tools/manual-takedown/src/main.ts start line: 10 end line: 17 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 112 unit: await takeRecipeDown() file: lib/recipes-data/src/lib/takedown.ts start line: 81 end line: 88 size: 8 LOC McCabe index: 1 number of parameters: 7 id: 113 unit: export async function recipesToTakeDown() file: lib/recipes-data/src/lib/takedown.ts start line: 190 end line: 199 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 114 unit: url: getFastlyUrl() file: lib/recipes-data/src/lib/transform.ts start line: 67 end line: 74 size: 8 LOC McCabe index: 1 number of parameters: 7 id: 115 unit: export function calculateChecksum() file: lib/recipes-data/src/lib/utils.ts start line: 18 end line: 26 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 116 unit: export function makeCapiDateTime() file: lib/recipes-data/src/lib/utils.ts start line: 28 end line: 35 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 117 unit: await writeIndexData() file: lambda/recipes-responder/src/main.ts start line: 221 end line: 227 size: 7 LOC McCabe index: 1 number of parameters: 6 id: 118 unit: await writeIndexData() file: lambda/recipes-responder/src/main.ts start line: 228 end line: 234 size: 7 LOC McCabe index: 1 number of parameters: 6 id: 119 unit: await handleContentUpdate() file: lambda/recipes-responder/src/commandline-reindex.ts start line: 86 end line: 92 size: 7 LOC McCabe index: 1 number of parameters: 6 id: 120 unit: await writeIndexData() file: lambda/recipes-responder/src/commandline-reindex.ts start line: 255 end line: 261 size: 7 LOC McCabe index: 1 number of parameters: 6 id: 121 unit: await writeIndexData() file: lambda/recipes-responder/src/commandline-reindex.ts start line: 267 end line: 273 size: 7 LOC McCabe index: 1 number of parameters: 6 id: 122 unit: function mandatoryParam() file: lambda/rest-endpoints/src/config.ts start line: 6 end line: 12 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 123 unit: export function doesCurationPathMatch() file: lambda/publish-todays-curation/src/curation.ts start line: 82 end line: 89 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 124 unit: await writeChefData() file: lambda/profile-cache-rebuild/src/main.ts start line: 49 end line: 55 size: 7 LOC McCabe index: 1 number of parameters: 6 id: 125 unit: async function deployCuration() file: lambda/facia-responder/src/main.ts start line: 37 end line: 43 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 126 unit: await writeIndexData() file: lambda/test-indexbuild/src/main.ts start line: 47 end line: 53 size: 7 LOC McCabe index: 1 number of parameters: 6 id: 127 unit: await writeIndexData() file: lambda/test-indexbuild/src/main.ts start line: 54 end line: 60 size: 7 LOC McCabe index: 1 number of parameters: 6 id: 128 unit: await removeAllRecipesForArticle() file: tools/manual-takedown/src/main.ts start line: 28 end line: 34 size: 7 LOC McCabe index: 1 number of parameters: 6 id: 129 unit: export async function multipleRecipesByUid() file: lib/recipes-data/src/lib/dynamo.ts start line: 102 end line: 111 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 130 unit: sponsorshipCount: parseInt() file: lib/recipes-data/src/lib/models.ts start line: 110 end line: 122 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 131 unit: await removeRecipe() file: lib/recipes-data/src/lib/takedown.ts start line: 41 end line: 48 size: 7 LOC McCabe index: 3 number of parameters: 3 id: 132 unit: templateUrl: getFastlyTemplateUrl() file: lib/recipes-data/src/lib/transform.ts start line: 75 end line: 81 size: 7 LOC McCabe index: 1 number of parameters: 6 id: 133 unit: function feedToThrift() file: lib/capi/src/lib/deserialize.ts start line: 10 end line: 16 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 134 unit: await sendTelemetryEvent() file: lambda/recipes-responder/src/update_processor.ts start line: 32 end line: 37 size: 6 LOC McCabe index: 2 number of parameters: 3 id: 135 unit: await publishRecipeContent() file: lambda/recipes-responder/src/update_processor.ts start line: 43 end line: 48 size: 6 LOC McCabe index: 1 number of parameters: 5 id: 136 unit: await insertNewRecipe() file: lambda/recipes-responder/src/update_processor.ts start line: 50 end line: 55 size: 6 LOC McCabe index: 1 number of parameters: 6 id: 137 unit: function validateComposerParams() file: lambda/rest-endpoints/src/app.ts start line: 27 end line: 33 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 138 unit: export function generatePathFromCuration() file: lambda/publish-todays-curation/src/curation.ts start line: 71 end line: 76 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 139 unit: credentials: fromTemporaryCredentials() file: lambda/facia-responder/src/facia-notifications.ts start line: 39 end line: 44 size: 6 LOC McCabe index: 1 number of parameters: 4 id: 140 unit: await sendFastlyPurgeRequestWithRetries() file: lib/recipes-data/src/lib/curation.ts start line: 38 end line: 43 size: 6 LOC McCabe index: 1 number of parameters: 5 id: 141 unit: await sendFastlyPurgeRequestWithRetries() file: lib/recipes-data/src/lib/s3.ts start line: 80 end line: 85 size: 6 LOC McCabe index: 1 number of parameters: 5 id: 142 unit: await sendFastlyPurgeRequestWithRetries() file: lib/recipes-data/src/lib/s3.ts start line: 139 end line: 144 size: 6 LOC McCabe index: 1 number of parameters: 5 id: 143 unit: export function recipeReferenceFromIndexEntry() file: lib/recipes-data/src/lib/models.ts start line: 157 end line: 162 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 144 unit: await removeRecipeContent() file: lib/recipes-data/src/lib/takedown.ts start line: 50 end line: 55 size: 6 LOC McCabe index: 1 number of parameters: 5 id: 145 unit: export const replaceCanonicalArticle:() file: lib/recipes-data/src/lib/transform.ts start line: 138 end line: 143 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 146 unit: previewImage: replaceFastlyUrl() file: lib/recipes-data/src/lib/transform.ts start line: 164 end line: 169 size: 6 LOC McCabe index: 1 number of parameters: 5 id: 147 unit: featuredImage: replaceFastlyUrl() file: lib/recipes-data/src/lib/transform.ts start line: 170 end line: 175 size: 6 LOC McCabe index: 1 number of parameters: 5 id: 148 unit: await sendFastlyPurgeRequestWithRetries() file: lambda/publish-todays-curation/src/curation.ts start line: 182 end line: 186 size: 5 LOC McCabe index: 1 number of parameters: 4 id: 149 unit: function getMessageBodyAsObject() file: lambda/facia-responder/src/main.ts start line: 19 end line: 23 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 150 unit: function parseFeastCurationEnvelope() file: lambda/facia-responder/src/main.ts start line: 25 end line: 29 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 151 unit: function parseFeastCuration() file: lambda/facia-responder/src/main.ts start line: 31 end line: 35 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 152 unit: await deployCurationData() file: lambda/facia-responder/src/main.ts start line: 55 end line: 59 size: 5 LOC McCabe index: 1 number of parameters: 8 id: 153 unit: await deployCuration() file: lambda/facia-responder/src/main.ts start line: 117 end line: 121 size: 5 LOC McCabe index: 1 number of parameters: 5 id: 154 unit: CacheControl: makeCacheControl() file: lib/recipes-data/src/lib/s3.ts start line: 222 end line: 227 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 155 unit: await sendFastlyPurgeRequest() file: lib/recipes-data/src/lib/s3.ts start line: 227 end line: 231 size: 5 LOC McCabe index: 1 number of parameters: 4 id: 156 unit: await sendFastlyPurgeRequest() file: lib/recipes-data/src/lib/s3.ts start line: 268 end line: 272 size: 5 LOC McCabe index: 1 number of parameters: 4 id: 157 unit: export async function awaitableDelay() file: lib/recipes-data/src/lib/utils.ts start line: 12 end line: 16 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 158 unit: export function capiDateTimeToDate() file: lib/recipes-data/src/lib/utils.ts start line: 37 end line: 41 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 159 unit: export function deserializeItemResponse() file: lib/capi/src/lib/deserialize.ts start line: 22 end line: 26 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 160 unit: function asyncDelay() file: lambda/dynamic-fronts-fetcher/src/main.ts start line: 15 end line: 17 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 161 unit: export async function findMatchingFiles() file: lambda/dynamic-fronts-fetcher/src/url-handling.ts start line: 17 end line: 19 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 162 unit: function asyncTimeout() file: lambda/rest-endpoints/src/helpers.ts start line: 37 end line: 39 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 163 unit: export function generatePath() file: lambda/publish-todays-curation/src/curation.ts start line: 63 end line: 65 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 164 unit: function zeroPad() file: lambda/publish-todays-curation/src/curation.ts start line: 67 end line: 69 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 165 unit: export function generateActivePath() file: lambda/publish-todays-curation/src/curation.ts start line: 78 end line: 80 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 166 unit: Key: generatePath() file: lambda/publish-todays-curation/src/curation.ts start line: 131 end line: 134 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 167 unit: function fancifyIssueDate() file: lambda/facia-responder/src/util.ts start line: 7 end line: 9 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 168 unit: export function cwmetrics() file: lib/cwmetrics/src/lib/cwmetrics.ts start line: 1 end line: 3 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 169 unit: async function smallDelay() file: lib/recipes-data/src/lib/telemetry.ts start line: 20 end line: 22 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 170 unit: export function nowTime() file: lib/recipes-data/src/lib/utils.ts start line: 46 end line: 48 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 171 unit: function removeLeadingAndTrailingSlash() file: lib/recipes-data/src/lib/fastly.ts start line: 23 end line: 25 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 172 unit: export function deserializeEvent() file: lib/capi/src/lib/deserialize.ts start line: 18 end line: 20 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 173 unit: export function deserialzeTagsResponse() file: lib/capi/src/lib/deserialize.ts start line: 28 end line: 30 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 174 unit: Bucket: getStaticBucketName() file: lambda/rest-endpoints/src/curation.ts start line: 32 end line: 33 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 175 unit: Bucket: getStaticBucketName() file: lambda/rest-endpoints/src/curation.ts start line: 43 end line: 44 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 176 unit: Bucket: getStaticBucketName() file: lambda/rest-endpoints/src/curation.ts start line: 103 end line: 104 size: 2 LOC McCabe index: 1 number of parameters: 0