id: 1 unit: function getDashboardBannerContent() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/DashboardTopBanner/DashboardTopBannerContent.tsx start line: 101 end line: 691 size: 577 LOC McCabe index: 29 number of parameters: 3 id: 2 unit: export function getDashboardSummary() file: src/app/functions/server/dashboard.ts start line: 98 end line: 445 size: 279 LOC McCabe index: 33 number of parameters: 3 id: 3 unit: function EditProfileFormInputs() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/settings/panels/SettingsPanelEditProfile/EditProfileFormInputs.tsx start line: 97 end line: 461 size: 278 LOC McCabe index: 21 number of parameters: 4 id: 4 unit: export async function POST() file: src/app/api/v1/fxa-rp-events/route.ts start line: 122 end line: 455 size: 260 LOC McCabe index: 30 number of parameters: 1 id: 5 unit: export function getAllPriorityDataClasses() file: src/utils/recommendations.ts start line: 32 end line: 262 size: 222 LOC McCabe index: 3 number of parameters: 4 id: 6 unit: export function LeakedPasswordsLayout() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/leaked-passwords/LeakedPasswordsLayout.tsx start line: 42 end line: 264 size: 166 LOC McCabe index: 16 number of parameters: 1 id: 7 unit: function UpsellDialogContent() file: src/app/components/client/toolbar/UpsellDialog.tsx start line: 92 end line: 246 size: 147 LOC McCabe index: 8 number of parameters: 4 id: 8 unit: function EditProfileForm() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/settings/panels/SettingsPanelEditProfile/EditProfileForm.tsx start line: 168 end line: 318 size: 142 LOC McCabe index: 6 number of parameters: 1 id: 9 unit: function getDoneStepContent() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/high-risk-data-breaches/highRiskBreachData.tsx start line: 49 end line: 196 size: 141 LOC McCabe index: 4 number of parameters: 2 id: 10 unit: export function SecurityRecommendationsLayout() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/security-recommendations/SecurityRecommendationsLayout.tsx start line: 40 end line: 194 size: 124 LOC McCabe index: 11 number of parameters: 1 id: 11 unit: export function WelcomeToPlusView() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/welcome-to-plus/WelcomeToPlusView.tsx start line: 30 end line: 144 size: 113 LOC McCabe index: 7 number of parameters: 1 id: 12 unit: function ProfileInfoSection() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/settings/panels/SettingsPanelEditInfoRedesign.tsx start line: 122 end line: 225 size: 104 LOC McCabe index: 6 number of parameters: 2 id: 13 unit: async jwt() file: src/app/api/utils/auth.tsx start line: 115 end line: 244 size: 99 LOC McCabe index: 14 number of parameters: 4 id: 14 unit: async function updateDataBrokerScanProfile() file: src/app/functions/server/updateDataBrokerScanProfile.ts start line: 20 end line: 141 size: 93 LOC McCabe index: 9 number of parameters: 2 id: 15 unit: export async function PUT() file: src/app/api/v1/user/breaches/route.ts start line: 23 end line: 139 size: 92 LOC McCabe index: 14 number of parameters: 1 id: 16 unit: export async function onAddEmail() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/settings/actions.ts start line: 50 end line: 146 size: 87 LOC McCabe index: 12 number of parameters: 2 id: 17 unit: export default async function FeatureFlagPage() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/feature-flags/page.tsx start line: 27 end line: 126 size: 86 LOC McCabe index: 7 number of parameters: 0 id: 18 unit: export async function POST() file: src/app/api/v1/user/welcome-scan/create/route.ts start line: 48 end line: 158 size: 86 LOC McCabe index: 15 number of parameters: 1 id: 19 unit: export async function POST() file: src/app/api/v1/user/email/route.ts start line: 29 end line: 122 size: 84 LOC McCabe index: 12 number of parameters: 1 id: 20 unit: sha1: getSha1() file: src/db/tables/emailAddresses.ts start line: 67 end line: 178 size: 80 LOC McCabe index: 10 number of parameters: 1 id: 21 unit: function SettingsContent() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/settings/SettingsContent.tsx start line: 25 end line: 110 size: 79 LOC McCabe index: 6 number of parameters: 1 id: 22 unit: value: formatPhone() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/settings/panels/SettingsPanelEditProfile/EditProfileFormInputs.tsx start line: 253 end line: 328 size: 76 LOC McCabe index: 6 number of parameters: 1 id: 23 unit: function EditProfileCancelDialog() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/settings/panels/SettingsPanelEditProfile/EditProfileCancelDialog.tsx start line: 19 end line: 115 size: 75 LOC McCabe index: 2 number of parameters: 1 id: 24 unit: export async function up() file: src/db/migrations/20230907143204_add_onerep_scanresults_table.js start line: 9 end line: 95 size: 73 LOC McCabe index: 3 number of parameters: 1 id: 25 unit: export async function getExperiments() file: src/app/functions/server/getExperiments.ts start line: 34 end line: 120 size: 73 LOC McCabe index: 8 number of parameters: 1 id: 26 unit: export function getRelevantLocations() file: src/app/api/v1/location-autocomplete/getRelevantLocations.ts start line: 8 end line: 105 size: 72 LOC McCabe index: 2 number of parameters: 2 id: 27 unit: key as() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/dev/UserAdmin.tsx start line: 80 end line: 150 size: 69 LOC McCabe index: 2 number of parameters: 1 id: 28 unit: export async function initializeUserAnnouncements() file: src/db/tables/user_announcements.ts start line: 51 end line: 132 size: 68 LOC McCabe index: 11 number of parameters: 1 id: 29 unit: function MonitoredEmail() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/settings/panels/SettingsPanelEditInfo.tsx start line: 37 end line: 114 size: 68 LOC McCabe index: 5 number of parameters: 1 id: 30 unit: async headers() file: next.config.js start line: 53 end line: 123 size: 67 LOC McCabe index: 2 number of parameters: 0 id: 31 unit: export async function PUT() file: src/app/api/v1/user/breaches/bulk-resolve/route.ts start line: 16 end line: 96 size: 66 LOC McCabe index: 12 number of parameters: 1 id: 32 unit: async function run() file: src/scripts/cronjobs/firstDataBrokerRemovalFixed.tsx start line: 41 end line: 119 size: 64 LOC McCabe index: 13 number of parameters: 0 id: 33 unit: export function hasCompletedStep() file: src/app/functions/server/getRelevantGuidedSteps.ts start line: 261 end line: 355 size: 63 LOC McCabe index: 21 number of parameters: 3 id: 34 unit: function UpsellToggleButton() file: src/app/components/client/toolbar/UpsellBadge.tsx start line: 84 end line: 161 size: 63 LOC McCabe index: 6 number of parameters: 1 id: 35 unit: async function getBreachesForEmail() file: src/utils/hibp.ts start line: 342 end line: 417 size: 60 LOC McCabe index: 12 number of parameters: 4 id: 36 unit: function getDoneStepContent() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/leaked-passwords/leakedPasswordsData.tsx start line: 54 end line: 116 size: 59 LOC McCabe index: 3 number of parameters: 2 id: 37 unit: export async function POST() file: src/app/api/v1/admin/qa-customs/onerep/route.ts start line: 71 end line: 132 size: 58 LOC McCabe index: 16 number of parameters: 1 id: 38 unit: async function getAllBreachesFromDb() file: src/utils/hibp.ts start line: 221 end line: 285 size: 57 LOC McCabe index: 6 number of parameters: 0 id: 39 unit: export function getGuidedExperienceBreaches() file: src/app/functions/universal/guidedExperienceBreaches.ts start line: 22 end line: 94 size: 57 LOC McCabe index: 10 number of parameters: 2 id: 40 unit: export async function up() file: src/db/migrations/20250225111207_add_feature_flag_events.js start line: 9 end line: 73 size: 56 LOC McCabe index: 3 number of parameters: 1 id: 41 unit: function MonitoredEmail() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/settings/panels/SettingsPanelEditInfoRedesign.tsx start line: 51 end line: 120 size: 56 LOC McCabe index: 4 number of parameters: 1 id: 42 unit: export async function POST() file: src/app/api/v1/hibp/notify/route.ts start line: 29 end line: 90 size: 56 LOC McCabe index: 12 number of parameters: 1 id: 43 unit: async function updateEmailPreferenceForSubscriber() file: src/db/tables/subscriber_email_preferences.ts start line: 107 end line: 183 size: 55 LOC McCabe index: 7 number of parameters: 3 id: 44 unit: async function unsubscribeMonthlyMonitorReportForUnsubscribeToken() file: src/db/tables/subscriber_email_preferences.ts start line: 262 end line: 338 size: 55 LOC McCabe index: 6 number of parameters: 1 id: 45 unit: async function getAllScanResults() file: src/db/tables/onerep_scans.ts start line: 81 end line: 145 size: 54 LOC McCabe index: 5 number of parameters: 4 id: 46 unit: export async function POST() file: src/app/api/v1/user/resend-email/route.ts start line: 22 end line: 79 size: 53 LOC McCabe index: 9 number of parameters: 1 id: 47 unit: export async function onHandleUpdateProfileData() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/settings/actions.ts start line: 270 end line: 337 size: 52 LOC McCabe index: 5 number of parameters: 1 id: 48 unit: export async function mockOnerepBrokers() file: src/app/api/mock/onerep/config/config.ts start line: 154 end line: 209 size: 52 LOC McCabe index: 21 number of parameters: 4 id: 49 unit: export function isEligibleForStep() file: src/app/functions/server/getRelevantGuidedSteps.ts start line: 140 end line: 209 size: 51 LOC McCabe index: 11 number of parameters: 3 id: 50 unit: async session() file: src/app/api/utils/auth.tsx start line: 245 end line: 298 size: 51 LOC McCabe index: 8 number of parameters: 2 id: 51 unit: function PremiumPricingLabel() file: src/app/components/client/toolbar/UpsellDialog.tsx start line: 31 end line: 81 size: 50 LOC McCabe index: 3 number of parameters: 3 id: 52 unit: export async function GET() file: src/app/api/v1/admin/removals/route.ts start line: 16 end line: 71 size: 50 LOC McCabe index: 7 number of parameters: 1 id: 53 unit: export async function PUT() file: src/app/api/v1/user/scan-result/[onerepScanResultId]/resolution/route.ts start line: 83 end line: 140 size: 50 LOC McCabe index: 7 number of parameters: 1 id: 54 unit: function AppPickerTrigger() file: src/app/components/client/toolbar/AppPicker.tsx start line: 224 end line: 273 size: 49 LOC McCabe index: 4 number of parameters: 1 id: 55 unit: function MenuTrigger() file: src/app/components/client/toolbar/UserMenu.tsx start line: 179 end line: 229 size: 47 LOC McCabe index: 3 number of parameters: 1 id: 56 unit: export default async function Onboarding() file: src/app/(proper_react)/(redesign)/(authenticated)/user/welcome/[[...slug]]/page.tsx start line: 34 end line: 86 size: 47 LOC McCabe index: 8 number of parameters: 1 id: 57 unit: await generateTypeMap() file: src/scripts/build/gleanTypes.js start line: 20 end line: 75 size: 47 LOC McCabe index: 2 number of parameters: 0 id: 58 unit: export default defineConfig() file: playwright.config.js start line: 25 end line: 129 size: 46 LOC McCabe index: 5 number of parameters: 28 id: 59 unit: export async function getSubBreaches() file: src/utils/subscriberBreaches.ts start line: 73 end line: 203 size: 46 LOC McCabe index: 4 number of parameters: 3 id: 60 unit: async function addOnerepScanResults() file: src/db/tables/onerep_scans.ts start line: 244 end line: 292 size: 46 LOC McCabe index: 4 number of parameters: 2 id: 61 unit: export async function getUserBreaches() file: src/app/functions/server/getUserBreaches.ts start line: 34 end line: 85 size: 46 LOC McCabe index: 7 number of parameters: 2 id: 62 unit: export async function POST() file: src/app/api/v1/onerep-events/route.ts start line: 32 end line: 94 size: 45 LOC McCabe index: 7 number of parameters: 1 id: 63 unit: l10n: getL10n() file: src/emails/templates/monthlyActivityFree/MonthlyActivityFreeEmail.stories.tsx start line: 24 end line: 77 size: 45 LOC McCabe index: 1 number of parameters: 1 id: 64 unit: async function applyCoupon() file: src/utils/fxa.ts start line: 355 end line: 398 size: 44 LOC McCabe index: 9 number of parameters: 2 id: 65 unit: export async function sendEmail() file: src/utils/email.ts start line: 52 end line: 101 size: 43 LOC McCabe index: 5 number of parameters: 4 id: 66 unit: WHEN split_part() file: src/db/tables/subscribers.ts start line: 420 end line: 475 size: 43 LOC McCabe index: 2 number of parameters: 3 id: 67 unit: async function _addEmailHash() file: src/db/tables/emailAddresses.ts start line: 167 end line: 215 size: 43 LOC McCabe index: 3 number of parameters: 4 id: 68 unit: export async function deleteAccount() file: src/app/functions/server/deleteAccount.ts start line: 15 end line: 66 size: 43 LOC McCabe index: 6 number of parameters: 1 id: 69 unit: export function hasCompletedStepSection() file: src/app/functions/server/getRelevantGuidedSteps.ts start line: 211 end line: 259 size: 42 LOC McCabe index: 13 number of parameters: 3 id: 70 unit: export async function updateProfile() file: src/app/functions/server/onerep.ts start line: 213 end line: 255 size: 42 LOC McCabe index: 2 number of parameters: 2 id: 71 unit: export async function POST() file: src/app/api/v1/user/update-comm-option/route.ts start line: 24 end line: 80 size: 42 LOC McCabe index: 9 number of parameters: 1 id: 72 unit: async function getAllEmailsAndBreaches() file: src/utils/breaches.ts start line: 38 end line: 100 size: 41 LOC McCabe index: 8 number of parameters: 2 id: 73 unit: async function _throttledFetch() file: src/utils/hibp.ts start line: 55 end line: 98 size: 41 LOC McCabe index: 7 number of parameters: 3 id: 74 unit: export async function GET() file: src/app/api/v1/user/welcome-scan/progress/route.ts start line: 36 end line: 82 size: 41 LOC McCabe index: 7 number of parameters: 1 id: 75 unit: async function run() file: src/scripts/cronjobs/reportLighthouseResults.ts start line: 69 end line: 120 size: 41 LOC McCabe index: 2 number of parameters: 0 id: 76 unit: async function reactivate() file: src/utils/fxa.ts start line: 311 end line: 350 size: 40 LOC McCabe index: 9 number of parameters: 1 id: 77 unit: export async function up() file: src/db/migrations/20240122162011_subscriber_cascade_delete_one_rep.js start line: 9 end line: 48 size: 40 LOC McCabe index: 1 number of parameters: 1 id: 78 unit: export async function createProfile() file: src/app/functions/server/onerep.ts start line: 169 end line: 211 size: 40 LOC McCabe index: 3 number of parameters: 1 id: 79 unit: export default async function PlusExpirationPage() file: src/app/(proper_react)/(redesign)/(authenticated)/user/plus-expiration/page.tsx start line: 16 end line: 60 size: 40 LOC McCabe index: 5 number of parameters: 0 id: 80 unit: async function getEmailPreferenceForSubscriber() file: src/db/tables/subscriber_email_preferences.ts start line: 185 end line: 226 size: 39 LOC McCabe index: 2 number of parameters: 1 id: 81 unit: export default async function Layout() file: src/app/(proper_react)/layout.tsx start line: 24 end line: 81 size: 38 LOC McCabe index: 6 number of parameters: 1 id: 82 unit: export async function onRemoveEmail() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/settings/actions.ts start line: 148 end line: 186 size: 38 LOC McCabe index: 4 number of parameters: 1 id: 83 unit: async function deleteSubscription() file: src/utils/fxa.ts start line: 270 end line: 306 size: 37 LOC McCabe index: 9 number of parameters: 1 id: 84 unit: export async function applyCouponWithCode() file: src/app/functions/server/applyCoupon.ts start line: 93 end line: 130 size: 37 LOC McCabe index: 5 number of parameters: 2 id: 85 unit: export async function getProfilesStats() file: src/app/functions/server/onerep.ts start line: 542 end line: 587 size: 37 LOC McCabe index: 8 number of parameters: 2 id: 86 unit: export default async function HighRiskDataBreaches() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/high-risk-data-breaches/page.tsx start line: 18 end line: 57 size: 37 LOC McCabe index: 2 number of parameters: 0 id: 87 unit: function MonitoredEmailAddressesSection() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/settings/panels/SettingsPanelEditInfoRedesign.tsx start line: 227 end line: 264 size: 37 LOC McCabe index: 3 number of parameters: 1 id: 88 unit: function SettingsPanelNotifications() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/settings/panels/SettingsPanelNotifications.tsx start line: 202 end line: 238 size: 37 LOC McCabe index: 1 number of parameters: 1 id: 89 unit: export async function triggerBreachAlert() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/emails/actions.tsx start line: 221 end line: 265 size: 36 LOC McCabe index: 6 number of parameters: 1 id: 90 unit: function updateJsonFile() file: src/app/api/mock/onerep/config/route.ts start line: 44 end line: 85 size: 36 LOC McCabe index: 3 number of parameters: 2 id: 91 unit: export async function DELETE() file: src/app/api/v1/admin/qa-customs/hibp/route.ts start line: 157 end line: 197 size: 36 LOC McCabe index: 9 number of parameters: 1 id: 92 unit: function exportCsv() file: src/app/api/v1/admin/removals/route.ts start line: 73 end line: 111 size: 36 LOC McCabe index: 1 number of parameters: 3 id: 93 unit: export async function getBreachIcons() file: src/scripts/cronjobs/syncBreaches.ts start line: 36 end line: 83 size: 36 LOC McCabe index: 6 number of parameters: 1 id: 94 unit: async function destroyOAuthToken() file: src/utils/fxa.ts start line: 32 end line: 68 size: 35 LOC McCabe index: 4 number of parameters: 2 id: 95 unit: export function filterExposures() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/filterExposures.ts start line: 12 end line: 49 size: 35 LOC McCabe index: 12 number of parameters: 2 id: 96 unit: export async function getAttributionsFromCookiesOrDb() file: src/app/functions/server/attributions.ts start line: 11 end line: 57 size: 34 LOC McCabe index: 3 number of parameters: 1 id: 97 unit: function updateJsonFile() file: src/app/api/mock/hibp/config/route.ts start line: 43 end line: 82 size: 34 LOC McCabe index: 3 number of parameters: 2 id: 98 unit: async function generateTypeMap() file: src/scripts/build/gleanTypes.js start line: 23 end line: 75 size: 34 LOC McCabe index: 2 number of parameters: 0 id: 99 unit: async function refreshOAuthTokens() file: src/utils/fxa.ts start line: 143 end line: 176 size: 33 LOC McCabe index: 4 number of parameters: 1 id: 100 unit: export function createRedisInstance() file: src/db/redis/util.ts start line: 17 end line: 55 size: 33 LOC McCabe index: 5 number of parameters: 1 id: 101 unit: async function addSubscriberUnverifiedEmailHash() file: src/db/tables/emailAddresses.ts start line: 46 end line: 80 size: 33 LOC McCabe index: 4 number of parameters: 2 id: 102 unit: async function resetUnverifiedEmailAddress() file: src/db/tables/emailAddresses.ts start line: 85 end line: 124 size: 33 LOC McCabe index: 3 number of parameters: 3 id: 103 unit: async function addEmailPreferenceForSubscriber() file: src/db/tables/subscriber_email_preferences.ts start line: 34 end line: 70 size: 33 LOC McCabe index: 2 number of parameters: 2 id: 104 unit: export async function checkUserHasMonthlySubscription() file: src/app/functions/server/user.ts start line: 10 end line: 50 size: 33 LOC McCabe index: 7 number of parameters: 1 id: 105 unit: function UpsellDialog() file: src/app/components/client/toolbar/UpsellDialog.tsx start line: 248 end line: 281 size: 33 LOC McCabe index: 2 number of parameters: 5 id: 106 unit: export default async function FixPage() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/page.tsx start line: 20 end line: 55 size: 33 LOC McCabe index: 3 number of parameters: 0 id: 107 unit: async function run() file: src/scripts/cronjobs/monthlyActivityFree.tsx start line: 44 end line: 88 size: 33 LOC McCabe index: 4 number of parameters: 0 id: 108 unit: async function addSubscriber() file: src/db/tables/emailAddresses.ts start line: 227 end line: 262 size: 32 LOC McCabe index: 6 number of parameters: 6 id: 109 unit: async function getScanResultsWithBroker() file: src/db/tables/onerep_scans.ts start line: 489 end line: 523 size: 32 LOC McCabe index: 3 number of parameters: 2 id: 110 unit: export async function getExperimentationId() file: src/app/functions/server/getExperimentationId.ts start line: 21 end line: 58 size: 32 LOC McCabe index: 5 number of parameters: 1 id: 111 unit: async function getScanResultsWithBrokerUnderMaintenance() file: src/db/tables/onerep_scans.ts start line: 451 end line: 484 size: 31 LOC McCabe index: 3 number of parameters: 1 id: 112 unit: export async function reactivateAccount() file: src/app/functions/server/reactivateAccount.ts start line: 10 end line: 43 size: 31 LOC McCabe index: 3 number of parameters: 1 id: 113 unit: function sanitizeDataPoints() file: src/app/functions/server/dashboard.ts start line: 447 end line: 478 size: 31 LOC McCabe index: 3 number of parameters: 3 id: 114 unit: export async function POST() file: src/app/api/mock/onerep/profiles/route.ts start line: 51 end line: 98 size: 31 LOC McCabe index: 4 number of parameters: 1 id: 115 unit: async function bundleVerifiedEmails() file: src/utils/breaches.ts start line: 123 end line: 164 size: 30 LOC McCabe index: 2 number of parameters: 1 id: 116 unit: async function createQaTogglesRow() file: src/db/tables/qa_customs.ts start line: 299 end line: 340 size: 30 LOC McCabe index: 5 number of parameters: 2 id: 117 unit: async function addUnsubscribeTokenForSubscriber() file: src/db/tables/subscriber_email_preferences.ts start line: 74 end line: 105 size: 30 LOC McCabe index: 2 number of parameters: 2 id: 118 unit: async function getEmailPreferenceForPrimaryEmail() file: src/db/tables/subscriber_email_preferences.ts start line: 341 end line: 374 size: 30 LOC McCabe index: 2 number of parameters: 1 id: 119 unit: export async function down() file: src/db/migrations/20240122162011_subscriber_cascade_delete_one_rep.js start line: 54 end line: 83 size: 30 LOC McCabe index: 1 number of parameters: 1 id: 120 unit: export function up() file: src/db/migrations/20250317184212_add-user-announcements-table.js start line: 9 end line: 38 size: 30 LOC McCabe index: 1 number of parameters: 1 id: 121 unit: export function middleware() file: src/middleware.ts start line: 10 end line: 54 size: 30 LOC McCabe index: 3 number of parameters: 1 id: 122 unit: export async function getStuckRemovals() file: src/app/functions/server/getStuckRemovals.ts start line: 10 end line: 42 size: 30 LOC McCabe index: 1 number of parameters: 3 id: 123 unit: export default async function Layout() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/layout.tsx start line: 22 end line: 64 size: 30 LOC McCabe index: 1 number of parameters: 1 id: 124 unit: function getFallbackObject() file: src/scripts/build/nimbusTypes.js start line: 84 end line: 115 size: 30 LOC McCabe index: 2 number of parameters: 1 id: 125 unit: function getFeaturesTypeDef() file: src/scripts/build/nimbusTypes.js start line: 157 end line: 188 size: 30 LOC McCabe index: 1 number of parameters: 1 id: 126 unit: async function pullMessages() file: src/scripts/cronjobs/emailBreachAlerts.tsx start line: 367 end line: 404 size: 30 LOC McCabe index: 4 number of parameters: 0 id: 127 unit: async redirects() file: next.config.js start line: 124 end line: 163 size: 29 LOC McCabe index: 1 number of parameters: 0 id: 128 unit: export async function up() file: src/db/migrations/20240108008813_marketing_attributions.js start line: 9 end line: 37 size: 29 LOC McCabe index: 1 number of parameters: 1 id: 129 unit: export async function getAttachedClientsAction() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/fxa/actions.tsx start line: 15 end line: 46 size: 29 LOC McCabe index: 7 number of parameters: 0 id: 130 unit: export async function onDeleteAccount() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/settings/actions.ts start line: 188 end line: 225 size: 29 LOC McCabe index: 3 number of parameters: 0 id: 131 unit: function RemoveItemButton() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/settings/panels/SettingsPanelEditProfile/EditProfileFormInputs.tsx start line: 67 end line: 95 size: 29 LOC McCabe index: 1 number of parameters: 1 id: 132 unit: function getLocalOverrides() file: src/scripts/build/nimbusTypes.js start line: 121 end line: 151 size: 29 LOC McCabe index: 2 number of parameters: 1 id: 133 unit: export async function refreshStoredScanResults() file: src/app/functions/server/refreshStoredScanResults.ts start line: 23 end line: 57 size: 28 LOC McCabe index: 2 number of parameters: 1 id: 134 unit: export default async function Page() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/removals/page.tsx start line: 11 end line: 71 size: 28 LOC McCabe index: 1 number of parameters: 1 id: 135 unit: export async function triggerMonthlyActivityPlus() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/emails/actions.tsx start line: 185 end line: 219 size: 28 LOC McCabe index: 4 number of parameters: 1 id: 136 unit: function AddItemButton() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/settings/panels/SettingsPanelEditProfile/EditProfileFormInputs.tsx start line: 38 end line: 65 size: 28 LOC McCabe index: 1 number of parameters: 1 id: 137 unit: export async function POST() file: src/app/api/v1/user/remove-email/route.ts start line: 26 end line: 65 size: 28 LOC McCabe index: 4 number of parameters: 1 id: 138 unit: function getTypeScriptType() file: src/scripts/build/nimbusTypes.js start line: 247 end line: 275 size: 28 LOC McCabe index: 9 number of parameters: 1 id: 139 unit: async function getEmailPreferenceForUnsubscribeToken() file: src/db/tables/subscriber_email_preferences.ts start line: 228 end line: 258 size: 27 LOC McCabe index: 2 number of parameters: 1 id: 140 unit: export async function GET() file: src/app/api/v1/user/welcome-scan/result/route.ts start line: 26 end line: 53 size: 27 LOC McCabe index: 4 number of parameters: 0 id: 141 unit: async function run() file: src/scripts/cronjobs/churnDiscount.tsx start line: 33 end line: 65 size: 27 LOC McCabe index: 4 number of parameters: 0 id: 142 unit: async function addCouponForSubscriber() file: src/db/tables/subscriber_coupons.ts start line: 23 end line: 49 size: 26 LOC McCabe index: 3 number of parameters: 2 id: 143 unit: async function updatePrimaryEmail() file: src/db/tables/subscribers.ts start line: 75 end line: 117 size: 26 LOC McCabe index: 3 number of parameters: 2 id: 144 unit: export function getNextGuidedStep() file: src/app/functions/server/getRelevantGuidedSteps.ts start line: 84 end line: 117 size: 26 LOC McCabe index: 4 number of parameters: 3 id: 145 unit: locale: getLocale() file: src/app/(proper_react)/(redesign)/(public)/page.tsx start line: 46 end line: 73 size: 26 LOC McCabe index: 4 number of parameters: 1 id: 146 unit: async function handleManualRemovalChange() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/removal-under-maintenance/RemovalUnderMaintenanceView.tsx start line: 74 end line: 102 size: 26 LOC McCabe index: 3 number of parameters: 0 id: 147 unit: export async function onApplyCouponCode() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/settings/actions.ts start line: 227 end line: 253 size: 26 LOC McCabe index: 3 number of parameters: 0 id: 148 unit: export async function GET() file: src/app/api/mock/resetTestData/route.ts start line: 23 end line: 52 size: 26 LOC McCabe index: 9 number of parameters: 1 id: 149 unit: export async function POST() file: src/app/api/v1/admin/feature-flags/route.ts start line: 58 end line: 84 size: 26 LOC McCabe index: 7 number of parameters: 1 id: 150 unit: async function getSubscriptions() file: src/utils/fxa.ts start line: 191 end line: 215 size: 25 LOC McCabe index: 4 number of parameters: 1 id: 151 unit: async function getBillingAndSubscriptions() file: src/utils/fxa.ts start line: 240 end line: 265 size: 25 LOC McCabe index: 4 number of parameters: 1 id: 152 unit: async function getAttachedClients() file: src/utils/fxa.ts start line: 429 end line: 453 size: 25 LOC McCabe index: 4 number of parameters: 1 id: 153 unit: async function getQaCustomBrokers() file: src/db/tables/qa_customs.ts start line: 74 end line: 107 size: 25 LOC McCabe index: 4 number of parameters: 2 id: 154 unit: async function getChurnsToEmail() file: src/db/tables/subscriber_churns.ts start line: 85 end line: 112 size: 25 LOC McCabe index: 2 number of parameters: 0 id: 155 unit: export function createGetL10n() file: src/app/functions/l10n/index.ts start line: 113 end line: 154 size: 25 LOC McCabe index: 4 number of parameters: 1 id: 156 unit: export function constructPayload() file: src/app/functions/server/glean.ts start line: 53 end line: 81 size: 25 LOC McCabe index: 1 number of parameters: 2 id: 157 unit: export function sanitizeSubscriberRow() file: src/app/functions/server/sanitize.ts start line: 74 end line: 102 size: 25 LOC McCabe index: 1 number of parameters: 1 id: 158 unit: export function getRelevantSurveys() file: src/app/components/client/csat_survey/surveys/csatSurvey.ts start line: 64 end line: 94 size: 25 LOC McCabe index: 5 number of parameters: 6 id: 159 unit: export async function generateMetadata() file: src/app/layout.tsx start line: 31 end line: 55 size: 25 LOC McCabe index: 2 number of parameters: 0 id: 160 unit: async function send() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/emails/actions.tsx start line: 67 end line: 93 size: 25 LOC McCabe index: 4 number of parameters: 4 id: 161 unit: export async function applyRenewalCoupon() file: src/app/(proper_react)/(redesign)/(authenticated)/user/plus-expiration/actions.ts start line: 23 end line: 48 size: 25 LOC McCabe index: 4 number of parameters: 0 id: 162 unit: export async function POST() file: src/app/api/v1/admin/announcements/route.ts start line: 33 end line: 61 size: 25 LOC McCabe index: 5 number of parameters: 1 id: 163 unit: export async function PUT() file: src/app/api/v1/admin/qa-customs/route.ts start line: 11 end line: 40 size: 25 LOC McCabe index: 8 number of parameters: 1 id: 164 unit: export async function PUT() file: src/app/api/v1/admin/feature-flags/[flagId]/route.ts start line: 47 end line: 80 size: 25 LOC McCabe index: 7 number of parameters: 1 id: 165 unit: async function upsertBreaches() file: src/db/tables/breaches.ts start line: 35 end line: 75 size: 24 LOC McCabe index: 2 number of parameters: 1 id: 166 unit: export async function getMonthlyActivityFreeUnsubscribeLink() file: src/app/functions/cronjobs/unsubscribeLinks.ts start line: 15 end line: 45 size: 24 LOC McCabe index: 5 number of parameters: 1 id: 167 unit: export async function triggerMonthlyActivityFree() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/emails/actions.tsx start line: 141 end line: 183 size: 24 LOC McCabe index: 4 number of parameters: 1 id: 168 unit: export async function updatePasswordsBreachStatus() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/leaked-passwords/leakedPasswordsData.tsx start line: 136 end line: 161 size: 24 LOC McCabe index: 4 number of parameters: 3 id: 169 unit: function getLocationsResults() file: src/app/api/v1/location-autocomplete/route.ts start line: 28 end line: 55 size: 24 LOC McCabe index: 5 number of parameters: 5 id: 170 unit: await getScansCount() file: src/app/api/v1/stats/route.ts start line: 23 end line: 48 size: 24 LOC McCabe index: 3 number of parameters: 1 id: 171 unit: async function run() file: src/scripts/cronjobs/monthlyActivityPlus.tsx start line: 36 end line: 62 size: 24 LOC McCabe index: 2 number of parameters: 0 id: 172 unit: async function setQaToggle() file: src/db/tables/qa_customs.ts start line: 262 end line: 294 size: 23 LOC McCabe index: 3 number of parameters: 3 id: 173 unit: verification_token: uuidv4() file: src/db/tables/emailAddresses.ts start line: 68 end line: 178 size: 23 LOC McCabe index: 3 number of parameters: 0 id: 174 unit: async function isOnerepScanResultForSubscriber() file: src/db/tables/onerep_scans.ts start line: 297 end line: 320 size: 23 LOC McCabe index: 1 number of parameters: 1 id: 175 unit: export function up() file: src/db/migrations/20240715115031_qa_custom_breaches.js start line: 9 end line: 32 size: 23 LOC McCabe index: 1 number of parameters: 1 id: 176 unit: function ListBox() file: src/app/components/client/ListBox.tsx start line: 54 end line: 78 size: 23 LOC McCabe index: 4 number of parameters: 1 id: 177 unit: function ProgressLabel() file: src/app/(proper_react)/(redesign)/(authenticated)/user/welcome/FindExposures.tsx start line: 154 end line: 178 size: 23 LOC McCabe index: 2 number of parameters: 0 id: 178 unit: redirect() file: src/app/api/utils/auth.tsx start line: 89 end line: 113 size: 23 LOC McCabe index: 5 number of parameters: 2 id: 179 unit: export async function GET() file: src/app/api/v1/user/unsubscribe-email/route.ts start line: 10 end line: 34 size: 23 LOC McCabe index: 3 number of parameters: 1 id: 180 unit: function getTypeAliases() file: src/scripts/build/nimbusTypes.js start line: 214 end line: 241 size: 23 LOC McCabe index: 1 number of parameters: 1 id: 181 unit: async function getLatestOnerepScanResults() file: src/db/tables/onerep_scans.ts start line: 175 end line: 198 size: 22 LOC McCabe index: 1 number of parameters: 1 id: 182 unit: async function getMockedScanResultsWithBrokerUnderMaintenance() file: src/db/tables/onerep_scans.ts start line: 548 end line: 572 size: 22 LOC McCabe index: 3 number of parameters: 1 id: 183 unit: function generateCspData() file: src/middleware.ts start line: 78 end line: 104 size: 22 LOC McCabe index: 4 number of parameters: 0 id: 184 unit: export async function checkCouponWithCode() file: src/app/functions/server/applyCoupon.ts start line: 132 end line: 158 size: 22 LOC McCabe index: 2 number of parameters: 2 id: 185 unit: export function checkSession() file: src/app/functions/server/checkSession.ts start line: 8 end line: 29 size: 22 LOC McCabe index: 6 number of parameters: 1 id: 186 unit: export async function getSubscriberBreaches() file: src/app/functions/server/getSubscriberBreaches.ts start line: 20 end line: 41 size: 22 LOC McCabe index: 3 number of parameters: 3 id: 187 unit: export async function triggerManualProfileScan() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/prod/actions.tsx start line: 62 end line: 86 size: 22 LOC McCabe index: 7 number of parameters: 1 id: 188 unit: function getMockedScanData() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/welcome-to-plus/WelcomeToPlus.stories.tsx start line: 30 end line: 51 size: 22 LOC McCabe index: 1 number of parameters: 1 id: 189 unit: export async function PUT() file: src/app/api/v1/admin/feature-flags/route.ts start line: 93 end line: 122 size: 22 LOC McCabe index: 7 number of parameters: 1 id: 190 unit: async function fetchMetricsFlowParams() file: src/app/api/v1/accounts-metrics-flow/route.ts start line: 11 end line: 35 size: 22 LOC McCabe index: 5 number of parameters: 1 id: 191 unit: async function upsertSubscriberChurns() file: src/db/tables/subscriber_churns.ts start line: 11 end line: 33 size: 21 LOC McCabe index: 2 number of parameters: 1 id: 192 unit: async function getUpcomingChurns() file: src/db/tables/subscriber_churns.ts start line: 62 end line: 83 size: 21 LOC McCabe index: 2 number of parameters: 0 id: 193 unit: async function updateFxAData() file: src/db/tables/subscribers.ts start line: 132 end line: 154 size: 21 LOC McCabe index: 2 number of parameters: 5 id: 194 unit: export async function updateAnnouncements() file: src/db/tables/announcements.ts start line: 60 end line: 82 size: 21 LOC McCabe index: 3 number of parameters: 2 id: 195 unit: async function getLatestAttributionForSubscriberWithType() file: src/db/tables/attributions.ts start line: 19 end line: 39 size: 21 LOC McCabe index: 1 number of parameters: 2 id: 196 unit: async function addAttributionForSubscriber() file: src/db/tables/attributions.ts start line: 52 end line: 72 size: 21 LOC McCabe index: 3 number of parameters: 2 id: 197 unit: async function deleteSomeScansForProfile() file: src/db/tables/onerep_scans.ts start line: 399 end line: 430 size: 21 LOC McCabe index: 3 number of parameters: 2 id: 198 unit: export function up() file: src/db/migrations/20240710214906_qa_custom_brokers.js start line: 9 end line: 29 size: 21 LOC McCabe index: 1 number of parameters: 1 id: 199 unit: export function up() file: src/db/migrations/20221026215921_add-breaches-table.js start line: 9 end line: 29 size: 21 LOC McCabe index: 1 number of parameters: 1 id: 200 unit: export async function up() file: src/db/migrations/20250306124316_add_profile_details_to_onerep_profiles_table.js start line: 9 end line: 29 size: 21 LOC McCabe index: 1 number of parameters: 1 id: 201 unit: export async function changeSubscription() file: src/app/functions/server/changeSubscription.ts start line: 10 end line: 32 size: 21 LOC McCabe index: 4 number of parameters: 2 id: 202 unit: export async function activateAndOptoutProfile() file: src/app/functions/server/onerep.ts start line: 328 end line: 350 size: 21 LOC McCabe index: 6 number of parameters: 3 id: 203 unit: export async function isEligibleForFreeScan() file: src/app/functions/server/onerep.ts start line: 447 end line: 471 size: 21 LOC McCabe index: 4 number of parameters: 2 id: 204 unit: export async function getAllDataBrokers() file: src/app/functions/server/onerep.ts start line: 499 end line: 519 size: 21 LOC McCabe index: 1 number of parameters: 0 id: 205 unit: function FilterRadioGroup() file: src/app/components/client/ExposuresFilter.tsx start line: 408 end line: 429 size: 21 LOC McCabe index: 2 number of parameters: 1 id: 206 unit: async load() file: src/app/hooks/locationSuggestions.ts start line: 12 end line: 34 size: 21 LOC McCabe index: 2 number of parameters: 2 id: 207 unit: function useMediaQueryImp() file: src/app/hooks/mediaQuery.ts start line: 7 end line: 29 size: 21 LOC McCabe index: 1 number of parameters: 1 id: 208 unit: function getBreachCategory() file: src/app/(proper_react)/(redesign)/(public)/breach-details/[breachName]/BreachDetailView.tsx start line: 431 end line: 451 size: 21 LOC McCabe index: 4 number of parameters: 1 id: 209 unit: function SettingsPanelEditProfile() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/settings/panels/SettingsPanelEditProfile/SettingsPanelEditProfile.tsx start line: 29 end line: 50 size: 21 LOC McCabe index: 3 number of parameters: 1 id: 210 unit: export async function POST() file: src/app/api/v1/admin/qa-customs/hibp/route.ts start line: 91 end line: 155 size: 21 LOC McCabe index: 20 number of parameters: 1 id: 211 unit: async function fetchMetricsFlowData() file: src/contextProviders/accounts-metrics-flow.tsx start line: 45 end line: 68 size: 21 LOC McCabe index: 2 number of parameters: 0 id: 212 unit: function checkDependabotValidation() file: src/scripts/build/checkGithubActionsBestPractices.js start line: 110 end line: 131 size: 21 LOC McCabe index: 6 number of parameters: 2 id: 213 unit: async function uploadLighthouseReport() file: src/scripts/cronjobs/reportLighthouseResults.ts start line: 45 end line: 67 size: 21 LOC McCabe index: 5 number of parameters: 1 id: 214 unit: export function isPrePlusDate() file: src/app/functions/universal/isPrePlusDate.ts start line: 7 end line: 27 size: 20 LOC McCabe index: 2 number of parameters: 2 id: 215 unit: function getSortedDataClasses() file: src/app/(proper_react)/(redesign)/(public)/breach-details/[breachName]/BreachDetailView.tsx start line: 399 end line: 426 size: 20 LOC McCabe index: 1 number of parameters: 2 id: 216 unit: export default async function DevPage() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/emails/page.tsx start line: 11 end line: 33 size: 20 LOC McCabe index: 4 number of parameters: 0 id: 217 unit: function Panel() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/settings/panels/index.tsx start line: 39 end line: 58 size: 20 LOC McCabe index: 7 number of parameters: 1 id: 218 unit: Id: randomInt() file: src/app/api/v1/admin/qa-customs/hibp/route.ts start line: 128 end line: 148 size: 20 LOC McCabe index: 1 number of parameters: 2 id: 219 unit: function checkPersistCredentials() file: src/scripts/build/checkGithubActionsBestPractices.js start line: 68 end line: 87 size: 20 LOC McCabe index: 6 number of parameters: 2 id: 220 unit: function getEnvironment() file: instrumentation-client.ts start line: 48 end line: 67 size: 19 LOC McCabe index: 7 number of parameters: 0 id: 221 unit: export async function updateAllowList() file: src/db/tables/featureFlags.ts start line: 192 end line: 216 size: 19 LOC McCabe index: 3 number of parameters: 3 id: 222 unit: async function updateFxATokens() file: src/db/tables/subscribers.ts start line: 168 end line: 188 size: 19 LOC McCabe index: 3 number of parameters: 4 id: 223 unit: export function getCountryCode() file: src/app/functions/server/getCountryCode.ts start line: 7 end line: 30 size: 19 LOC McCabe index: 4 number of parameters: 1 id: 224 unit: export function getReferrerUrl() file: src/app/functions/server/getReferrerUrl.ts start line: 12 end line: 32 size: 19 LOC McCabe index: 5 number of parameters: 3 id: 225 unit: function Option() file: src/app/components/client/ListBox.tsx start line: 23 end line: 42 size: 19 LOC McCabe index: 4 number of parameters: 2 id: 226 unit: export function UpsellBadge() file: src/app/components/client/toolbar/UpsellBadge.tsx start line: 175 end line: 196 size: 19 LOC McCabe index: 4 number of parameters: 1 id: 227 unit: function Tabs() file: src/app/components/client/TabList.tsx start line: 51 end line: 70 size: 19 LOC McCabe index: 2 number of parameters: 1 id: 228 unit: export async function getAllProfileScans() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/prod/actions.tsx start line: 39 end line: 60 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 229 unit: PwnCount: randomInt() file: src/app/api/v1/admin/qa-customs/hibp/route.ts start line: 129 end line: 148 size: 19 LOC McCabe index: 1 number of parameters: 2 id: 230 unit: function getAddressesAndLanguageForEmail() file: src/utils/hibp.ts start line: 293 end line: 311 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 231 unit: export async function setProfileDetails() file: src/db/tables/onerep_profiles.ts start line: 14 end line: 47 size: 18 LOC McCabe index: 3 number of parameters: 2 id: 232 unit: async function addEmailNotification() file: src/db/tables/email_notifications.ts start line: 36 end line: 54 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 233 unit: async function markEmailAsNotified() file: src/db/tables/email_notifications.ts start line: 56 end line: 75 size: 18 LOC McCabe index: 2 number of parameters: 3 id: 234 unit: export function up() file: src/db/migrations/20190328111900_add_email_addresses_table.js start line: 9 end line: 27 size: 18 LOC McCabe index: 1 number of parameters: 1 id: 235 unit: export function getDataBrokerRemovalTimeEstimates() file: src/app/functions/server/getDataBrokerRemovalTimeEstimates.ts start line: 18 end line: 35 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 236 unit: export async function checkCurrentCouponCode() file: src/app/functions/server/applyCoupon.ts start line: 51 end line: 70 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 237 unit: export async function checkChurnCouponCode() file: src/app/functions/server/applyCoupon.ts start line: 72 end line: 91 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 238 unit: export function getPremiumSubscriptionUrl() file: src/app/functions/server/getPremiumSubscriptionInfo.ts start line: 21 end line: 40 size: 18 LOC McCabe index: 3 number of parameters: 3 id: 239 unit: export default async function sitemap() file: src/app/sitemap.ts start line: 13 end line: 30 size: 18 LOC McCabe index: 1 number of parameters: 0 id: 240 unit: export async function getOnerepProfile() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/dev/actions.tsx start line: 37 end line: 55 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 241 unit: export async function updateOnerepProfile() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/dev/actions.tsx start line: 57 end line: 75 size: 18 LOC McCabe index: 5 number of parameters: 2 id: 242 unit: export async function triggerManualProfileScan() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/dev/actions.tsx start line: 94 end line: 112 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 243 unit: export async function PUT() file: src/app/api/v1/admin/qa-customs/onerep/route.ts start line: 156 end line: 177 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 244 unit: function getObjWithRemovedBreach() file: src/app/api/v1/admin/qa-customs/hibp/route.ts start line: 54 end line: 73 size: 18 LOC McCabe index: 7 number of parameters: 2 id: 245 unit: export async function checkStats() file: src/scripts/cronjobs/onerepStatsAlert.ts start line: 35 end line: 55 size: 18 LOC McCabe index: 4 number of parameters: 0 id: 246 unit: async function kAnonReq() file: src/utils/hibp.ts start line: 139 end line: 157 size: 17 LOC McCabe index: 2 number of parameters: 2 id: 247 unit: export async function uploadToS3() file: src/utils/s3.js start line: 31 end line: 47 size: 17 LOC McCabe index: 2 number of parameters: 2 id: 248 unit: async function revokeOAuthTokens() file: src/utils/fxa.ts start line: 73 end line: 97 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 249 unit: async function getQaToggleRow() file: src/db/tables/qa_customs.ts start line: 241 end line: 257 size: 17 LOC McCabe index: 5 number of parameters: 1 id: 250 unit: async function getFreeSubscribersWaitingForMonthlyEmail() file: src/db/tables/subscribers.ts start line: 409 end line: 483 size: 17 LOC McCabe index: 1 number of parameters: 2 id: 251 unit: async function markFirstDataBrokerRemovalFixedEmailAsJustSent() file: src/db/tables/subscribers.ts start line: 488 end line: 507 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 252 unit: async function markMonthlyActivityPlusEmailAsJustSent() file: src/db/tables/subscribers.ts start line: 539 end line: 560 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 253 unit: export async function markAnnouncementAsSeen() file: src/db/tables/user_announcements.ts start line: 20 end line: 36 size: 17 LOC McCabe index: 2 number of parameters: 2 id: 254 unit: export function up() file: src/db/migrations/20230703010356_add-onerep-profiles-table.js start line: 9 end line: 37 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 255 unit: export function modifyAttributionsForUrl() file: src/app/functions/universal/attributions.ts start line: 5 end line: 25 size: 17 LOC McCabe index: 4 number of parameters: 3 id: 256 unit: export async function applyCurrentCouponCode() file: src/app/functions/server/applyCoupon.ts start line: 14 end line: 31 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 257 unit: export async function applyChurnCouponCode() file: src/app/functions/server/applyCoupon.ts start line: 32 end line: 49 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 258 unit: export async function getProfile() file: src/app/functions/server/onerep.ts start line: 257 end line: 274 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 259 unit: export async function optoutProfile() file: src/app/functions/server/onerep.ts start line: 310 end line: 326 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 260 unit: export async function getScanDetails() file: src/app/functions/server/onerep.ts start line: 473 end line: 489 size: 17 LOC McCabe index: 2 number of parameters: 2 id: 261 unit: function Popover() file: src/app/components/client/Popover.tsx start line: 23 end line: 42 size: 17 LOC McCabe index: 2 number of parameters: 4 id: 262 unit: export async function lookupFxaUid() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/prod/actions.tsx start line: 19 end line: 37 size: 17 LOC McCabe index: 7 number of parameters: 1 id: 263 unit: void getSha1() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/dev/UserAdmin.tsx start line: 183 end line: 200 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 264 unit: export async function DELETE() file: src/app/api/v1/admin/qa-customs/onerep/route.ts start line: 134 end line: 154 size: 17 LOC McCabe index: 5 number of parameters: 1 id: 265 unit: export async function GET() file: src/app/api/v1/admin/feature-flags/route.ts start line: 27 end line: 44 size: 17 LOC McCabe index: 4 number of parameters: 0 id: 266 unit: export async function GET() file: src/app/api/v1/user/verify-email/route.ts start line: 9 end line: 25 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 267 unit: export function parseE164PhoneNumber() file: src/utils/parse.ts start line: 13 end line: 30 size: 16 LOC McCabe index: 5 number of parameters: 1 id: 268 unit: async function markChurnPreventionEmailAsJustSent() file: src/db/tables/subscribers.ts start line: 513 end line: 533 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 269 unit: export async function addAnnouncements() file: src/db/tables/announcements.ts start line: 20 end line: 37 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 270 unit: export function up() file: src/db/migrations/20250219182508_add_notifications_table.js start line: 9 end line: 24 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 271 unit: export async function up() file: src/db/migrations/20231017143204_add_email_notification_table.js start line: 9 end line: 24 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 272 unit: export async function down() file: src/db/migrations/20220607154058_rollback-data-removal-pilot.js start line: 26 end line: 43 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 273 unit: export function createUserWithPremiumSubscription() file: src/apiMocks/mockData.ts start line: 188 end line: 203 size: 16 LOC McCabe index: 1 number of parameters: 0 id: 274 unit: export async function getBreaches() file: src/app/functions/server/getBreaches.ts start line: 15 end line: 35 size: 16 LOC McCabe index: 3 number of parameters: 0 id: 275 unit: export async function activateProfile() file: src/app/functions/server/onerep.ts start line: 276 end line: 291 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 276 unit: export async function deactivateProfile() file: src/app/functions/server/onerep.ts start line: 293 end line: 308 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 277 unit: export async function createScan() file: src/app/functions/server/onerep.ts start line: 352 end line: 370 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 278 unit: function matchesFilter() file: src/app/(proper_react)/(redesign)/(public)/breaches/BreachIndexView.tsx start line: 81 end line: 96 size: 16 LOC McCabe index: 3 number of parameters: 3 id: 279 unit: void updateAllowlist() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/feature-flags/components/FlagEditor.tsx start line: 183 end line: 199 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 280 unit: function createUser() file: src/app/(proper_react)/(redesign)/MobileShell.stories.ts start line: 12 end line: 27 size: 16 LOC McCabe index: 1 number of parameters: 0 id: 281 unit: export async function GET() file: src/app/api/mock/onerep/scan-results/route.ts start line: 9 end line: 28 size: 16 LOC McCabe index: 6 number of parameters: 1 id: 282 unit: export async function GET() file: src/app/api/v1/admin/announcements/route.ts start line: 14 end line: 31 size: 16 LOC McCabe index: 4 number of parameters: 0 id: 283 unit: async function run() file: src/scripts/build/nimbusTypes.js start line: 58 end line: 78 size: 16 LOC McCabe index: 1 number of parameters: 0 id: 284 unit: async function onerepFetch() file: src/scripts/cronjobs/onerepStatsAlert.ts start line: 58 end line: 73 size: 16 LOC McCabe index: 3 number of parameters: 2 id: 285 unit: async function whichBreachesAreNotInRemoteSettingsYet() file: src/scripts/cronjobs/updateBreachesInRemoteSettings.ts start line: 71 end line: 87 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 286 unit: addedDate: normalizeDate() file: src/utils/subscriberBreaches.ts start line: 144 end line: 160 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 287 unit: async function getNotifiedSubscribersForBreach() file: src/db/tables/email_notifications.ts start line: 10 end line: 26 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 288 unit: export function up() file: src/db/migrations/20230618104332_feature_flags.js start line: 9 end line: 23 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 289 unit: export async function up() file: src/db/migrations/20240920175305_add-ga4-client-to-subscribers.js start line: 9 end line: 23 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 290 unit: export function up() file: src/db/migrations/20230623152940_add_onerep_scans_table.js start line: 9 end line: 23 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 291 unit: export function modifyAttributionsForUrlSearchParams() file: src/app/functions/universal/attributions.ts start line: 27 end line: 45 size: 15 LOC McCabe index: 4 number of parameters: 3 id: 292 unit: export async function fetchAllPages() file: src/app/functions/server/onerep.ts start line: 521 end line: 537 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 293 unit: function Radio() file: src/app/components/client/ExposuresFilter.tsx start line: 438 end line: 454 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 294 unit: export function BreachLogo() file: src/app/components/server/BreachLogo.tsx start line: 24 end line: 39 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 295 unit: void handleEditAnnouncement() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/announcements/AnnouncementsAdmin.tsx start line: 379 end line: 393 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 296 unit: export async function getAllProfileScans() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/dev/actions.tsx start line: 77 end line: 92 size: 15 LOC McCabe index: 5 number of parameters: 1 id: 297 unit: export function GET() file: src/app/api/mock/onerep/stats/profiles/route.ts start line: 8 end line: 24 size: 15 LOC McCabe index: 2 number of parameters: 0 id: 298 unit: export function mockOnerepObjectLinks() file: src/app/api/mock/onerep/config/config.ts start line: 137 end line: 152 size: 15 LOC McCabe index: 4 number of parameters: 3 id: 299 unit: export async function GET() file: src/app/api/v1/user/announcements/route.ts start line: 10 end line: 27 size: 15 LOC McCabe index: 3 number of parameters: 0 id: 300 unit: export async function processOnerepWebhook() file: src/app/api/v1/onerep-events/processOnerepWebhook.ts start line: 27 end line: 48 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 301 unit: export function getEnvVarsOrThrow() file: src/envVars.ts start line: 15 end line: 29 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 302 unit: function filterBreachDataTypes() file: src/utils/subscriberBreaches.ts start line: 49 end line: 64 size: 14 LOC McCabe index: 3 number of parameters: 2 id: 303 unit: breachDate: normalizeDate() file: src/utils/subscriberBreaches.ts start line: 145 end line: 160 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 304 unit: export function vers() file: src/utils/dockerflow.ts start line: 54 end line: 69 size: 14 LOC McCabe index: 2 number of parameters: 0 id: 305 unit: data_classes: formatDataClassesArray() file: src/db/tables/breaches.ts start line: 54 end line: 68 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 306 unit: export async function enableFeatureFlagByName() file: src/db/tables/featureFlags.ts start line: 226 end line: 245 size: 14 LOC McCabe index: 2 number of parameters: 3 id: 307 unit: async function getAllMockedScanResults() file: src/db/tables/qa_customs.ts start line: 142 end line: 159 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 308 unit: async function setAllEmailsToPrimary() file: src/db/tables/subscribers.ts start line: 226 end line: 241 size: 14 LOC McCabe index: 2 number of parameters: 2 id: 309 unit: async function setMonthlyMonitorReport() file: src/db/tables/subscribers.ts start line: 246 end line: 261 size: 14 LOC McCabe index: 2 number of parameters: 2 id: 310 unit: async function deleteUnverifiedSubscribers() file: src/db/tables/subscribers.ts start line: 285 end line: 298 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 311 unit: async function getPotentialSubscribersWaitingForFirstDataBrokerRemovalFixedEmail() file: src/db/tables/subscribers.ts start line: 342 end line: 361 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 312 unit: async function getMockedScanResults() file: src/db/tables/onerep_scans.ts start line: 528 end line: 543 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 313 unit: export default function createDbConnection() file: src/db/connect.ts start line: 9 end line: 26 size: 14 LOC McCabe index: 3 number of parameters: 0 id: 314 unit: export async function up() file: src/db/migrations/20240604053111_subscriber_coupons.js start line: 9 end line: 22 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 315 unit: availableLocales: nodeReaddirSync() file: src/app/functions/l10n/storybookAndJest.ts start line: 101 end line: 116 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 316 unit: export async function getSubscriberEmails() file: src/app/functions/server/getSubscriberEmails.ts start line: 14 end line: 27 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 317 unit: export async function refreshStuckRemovals() file: src/app/functions/server/getStuckRemovals.ts start line: 44 end line: 60 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 318 unit: function hasDismissedCookie() file: src/app/hooks/useLocalDismissal.ts start line: 65 end line: 89 size: 14 LOC McCabe index: 5 number of parameters: 2 id: 319 unit: async function sendUpdateRequest() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/feature-flags/components/FlagEditor.tsx start line: 253 end line: 266 size: 14 LOC McCabe index: 1 number of parameters: 2 id: 320 unit: async function getAdminSubscriber() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/emails/actions.tsx start line: 50 end line: 65 size: 14 LOC McCabe index: 4 number of parameters: 0 id: 321 unit: export async function lookupFxaUid() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/dev/actions.tsx start line: 21 end line: 35 size: 14 LOC McCabe index: 5 number of parameters: 1 id: 322 unit: function moveToNextAvailableStep() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/removal-under-maintenance/RemovalUnderMaintenanceView.tsx start line: 56 end line: 72 size: 14 LOC McCabe index: 2 number of parameters: 0 id: 323 unit: async function resolve() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/manual-remove/RemovalCard.tsx start line: 32 end line: 48 size: 14 LOC McCabe index: 2 number of parameters: 0 id: 324 unit: CONST_ONEREP_MAX_SCANS_THRESHOLD ?() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/DashboardTopBanner/DashboardTopBannerContent.tsx start line: 231 end line: 244 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 325 unit: export async function GET() file: src/app/api/v1/admin/qa-customs/onerep/route.ts start line: 51 end line: 69 size: 14 LOC McCabe index: 7 number of parameters: 0 id: 326 unit: function getStringAliases() file: src/scripts/build/nimbusTypes.js start line: 194 end line: 208 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 327 unit: environment: getEnvironment() file: instrumentation-client.ts start line: 12 end line: 35 size: 13 LOC McCabe index: 3 number of parameters: 0 id: 328 unit: export async function disableFeatureFlagByName() file: src/db/tables/featureFlags.ts start line: 254 end line: 272 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 329 unit: async function _getSha1EntryAndDo() file: src/db/tables/emailAddresses.ts start line: 146 end line: 160 size: 13 LOC McCabe index: 5 number of parameters: 2 id: 330 unit: await knex() file: src/db/tables/onerep_scans.ts start line: 386 end line: 402 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 331 unit: export async function up() file: src/db/migrations/20250115032133_subscriber_churns.js start line: 9 end line: 21 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 332 unit: function() file: src/db/migrations/20240822032133_subscriber_email_preferences.js start line: 12 end line: 24 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 333 unit: eligible: isEligibleForStep() file: src/app/functions/server/getRelevantGuidedSteps.ts start line: 135 end line: 151 size: 13 LOC McCabe index: 3 number of parameters: 3 id: 334 unit: function isBreachResolved() file: src/app/functions/server/getRelevantGuidedSteps.ts start line: 298 end line: 310 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 335 unit: export function sanitizeEmailRow() file: src/app/functions/server/sanitize.ts start line: 27 end line: 43 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 336 unit: onOpenChange() file: src/app/components/client/toolbar/UpsellBadge.tsx start line: 96 end line: 108 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 337 unit: user: createUserWithPremiumSubscription() file: src/app/components/client/stories/CsatSurvey.stories.ts start line: 22 end line: 35 size: 13 LOC McCabe index: 1 number of parameters: 0 id: 338 unit: export function useInterval() file: src/app/hooks/useInterval.ts start line: 11 end line: 32 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 339 unit: void getSha1() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/prod/UserAdminProduction.tsx start line: 73 end line: 85 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 340 unit: void fetch() file: src/app/(proper_react)/(redesign)/(authenticated)/user/welcome/FindExposures.tsx start line: 111 end line: 123 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 341 unit: export async function onCheckUserHasCurrentCouponSet() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/settings/actions.ts start line: 255 end line: 268 size: 13 LOC McCabe index: 2 number of parameters: 0 id: 342 unit: void fetch() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/settings/panels/SettingsPanelEditInfoRedesign.tsx start line: 79 end line: 91 size: 13 LOC McCabe index: 2 number of parameters: 7 id: 343 unit: export async function POST() file: src/app/api/v1/location-autocomplete/route.ts start line: 57 end line: 71 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 344 unit: export async function GET() file: src/app/api/v1/accounts-metrics-flow/route.ts start line: 37 end line: 49 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 345 unit: function contentSignatureValid() file: src/app/api/v1/onerep-events/route.ts start line: 96 end line: 110 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 346 unit: function writeFromRemoteFile() file: src/scripts/build/uploadAutoCompleteLocations.js start line: 84 end line: 96 size: 13 LOC McCabe index: 1 number of parameters: 2 id: 347 unit: maskAllText: getEnvironment() file: instrumentation-client.ts start line: 33 end line: 53 size: 12 LOC McCabe index: 4 number of parameters: 0 id: 348 unit: export async function initEmail() file: src/utils/email.ts start line: 18 end line: 31 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 349 unit: async function checkCouponForSubscriber() file: src/db/tables/subscriber_coupons.ts start line: 10 end line: 21 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 350 unit: async function addClientIdForSubscriber() file: src/db/tables/google_analytics_clients.ts start line: 10 end line: 29 size: 12 LOC McCabe index: 1 number of parameters: 5 id: 351 unit: async function addQaCustomBroker() file: src/db/tables/qa_customs.ts start line: 118 end line: 137 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 352 unit: async function getAllSubscriberChurns() file: src/db/tables/subscriber_churns.ts start line: 48 end line: 60 size: 12 LOC McCabe index: 2 number of parameters: 0 id: 353 unit: async function getSubscriberById() file: src/db/tables/subscribers.ts start line: 28 end line: 39 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 354 unit: async function getSubscriberByFxaUid() file: src/db/tables/subscribers.ts start line: 44 end line: 55 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 355 unit: async function deleteResolutionsWithEmail() file: src/db/tables/subscribers.ts start line: 323 end line: 337 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 356 unit: async function joinEmailAddressesToSubscriber() file: src/db/tables/subscribers.ts start line: 579 end line: 590 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 357 unit: async function updateAttribution() file: src/db/tables/attributions.ts start line: 94 end line: 110 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 358 unit: async function getLatestOnerepScan() file: src/db/tables/onerep_scans.ts start line: 150 end line: 163 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 359 unit: async function setOnerepScan() file: src/db/tables/onerep_scans.ts start line: 218 end line: 239 size: 12 LOC McCabe index: 1 number of parameters: 4 id: 360 unit: async function deleteScanResultsForProfile() file: src/db/tables/onerep_scans.ts start line: 383 end line: 394 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 361 unit: export async function markAnnouncementAsCleared() file: src/db/tables/user_announcements.ts start line: 38 end line: 49 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 362 unit: export async function up() file: src/db/migrations/20250306124510_migrate_profile_detail_addresses_in_onerep_profiles_table.js start line: 9 end line: 20 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 363 unit: export async function up() file: src/db/migrations/20230711034311_remove_temp_migration_col.js start line: 9 end line: 21 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 364 unit: export function register() file: src/instrumentation.ts start line: 7 end line: 22 size: 12 LOC McCabe index: 3 number of parameters: 0 id: 365 unit: function isUnresolvedDataBreachClass() file: src/app/functions/universal/guidedExperienceBreaches.ts start line: 9 end line: 20 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 366 unit: completed: hasCompletedStep() file: src/app/functions/server/getRelevantGuidedSteps.ts start line: 136 end line: 151 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 367 unit: document_id: uuidv4() file: src/app/functions/server/glean.ts start line: 43 end line: 59 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 368 unit: async function getDataBrokerScanProfile() file: src/app/functions/server/getDataBrokerScanProfile.ts start line: 9 end line: 22 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 369 unit: function Menu() file: src/app/components/client/toolbar/UserMenu.tsx start line: 235 end line: 248 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 370 unit: export async function triggerVerificationEmail() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/emails/actions.tsx start line: 121 end line: 139 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 371 unit: countryCode: getCountryCode() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/emails/actions.tsx start line: 206 end line: 224 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 372 unit: dataKey as() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/dev/UserAdmin.tsx start line: 73 end line: 84 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 373 unit: await updatePasswordsBreachStatus() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/leaked-passwords/LeakedPasswordsLayout.tsx start line: 142 end line: 155 size: 12 LOC McCabe index: 2 number of parameters: 3 id: 374 unit: function convertFxaProfile() file: src/app/api/utils/auth.tsx start line: 316 end line: 327 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 375 unit: export function mockOnerepObjectMeta() file: src/app/api/mock/onerep/config/config.ts start line: 124 end line: 135 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 376 unit: export function GET() file: src/app/api/v1/premium/route.ts start line: 8 end line: 24 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 377 unit: export async function GET() file: src/app/api/v1/admin/qa-customs/hibp/route.ts start line: 75 end line: 89 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 378 unit: function checkGithubTokenPermissions() file: src/scripts/build/checkGithubActionsBestPractices.js start line: 93 end line: 104 size: 12 LOC McCabe index: 5 number of parameters: 2 id: 379 unit: l10n: getL10n() file: src/emails/components/RedesignedEmailFooter.stories.tsx start line: 29 end line: 43 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 380 unit: blockAllMedia: getEnvironment() file: instrumentation-client.ts start line: 34 end line: 53 size: 11 LOC McCabe index: 4 number of parameters: 0 id: 381 unit: function addRecencyIndex() file: src/utils/breaches.ts start line: 102 end line: 114 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 382 unit: await getBreachesForEmail() file: src/utils/subscriberBreaches.ts start line: 99 end line: 111 size: 11 LOC McCabe index: 5 number of parameters: 4 id: 383 unit: await knex() file: src/db/tables/onerep_profiles.ts start line: 32 end line: 46 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 384 unit: async function deleteSubscriberChurns() file: src/db/tables/subscriber_churns.ts start line: 36 end line: 46 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 385 unit: async function _verifySubscriber() file: src/db/tables/emailAddresses.ts start line: 274 end line: 288 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 386 unit: async function _verifyNewEmail() file: src/db/tables/emailAddresses.ts start line: 299 end line: 313 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 387 unit: async function getLatestScanForProfileByReason() file: src/db/tables/onerep_scans.ts start line: 51 end line: 62 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 388 unit: await knex() file: src/db/tables/onerep_scans.ts start line: 287 end line: 329 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 389 unit: async function getScansCountForProfile() file: src/db/tables/onerep_scans.ts start line: 359 end line: 369 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 390 unit: async function getEmailForProfile() file: src/db/tables/onerep_scans.ts start line: 435 end line: 446 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 391 unit: export async function up() file: src/db/migrations/20231220015816_onerep_stats.js start line: 9 end line: 19 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 392 unit: export function down() file: src/db/migrations/20190328111900_add_email_addresses_table.js start line: 33 end line: 44 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 393 unit: export async function up() file: src/db/migrations/20220607154058_rollback-data-removal-pilot.js start line: 9 end line: 20 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 394 unit: export async function down() file: src/db/migrations/20250306124316_add_profile_details_to_onerep_profiles_table.js start line: 35 end line: 45 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 395 unit: export function isBreachResolved() file: src/app/functions/universal/breach.ts start line: 60 end line: 70 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 396 unit: function getStepWithStatus() file: src/app/functions/server/getRelevantGuidedSteps.ts start line: 128 end line: 138 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 397 unit: user: createUserWithPremiumSubscription() file: src/app/components/client/stories/CsatSurvey.stories.ts start line: 37 end line: 47 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 398 unit: async function sendCreateRequest() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/feature-flags/components/FlagEditor.tsx start line: 241 end line: 251 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 399 unit: onOpenChange() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/settings/EmailAddressAdder.tsx start line: 41 end line: 51 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 400 unit: onOpenChange() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/settings/EmailAddressAdderRedesign.tsx start line: 43 end line: 53 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 401 unit: onOpenChange() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/settings/panels/SettingsPanelEditProfile/EditProfileCancelDialog.tsx start line: 32 end line: 42 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 402 unit: export function PUT() file: src/app/api/mock/hibp/config/route.ts start line: 19 end line: 41 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 403 unit: export async function GET() file: src/app/api/v1/stats/route.ts start line: 12 end line: 51 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 404 unit: async function fetchRemoteArchive() file: src/scripts/build/uploadAutoCompleteLocations.js start line: 107 end line: 128 size: 11 LOC McCabe index: 2 number of parameters: 4 id: 405 unit: await getTypeMap() file: src/scripts/build/gleanTypes.js start line: 34 end line: 45 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 406 unit: async function getTypeMap() file: src/scripts/build/gleanTypes.js start line: 81 end line: 91 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 407 unit: export async function poll() file: src/scripts/cronjobs/emailBreachAlerts.tsx start line: 84 end line: 94 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 408 unit: async function postNewBreachToBreachesCollection() file: src/scripts/cronjobs/updateBreachesInRemoteSettings.ts start line: 89 end line: 100 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 409 unit: async function requestReviewOnBreachesCollection() file: src/scripts/cronjobs/updateBreachesInRemoteSettings.ts start line: 102 end line: 112 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 410 unit: debug: getEnvironment() file: instrumentation-client.ts start line: 19 end line: 35 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 411 unit: export function parseIso8601Datetime() file: src/utils/parse.ts start line: 36 end line: 52 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 412 unit: function getFilteredBreaches() file: src/utils/hibp.ts start line: 319 end line: 328 size: 10 LOC McCabe index: 5 number of parameters: 1 id: 413 unit: function getBreachByName() file: src/utils/hibp.ts start line: 422 end line: 432 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 414 unit: function formatDate() file: src/utils/formatDate.ts start line: 8 end line: 20 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 415 unit: export async function addFeatureFlag() file: src/db/tables/featureFlags.ts start line: 165 end line: 182 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 416 unit: export async function updateProfileDetails() file: src/db/tables/onerep_profiles.ts start line: 56 end line: 75 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 417 unit: async function isSubscriberPlus() file: src/db/tables/subscribers.ts start line: 642 end line: 652 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 418 unit: async function verifyEmailHash() file: src/db/tables/emailAddresses.ts start line: 129 end line: 138 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 419 unit: export async function getAnnouncementsByAnnouncementsId() file: src/db/tables/announcements.ts start line: 39 end line: 49 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 420 unit: export async function addOnerepStats() file: src/db/tables/stats.ts start line: 13 end line: 22 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 421 unit: async function getScansCount() file: src/db/tables/onerep_scans.ts start line: 345 end line: 354 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 422 unit: export async function up() file: src/db/migrations/20241105115743_add_data_brokers.js start line: 9 end line: 18 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 423 unit: export async function up() file: src/db/migrations/20231102024624_add_unique_index_to_scan_results_id.js start line: 9 end line: 19 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 424 unit: export function up() file: src/db/migrations/20240715110621_qa_custom_toggles.js start line: 9 end line: 18 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 425 unit: export async function up() file: src/db/migrations/20240111101826_subscriber_email_cascade_delete.js start line: 9 end line: 18 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 426 unit: function getBundle() file: src/app/functions/l10n/index.ts start line: 119 end line: 128 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 427 unit: export function getSubscriptionBillingAmount() file: src/app/functions/server/getPremiumSubscriptionInfo.ts start line: 44 end line: 53 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 428 unit: await updateProfileDetails() file: src/app/functions/server/updateDataBrokerScanProfile.ts start line: 122 end line: 131 size: 10 LOC McCabe index: 1 number of parameters: 10 id: 429 unit: function Tab() file: src/app/components/client/TabList.tsx start line: 39 end line: 49 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 430 unit: function TabPanel() file: src/app/components/client/TabList.tsx start line: 72 end line: 82 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 431 unit: export default function robots() file: src/app/robots.ts start line: 7 end line: 16 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 432 unit: l10n: getL10n() file: src/app/(proper_react)/(redesign)/Shell/Shell.stories.ts start line: 34 end line: 45 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 433 unit: export function NoResults() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/removals/Removals.tsx start line: 106 end line: 115 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 434 unit: await getBreaches() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/emails/actions.tsx start line: 105 end line: 114 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 435 unit: isRelevantGuidedStep: isGuidedResolutionInProgress() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/getUserDashboardState.tsx start line: 90 end line: 99 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 436 unit: isRelevantGuidedStep: isGuidedResolutionInProgress() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/getUserDashboardState.tsx start line: 241 end line: 256 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 437 unit: isRelevantGuidedStep: isGuidedResolutionInProgress() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/getUserDashboardState.tsx start line: 257 end line: 266 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 438 unit: isRelevantGuidedStep: isGuidedResolutionInProgress() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/getUserDashboardState.tsx start line: 315 end line: 330 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 439 unit: isRelevantGuidedStep: isGuidedResolutionInProgress() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/getUserDashboardState.tsx start line: 486 end line: 495 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 440 unit: await updateDataBrokerScanProfile() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/settings/actions.ts start line: 310 end line: 319 size: 10 LOC McCabe index: 1 number of parameters: 10 id: 441 unit: onAddEmail: fn() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/settings/stories/SettingsStoryWrapper.tsx start line: 44 end line: 54 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 442 unit: await getScansCount() file: src/app/api/v1/stats/route.ts start line: 32 end line: 48 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 443 unit: error ? reject() file: src/scripts/build/uploadAutoCompleteLocations.js start line: 125 end line: 137 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 444 unit: async function run() file: src/scripts/build/checkGithubActionsBestPractices.js start line: 18 end line: 27 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 445 unit: async function checkWorkflow() file: src/scripts/build/checkGithubActionsBestPractices.js start line: 52 end line: 62 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 446 unit: await sendEmail() file: src/scripts/cronjobs/firstDataBrokerRemovalFixed.tsx start line: 134 end line: 143 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 447 unit: utmCampaign: setUtmCampaign() file: src/emails/templates/monthlyActivityFree/MonthlyActivityFreeEmail.tsx start line: 64 end line: 74 size: 10 LOC McCabe index: 1 number of parameters: 4 id: 448 unit: function _addStandardOptions() file: src/utils/hibp.ts start line: 42 end line: 50 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 449 unit: async function hibpApiFetch() file: src/utils/hibp.ts start line: 103 end line: 111 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 450 unit: function formatDataClassesArray() file: src/utils/hibp.ts start line: 168 end line: 179 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 451 unit: async function subscribeHash() file: src/utils/hibp.ts start line: 450 end line: 459 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 452 unit: export function validateEmailAddress() file: src/utils/emailAddress.ts start line: 13 end line: 21 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 453 unit: isResolved: isBreachResolved() file: src/utils/subscriberBreaches.ts start line: 150 end line: 160 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 454 unit: async function markQaCustomBrokerAsResolved() file: src/db/tables/qa_customs.ts start line: 185 end line: 193 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 455 unit: export async function getAllAnnouncements() file: src/db/tables/announcements.ts start line: 10 end line: 18 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 456 unit: async function getScanResults() file: src/db/tables/onerep_scans.ts start line: 67 end line: 76 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 457 unit: async function setOnerepScanResultManualResolution() file: src/db/tables/onerep_scans.ts start line: 325 end line: 340 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 458 unit: export async function down() file: src/db/migrations/20230907143204_add_onerep_scanresults_table.js start line: 101 end line: 109 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 459 unit: export function up() file: src/db/migrations/20220103145534_initial_removal_pilot_group.js start line: 9 end line: 18 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 460 unit: export function up() file: src/db/migrations/20180418090800_initial_schema.js start line: 9 end line: 17 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 461 unit: export async function up() file: src/db/migrations/20230921132056_add_status_column.js start line: 9 end line: 18 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 462 unit: availableLocales: readdirSync() file: src/app/functions/l10n/cronjobs.ts start line: 34 end line: 47 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 463 unit: export function getLocale() file: src/app/functions/universal/getLocale.ts start line: 8 end line: 19 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 464 unit: export function isPrePlusUser() file: src/app/functions/server/isPrePlusUser.ts start line: 18 end line: 27 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 465 unit: await getLatestAttributionForSubscriberWithType() file: src/app/functions/server/attributions.ts start line: 46 end line: 54 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 466 unit: export function FallbackLogo() file: src/app/components/server/BreachLogo.tsx start line: 42 end line: 51 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 467 unit: function formatList() file: src/app/(proper_react)/(redesign)/(public)/breaches/BreachIndexView.tsx start line: 153 end line: 162 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 468 unit: void handleDeleteAnnouncement() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/announcements/AnnouncementsAdmin.tsx start line: 370 end line: 378 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 469 unit: page: parseInt() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/removals/page.tsx start line: 30 end line: 39 size: 9 LOC McCabe index: 4 number of parameters: 1 id: 470 unit: void performAction() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/dev/UserAdmin.tsx start line: 352 end line: 360 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 471 unit: void performAction() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/dev/UserAdmin.tsx start line: 361 end line: 369 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 472 unit: void performAction() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/dev/UserAdmin.tsx start line: 370 end line: 378 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 473 unit: await getAcceptLangHeaderInServerComponents() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/layout.tsx start line: 24 end line: 33 size: 9 LOC McCabe index: 3 number of parameters: 0 id: 474 unit: onRemoveEmail: fn() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/settings/stories/SettingsStoryWrapper.tsx start line: 45 end line: 54 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 475 unit: void fetch() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/settings/panels/SettingsPanelEditInfo.tsx start line: 84 end line: 92 size: 9 LOC McCabe index: 1 number of parameters: 7 id: 476 unit: export function PUT() file: src/app/api/mock/onerep/config/route.ts start line: 19 end line: 42 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 477 unit: await deleteResolutionsWithEmail() file: src/app/api/v1/user/remove-email/route.ts start line: 50 end line: 58 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 478 unit: function isValidBreach() file: src/scripts/cronjobs/syncBreaches.ts start line: 145 end line: 153 size: 9 LOC McCabe index: 5 number of parameters: 1 id: 479 unit: l10n: getL10n() file: src/emails/components/EmailFooter.stories.tsx start line: 23 end line: 33 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 480 unit: l10n: getL10n() file: src/emails/components/EmailHero.stories.tsx start line: 23 end line: 33 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 481 unit: breach: createRandomHibpListing() file: src/emails/templates/breachAlert/BreachAlertEmail.stories.tsx start line: 43 end line: 51 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 482 unit: breach: createRandomHibpListing() file: src/emails/templates/breachAlert/BreachAlertEmail.stories.tsx start line: 87 end line: 95 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 483 unit: breach: createRandomHibpListing() file: src/emails/templates/breachAlert/BreachAlertEmail.stories.tsx start line: 102 end line: 110 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 484 unit: export async function renderEmail() file: src/emails/renderEmail.ts start line: 9 end line: 25 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 485 unit: export async function getFeatureFlagData() file: src/db/tables/featureFlags.ts start line: 139 end line: 146 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 486 unit: await knex() file: src/db/tables/google_analytics_clients.ts start line: 17 end line: 24 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 487 unit: async function getClientIdForSubscriber() file: src/db/tables/google_analytics_clients.ts start line: 31 end line: 39 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 488 unit: await knex() file: src/db/tables/qa_customs.ts start line: 165 end line: 176 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 489 unit: await knex() file: src/db/tables/qa_customs.ts start line: 200 end line: 207 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 490 unit: async function getSubscriberByOnerepProfileId() file: src/db/tables/subscribers.ts start line: 60 end line: 67 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 491 unit: async function incrementSignInCountForEligibleFreeUser() file: src/db/tables/subscribers.ts start line: 609 end line: 616 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 492 unit: async function getEmailByToken() file: src/db/tables/emailAddresses.ts start line: 24 end line: 32 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 493 unit: async function getAllScansForProfile() file: src/db/tables/onerep_scans.ts start line: 38 end line: 46 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 494 unit: await knex() file: src/db/tables/onerep_scans.ts start line: 224 end line: 233 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 495 unit: export async function down() file: src/db/migrations/20250306124510_migrate_profile_detail_addresses_in_onerep_profiles_table.js start line: 26 end line: 33 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 496 unit: export async function down() file: src/db/migrations/20250225111207_add_feature_flag_events.js start line: 78 end line: 93 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 497 unit: await knex() file: src/db/migrations/20250225111207_add_feature_flag_events.js start line: 80 end line: 87 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 498 unit: export async function down() file: src/db/migrations/20230711034311_remove_temp_migration_col.js start line: 27 end line: 35 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 499 unit: export function up() file: src/db/migrations/20240408161125_add_monthly_report_column.js start line: 9 end line: 16 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 500 unit: export function down() file: src/db/migrations/20240408161125_add_monthly_report_column.js start line: 22 end line: 29 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 501 unit: export async function up() file: src/db/migrations/20250204102945_add_last_optout_at.js start line: 9 end line: 16 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 502 unit: export async function down() file: src/db/migrations/20250204102945_add_last_optout_at.js start line: 22 end line: 29 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 503 unit: export function down() file: src/db/migrations/20200708123351_add-subscribers-breaches_last_shown-index.js start line: 19 end line: 26 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 504 unit: export async function down() file: src/db/migrations/20240111101826_subscriber_email_cascade_delete.js start line: 24 end line: 31 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 505 unit: export function meetsAgeRequirement() file: src/app/functions/universal/user.ts start line: 42 end line: 50 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 506 unit: export function getGuidedStepStatuses() file: src/app/functions/server/getRelevantGuidedSteps.ts start line: 119 end line: 126 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 507 unit: relay: useRef() file: src/app/components/client/toolbar/AppPicker.tsx start line: 98 end line: 108 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 508 unit: CONST_ONEREP_MAX_SCANS_THRESHOLD ?() file: src/app/components/client/Chart.tsx start line: 162 end line: 169 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 509 unit: await getAcceptLangHeaderInServerComponents() file: src/app/(proper_react)/layout.tsx start line: 26 end line: 33 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 510 unit: await addClientIdForSubscriber() file: src/app/(proper_react)/layout.tsx start line: 51 end line: 58 size: 8 LOC McCabe index: 2 number of parameters: 3 id: 511 unit: l10n: getL10n() file: src/app/(proper_react)/(redesign)/(public)/breach-details/[breachName]/BreachDetailView.stories.tsx start line: 31 end line: 40 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 512 unit: days: parseInt() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/removals/page.tsx start line: 31 end line: 39 size: 8 LOC McCabe index: 4 number of parameters: 1 id: 513 unit: export async function upsertAllChurns() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/churn-subscribers/actions.tsx start line: 31 end line: 38 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 514 unit: onDeleteAccount: fn() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/settings/stories/SettingsStoryWrapper.tsx start line: 46 end line: 54 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 515 unit: request: async() file: src/app/api/utils/auth.tsx start line: 62 end line: 69 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 516 unit: export function isTestEmail() file: src/app/api/utils/mockUtils.ts start line: 33 end line: 40 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 517 unit: export function internalServerError() file: src/app/api/utils/errorThrower.ts start line: 41 end line: 48 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 518 unit: first_name: mockOnerepFirstName() file: src/app/api/mock/onerep/profiles/[profileId]/route.ts start line: 34 end line: 41 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 519 unit: await sendMonthlyActivityEmail() file: src/scripts/cronjobs/monthlyActivityFree.tsx start line: 68 end line: 75 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 520 unit: async function init() file: src/scripts/cronjobs/emailBreachAlerts.tsx start line: 405 end line: 416 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 521 unit: export function sumSanitizedDataPoints() file: src/emails/functions/reduceSanitizedDataPoints.ts start line: 6 end line: 13 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 522 unit: export function getSignupLocaleCountry() file: src/emails/functions/getSignupLocaleCountry.ts start line: 9 end line: 25 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 523 unit: l10n: getL10n() file: src/emails/templates/breachAlert/BreachAlertEmail.stories.tsx start line: 26 end line: 33 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 524 unit: l10n: getL10n() file: src/emails/templates/monthlyActivityPlus/MonthlyActivityPlusEmail.stories.tsx start line: 25 end line: 34 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 525 unit: l10n: getL10n() file: src/emails/templates/firstDataBrokerRemovalFixed/FirstDataBrokerRemovalFixed.stories.tsx start line: 22 end line: 31 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 526 unit: l10n: getL10n() file: src/emails/templates/signupReport/SignupReportEmail.stories.tsx start line: 20 end line: 29 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 527 unit: await bundleVerifiedEmails() file: src/utils/breaches.ts start line: 63 end line: 69 size: 7 LOC McCabe index: 1 number of parameters: 6 id: 528 unit: await bundleVerifiedEmails() file: src/utils/breaches.ts start line: 74 end line: 80 size: 7 LOC McCabe index: 1 number of parameters: 6 id: 529 unit: function hasEmailAddressAttached() file: src/utils/hibp.ts start line: 462 end line: 468 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 530 unit: modifiedDate: normalizeDate() file: src/utils/subscriberBreaches.ts start line: 152 end line: 160 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 531 unit: export function truncateDescription() file: src/utils/truncate.ts start line: 6 end line: 14 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 532 unit: function getRedisConfiguration() file: src/db/redis/util.ts start line: 9 end line: 15 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 533 unit: async function getAllBreachesCount() file: src/db/tables/breaches.ts start line: 23 end line: 30 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 534 unit: date_of_birth: parseIso8601Datetime() file: src/db/tables/onerep_profiles.ts start line: 41 end line: 50 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 535 unit: await knex() file: src/db/tables/qa_customs.ts start line: 122 end line: 128 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 536 unit: export async function deleteAnnouncements() file: src/db/tables/announcements.ts start line: 51 end line: 58 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 537 unit: async function getAttributionsForSubscriber() file: src/db/tables/attributions.ts start line: 11 end line: 17 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 538 unit: await knex() file: src/db/tables/onerep_scans.ts start line: 364 end line: 374 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 539 unit: await knex() file: src/db/tables/onerep_scans.ts start line: 375 end line: 385 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 540 unit: await knex() file: src/db/tables/onerep_scans.ts start line: 416 end line: 423 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 541 unit: export async function up() file: src/db/migrations/20250430104448_add_feature_flag_events_primary_key.js start line: 9 end line: 15 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 542 unit: export function up() file: src/db/migrations/20250214170135_add_data_broker_id_and_id_column_and_drop_onerep_profile_id_in_qa_custom_brokers.js start line: 9 end line: 15 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 543 unit: export function down() file: src/db/migrations/20250214170135_add_data_broker_id_and_id_column_and_drop_onerep_profile_id_in_qa_custom_brokers.js start line: 21 end line: 27 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 544 unit: export function up() file: src/db/migrations/20211001135448_removal_pilot_table.js start line: 9 end line: 15 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 545 unit: export function up() file: src/db/migrations/20250113145507_new_broker_status_table.js start line: 9 end line: 15 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 546 unit: export function down() file: src/db/migrations/20250113145507_new_broker_status_table.js start line: 21 end line: 27 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 547 unit: export async function up() file: src/db/migrations/20250313150127_rename-notification-to-announcement.js start line: 9 end line: 15 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 548 unit: export async function down() file: src/db/migrations/20250313150127_rename-notification-to-announcement.js start line: 21 end line: 27 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 549 unit: export async function down() file: src/db/migrations/20250317184212_add-user-announcements-table.js start line: 44 end line: 50 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 550 unit: function getRootDir() file: src/app/functions/l10n/cronjobs.ts start line: 69 end line: 75 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 551 unit: export function deleteAllCookies() file: src/app/functions/client/deleteAllCookies.ts start line: 5 end line: 11 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 552 unit: export function getFreeScanSearchParams() file: src/app/functions/universal/getFreeScanSearchParams.ts start line: 34 end line: 40 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 553 unit: export async function listScanResults() file: src/app/functions/server/onerep.ts start line: 400 end line: 406 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 554 unit: export async function getAllScanResults() file: src/app/functions/server/onerep.ts start line: 491 end line: 497 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 555 unit: pocket: useRef() file: src/app/components/client/toolbar/AppPicker.tsx start line: 99 end line: 108 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 556 unit: function getLocationStringByKey() file: src/app/components/client/LocationAutocompleteInput.tsx start line: 28 end line: 37 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 557 unit: export function useHasRenderedClientSide() file: src/app/hooks/useHasRenderedClientSide.tsx start line: 25 end line: 33 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 558 unit: function wasAddedMoreThan90DaysAfterBreach() file: src/app/(proper_react)/(redesign)/(public)/breach-details/[breachName]/BreachDetailView.tsx start line: 391 end line: 397 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 559 unit: perPage: parseInt() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/removals/page.tsx start line: 32 end line: 39 size: 7 LOC McCabe index: 4 number of parameters: 1 id: 560 unit: export async function triggerSignupReportEmail() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/emails/actions.tsx start line: 95 end line: 119 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 561 unit: await send() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/emails/actions.tsx start line: 108 end line: 114 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 562 unit: await updateOnerepProfile() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/dev/UserAdmin.tsx start line: 254 end line: 260 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 563 unit: locale: getLocale() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/settings/[[...slug]]/page.tsx start line: 123 end line: 131 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 564 unit: onApplyCouponCode: fn() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/settings/stories/SettingsStoryWrapper.tsx start line: 47 end line: 54 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 565 unit: function SettingsPanel() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/settings/panels/index.tsx start line: 60 end line: 66 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 566 unit: defaultValue: commsValue() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/settings/panels/SettingsPanelNotifications.tsx start line: 81 end line: 96 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 567 unit: void fetch() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/settings/panels/SettingsPanelNotifications.tsx start line: 87 end line: 95 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 568 unit: void fetch() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/settings/panels/SettingsPanelNotifications.tsx start line: 110 end line: 116 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 569 unit: export default async function Layout() file: src/app/(proper_react)/(redesign)/(authenticated)/layout.tsx start line: 9 end line: 17 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 570 unit: export function mockOnerepAddresses() file: src/app/api/mock/onerep/config/config.ts start line: 115 end line: 122 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 571 unit: last_name: mockOnerepLastName() file: src/app/api/mock/onerep/profiles/[profileId]/route.ts start line: 35 end line: 41 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 572 unit: await updateEmailPreferenceForSubscriber() file: src/app/api/v1/user/update-comm-option/route.ts start line: 62 end line: 69 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 573 unit: await updatePrimaryEmail() file: src/app/api/v1/fxa-rp-events/route.ts start line: 216 end line: 222 size: 7 LOC McCabe index: 4 number of parameters: 2 id: 574 unit: await addEmailNotification() file: src/scripts/cronjobs/emailBreachAlerts.tsx start line: 259 end line: 265 size: 7 LOC McCabe index: 1 number of parameters: 6 id: 575 unit: await renderEmail() file: src/scripts/cronjobs/firstDataBrokerRemovalFixed.tsx start line: 137 end line: 143 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 576 unit: export function closeEmailPool() file: src/utils/email.ts start line: 34 end line: 42 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 577 unit: constructor() file: src/utils/error.ts start line: 18 end line: 25 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 578 unit: constructor() file: src/utils/error.ts start line: 31 end line: 38 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 579 unit: constructor() file: src/utils/error.ts start line: 44 end line: 51 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 580 unit: constructor() file: src/utils/error.ts start line: 57 end line: 64 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 581 unit: constructor() file: src/utils/error.ts start line: 69 end line: 76 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 582 unit: constructor() file: src/utils/error.ts start line: 82 end line: 89 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 583 unit: function normalizeDate() file: src/utils/subscriberBreaches.ts start line: 205 end line: 212 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 584 unit: await knex() file: src/db/tables/featureFlags.ts start line: 169 end line: 174 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 585 unit: await knex() file: src/db/tables/featureFlags.ts start line: 210 end line: 215 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 586 unit: await knex() file: src/db/tables/featureFlags.ts start line: 239 end line: 244 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 587 unit: await knex() file: src/db/tables/featureFlags.ts start line: 266 end line: 271 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 588 unit: export function isFeatureFlagAdminOnly() file: src/db/tables/featureFlags.ts start line: 274 end line: 279 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 589 unit: export async function getProfileDetails() file: src/db/tables/onerep_profiles.ts start line: 49 end line: 54 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 590 unit: await trx() file: src/db/tables/onerep_profiles.ts start line: 64 end line: 72 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 591 unit: async function deleteQaCustomBreach() file: src/db/tables/qa_customs.ts start line: 231 end line: 236 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 592 unit: async function upsertDataBrokers() file: src/db/tables/onerep_data_brokers.ts start line: 11 end line: 16 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 593 unit: await knex() file: src/db/tables/subscribers.ts start line: 97 end line: 104 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 594 unit: async function getFxATokens() file: src/db/tables/subscribers.ts start line: 197 end line: 202 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 595 unit: async function updateFxAProfileData() file: src/db/tables/subscribers.ts start line: 210 end line: 221 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 596 unit: async function setBreachResolution() file: src/db/tables/subscribers.ts start line: 269 end line: 280 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 597 unit: async function deleteSubscriber() file: src/db/tables/subscribers.ts start line: 307 end line: 318 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 598 unit: async function getOnerepProfileId() file: src/db/tables/subscribers.ts start line: 565 end line: 570 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 599 unit: async function deleteOnerepProfileId() file: src/db/tables/subscribers.ts start line: 596 end line: 603 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 600 unit: async function getSignInCount() file: src/db/tables/subscribers.ts start line: 622 end line: 627 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 601 unit: async function getUserEmails() file: src/db/tables/emailAddresses.ts start line: 318 end line: 324 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 602 unit: async function removeOneSecondaryEmail() file: src/db/tables/emailAddresses.ts start line: 329 end line: 334 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 603 unit: await knex() file: src/db/tables/emailAddresses.ts start line: 330 end line: 339 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 604 unit: async function getEmailAddressesByHashes() file: src/db/tables/emailAddresses.ts start line: 339 end line: 344 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 605 unit: await knex() file: src/db/tables/subscriber_email_preferences.ts start line: 137 end line: 144 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 606 unit: await knex() file: src/db/tables/subscriber_email_preferences.ts start line: 156 end line: 163 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 607 unit: await knex() file: src/db/tables/subscriber_email_preferences.ts start line: 292 end line: 299 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 608 unit: await knex() file: src/db/tables/onerep_scans.ts start line: 207 end line: 212 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 609 unit: export function up() file: src/db/migrations/20230322233844_add-db-migration-processing.js start line: 9 end line: 14 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 610 unit: export function down() file: src/db/migrations/20230322233844_add-db-migration-processing.js start line: 20 end line: 25 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 611 unit: export function up() file: src/db/migrations/20250109140803_add_churn_prevention_email_sent.js start line: 9 end line: 14 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 612 unit: export function down() file: src/db/migrations/20250109140803_add_churn_prevention_email_sent.js start line: 20 end line: 25 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 613 unit: export function up() file: src/db/migrations/20240601114803_add_first_broker_removal_email_sent.js start line: 9 end line: 14 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 614 unit: export function down() file: src/db/migrations/20240601114803_add_first_broker_removal_email_sent.js start line: 20 end line: 25 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 615 unit: await knex() file: src/db/migrations/20230907143204_add_onerep_scanresults_table.js start line: 16 end line: 22 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 616 unit: export function up() file: src/db/migrations/20211001120114_user_enroll_and_pay_null.js start line: 9 end line: 14 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 617 unit: export function down() file: src/db/migrations/20211001120114_user_enroll_and_pay_null.js start line: 20 end line: 25 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 618 unit: export function up() file: src/db/migrations/20181227100332_add_fxa_columns.js start line: 9 end line: 14 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 619 unit: export function down() file: src/db/migrations/20181227100332_add_fxa_columns.js start line: 20 end line: 25 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 620 unit: export function up() file: src/db/migrations/20240423150332_add_suffix_and_middle_name_to_onerep_profile_table.js start line: 9 end line: 20 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 621 unit: export function down() file: src/db/migrations/20240423150332_add_suffix_and_middle_name_to_onerep_profile_table.js start line: 26 end line: 31 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 622 unit: export function mockedOneRepScanResults() file: src/apiMocks/mockData.ts start line: 33 end line: 38 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 623 unit: export function gaEvent() file: src/app/functions/client/gaEvent.ts start line: 6 end line: 13 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 624 unit: export function hasPremium() file: src/app/functions/universal/user.ts start line: 9 end line: 21 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 625 unit: export function canSubscribeToPremium() file: src/app/functions/universal/user.ts start line: 24 end line: 29 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 626 unit: export function isEligibleForPremium() file: src/app/functions/universal/premium.ts start line: 5 end line: 15 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 627 unit: export function isGuidedResolutionInProgress() file: src/app/functions/server/getRelevantGuidedSteps.ts start line: 77 end line: 82 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 628 unit: fxDesktop: useRef() file: src/app/components/client/toolbar/AppPicker.tsx start line: 100 end line: 108 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 629 unit: export function getDetailsFromLocationString() file: src/app/components/client/LocationAutocompleteInput.tsx start line: 16 end line: 21 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 630 unit: export function useLocationSuggestions() file: src/app/hooks/locationSuggestions.ts start line: 9 end line: 38 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 631 unit: export async function getAllChurns() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/churn-subscribers/actions.tsx start line: 24 end line: 29 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 632 unit: export async function clearAllChurns() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/churn-subscribers/actions.tsx start line: 40 end line: 45 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 633 unit: await send() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/emails/actions.tsx start line: 129 end line: 134 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 634 unit: countryCode: getCountryCode() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/emails/actions.tsx start line: 162 end line: 168 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 635 unit: onCheckUserHasCurrentCouponSet: fn() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/settings/stories/SettingsStoryWrapper.tsx start line: 48 end line: 54 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 636 unit: applyCouponAction: fn() file: src/app/(proper_react)/(redesign)/(authenticated)/user/plus-expiration/PlusExpiration.stories.tsx start line: 40 end line: 45 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 637 unit: await sendEmail() file: src/app/api/utils/auth.tsx start line: 216 end line: 221 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 638 unit: export function errorIfProduction() file: src/app/api/utils/errorThrower.ts start line: 7 end line: 13 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 639 unit: export function errorIfStage() file: src/app/api/utils/errorThrower.ts start line: 15 end line: 21 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 640 unit: export function errorIfNotLocal() file: src/app/api/utils/errorThrower.ts start line: 23 end line: 28 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 641 unit: export function unauthError() file: src/app/api/utils/errorThrower.ts start line: 34 end line: 39 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 642 unit: await sendEmail() file: src/app/api/utils/email.tsx start line: 50 end line: 55 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 643 unit: function hasher() file: src/app/api/mock/onerep/config/config.ts start line: 64 end line: 69 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 644 unit: birth_date: mockOnerepBirthdate() file: src/app/api/mock/onerep/profiles/[profileId]/route.ts start line: 36 end line: 41 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 645 unit: export function GET() file: src/app/api/mock/hibp/breaches/route.ts start line: 11 end line: 18 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 646 unit: function successResponse() file: src/app/api/v1/admin/qa-customs/onerep/route.ts start line: 22 end line: 27 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 647 unit: function successResponse() file: src/app/api/v1/admin/qa-customs/hibp/route.ts start line: 26 end line: 31 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 648 unit: await enableFeatureFlagByName() file: src/app/api/v1/admin/feature-flags/[flagId]/route.ts start line: 62 end line: 67 size: 6 LOC McCabe index: 2 number of parameters: 3 id: 649 unit: await enableFeatureFlagByName() file: src/app/api/v1/admin/feature-flags/route.ts start line: 104 end line: 109 size: 6 LOC McCabe index: 3 number of parameters: 3 id: 650 unit: countryCode: getCountryCode() file: src/app/api/v1/user/welcome-scan/create/route.ts start line: 98 end line: 104 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 651 unit: function logProgress() file: src/scripts/build/uploadAutoCompleteLocations.js start line: 69 end line: 74 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 652 unit: await sendEmail() file: src/scripts/cronjobs/monthlyActivityPlus.tsx start line: 104 end line: 109 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 653 unit: await sendEmail() file: src/scripts/cronjobs/churnDiscount.tsx start line: 79 end line: 84 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 654 unit: await sendEmail() file: src/scripts/cronjobs/monthlyActivityFree.tsx start line: 143 end line: 148 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 655 unit: await sendEmail() file: src/scripts/cronjobs/emailBreachAlerts.tsx start line: 310 end line: 315 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 656 unit: breach: createRandomHibpListing() file: src/emails/templates/breachAlert/BreachAlertEmail.stories.tsx start line: 58 end line: 63 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 657 unit: async function fetchWithDelay() file: src/utils/fetchWithDelay.ts start line: 22 end line: 26 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 658 unit: export async function getAllFeatureFlags() file: src/db/tables/featureFlags.ts start line: 27 end line: 31 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 659 unit: export async function getFeatureFlagByName() file: src/db/tables/featureFlags.ts start line: 151 end line: 156 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 660 unit: async function deleteQaCustomBrokerRow() file: src/db/tables/qa_customs.ts start line: 164 end line: 168 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 661 unit: async function setQaCustomBrokerStatus() file: src/db/tables/qa_customs.ts start line: 173 end line: 180 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 662 unit: async function getSubscribersByHashes() file: src/db/tables/subscribers.ts start line: 19 end line: 23 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 663 unit: await knex() file: src/db/tables/subscribers.ts start line: 310 end line: 314 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 664 unit: async function unresolveAllBreaches() file: src/db/tables/subscribers.ts start line: 631 end line: 638 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 665 unit: await knex() file: src/db/tables/onerep_scans.ts start line: 90 end line: 94 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 666 unit: async function setOnerepProfileId() file: src/db/tables/onerep_scans.ts start line: 203 end line: 213 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 667 unit: await knex() file: src/db/tables/onerep_scans.ts start line: 332 end line: 338 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 668 unit: async function deleteScansForProfile() file: src/db/tables/onerep_scans.ts start line: 374 end line: 378 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 669 unit: export function up() file: src/db/migrations/20191118170713_add-email_addresses-email-index.js start line: 9 end line: 13 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 670 unit: export function down() file: src/db/migrations/20191118170713_add-email_addresses-email-index.js start line: 19 end line: 23 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 671 unit: export async function down() file: src/db/migrations/20250430104448_add_feature_flag_events_primary_key.js start line: 20 end line: 24 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 672 unit: export function up() file: src/db/migrations/20180826102013_add_timestamps_to_subscribers.js start line: 9 end line: 13 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 673 unit: export function down() file: src/db/migrations/20180826102013_add_timestamps_to_subscribers.js start line: 19 end line: 23 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 674 unit: export function up() file: src/db/migrations/20181007085241_add_sha1_index.js start line: 13 end line: 17 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 675 unit: export function down() file: src/db/migrations/20181007085241_add_sha1_index.js start line: 23 end line: 27 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 676 unit: export function up() file: src/db/migrations/20200220143251_add-waitlists-column.js start line: 9 end line: 13 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 677 unit: export function down() file: src/db/migrations/20200220143251_add-waitlists-column.js start line: 19 end line: 23 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 678 unit: export function up() file: src/db/migrations/20240702102931_add_fxa_expiry_to_subscribers.js start line: 9 end line: 13 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 679 unit: export function down() file: src/db/migrations/20240702102931_add_fxa_expiry_to_subscribers.js start line: 19 end line: 23 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 680 unit: export function up() file: src/db/migrations/20180930071926_add_signup_language.js start line: 9 end line: 13 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 681 unit: export function down() file: src/db/migrations/20180930071926_add_signup_language.js start line: 19 end line: 23 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 682 unit: await knex() file: src/db/migrations/20250225111207_add_feature_flag_events.js start line: 66 end line: 70 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 683 unit: export function up() file: src/db/migrations/20191118100718_add-fxa-uid-index.js start line: 13 end line: 17 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 684 unit: export function down() file: src/db/migrations/20191118100718_add-fxa-uid-index.js start line: 23 end line: 27 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 685 unit: export function up() file: src/db/migrations/20230811154502_add_onerep_scan_reason.js start line: 9 end line: 13 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 686 unit: export function down() file: src/db/migrations/20230811154502_add_onerep_scan_reason.js start line: 19 end line: 23 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 687 unit: export function up() file: src/db/migrations/20220828233844_add-monthly-email-optout.js start line: 9 end line: 13 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 688 unit: export function down() file: src/db/migrations/20220828233844_add-monthly-email-optout.js start line: 19 end line: 23 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 689 unit: export function up() file: src/db/migrations/20230413104243_add_onerep_profile_id.js start line: 9 end line: 13 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 690 unit: export function down() file: src/db/migrations/20230413104243_add_onerep_profile_id.js start line: 19 end line: 23 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 691 unit: export function down() file: src/db/migrations/20231102024624_add_unique_index_to_scan_results_id.js start line: 25 end line: 29 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 692 unit: export async function up() file: src/db/migrations/20230908154315_add_manual_resolution_column.js start line: 9 end line: 13 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 693 unit: export async function down() file: src/db/migrations/20230908154315_add_manual_resolution_column.js start line: 19 end line: 23 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 694 unit: export function up() file: src/db/migrations/20190523152919_add_fxa_access_token_to_subscribers.js start line: 9 end line: 13 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 695 unit: export function down() file: src/db/migrations/20190523152919_add_fxa_access_token_to_subscribers.js start line: 19 end line: 23 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 696 unit: export function up() file: src/db/migrations/20190117150910_add_verified_index.js start line: 9 end line: 13 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 697 unit: export function down() file: src/db/migrations/20190117150910_add_verified_index.js start line: 19 end line: 23 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 698 unit: export function up() file: src/db/migrations/20200810144851_add_signup_language_index.js.js start line: 9 end line: 13 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 699 unit: export function down() file: src/db/migrations/20200810144851_add_signup_language_index.js.js start line: 19 end line: 23 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 700 unit: export function up() file: src/db/migrations/20180829161115_add_fx_newsletter_column.js start line: 9 end line: 13 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 701 unit: export function down() file: src/db/migrations/20180829161115_add_fx_newsletter_column.js start line: 19 end line: 23 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 702 unit: export function up() file: src/db/migrations/20190422140308_add_subscriber_breaches_shown.js start line: 9 end line: 13 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 703 unit: export function down() file: src/db/migrations/20190422140308_add_subscriber_breaches_shown.js start line: 19 end line: 23 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 704 unit: export function up() file: src/db/migrations/20220818212858_add-breach-stats.js start line: 9 end line: 13 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 705 unit: export function down() file: src/db/migrations/20220818212858_add-breach-stats.js start line: 19 end line: 23 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 706 unit: export function up() file: src/db/migrations/20191202161125_add_breaches_resolved_column.js start line: 9 end line: 13 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 707 unit: export function down() file: src/db/migrations/20191202161125_add_breaches_resolved_column.js start line: 19 end line: 23 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 708 unit: export function up() file: src/db/migrations/20220104095854_add-unenroll-col-to-subscribers.js start line: 9 end line: 13 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 709 unit: export function down() file: src/db/migrations/20220104095854_add-unenroll-col-to-subscribers.js start line: 19 end line: 23 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 710 unit: export function up() file: src/db/migrations/20181129152508_add_email_index.js start line: 9 end line: 13 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 711 unit: export function down() file: src/db/migrations/20181129152508_add_email_index.js start line: 19 end line: 23 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 712 unit: export function up() file: src/db/migrations/20230623072741_add_unique_constraint_onerep_profile_id.js start line: 9 end line: 13 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 713 unit: export function down() file: src/db/migrations/20230623072741_add_unique_constraint_onerep_profile_id.js start line: 19 end line: 23 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 714 unit: export function up() file: src/db/migrations/20240606111238_add_subscriber_sign_in_count.js start line: 9 end line: 13 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 715 unit: export function down() file: src/db/migrations/20240606111238_add_subscriber_sign_in_count.js start line: 19 end line: 23 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 716 unit: export function up() file: src/db/migrations/20220826220021_add-monthly-email-column.js start line: 9 end line: 13 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 717 unit: export function down() file: src/db/migrations/20220826220021_add-monthly-email-column.js start line: 19 end line: 23 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 718 unit: export function up() file: src/db/migrations/20181108151941_add_created_at_index.js start line: 9 end line: 13 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 719 unit: export function down() file: src/db/migrations/20181108151941_add_created_at_index.js start line: 19 end line: 23 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 720 unit: export function up() file: src/db/migrations/20230630084116_add_favicon_url_to_breach.js start line: 9 end line: 13 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 721 unit: export function down() file: src/db/migrations/20230630084116_add_favicon_url_to_breach.js start line: 19 end line: 23 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 722 unit: export function up() file: src/db/migrations/20200708123351_add-subscribers-breaches_last_shown-index.js start line: 9 end line: 13 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 723 unit: export function up() file: src/db/migrations/20190510152733_add_timestamps_to_email_addresses.js start line: 9 end line: 13 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 724 unit: export function down() file: src/db/migrations/20190510152733_add_timestamps_to_email_addresses.js start line: 19 end line: 23 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 725 unit: export async function down() file: src/db/migrations/20230921132056_add_status_column.js start line: 24 end line: 28 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 726 unit: export function up() file: src/db/migrations/20190512170106_add_all_emails_to_primary_column.js start line: 9 end line: 13 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 727 unit: export function down() file: src/db/migrations/20190512170106_add_all_emails_to_primary_column.js start line: 19 end line: 23 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 728 unit: export function up() file: src/db/migrations/20210823152654_add_kid_to_subscribers.js start line: 9 end line: 13 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 729 unit: export function down() file: src/db/migrations/20210823152654_add_kid_to_subscribers.js start line: 19 end line: 23 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 730 unit: export function up() file: src/db/migrations/20190219154519_add_fxa_uid_column.js start line: 9 end line: 13 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 731 unit: export function down() file: src/db/migrations/20190219154519_add_fxa_uid_column.js start line: 19 end line: 23 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 732 unit: export function up() file: src/db/migrations/20250218194521_add_onerep_scan_id_column_to_qa_custom_brokers.js start line: 9 end line: 13 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 733 unit: export function down() file: src/db/migrations/20250218194521_add_onerep_scan_id_column_to_qa_custom_brokers.js start line: 19 end line: 23 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 734 unit: export async function up() file: src/db/migrations/20240822032133_subscriber_email_preferences.js start line: 9 end line: 26 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 735 unit: export function up() file: src/db/migrations/20190713193852_add_email_sha1_index.js start line: 13 end line: 17 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 736 unit: export function down() file: src/db/migrations/20190713193852_add_email_sha1_index.js start line: 23 end line: 27 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 737 unit: export function up() file: src/db/migrations/20221026215921_add-breach-resolution-column.js start line: 9 end line: 13 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 738 unit: export function down() file: src/db/migrations/20221026215921_add-breach-resolution-column.js start line: 19 end line: 23 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 739 unit: export function up() file: src/db/migrations/20240610150332_add_optout_attempts_to_onerep_scan_results_table.js start line: 9 end line: 13 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 740 unit: export function down() file: src/db/migrations/20240610150332_add_optout_attempts_to_onerep_scan_results_table.js start line: 19 end line: 23 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 741 unit: export function getCronjobL10n() file: src/app/functions/l10n/cronjobs.ts start line: 19 end line: 25 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 742 unit: export function hasSetupOnerep() file: src/app/functions/universal/user.ts start line: 33 end line: 37 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 743 unit: fxMobile: useRef() file: src/app/components/client/toolbar/AppPicker.tsx start line: 101 end line: 108 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 744 unit: await fetch() file: src/app/components/client/toolbar/AnnouncementDialog.tsx start line: 114 end line: 118 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 745 unit: void confetti() file: src/app/components/client/Confetti.tsx start line: 24 end line: 28 size: 5 LOC McCabe index: 1 number of parameters: 4 id: 746 unit: export function isScanResult() file: src/app/components/client/exposure_card/ExposureCard.tsx start line: 22 end line: 26 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 747 unit: function isAutomaticRemovalSurvey() file: src/app/components/client/csat_survey/surveys/automaticRemovalCsatSurvey.ts start line: 24 end line: 28 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 748 unit: function tick() file: src/app/hooks/useInterval.ts start line: 22 end line: 26 size: 5 LOC McCabe index: 3 number of parameters: 0 id: 749 unit: await renderEmail() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/emails/actions.tsx start line: 90 end line: 95 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 750 unit: await send() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/emails/actions.tsx start line: 172 end line: 176 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 751 unit: await send() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/emails/actions.tsx start line: 210 end line: 214 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 752 unit: await send() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/emails/actions.tsx start line: 248 end line: 252 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 753 unit: Monthly activity overview() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/emails/EmailTrigger.tsx start line: 107 end line: 111 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 754 unit: Monthly activity overview() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/emails/EmailTrigger.tsx start line: 119 end line: 123 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 755 unit: isValid: meetsAgeRequirement() file: src/app/(proper_react)/(redesign)/(authenticated)/user/welcome/EnterInfo.tsx start line: 180 end line: 184 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 756 unit: function isNextStepALink() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/FixView.tsx start line: 135 end line: 139 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 757 unit: export function emailHashPrefix() file: src/app/api/utils/mockUtils.ts start line: 9 end line: 13 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 758 unit: addresses: mockOnerepAddresses() file: src/app/api/mock/onerep/profiles/[profileId]/route.ts start line: 37 end line: 41 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 759 unit: export async function DELETE() file: src/app/api/v1/admin/announcements/[announcementId]/route.ts start line: 38 end line: 42 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 760 unit: async function checkAdmin() file: src/app/api/v1/admin/qa-customs/onerep/route.ts start line: 29 end line: 33 size: 5 LOC McCabe index: 3 number of parameters: 0 id: 761 unit: async function checkAdmin() file: src/app/api/v1/admin/qa-customs/hibp/route.ts start line: 33 end line: 37 size: 5 LOC McCabe index: 3 number of parameters: 0 id: 762 unit: locale: getLocale() file: src/app/api/v1/user/welcome-scan/create/route.ts start line: 99 end line: 104 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 763 unit: writeStream: createWriteStream() file: src/scripts/build/uploadAutoCompleteLocations.js start line: 118 end line: 123 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 764 unit: await fetchRemoteArchive() file: src/scripts/build/uploadAutoCompleteLocations.js start line: 149 end line: 153 size: 5 LOC McCabe index: 1 number of parameters: 4 id: 765 unit: await fetchRemoteArchive() file: src/scripts/build/uploadAutoCompleteLocations.js start line: 156 end line: 160 size: 5 LOC McCabe index: 1 number of parameters: 4 id: 766 unit: await fetchRemoteArchive() file: src/scripts/build/uploadAutoCompleteLocations.js start line: 163 end line: 167 size: 5 LOC McCabe index: 1 number of parameters: 4 id: 767 unit: async function tearDown() file: src/scripts/cronjobs/churnDiscount.tsx start line: 27 end line: 31 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 768 unit: async function tearDown() file: src/scripts/cronjobs/monthlyActivityFree.tsx start line: 38 end line: 42 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 769 unit: function hasEmailAddressAttached() file: src/scripts/cronjobs/emailBreachAlerts.tsx start line: 444 end line: 448 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 770 unit: breach: createRandomHibpListing() file: src/emails/templates/breachAlert/BreachAlertEmail.stories.tsx start line: 71 end line: 75 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 771 unit: await destroyOAuthToken() file: src/utils/fxa.ts start line: 78 end line: 81 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 772 unit: await destroyOAuthToken() file: src/utils/fxa.ts start line: 82 end line: 85 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 773 unit: async function getAllQaCustomBreaches() file: src/db/tables/qa_customs.ts start line: 198 end line: 209 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 774 unit: function formatQaBreach() file: src/db/tables/qa_customs.ts start line: 214 end line: 217 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 775 unit: await knex() file: src/db/tables/qa_customs.ts start line: 289 end line: 292 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 776 unit: await knex() file: src/db/tables/subscribers.ts start line: 214 end line: 219 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 777 unit: await knex() file: src/db/tables/subscribers.ts start line: 273 end line: 278 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 778 unit: async function getEmailById() file: src/db/tables/emailAddresses.ts start line: 37 end line: 41 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 779 unit: async function deleteAttributionById() file: src/db/tables/attributions.ts start line: 74 end line: 77 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 780 unit: async function deleteAttributionsForSubscriber() file: src/db/tables/attributions.ts start line: 79 end line: 82 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 781 unit: function loadSource() file: src/app/functions/l10n/storybookAndJest.ts start line: 42 end line: 45 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 782 unit: function loadSource() file: src/app/functions/l10n/serverComponents.ts start line: 29 end line: 32 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 783 unit: success: await checkCouponForSubscriber() file: src/app/functions/server/applyCoupon.ts start line: 147 end line: 150 size: 4 LOC McCabe index: 2 number of parameters: 2 id: 784 unit: export function record() file: src/app/functions/server/glean.ts start line: 19 end line: 22 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 785 unit: export async function sendPingToGA() file: src/app/functions/server/googleAnalytics.ts start line: 17 end line: 20 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 786 unit: export function UpsellButton() file: src/app/components/client/toolbar/UpsellBadge.tsx start line: 37 end line: 40 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 787 unit: vpn: useRef() file: src/app/components/client/toolbar/AppPicker.tsx start line: 102 end line: 108 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 788 unit: function SwitchInput() file: src/app/components/client/SwitchInput.tsx start line: 16 end line: 19 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 789 unit: function ComboBox() file: src/app/components/client/ComboBox.tsx start line: 22 end line: 25 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 790 unit: function getLocationString() file: src/app/components/client/LocationAutocompleteInput.tsx start line: 23 end line: 26 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 791 unit: void recordGlean() file: src/app/hooks/useTelemetry.ts start line: 42 end line: 45 size: 4 LOC McCabe index: 1 number of parameters: 5 id: 792 unit: void signOut() file: src/app/auth/logout/page.tsx start line: 11 end line: 14 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 793 unit: monthly: getPremiumSubscriptionUrl() file: src/app/(proper_react)/(redesign)/(public)/LandingViewRedesign/components/PricingPlans.tsx start line: 36 end line: 39 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 794 unit: yearly: getPremiumSubscriptionUrl() file: src/app/(proper_react)/(redesign)/(public)/LandingViewRedesign/components/PricingPlans.tsx start line: 40 end line: 43 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 795 unit: monthly: getPremiumSubscriptionUrl() file: src/app/(proper_react)/(redesign)/(public)/LandingView.tsx start line: 341 end line: 344 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 796 unit: yearly: getPremiumSubscriptionUrl() file: src/app/(proper_react)/(redesign)/(public)/LandingView.tsx start line: 345 end line: 348 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 797 unit: function getPriorityDataClassData() file: src/app/(proper_react)/(redesign)/(public)/breach-details/[breachName]/BreachDetailView.tsx start line: 405 end line: 408 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 798 unit: void updateAllowlist() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/feature-flags/components/FlagEditor.tsx start line: 198 end line: 201 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 799 unit: async function isAuthorized() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/churn-subscribers/actions.tsx start line: 19 end line: 22 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 800 unit: await getSubscriberBreaches() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/emails/actions.tsx start line: 160 end line: 163 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 801 unit: await getSubscriberBreaches() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/emails/actions.tsx start line: 204 end line: 207 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 802 unit: void triggerFirstDataBrokerRemovalFixed() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/emails/EmailTrigger.tsx start line: 138 end line: 141 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 803 unit: void createProfileAndStartScan() file: src/app/(proper_react)/(redesign)/(authenticated)/user/welcome/EnterInfo.tsx start line: 242 end line: 245 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 804 unit: subscriberBreaches: await getSubscriberBreaches() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/removal-under-maintenance/page.tsx start line: 62 end line: 65 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 805 unit: subscriberBreaches: await getSubscriberBreaches() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/start-free-scan/page.tsx start line: 53 end line: 56 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 806 unit: subscriberBreaches: await getSubscriberBreaches() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/view-data-brokers/page.tsx start line: 44 end line: 47 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 807 unit: applyCouponAction: fn() file: src/app/(proper_react)/(redesign)/(authenticated)/user/plus-expiration/PlusExpiration.stories.tsx start line: 21 end line: 24 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 808 unit: async signIn() file: src/app/api/utils/auth.tsx start line: 301 end line: 304 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 809 unit: status: mockOnerepProfileStatus() file: src/app/api/mock/onerep/profiles/route.ts start line: 85 end line: 88 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 810 unit: status: mockOnerepProfileStatus() file: src/app/api/mock/onerep/profiles/[profileId]/route.ts start line: 38 end line: 41 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 811 unit: function duplicateObj() file: src/app/api/v1/admin/qa-customs/onerep/route.ts start line: 46 end line: 49 size: 4 LOC McCabe index: 2 number of parameters: 2 id: 812 unit: await revokeOAuthTokens() file: src/app/api/v1/fxa-rp-events/route.ts start line: 258 end line: 261 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 813 unit: await writeFromRemoteFile() file: src/scripts/build/uploadAutoCompleteLocations.js start line: 116 end line: 119 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 814 unit: function tearDown() file: src/scripts/cronjobs/monthlyActivityPlus.tsx start line: 31 end line: 34 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 815 unit: function tearDown() file: src/scripts/cronjobs/firstDataBrokerRemovalFixed.tsx start line: 36 end line: 39 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 816 unit: l10n: getL10n() file: src/emails/templates/boilerplate/BoilerplateEmail.stories.tsx start line: 20 end line: 23 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 817 unit: l10n: getL10n() file: src/emails/templates/verifyEmailAddress/VerifyEmailAddressEmail.stories.tsx start line: 20 end line: 23 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 818 unit: l10n: getL10n() file: src/emails/templates/upcomingExpiration/UpcomingExpirationEmail.stories.tsx start line: 26 end line: 29 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 819 unit: export async function fetchHibpBreaches() file: src/utils/hibp.ts start line: 133 end line: 135 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 820 unit: function getSha1() file: src/utils/fxa.ts start line: 458 end line: 460 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 821 unit: export function randomToken() file: src/utils/email.ts start line: 103 end line: 105 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 822 unit: export function createRedisMockInstance() file: src/db/redis/util-mock.ts start line: 7 end line: 9 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 823 unit: async function getAllBreaches() file: src/db/tables/breaches.ts start line: 16 end line: 18 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 824 unit: await knex() file: src/db/tables/breaches.ts start line: 80 end line: 82 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 825 unit: export async function getDeletedFeatureFlags() file: src/db/tables/featureFlags.ts start line: 51 end line: 53 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 826 unit: await knex() file: src/db/tables/onerep_profiles.ts start line: 78 end line: 80 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 827 unit: await knex() file: src/db/tables/qa_customs.ts start line: 177 end line: 179 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 828 unit: await knex() file: src/db/tables/qa_customs.ts start line: 223 end line: 225 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 829 unit: await knex() file: src/db/tables/qa_customs.ts start line: 333 end line: 335 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 830 unit: await knex() file: src/db/tables/subscribers.ts start line: 635 end line: 637 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 831 unit: await updateEmailPreferenceForSubscriber() file: src/db/tables/subscriber_email_preferences.ts start line: 309 end line: 311 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 832 unit: export async function down() file: src/db/migrations/20231220015816_onerep_stats.js start line: 25 end line: 27 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 833 unit: export function down() file: src/db/migrations/20240715115031_qa_custom_breaches.js start line: 38 end line: 40 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 834 unit: export function down() file: src/db/migrations/20230703010356_add-onerep-profiles-table.js start line: 43 end line: 45 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 835 unit: export function down() file: src/db/migrations/20240710214906_qa_custom_brokers.js start line: 35 end line: 37 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 836 unit: export function down() file: src/db/migrations/20211001135448_removal_pilot_table.js start line: 21 end line: 23 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 837 unit: export function down() file: src/db/migrations/20230618104332_feature_flags.js start line: 28 end line: 30 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 838 unit: export function down() file: src/db/migrations/20250219182508_add_notifications_table.js start line: 30 end line: 32 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 839 unit: export async function down() file: src/db/migrations/20241105115743_add_data_brokers.js start line: 24 end line: 26 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 840 unit: export async function down() file: src/db/migrations/20231017143204_add_email_notification_table.js start line: 30 end line: 32 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 841 unit: export async function down() file: src/db/migrations/20240108008813_marketing_attributions.js start line: 43 end line: 45 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 842 unit: export async function down() file: src/db/migrations/20240920175305_add-ga4-client-to-subscribers.js start line: 29 end line: 31 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 843 unit: export async function down() file: src/db/migrations/20250115032133_subscriber_churns.js start line: 27 end line: 29 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 844 unit: export function down() file: src/db/migrations/20230623152940_add_onerep_scans_table.js start line: 29 end line: 31 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 845 unit: export function down() file: src/db/migrations/20220103145534_initial_removal_pilot_group.js start line: 24 end line: 26 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 846 unit: export function down() file: src/db/migrations/20240715110621_qa_custom_toggles.js start line: 24 end line: 26 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 847 unit: export function down() file: src/db/migrations/20221026215921_add-breaches-table.js start line: 35 end line: 37 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 848 unit: export function down() file: src/db/migrations/20180418090800_initial_schema.js start line: 23 end line: 25 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 849 unit: export async function down() file: src/db/migrations/20240604053111_subscriber_coupons.js start line: 28 end line: 30 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 850 unit: export async function down() file: src/db/migrations/20240822032133_subscriber_email_preferences.js start line: 32 end line: 34 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 851 unit: export function formatPhone() file: src/app/functions/universal/formatPhone.ts start line: 13 end line: 15 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 852 unit: export function convertCamelToSnakeCase() file: src/app/functions/universal/convertCamelToSnakeCase.ts start line: 5 end line: 7 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 853 unit: export function getDataBrokerName() file: src/app/functions/universal/dataBrokerNames.ts start line: 197 end line: 199 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 854 unit: export function isUsingMockHIBPEndpoint() file: src/app/functions/universal/mock.ts start line: 5 end line: 7 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 855 unit: export function isUsingMockONEREPEndpoint() file: src/app/functions/universal/mock.ts start line: 9 end line: 11 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 856 unit: await updateEmailPreferenceForSubscriber() file: src/app/functions/cronjobs/unsubscribeLinks.ts start line: 32 end line: 34 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 857 unit: async function onerepFetch() file: src/app/functions/server/onerep.ts start line: 139 end line: 141 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 858 unit: export async function listScans() file: src/app/functions/server/onerep.ts start line: 372 end line: 374 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 859 unit: void signIn() file: src/app/components/client/PromptNoneAuth.tsx start line: 22 end line: 24 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 860 unit: exposureImg ?() file: src/app/components/client/exposure_card/SubscriberBreachCard.tsx start line: 164 end line: 166 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 861 unit: function hasDirectType() file: src/app/components/server/StatusPill.tsx start line: 73 end line: 75 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 862 unit: export function useLocalDismissal() file: src/app/hooks/useLocalDismissal.ts start line: 32 end line: 34 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 863 unit: export function GET() file: src/app/(metadata)/%5F_version__/route.ts start line: 13 end line: 15 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 864 unit: export function GET() file: src/app/(metadata)/%5F_lbheartbeat__/route.ts start line: 12 end line: 14 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 865 unit: export function GET() file: src/app/(metadata)/%5F_heartbeat__/route.ts start line: 12 end line: 14 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 866 unit: void signIn() file: src/app/(proper_react)/(redesign)/(public)/SignUpForm.tsx start line: 57 end line: 59 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 867 unit: void signIn() file: src/app/(proper_react)/(redesign)/(public)/FreeScanCta.tsx start line: 75 end line: 77 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 868 unit: void fetch() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/qa-customs/hibpConfig.tsx start line: 173 end line: 175 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 869 unit: void fetch() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/qa-customs/hibpConfig.tsx start line: 190 end line: 192 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 870 unit: void upsertAllChurns() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/churn-subscribers/ChurnAdmin.tsx start line: 117 end line: 119 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 871 unit: void triggerSignupReportEmail() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/emails/EmailTrigger.tsx start line: 78 end line: 80 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 872 unit: void triggerVerificationEmail() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/emails/EmailTrigger.tsx start line: 90 end line: 92 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 873 unit: void triggerMonthlyActivityFree() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/emails/EmailTrigger.tsx start line: 102 end line: 104 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 874 unit: void triggerMonthlyActivityPlus() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/emails/EmailTrigger.tsx start line: 114 end line: 116 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 875 unit: void triggerBreachAlert() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/emails/EmailTrigger.tsx start line: 126 end line: 128 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 876 unit: void triggerPlusExpirationEmail() file: src/app/(proper_react)/(redesign)/(authenticated)/admin/emails/EmailTrigger.tsx start line: 152 end line: 154 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 877 unit: locale: getLocale() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/[[...slug]]/page.tsx start line: 142 end line: 145 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 878 unit: content: getDoneStepContent() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/high-risk-data-breaches/highRiskBreachData.tsx start line: 361 end line: 363 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 879 unit: export default function DataBrokerProfiles() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/page.tsx start line: 7 end line: 9 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 880 unit: content: getDoneStepContent() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/leaked-passwords/leakedPasswordsData.tsx start line: 241 end line: 243 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 881 unit: CONST_ONEREP_MAX_SCANS_THRESHOLD ?() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/View.tsx start line: 397 end line: 399 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 882 unit: onHandleUpdateProfileData: fn() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/settings/stories/SettingsStoryWrapper.tsx start line: 51 end line: 54 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 883 unit: user: createUser() file: src/app/(proper_react)/(redesign)/MobileShell.stories.ts start line: 31 end line: 34 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 884 unit: await renderEmail() file: src/app/api/utils/auth.tsx start line: 219 end line: 221 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 885 unit: signOut() file: src/app/api/utils/auth.tsx start line: 305 end line: 307 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 886 unit: function error403() file: src/app/api/utils/errorThrower.ts start line: 30 end line: 32 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 887 unit: await renderEmail() file: src/app/api/utils/email.tsx start line: 53 end line: 55 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 888 unit: export function GET() file: src/app/api/mock/onerep/data-brokers/route.ts start line: 8 end line: 10 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 889 unit: export function POST() file: src/app/api/mock/onerep/data-brokers/route.ts start line: 12 end line: 14 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 890 unit: export function PUT() file: src/app/api/mock/onerep/data-brokers/route.ts start line: 16 end line: 18 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 891 unit: export function DELETE() file: src/app/api/mock/onerep/data-brokers/route.ts start line: 20 end line: 22 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 892 unit: export function mockOnerepScanId() file: src/app/api/mock/onerep/config/config.ts start line: 71 end line: 73 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 893 unit: export function mockOnerepDatabrokerIdStart() file: src/app/api/mock/onerep/config/config.ts start line: 75 end line: 77 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 894 unit: export function mockOnerepIdStart() file: src/app/api/mock/onerep/config/config.ts start line: 79 end line: 81 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 895 unit: export function mockOnerepTime() file: src/app/api/mock/onerep/config/config.ts start line: 83 end line: 85 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 896 unit: export function mockOnerepFirstName() file: src/app/api/mock/onerep/config/config.ts start line: 87 end line: 89 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 897 unit: export function mockOnerepLastName() file: src/app/api/mock/onerep/config/config.ts start line: 91 end line: 93 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 898 unit: export function mockOnerepBirthdate() file: src/app/api/mock/onerep/config/config.ts start line: 95 end line: 97 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 899 unit: export function mockOnerepEmails() file: src/app/api/mock/onerep/config/config.ts start line: 99 end line: 101 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 900 unit: export function mockOnerepPhones() file: src/app/api/mock/onerep/config/config.ts start line: 103 end line: 105 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 901 unit: export function mockOnerepRelatives() file: src/app/api/mock/onerep/config/config.ts start line: 107 end line: 109 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 902 unit: export function mockOnerepProfileStatus() file: src/app/api/mock/onerep/config/config.ts start line: 111 end line: 113 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 903 unit: created_at: mockOnerepTime() file: src/app/api/mock/onerep/profiles/route.ts start line: 81 end line: 83 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 904 unit: created_at: mockOnerepTime() file: src/app/api/mock/onerep/profiles/route.ts start line: 86 end line: 88 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 905 unit: export async function GET() file: src/app/api/mock/onerep/profiles/[profileId]/scans/[scanId]/route.ts start line: 10 end line: 12 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 906 unit: created_at: mockOnerepTime() file: src/app/api/mock/onerep/profiles/[profileId]/scans/[scanId]/route.ts start line: 38 end line: 40 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 907 unit: export async function POST() file: src/app/api/mock/onerep/profiles/[profileId]/scans/route.ts start line: 46 end line: 48 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 908 unit: created_at: mockOnerepTime() file: src/app/api/mock/onerep/profiles/[profileId]/scans/route.ts start line: 70 end line: 72 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 909 unit: export async function GET() file: src/app/api/mock/onerep/profiles/[profileId]/scans/route.ts start line: 78 end line: 80 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 910 unit: export async function GET() file: src/app/api/mock/onerep/profiles/[profileId]/route.ts start line: 18 end line: 20 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 911 unit: created_at: mockOnerepTime() file: src/app/api/mock/onerep/profiles/[profileId]/route.ts start line: 39 end line: 41 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 912 unit: export async function PUT() file: src/app/api/mock/onerep/profiles/[profileId]/deactivate/route.ts start line: 8 end line: 10 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 913 unit: export async function POST() file: src/app/api/mock/onerep/profiles/[profileId]/optout/route.ts start line: 8 end line: 10 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 914 unit: export async function PUT() file: src/app/api/mock/onerep/profiles/[profileId]/activate/route.ts start line: 8 end line: 10 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 915 unit: export async function GET() file: src/app/api/mock/hibp/range/search/[hashPrefix]/route.ts start line: 11 end line: 13 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 916 unit: count: parseInt() file: src/app/api/v1/stats/route.ts start line: 42 end line: 44 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 917 unit: export async function GET() file: src/app/api/v1/admin/announcements/[announcementId]/route.ts start line: 16 end line: 18 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 918 unit: export async function PUT() file: src/app/api/v1/admin/announcements/[announcementId]/route.ts start line: 60 end line: 62 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 919 unit: export async function GET() file: src/app/api/v1/admin/feature-flags/[flagId]/route.ts start line: 15 end line: 17 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 920 unit: export async function GET() file: src/app/api/v1/admin/users/[fxaUid]/route.ts start line: 49 end line: 51 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 921 unit: export async function PUT() file: src/app/api/v1/admin/users/[fxaUid]/route.ts start line: 132 end line: 134 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 922 unit: export async function PUT() file: src/app/api/v1/user/announcements/[announcementId]/seen/route.ts start line: 9 end line: 11 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 923 unit: export async function PUT() file: src/app/api/v1/user/announcements/[announcementId]/cleared/route.ts start line: 9 end line: 11 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 924 unit: export async function POST() file: src/app/api/v1/user/scan-result/[onerepScanResultId]/resolution/route.ts start line: 22 end line: 24 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 925 unit: for await() file: src/app/api/v1/onerep-events/route.ts start line: 37 end line: 39 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 926 unit: await writeFile() file: src/scripts/build/nimbusTypes.js start line: 74 end line: 76 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 927 unit: await readFile() file: src/scripts/cronjobs/reportLighthouseResults.ts start line: 73 end line: 75 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 928 unit: await renderEmail() file: src/scripts/cronjobs/monthlyActivityPlus.tsx start line: 107 end line: 109 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 929 unit: await renderEmail() file: src/scripts/cronjobs/churnDiscount.tsx start line: 82 end line: 84 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 930 unit: await updateEmailPreferenceForSubscriber() file: src/scripts/cronjobs/monthlyActivityFree.tsx start line: 134 end line: 136 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 931 unit: await renderEmail() file: src/scripts/cronjobs/monthlyActivityFree.tsx start line: 146 end line: 148 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 932 unit: await renderEmail() file: src/scripts/cronjobs/emailBreachAlerts.tsx start line: 313 end line: 315 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 933 unit: await updateBreachFaviconUrl() file: src/scripts/cronjobs/syncBreaches.ts start line: 54 end line: 56 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 934 unit: await updateBreachFaviconUrl() file: src/scripts/cronjobs/syncBreaches.ts start line: 73 end line: 75 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 935 unit: dataSummary: getDashboardSummary() file: src/emails/templates/breachAlert/BreachAlertEmail.stories.tsx start line: 61 end line: 63 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 936 unit: async function updateBreachFaviconUrl() file: src/db/tables/breaches.ts start line: 79 end line: 83 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 937 unit: export async function getEnabledFeatureFlags() file: src/db/tables/featureFlags.ts start line: 88 end line: 89 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 938 unit: export async function deleteProfileDetails() file: src/db/tables/onerep_profiles.ts start line: 77 end line: 81 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 939 unit: async function addQaCustomBreach() file: src/db/tables/qa_customs.ts start line: 222 end line: 226 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 940 unit: async function getPlusSubscribersWaitingForMonthlyEmail() file: src/db/tables/subscribers.ts start line: 366 end line: 367 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 941 unit: export function createRandomScanResult() file: src/apiMocks/mockData.ts start line: 54 end line: 55 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 942 unit: export function createRandomAnnouncement() file: src/apiMocks/mockData.ts start line: 110 end line: 111 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 943 unit: export function createRandomBreach() file: src/apiMocks/mockData.ts start line: 146 end line: 147 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 944 unit: export function createRandomHibpListing() file: src/apiMocks/mockData.ts start line: 205 end line: 206 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 945 unit: button_id: isScanResult() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/View.tsx start line: 221 end line: 222 size: 2 LOC McCabe index: 2 number of parameters: 1 id: 946 unit: button_id: isScanResult() file: src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/View.tsx start line: 228 end line: 229 size: 2 LOC McCabe index: 2 number of parameters: 1 id: 947 unit: applyCouponAction: fn() file: src/app/(proper_react)/(redesign)/(authenticated)/user/plus-expiration/PlusExpiration.stories.tsx start line: 63 end line: 64 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 948 unit: applyCouponAction: fn() file: src/app/(proper_react)/(redesign)/(authenticated)/user/plus-expiration/PlusExpiration.stories.tsx start line: 77 end line: 78 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 949 unit: applyCouponAction: fn() file: src/app/(proper_react)/(redesign)/(authenticated)/user/plus-expiration/PlusExpiration.stories.tsx start line: 91 end line: 92 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 950 unit: updated_at: mockOnerepTime() file: src/app/api/mock/onerep/profiles/route.ts start line: 82 end line: 83 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 951 unit: updated_at: mockOnerepTime() file: src/app/api/mock/onerep/profiles/route.ts start line: 87 end line: 88 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 952 unit: updated_at: mockOnerepTime() file: src/app/api/mock/onerep/profiles/[profileId]/scans/[scanId]/route.ts start line: 39 end line: 40 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 953 unit: updated_at: mockOnerepTime() file: src/app/api/mock/onerep/profiles/[profileId]/scans/route.ts start line: 71 end line: 72 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 954 unit: updated_at: mockOnerepTime() file: src/app/api/mock/onerep/profiles/[profileId]/route.ts start line: 40 end line: 41 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 955 unit: dataSummary: getDashboardSummary() file: src/emails/templates/breachAlert/BreachAlertEmail.stories.tsx start line: 74 end line: 75 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 956 unit: dataSummary: getDashboardSummary() file: src/emails/templates/breachAlert/BreachAlertEmail.stories.tsx start line: 111 end line: 112 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 957 unit: await load() file: src/scripts/build/checkNodeVersionAlignment.js start line: 61 end line: 61 size: 1 LOC McCabe index: 1 number of parameters: 1