Repository Analysis

payloadcms/payload

Payload is the open-source, fullstack Next.js framework, giving you instant backend superpowers. Get a full TypeScript backend and admin panel instantly. Use Payload as a headless CMS or for building powerful applications.

0.8 Likely human-written View on GitHub
0.8
Adjusted Score
0.8
Raw Score
100%
Time Factor
2026-05-29
Last Push
42,695
Stars
TypeScript
Language
971,748
Lines of Code
7465
Files
394
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 15HIGH 9MEDIUM 62LOW 308

Pattern Findings

394 matches across 12 categories. Click a row to expand file-level details.

Decorative Section Separators49 hits · 177 pts
SeverityFileLineSnippet
MEDIUMtest/docker-compose.yml18 # ── PostgreSQL (PostGIS + pgvector) ──────────────────────────
MEDIUMtest/docker-compose.yml82 # ── MongoDB Community 8.2 (replica set + search) ────────────
MEDIUMtest/docker-compose.yml144 # ── MongoDB Atlas Local (all-in-one with Atlas Search) ──────
MEDIUMtest/docker-compose.yml167 # ── LocalStack (S3 emulator) ────────────────────────────────
MEDIUMtest/docker-compose.yml184 # ── Azure Storage (Azurite emulator) ────────────────────────
MEDIUMtest/docker-compose.yml198 # ── Google Cloud Storage (fake-gcs-server) ──────────────────
MEDIUMtest/docker-compose.yml221 # ── Vercel Blob (vercel-blob-emulator) ──────────────────────
MEDIUMtest/plugin-import-export/field-hooks.int.spec.ts387 // ─────────────────────────────────────────────
MEDIUMtest/plugin-import-export/field-hooks.int.spec.ts389 // ─────────────────────────────────────────────
MEDIUMtest/plugin-import-export/field-hooks.int.spec.ts45 // ─────────────────────────────────────────────
MEDIUMtest/plugin-import-export/field-hooks.int.spec.ts47 // ─────────────────────────────────────────────
MEDIUMtest/plugin-import-export/field-hooks.int.spec.ts194 // ─────────────────────────────────────────────
MEDIUMtest/plugin-import-export/field-hooks.int.spec.ts196 // ─────────────────────────────────────────────
MEDIUMtest/plugin-import-export/field-hooks.int.spec.ts268 // ─────────────────────────────────────────────
MEDIUMtest/plugin-import-export/field-hooks.int.spec.ts270 // ─────────────────────────────────────────────
MEDIUMtest/plugin-import-export/field-hooks.int.spec.ts314 // ─────────────────────────────────────────────
MEDIUMtest/plugin-import-export/field-hooks.int.spec.ts316 // ─────────────────────────────────────────────
MEDIUMtest/plugin-import-export/field-hooks.int.spec.ts353 // ─────────────────────────────────────────────
MEDIUMtest/plugin-import-export/field-hooks.int.spec.ts355 // ─────────────────────────────────────────────
MEDIUMtest/plugin-import-export/field-hooks.int.spec.ts422 // ─────────────────────────────────────────────
MEDIUMtest/plugin-import-export/field-hooks.int.spec.ts424 // ─────────────────────────────────────────────
MEDIUMtest/plugin-import-export/field-hooks.int.spec.ts697 // ─────────────────────────────────────────────
MEDIUMtest/plugin-import-export/field-hooks.int.spec.ts699 // ─────────────────────────────────────────────
MEDIUMtest/plugin-import-export/field-hooks.int.spec.ts747 // ─────────────────────────────────────────────
MEDIUMtest/plugin-import-export/field-hooks.int.spec.ts750 // ─────────────────────────────────────────────
MEDIUMtest/plugin-import-export/field-hooks.int.spec.ts924 // ─────────────────────────────────────────────
MEDIUMtest/plugin-import-export/field-hooks.int.spec.ts928 // ─────────────────────────────────────────────
MEDIUMtest/plugin-import-export/hooks.int.spec.ts47 // ─────────────────────────────────────────────
MEDIUMtest/plugin-import-export/hooks.int.spec.ts49 // ─────────────────────────────────────────────
MEDIUMtest/plugin-import-export/hooks.int.spec.ts221 // ─────────────────────────────────────────────
MEDIUMtest/plugin-import-export/hooks.int.spec.ts223 // ─────────────────────────────────────────────
MEDIUM.claude/skills/triage-ci-flake/SKILL.md164# ========================================
MEDIUM.claude/skills/triage-ci-flake/SKILL.md166# ========================================
MEDIUM.claude/skills/triage-ci-flake/SKILL.md169# ========================================
MEDIUM.claude/skills/triage-ci-flake/SKILL.md171# ========================================
MEDIUM.claude/skills/triage-ci-flake/SKILL.md175# ========================================
MEDIUM.claude/skills/triage-ci-flake/SKILL.md177# ========================================
MEDIUM.claude/skills/triage-ci-flake/SKILL.md181# ========================================
MEDIUM.claude/skills/triage-ci-flake/SKILL.md183# ========================================
MEDIUM.claude/skills/triage-ci-flake/SKILL.md204# ========================================
MEDIUM.claude/skills/triage-ci-flake/SKILL.md206# ========================================
MEDIUM.claude/skills/triage-ci-flake/SKILL.md209# ========================================
MEDIUM.claude/skills/triage-ci-flake/SKILL.md211# ========================================
MEDIUM.claude/skills/triage-ci-flake/SKILL.md215# ========================================
MEDIUM.claude/skills/triage-ci-flake/SKILL.md217# ========================================
MEDIUM.claude/skills/triage-ci-flake/SKILL.md221# ========================================
MEDIUM.claude/skills/triage-ci-flake/SKILL.md223# ========================================
MEDIUM.claude/skills/triage-ci-flake/SKILL.md227# ========================================
MEDIUM.claude/skills/triage-ci-flake/SKILL.md229# ========================================
Hallucination Indicators15 hits · 160 pts
SeverityFileLineSnippet
CRITICALpackages/db-mongodb/src/types.ts130 * const { rows: posts } = await payload.db.collections.posts.collection.find({ session }).toArray()
CRITICALpackages/db-mongodb/src/types.ts161 * const { rows: posts } = await payload.db.collections.posts.collection.find({ session }).toArray()
CRITICAL…kages/db-mongodb/src/utilities/buildJoinAggregation.ts393 adapter.payload.config.localization.localeCodes.forEach((code) => {
CRITICAL…s/payload/src/hierarchy/resolveHierarchyCollections.ts428 const hasTab = config.admin.components.sidebar.tabs.some((tab) => tab.slug === tabSlug)
CRITICAL…s/payload/src/hierarchy/resolveHierarchyCollections.ts431 config.admin.components.sidebar.tabs.push({
CRITICALpackages/payload/src/versions/schedule/job.ts39 const matchedLocale = req.payload.config.localization.locales.find(
CRITICALpackages/plugin-multi-tenant/src/index.ts270 collection.admin.components.edit.editMenuItems.push({
CRITICALpackages/drizzle/src/queries/getTableColumnFromPath.ts130 const matchedLocale = adapter.payload.config.localization.localeCodes.find(
CRITICALpackages/drizzle/src/sqlite/init.ts19 locales = this.payload.config.localization.locales.map(({ code }) => code)
CRITICALpackages/drizzle/src/utilities/blocksToJsonMigrator.ts354 for (const collection of this.adapter.payload.config.collections.filter(entityHasBlocksField)) {
CRITICALpackages/drizzle/src/utilities/blocksToJsonMigrator.ts366 for (const globalConfig of this.adapter.payload.config.globals.filter(entityHasBlocksField)) {
CRITICALpackages/drizzle/src/utilities/blocksToJsonMigrator.ts406 for (const collection of this.adapter.payload.config.collections.filter(entityHasBlocksField)) {
CRITICALpackages/drizzle/src/utilities/blocksToJsonMigrator.ts483 for (const globalConfig of this.adapter.payload.config.globals.filter(entityHasBlocksField)) {
CRITICALpackages/drizzle/src/postgres/init.ts25 this.payload.config.localization.locales.map(({ code }) => code) as [string, ...string[]],
CRITICALpackages/drizzle/src/transform/read/traverseFields.ts453 adapter.payload.config.localization.localeCodes.reduce((acc, code) => {
Hyper-Verbose Identifiers153 hits · 153 pts
SeverityFileLineSnippet
LOWtools/scripts/src/build-template-with-local-pkgs.ts119async function runBuildWithWarningsCheck(args: {
LOWtools/scripts/src/build-template-with-local-pkgs.ts169export function updatePackageJSONDependencies(args: {
LOWtest/runTestsWithSummary.ts316function getExplicitSkippedTestCount(suiteName: string): number {
LOWtest/storage-r2/config.ts72function getCloudflareContextFromWrangler(): Promise<CloudflareContext> {
LOWtest/live-preview/int.spec.ts146 async function createPageWithInitialData(initialData: Partial<Page>) {
LOWtest/evals/runner/claudeCode.ts457function normalizeToolResultContent(content: unknown): string {
LOWtest/evals/utils/writeFailedAssertion.ts28export function writeFailedCodegenAssertion(data: FailedCodegenAssertion): void {
LOW…ollections/LexicalLocalized/generateLexicalRichText.ts1export function generateLexicalLocalizedRichText(text1: string, text2: string, blockID?: string) {
LOWtest/fields-relationship/e2e.spec.ts1144async function createVersionedRelationshipFieldDoc(
LOWtest/versions/helpers.ts83export async function createDocumentWithManyVersions({
LOWtest/versions/int.spec.ts2319 async function getLatestVersionByParentIDHelper({
LOWtest/versions/int.spec.ts2347 async function getVersionsAutosaveHelper({ where }: { where: string }): Promise<JsonObject> {
LOWtest/versions/e2e.spec.ts2083 async function navigateToDraftVersionView(versionID: string) {
LOWtest/versions/e2e.spec.ts2093 async function navigateToDiffVersionView(versionID?: string) {
LOWtest/admin/components/ResetColumns/index.tsx5function ResetDefaultColumnsButton() {
LOW…admin/components/views/CustomCollectionView/Client.tsx9export function CustomCollectionViewClient({ collectionSlug }: AdminViewClientProps) {
LOWtest/__helpers/shared/clearAndSeed/snapshot.ts32async function restoreFromMongooseSnapshot(collectionsObj, snapshotKey: string) {
LOWtest/__helpers/shared/clearAndSeed/snapshot.ts64async function restoreFromDrizzleSnapshot(
LOWtest/__helpers/e2e/helpers.ts404export function initPageConsoleErrorCatch(page: Page, options?: { ignoreCORS?: boolean }) {
LOWtest/__helpers/e2e/waitForAutoSaveToRunAndComplete.ts9export async function waitForAutoSaveToRunAndComplete(
LOWtest/__helpers/e2e/getRowByCellValueAndAssert.ts5export async function getRowByCellValueAndAssert({
LOWtest/__helpers/e2e/checkHorizontalOverflow.ts184export async function assertNoHorizontalOverflow(page: Page, testInfo?: TestInfo): Promise<void> {
LOWtest/__helpers/e2e/checkFocusIndicators.ts771export async function assertAllElementsHaveFocusIndicators(
LOWtest/__helpers/e2e/navigateToDiffVersionView.ts8export async function navigateToDiffVersionView({
LOWtest/__helpers/e2e/assertElementStaysVisible.ts3export async function assertElementStaysVisible(
LOW…e2e/fields/relationship/openRelationshipFieldDrawer.ts28export async function openRelationshipFieldDrawer({
LOW…rs/e2e/folders/expectNoResultsAndCreateFolderButton.ts7export async function expectNoResultsAndCreateFolderButton({ page }: Args): Promise<void> {
LOW…pers/e2e/folders/selectFolderAndConfirmMoveFromList.ts12export async function selectFolderAndConfirmMoveFromList({
LOW…st/__helpers/e2e/folders/selectFolderAndConfirmMove.ts9export async function selectFolderAndConfirmMove({ folderName, page }: Args): Promise<void> {
LOWtest/plugin-cloud-storage/int.spec.ts86export function describeIfInCIOrHasLocalstack(): SuiteAPI | SuiteAPI['skip'] {
LOW…plugin-cloud-storage/int.compositePrefixes.int.spec.ts17function describeIfInCIOrHasLocalstack(): SuiteAPI | SuiteAPI['skip'] {
LOW…ugin-cloud-storage/buildPluginCloudStorageIntConfig.ts47export function buildPluginCloudStorageIntConfig({
LOWtest/field-error-states/e2e.spec.ts229 async function prefillBaseRequiredFields(page: Page) {
LOWtest/fields/collections/Relationship/e2e.spec.ts1173async function createRelationshipFieldDoc(
LOWtest/plugin-multi-tenant/e2e.spec.ts1379async function getSelectedTenantFilterName({
LOWtest/query-presets/helpers/togglePreset.ts111export async function checkPresetModifiedOptions({
LOWtest/lexical-mdx/int.spec.ts267function removeUndefinedAndIDRecursively(obj: object) {
LOWpackages/ui/src/utilities/normalizeRelationshipValue.ts28export function normalizeRelationshipValue(value: any, relationTo: string | string[]): any {
LOWpackages/ui/src/utilities/copyDataFromLocale.ts198function removeIdIfParentIsLocalized(data: Data, fields: Field[]): Data {
LOW…/src/utilities/formatDocTitle/formatLexicalDocTitle.ts7export function isSerializedLexicalEditor(value: unknown): value is SerializedLexicalEditor {
LOW…kages/ui/src/elements/ReactSelect/MultiValue/index.tsx14export function generateMultiValueDraggableID(optionData, valueFunction) {
LOW…er/DrawerTitleActions/ListDrawerCreateNewDocButton.tsx12export function ListDrawerCreateNewDocButton({
LOW…lements/ClipboardAction/mergeFormStateFromClipboard.ts44export function mergeFormStateFromClipboard({
LOW…ckages/ui/src/elements/UnpublishMany/DrawerContent.tsx28export function UnpublishManyDrawerContent(props: UnpublishManyDrawerContentProps) {
LOWpackages/next/src/layouts/Root/index.tsx140 async function switchLanguageServerAction(lang: string): Promise<void> {
LOW…ashboard/Default/ModularDashboard/DashboardStepNav.tsx70export function DashboardBreadcrumbDropdown(props: {
LOW…ws/Dashboard/Default/ModularDashboard/utils/sensors.ts115function findClosestDroppableInRow(
LOW…derFieldsToDiff/utilities/getFieldsForRowComparison.ts19export function getFieldsForRowComparison({
LOW…ges/next/src/views/List/enrichDocsWithVersionStatus.ts10export async function enrichDocsWithVersionStatus({
LOW…s/payload/src/hierarchy/resolveHierarchyCollections.ts196function injectCollectionSpecificValidation({
LOW…ad/src/hierarchy/utils/buildLocalizedHierarchyPaths.ts80export function buildLocalizedHierarchyPaths(
LOW…/payload/src/hierarchy/hooks/collectionBeforeChange.ts65async function validateNoCircularReference({
LOW…ges/payload/src/bin/generateImportMap/iterateFields.ts22export function genImportMapIterateFields({
LOW…nerateImportMap/utilities/getImportMapToBaseDirPath.ts7export function getImportMapToBaseDirPath({
LOW…eImportMap/utilities/addPayloadComponentToImportMap.ts35export function addPayloadComponentToImportMap({
LOW…config/orderable/utils/getJoinScopeWhereFromDocData.ts7export function getJoinScopeWhereFromDocData(args: {
LOWpackages/payload/src/uploads/generateFileData.ts436function parseUploadEditsFromReqOrIncomingData(args: {
LOWpackages/payload/src/utilities/findUp.ts102export function pathExistsAndIsAccessibleSync(path: string) {
LOWpackages/payload/src/utilities/findUp.ts111export async function pathExistsAndIsAccessible(path: string) {
LOW…ges/payload/src/utilities/getCollectionIDFieldTypes.ts8export function getCollectionIDFieldTypes({
93 more matches not shown…
Verbosity Indicators50 hits · 80 pts
SeverityFileLineSnippet
LOWtest/plugin-nested-docs/int.spec.ts207 // Step 1: Create parent page and publish it
LOWtest/plugin-nested-docs/int.spec.ts218 // Step 2: Create child page and publish it
LOWtest/plugin-nested-docs/int.spec.ts239 // Step 3: Make unpublished changes to child (creates a draft version)
LOWtest/plugin-nested-docs/int.spec.ts249 // Step 4: Re-publish the parent (triggers resaveChildren)
LOWtest/plugin-nested-docs/int.spec.ts260 // Step 5: Verify the child's published version is still accessible
LOWtest/plugin-nested-docs/int.spec.ts272 // Step 6: Verify the draft version is also still accessible
LOWtest/versions/int.spec.ts3962 // Step 1: Create doc without blocks (simulates autosave before blocks are added)
LOWtest/versions/int.spec.ts3972 // Step 2: Update with blocks
LOWtest/versions/int.spec.ts3989 // Step 3: Publish only English locale
LOWtest/versions/e2e.spec.ts1545 // Step 1: Create and save a document without blocks
LOWtest/versions/e2e.spec.ts1551 // Step 2: Add a block via API (simpler and more reliable than UI interaction)
LOWtest/versions/e2e.spec.ts1567 // Step 3: Publish specific locale (English) via API
LOWtest/versions/e2e.spec.ts1586 // Step 4: Verify blocks survived with metadata intact
LOWtest/versions/e2e.spec.ts1591 // Step 5: Verify via find (reload from DB)
LOWtest/query-presets/e2e.spec.ts825 // Step 1: Go to list view and verify default columns are shown initially
LOWtest/query-presets/e2e.spec.ts835 // Step 2: Apply query preset (the "Default Columns" preset seeded for this collection)
LOWtest/query-presets/e2e.spec.ts838 // Step 3: Remove the query preset
LOWtest/query-presets/e2e.spec.ts841 // Step 4: Verify default columns are STILL shown after clearing preset
LOWtest/query-presets/e2e.spec.ts847 // Step 5: Navigate away and back (fresh navigation without URL params)
LOWtest/query-presets/e2e.spec.ts851 // Step 6: Verify default columns are STILL shown after fresh page load
LOWtest/localization/testMigration.ts40 // Step 1: Create test data
LOWtest/localization/testMigration.ts55 // Step 2: Check "before" state
LOWtest/localization/testMigration.ts87 // Step 3: Run migration
LOWtest/localization/testMigration.ts104 // Step 4: Check "after" state
LOWtest/localization/testMigration.ts141 // Step 5: Run rollback
LOWtest/localization/testMigration.ts158 // Step 6: Check "rolled back" state
LOWtest/localization/localizeStatus.int.spec.ts633 // Step 1: Create an article
LOWtest/localization/localizeStatus.int.spec.ts640 // Step 2: Publish only English locale
LOWtest/localization/localizeStatus.int.spec.ts648 // Step 3: Run the migration
LOWtest/localization/localizeStatus.int.spec.ts656 // Step 4: Verify the latest version has correct per-locale statuses
LOWtest/localization/localizeStatus.int.spec.ts38 // Step 1: Create some test data
LOWtest/localization/localizeStatus.int.spec.ts51 // Step 2: Verify "before" state
LOWtest/localization/localizeStatus.int.spec.ts63 // Step 3: Run the migration
LOWtest/localization/localizeStatus.int.spec.ts71 // Step 4: Verify "after" state
LOWtest/localization/localizeStatus.int.spec.ts122 // Step 5: Test rollback
LOWtest/localization/localizeStatus.int.spec.ts163 // Step 1: Create test data with localized content
LOWtest/localization/localizeStatus.int.spec.ts192 // Step 2: Run the migration
LOWtest/localization/localizeStatus.int.spec.ts200 // Step 3: Verify that version__status column was added to locales table
LOWtest/localization/localizeStatus.int.spec.ts212 // Step 4: Verify migration completed successfully
LOWtest/localization/localizeStatus.int.spec.ts240 // Step 5: Test rollback
LOWtest/localization/localizeStatus.int.spec.ts579 // Step 1: Create a post with a version
LOWtest/localization/localizeStatus.int.spec.ts592 // Step 2: Get MongoDB connection and verify "before" state
LOWtest/localization/localizeStatus.int.spec.ts607 // Step 3: Run the migration
LOWtest/localization/localizeStatus.int.spec.ts613 // Step 4: Verify "after" state - version._status should now be an object
LOWtest/localization/localizeStatus.int.spec.ts675 // Step 0: Clear existing data to start fresh (test 1 already migrated this collection)
LOWtest/localization/localizeStatus.int.spec.ts683 // Step 1: Create test data
LOWtest/localization/localizeStatus.int.spec.ts695 // Step 2: Run up migration
LOWtest/localization/localizeStatus.int.spec.ts711 // Step 3: Run down migration
LOWtest/localization/localizeStatus.int.spec.ts717 // Step 4: Verify status is back to a string
LOW…ges/next/src/views/List/enrichDocsWithVersionStatus.ts27 // We need to check if these drafts have a published version
Fake / Example Data64 hits · 65 pts
SeverityFileLineSnippet
LOW…ols/claude-plugin/skills/payload/reference/ADVANCED.md15 email: 'user@example.com',
LOW…ols/claude-plugin/skills/payload/reference/ADVANCED.md24 email: 'user@example.com',
LOW…ols/claude-plugin/skills/payload/reference/ADVANCED.md36 email: 'user@example.com',
LOW…ols/claude-plugin/skills/payload/reference/ADVANCED.md122 userEmail: 'user@example.com',
LOWtest/evals/datasets/config/codegen.ts22 'Add an onInit hook that creates a default admin user with email "admin@example.com" and role "admin" if no users
LOWtest/evals/datasets/config/codegen.ts24 'onInit async function receiving payload, uses payload.find or payload.count on users collection, conditionally ca
LOWtest/lexical/collections/Lexical/loremIpsum.ts2 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam hendrerit nisi sed sollicitudin pellentesque. Nunc posue
LOWtest/lexical/collections/Lexical/loremIpsum.ts2 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam hendrerit nisi sed sollicitudin pellentesque. Nunc posue
LOWtest/lexical/collections/LexicalLinkFeature/e2e.spec.ts79 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore mag
LOWtest/lexical/collections/LexicalLinkFeature/e2e.spec.ts79 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore mag
LOWtest/lexical/collections/LexicalLinkFeature/e2e.spec.ts282 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore mag
LOWtest/lexical/collections/LexicalLinkFeature/e2e.spec.ts282 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore mag
LOWtest/lexical/collections/RichText/loremIpsum.ts2 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam hendrerit nisi sed sollicitudin pellentesque. Nunc posue
LOWtest/lexical/collections/RichText/loremIpsum.ts2 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam hendrerit nisi sed sollicitudin pellentesque. Nunc posue
LOW…exical/collections/RichText/generateLexicalRichText.ts285 text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam hendrerit nisi sed sollicitudin pellen
LOW…exical/collections/RichText/generateLexicalRichText.ts285 text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam hendrerit nisi sed sollicitudin pellen
LOW…exical/collections/RichText/generateLexicalRichText.ts303 text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam hendrerit nisi sed sollicitudin pellen
LOW…exical/collections/RichText/generateLexicalRichText.ts303 text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam hendrerit nisi sed sollicitudin pellen
LOWtest/hierarchy/e2e.spec.ts100 await expect(tree.getByText('Acme Corp')).toBeVisible()
LOWtest/hierarchy/e2e.spec.ts305 await tree.getByText('Acme Corp').click()
LOWtest/hierarchy/seed.ts9 data: { title: 'Acme Corp' },
LOWtest/auth/int.spec.ts372 data: { apiKey, email: 'user@example.com', enableAPIKey: true, password: 'Password123' },
LOWtest/auth/int.spec.ts376 data: { email: 'user@example.com', password: 'Password123' },
LOWtest/auth/int.spec.ts392 data: { email: 'user@example.com', password: 'Password123' },
LOWtest/auth/int.spec.ts1621 expect(emailValidation('user@example.com', mockContext)).toBe(true)
LOWtest/auth/int.spec.ts1631 expect(emailValidation('"user@example.com"', mockContext)).toBe('validation:emailAddress')
LOWtest/admin/payload-types.ts301 * This is a very long description that takes many characters to complete and hopefully will wrap instead of push the
LOWtest/admin/payload-types.ts301 * This is a very long description that takes many characters to complete and hopefully will wrap instead of push the
LOWtest/admin/collections/Posts.ts267 'This is a very long description that takes many characters to complete and hopefully will wrap instead of pus
LOWtest/admin/collections/Posts.ts267 'This is a very long description that takes many characters to complete and hopefully will wrap instead of pus
LOWtest/plugin-import-export/field-hooks.int.spec.ts383 expect(rows[0]!.email).toBe('user@example.com')
LOWtest/v4/views/Components/sections/fields/EmailField.tsx14 <TextInput label="With Value" onChange={() => {}} path="email" value="user@example.com" />
LOWtest/collections-graphql/int.spec.ts1305 test1:createUser(data: { email: "test@test.com", password: "test" }) {
LOWtest/collections-graphql/int.spec.ts1313 test3:createUser(data: { email: "test@test.com", password: "test" }) {
LOWtest/plugin-cloud-storage/test.json4 "name": "John Doe",
LOWtest/fields/collections/JSON/AfterField.tsx17 name: 'John Doe',
LOWtest/fields/collections/Email/shared.ts15 email: 'user@example.com',
LOWtest/plugin-form-builder/int.spec.ts456 const result = keyValuePairToHtmlTable({ email: 'test@test.com', name: 'John' })
LOWtest/plugin-form-builder/int.spec.ts899 submissionData: [{ field: 'name', value: 'John Doe' }],
LOWtest/plugin-form-builder/int.spec.ts1113 { field: 'name', value: 'John Doe' },
LOWtest/plugin-form-builder/int.spec.ts1126 ).toHaveProperty('value', 'John Doe')
LOWtest/plugin-form-builder/int.spec.ts1189 submissionData: [{ field: 'name', value: 'John Doe' }],
LOWtest/access-control/int.spec.ts750 email: 'test@test.com',
LOWtest/access-control/postgres-logs.int.spec.ts43 email: 'test@test.com',
LOWtest/access-control/collections/ReadRestricted/seed.ts65 street: '123 Main Street',
LOWexamples/form-builder/src/seed/signUpForm.ts112 text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore
LOWexamples/form-builder/src/seed/signUpForm.ts112 text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore
LOW…ieldSchemasToFormState/fieldSchemasToFormState.spec.js33 const user = { email: 'user@example.com' }
LOW…es/ui/src/utilities/normalizeRelationshipValue.spec.ts53 name: 'John Doe',
LOW…es/ui/src/utilities/normalizeRelationshipValue.spec.ts64 name: 'Jane Doe',
LOW…es/ui/src/utilities/normalizeRelationshipValue.spec.ts338 name: 'John Doe',
LOWpackages/db-mongodb/src/testCredentials.ts1export const email = 'test@test.com'
LOWpackages/payload-cloud/src/plugin.spec.ts133 defaultFromAddress: 'test@test.com',
LOWpackages/payload-cloud/src/plugin.spec.ts152 const defaultFromAddress = 'test@test.com'
LOWpackages/payload/src/fields/validations.ts196 * Disallows emails with double quotes (e.g., "user"@example.com, user@"example.com", "user@example.com")
LOWpackages/email-nodemailer/src/plugin.spec.ts11 defaultFromAddress: 'test@test.com',
LOW…erce/src/payments/adapters/stripe/confirmOrder.spec.ts72 data: { customerEmail: 'test@test.com', paymentIntentID: 'pi_123' },
LOW…erce/src/payments/adapters/stripe/confirmOrder.spec.ts88 data: { customerEmail: 'test@test.com', paymentIntentID: 'pi_123' },
LOW…erce/src/payments/adapters/stripe/confirmOrder.spec.ts104 data: { customerEmail: 'test@test.com', paymentIntentID: 'pi_123' },
LOW…erce/src/payments/adapters/stripe/confirmOrder.spec.ts120 data: { customerEmail: 'test@test.com', paymentIntentID: 'pi_123' },
4 more matches not shown…
Magic Placeholder Names9 hits · 45 pts
SeverityFileLineSnippet
HIGHexamples/localization/src/endpoints/seed/post-1.ts175 code: "async function generateText(prompt) {\n const apiKey = 'your-api-key';\n const apiUrl = 'https:
HIGHexamples/localization/src/endpoints/seed/post-1.ts480 code: "async function generateText(prompt) {\n const apiKey = 'your-api-key';\n const apiUrl = 'https:
HIGH…es/create-payload-app/src/lib/manage-env-files.spec.ts63 `# Added by Payload\nPAYLOAD_SECRET=YOUR_SECRET_HERE\nDATABASE_URL=your-connection-string-here`,
HIGH…es/create-payload-app/src/lib/manage-env-files.spec.ts90 `DATABASE_URL=example-connection-string\nCUSTOM_VAR=custom-value\nPAYLOAD_SECRET=YOUR_SECRET_HERE\n# Added by Payl
HIGH…es/create-payload-app/src/lib/manage-env-files.spec.ts124 `# Added by Payload\nPAYLOAD_SECRET=YOUR_SECRET_HERE\nDATABASE_URL=example-connection-string\nCUSTOM_VAR=custom-va
HIGHpackages/create-payload-app/src/lib/manage-env-files.ts35 withDefaults += '\nPAYLOAD_SECRET=YOUR_SECRET_HERE'
HIGHpackages/create-payload-app/src/lib/manage-env-files.ts68 line = `PAYLOAD_SECRET=${payloadSecret || 'YOUR_SECRET_HERE'}`
HIGHtemplates/website/src/endpoints/seed/post-1.ts185 code: "async function generateText(prompt) {\n const apiKey = 'your-api-key';\n const apiUrl = 'http
HIGH…lates/with-vercel-website/src/endpoints/seed/post-1.ts185 code: "async function generateText(prompt) {\n const apiKey = 'your-api-key';\n const apiUrl = 'http
Over-Commented Block35 hits · 35 pts
SeverityFileLineSnippet
LOWsentry.client.config.ts21 // ...
LOWtools/releaser/src/lib/publishList.ts61 'typescript-plugin',
LOWtest/docker-compose.yml1name: payload-monorepo
LOWtest/vitest.setup.ts21// imap: { host: 'imap.test.com', port: 993, secure: true },
LOWtest/runTestsWithSummary.ts121 if (jsonStart === -1) {
LOWtest/storage-r2/cloudflare-env.d.ts8361 readonly topic: string
LOWtest/storage-r2/cloudflare-env.d.ts8501 // Type for method return or property on an RPC interface.
LOWtest/storage-r2/cloudflare-env.d.ts8521 // Base type for all other types providing RPC-like interfaces.
LOWtest/storage-r2/cloudflare-env.d.ts8541 // This interface is, again, intended to be declared in project-specific files, and then that
LOWtest/storage-r2/cloudflare-env.d.ts8861 // Single id for the entire top-level invocation
LOWtest/types/types.spec.ts481 expect<NodeType['type']>().type.not.toBe<string>()
LOWtest/lexical/seed.ts41// import { dateDoc } from './collections/Date/shared.js'
LOWtest/lexical/seed.ts61// conditionalLogicSlug,
LOW…helpers/shared/db/mongodb/docker-compose-entrypoint.sh1#!/bin/bash
LOWtest/localization-rtl/e2e.spec.ts1// I'm not sure why this suite exists without tests.
LOWtest/joins/collections/Categories.ts21 // tabs: [
LOWtest/plugin-mcp/config.ts101 // overrideAuth: (req) => {
LOWtest/fields/seed.ts161 // })
LOW.claude/skills/triage-ci-flake/SKILL.md1613. **ALWAYS wait for server ready confirmation before running tests**
LOW.claude/skills/triage-ci-flake/SKILL.md201**IMPORTANT: You MUST stop the dev server before starting prod server.**
LOWpackages/ui/src/elements/Popup/index.tsx241
LOWpackages/ui/src/elements/Popup/index.tsx381
LOWpackages/ui/src/elements/Link/formatUrl.ts1// Format function modified from nodejs
LOWpackages/next/src/withPayload/withPayload.js181 '@payloadcms/payload-cloud',
LOWpackages/next/src/views/Document/index.tsx141 // CRITICAL FIX FOR TRANSACTION RACE CONDITION:
LOW…ges/next/src/views/List/enrichDocsWithVersionStatus.ts41 // 1. A draft version (latest=true, _status='draft')
LOWpackages/payload/src/index.ts1181
LOWpackages/payload/src/utilities/dependencies/realPath.ts21// https://sun0day.github.io/blog/vite/why-vite4_3-is-faster.html#fs-realpathsync-issue
LOWpackages/plugin-import-export/src/export/getFields.ts181 label: ({ t }) => t('general:no'),
LOW.github/workflows/main.yml381 # The e2e.config.ts defines each test suite with: { file, shards, parallel? }
LOWtemplates/with-cloudflare-d1/cloudflare-env.d.ts10981// The message includes metadata about the broker, the client, and the payload
LOWtemplates/with-cloudflare-d1/cloudflare-env.d.ts11121 [K in keyof T]: Unstubify<T[K]>;
LOWtemplates/with-cloudflare-d1/cloudflare-env.d.ts11161 Exclude<keyof T, Reserved | symbol | keyof StubBase<never>>
LOWtemplates/with-cloudflare-d1/cloudflare-env.d.ts11181 // // of `ctx.exports`.
LOWtemplates/with-cloudflare-d1/cloudflare-env.d.ts11561 | Log
Slop Phrases9 hits · 18 pts
SeverityFileLineSnippet
MEDIUMexamples/localization/src/endpoints/seed/post-1.ts59 text: ' This content is fabricated and for demonstration purposes only. To edit this post, ',
MEDIUMexamples/localization/src/endpoints/seed/post-2.ts59 text: ' This content is fabricated and for demonstration purposes only. To edit this post, ',
MEDIUMexamples/localization/src/endpoints/seed/post-3.ts40 text: 'This content is fabricated and for demonstration purposes only. To edit this post, ',
MEDIUMtemplates/website/src/endpoints/seed/post-1.ts69 text: ' This content is fabricated and for demonstration purposes only. To edit this post, ',
MEDIUMtemplates/website/src/endpoints/seed/post-2.ts63 text: ' This content is fabricated and for demonstration purposes only. To edit this post, ',
MEDIUMtemplates/website/src/endpoints/seed/post-3.ts44 text: 'This content is fabricated and for demonstration purposes only. To edit this post, ',
MEDIUM…lates/with-vercel-website/src/endpoints/seed/post-1.ts69 text: ' This content is fabricated and for demonstration purposes only. To edit this post, ',
MEDIUM…lates/with-vercel-website/src/endpoints/seed/post-2.ts63 text: ' This content is fabricated and for demonstration purposes only. To edit this post, ',
MEDIUM…lates/with-vercel-website/src/endpoints/seed/post-3.ts44 text: 'This content is fabricated and for demonstration purposes only. To edit this post, ',
AI Slop Vocabulary4 hits · 12 pts
SeverityFileLineSnippet
MEDIUMtest/runTestsWithSummary.ts143 // we might need a more robust parser. Vitest json reporter usually outputs minified JSON on one line unless configu
MEDIUMtest/fields/collections/Row/e2e.spec.ts235 // Also assert inline style contains the var (robust to other inline styles)
MEDIUMtest/fields/collections/Row/e2e.spec.ts274 // Also assert inline style contains the var (robust to other inline styles)
MEDIUM.vscode/settings.json34 // Essentially disables bun test buttons
Redundant / Tautological Comments4 hits · 6 pts
SeverityFileLineSnippet
LOW…helpers/shared/db/mongodb/docker-compose-entrypoint.sh26# Check if already initialized
LOW.claude/hooks/post-write-format.sh16# Check if file exists
LOWscripts/pack_to_dest.sh16# Check if packages/$package_name exists
LOWscripts/pack_to_dest.sh23# Check if destination directory exists
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippet
LOWtest/docker-compose.yml5# Usage:
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippet
LOWexamples/remix/website/app/entry.server.tsx17export default function handleRequest(