Repository Analysis

prisma/prisma

Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB

1.7 Likely human-written View on GitHub
1.7
Adjusted Score
1.7
Raw Score
100%
Time Factor
2026-05-19
Last Push
46,033
Stars
TypeScript
Language
317,368
Lines of Code
3463
Files
390
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 10HIGH 12MEDIUM 2LOW 366

Pattern Findings

390 matches across 9 categories. Click a row to expand file-level details.

Hyper-Verbose Identifiers231 hits · 242 pts
SeverityFileLineSnippet
LOWscripts/ci/publish.ts249async function getCurrentPatchForPatchVersions(patchMajorMinor: { major: number; minor: number }): Promise<number> {
LOWscripts/ci/publish.ts321function getMaxDevVersionIncrement(versions: string[]): number {
LOWscripts/ci/publish.ts336function getMaxIntegrationVersionIncrement(versions: string[]): number {
LOWscripts/ci/publish.ts353function getMaxPatchVersionIncrement(versions: string[]): number {
LOWscripts/ci/publish.ts375export async function getAllVersionsPublishedFor(pkgs: Packages, channel: string, prefix: string): Promise<string[]> {
LOWpackages/param-graph-builder/src/build-param-graph.ts36export function buildAndSerializeParamGraph(dmmf: DMMF.Document): SerializedParamGraph {
LOWpackages/client-engine-runtime/bench/bench-utils.ts26export function createConfiguredMockAdapter(): MockDriverAdapter {
LOWpackages/client-engine-runtime/src/json-protocol.ts43export function normalizeJsonProtocolValues(result: unknown): unknown {
LOWpackages/client-engine-runtime/src/user-facing-error.ts70export function rethrowAsUserFacingRawError(error: any): never {
LOWpackages/client-engine-runtime/src/user-facing-error.ts78function buildRawQueryUserFacingError(error: DriverAdapterError): UserFacingError {
LOWpackages/client-engine-runtime/src/user-facing-error.ts86function buildUnmappedDatabaseUserFacingError(error: DriverAdapterError): UserFacingError {
LOWpackages/client-engine-runtime/src/user-facing-error.ts112function isGenericDatabaseErrorKind(kind: DriverAdapterError['cause']['kind']): boolean {
LOWpackages/client-engine-runtime/src/raw-json-protocol.ts13export function normalizeRawJsonProtocolResponse(response: RawResponse): RawResponse {
LOW…nt-engine-runtime/src/interpreter/query-interpreter.ts588function evaluateProcessingParameters(
LOW…nt-engine-runtime/src/parameterization/parameterize.ts420function getPrimitivePlaceholderType(value: string | number | boolean): PlaceholderType {
LOWpackages/config/src/PrismaConfig.ts244function validateExperimentalFeatures(config: PrismaConfig): Either.Either<PrismaConfig, Error> {
LOWpackages/config/src/PrismaConfig.ts314function brandPrismaConfigInternal(config: _PrismaConfigInternal): PrismaConfigInternal {
LOWpackages/config/src/PrismaConfig.ts328function parsePrismaConfigInternalShape(input: unknown): Either.Either<PrismaConfigInternal, Error> {
LOWpackages/config/src/defineConfig.ts11function validateExperimentalFeatures(config: PrismaConfig): Either.Either<PrismaConfig, Error> {
LOWpackages/config/src/loadConfigFromFile.ts259function transformPathsInConfigToAbsolute(
LOW…ckages/config/src/__tests__/loadConfigFromFile.test.ts19 function assertErrorConfigLoadError(error: LoadConfigFromFileError | undefined): asserts error is {
LOW…ckages/config/src/__tests__/loadConfigFromFile.test.ts26 function assertErrorConfigFileSyntaxError(error: LoadConfigFromFileError | undefined): asserts error is {
LOW…ckages/config/src/__tests__/loadConfigFromFile.test.ts703 function assertLoadConfigFromFileErrorIsUndefined(
LOWpackages/adapter-planetscale/src/planetscale.test.ts19 function createAdapterWithMockConnection(mockTransaction: (fn: (tx: any) => Promise<void>) => Promise<void>) {
LOW…es/schema-files-loader/src/resolver/caseSensitivity.ts5export function createFileNameToKeyMapper(options: CaseSensitivityOptions): FileNameToKeyMapper {
LOWpackages/cli/scripts/preinstall.ts12function extractSemanticVersionParts(version: MajorMinor | MajorMinorPatch) {
LOWpackages/cli/scripts/preinstall.ts23export function printMessageAndExitIfUnsupportedNodeVersion(nodeVersion: MajorMinorPatch) {
LOWpackages/cli/src/Studio.ts392function normalizeMySQLConnectionString(connectionString: string): string {
LOWpackages/cli/src/Studio.ts465function createStudioRequestHandler({
LOWpackages/cli/src/Studio.ts658function getStudioAssetDirectories(): string[] {
LOWpackages/cli/src/bootstrap/template-scaffold.ts53export async function downloadAndExtractTemplate(templateName: string, targetDir: string): Promise<void> {
LOWpackages/cli/src/management-api/auth-client.ts8export function createAuthenticatedManagementAPI(): ManagementApiSdk {
LOWpackages/cli/src/utils/getClientVersion.ts8export async function getInstalledPrismaClientVersion(cwd: string = process.cwd()): Promise<string | null> {
LOWpackages/cli/src/utils/getClientVersion.ts15async function getPrismaClientVersionFromNodeModules(cwd: string = process.cwd()): Promise<string | null> {
LOWpackages/cli/src/utils/getClientVersion.ts39async function getPrismaClientVersionFromLocalPackageJson(cwd: string = process.cwd()): Promise<string | null> {
LOWpackages/cli/src/utils/client-output-path.ts12export function determineClientOutputPath(schemaDir: string): string {
LOWpackages/cli/src/utils/client-output-path.ts45function getSourceDirFromTypeScriptConfig(): string | undefined {
LOWpackages/cli/src/utils/commandState.ts17export async function loadOrInitializeCommandState(): Promise<CommandState> {
LOWpackages/cli/src/postgres/link/Link.ts109function extractWorkspaceIdFromToken(token: string): string | null {
LOWpackages/cli/src/postgres/link/Link.ts121async function resolveProjectForDatabase(client: ManagementApiClient, databaseId: string): Promise<string | null> {
LOWpackages/client-generator-ts/src/runtime-targets.ts40export function parseRuntimeTargetFromUnknown(target: unknown) {
LOWpackages/client-generator-ts/src/file-extensions.ts27function parseFileExtensionFromUnknown(
LOWpackages/client-generator-ts/src/file-extensions.ts38export function parseGeneratedFileExtension(extension: unknown): GeneratedFileExtension {
LOWpackages/client-generator-ts/src/file-extensions.ts86function inferImportFileExtensionFromTsConfig(
LOWpackages/client-generator-ts/src/utils.ts12export function getSelectCreateManyAndReturnName(modelName: string): string {
LOWpackages/client-generator-ts/src/utils.ts16export function getSelectUpdateManyAndReturnName(modelName: string): string {
LOWpackages/client-generator-ts/src/utils.ts24export function getIncludeCreateManyAndReturnName(modelName: string): string {
LOWpackages/client-generator-ts/src/utils.ts28export function getIncludeUpdateManyAndReturnName(modelName: string): string {
LOWpackages/client-generator-ts/src/utils.ts32export function getCreateManyAndReturnOutputType(modelName: string): string {
LOWpackages/client-generator-ts/src/utils.ts36export function getUpdateManyAndReturnOutputType(modelName: string): string {
LOWpackages/client-generator-ts/src/utils.ts72export function getCountAggregateInputName(modelName: string): string {
LOWpackages/client-generator-ts/src/utils.ts76export function getCountAggregateOutputName(modelName: string): string {
LOWpackages/client-generator-ts/src/utils.ts100export function getAggregateScalarGetName(modelName: string): string {
LOWpackages/client-generator-ts/src/generator.ts94function parseCompilerBuildFromUnknown(value: unknown, target: RuntimeTargetInternal): 'fast' | 'small' {
LOWpackages/client-generator-ts/src/generateClient.ts255function validateDmmfAgainstDenylists(prismaClientDmmf: DMMF.Document): Error[] | null {
LOWpackages/client-generator-ts/src/module-format.ts21export function parseModuleFormatFromUnknown(value: unknown): ModuleFormat {
LOW…/client-generator-ts/src/TSClient/SelectIncludeOmit.ts78function modelResultExtensionsType(modelName: string) {
LOW…/client-generator-ts/src/TSClient/SelectIncludeOmit.ts92function buildSelectOrIncludeObject(modelName: string, fields: readonly DMMF.SchemaField[], context: GenerateContext) {
LOWpackages/client-generator-ts/src/TSClient/TypeMap.ts29function clientTypeMapModelsDefinition(context: GenerateContext) {
LOWpackages/client-generator-ts/src/TSClient/TypeMap.ts78function clientTypeMapOthersDefinition(context: GenerateContext) {
171 more matches not shown…
Hallucination Indicators10 hits · 100 pts
SeverityFileLineSnippet
CRITICAL…kages/client-generator-ts/src/TSClient/PrismaClient.ts101 if (!context.dmmf.mappings.otherOperations.write.includes('queryRaw')) {
CRITICAL…kages/client-generator-ts/src/TSClient/PrismaClient.ts132 if (!context.dmmf.mappings.otherOperations.write.includes('executeRaw')) {
CRITICAL…kages/client-generator-ts/src/TSClient/PrismaClient.ts165 if (!context.dmmf.mappings.otherOperations.write.includes('queryRaw')) {
CRITICAL…kages/client-generator-ts/src/TSClient/PrismaClient.ts199 if (!context.dmmf.mappings.otherOperations.write.includes('runCommandRaw')) {
CRITICALpackages/client-generator-ts/src/TSClient/Model.ts66 this.mapping = this.context.dmmf.mappings.modelOperations.find((m) => m.model === model.name)!
CRITICAL…kages/client-generator-js/src/TSClient/PrismaClient.ts261 if (!context.dmmf.mappings.otherOperations.write.includes('queryRaw')) {
CRITICAL…kages/client-generator-js/src/TSClient/PrismaClient.ts292 if (!context.dmmf.mappings.otherOperations.write.includes('executeRaw')) {
CRITICAL…kages/client-generator-js/src/TSClient/PrismaClient.ts325 if (!context.dmmf.mappings.otherOperations.write.includes('queryRaw')) {
CRITICAL…kages/client-generator-js/src/TSClient/PrismaClient.ts359 if (!context.dmmf.mappings.otherOperations.write.includes('runCommandRaw')) {
CRITICALpackages/client-generator-js/src/TSClient/Model.ts64 this.mapping = this.context.dmmf.mappings.modelOperations.find((m) => m.model === model.name)!
Over-Commented Block74 hits · 74 pts
SeverityFileLineSnippet
LOWsandbox/tracing/tsconfig.json1{
LOWsandbox/tracing/tsconfig.json21 // "noLib": true, /* Disable including any library files, including the default l
LOWsandbox/tracing/tsconfig.json41 // "declarationMap": true, /* Create sourcemaps for d.ts files. */
LOWsandbox/tracing/tsconfig.json61 // "declarationDir": "./", /* Specify the output directory for generated declaration files
LOWsandbox/tracing/tsconfig.json81 // "exactOptionalPropertyTypes": true, /* Interpret optional property types as written, rather than ad
LOWsandbox/d1/tsconfig.json21 // "jsxImportSource": "", /* Specify module specifier used to import the JSX factory functi
LOWsandbox/d1/tsconfig.json41 "checkJs": false /* Enable error reporting in type-checked JavaScript files. */,
LOWsandbox/d1/tsconfig.json61 // "stripInternal": true, /* Disable emitting declarations that have `@internal` in their J
LOWsandbox/d1/tsconfig.json81 // "useUnknownInCatchVariables": true, /* Type catch clause variables as 'unknown' instead of 'any'. */
LOWsandbox/d1/src/index.ts41
LOWsandbox/d1/src/index.ts61 // },
LOWsandbox/d1/src/index.ts81 // `
LOWsandbox/d1/src/index.ts101
LOWsandbox/d1/src/index.ts121 // ])
LOWscripts/ci/publish.ts241
LOWpackages/client-engine-runtime/src/user-facing-error.ts41 // kinds (`postgres`, `mysql`, `sqlite`, `mssql`) this happens when the
LOWpackages/adapter-neon/src/neon.ts101 rowMode: 'array',
LOWpackages/cli/src/bootstrap/Bootstrap.ts401 //
LOWpackages/cli/src/__tests__/commands/CLI.test.ts21 // db: DbCommand.new({
LOWpackages/client-generator-ts/src/utils/wasm.ts41 const buildEdgeLoader = !buildNonEdgeLoader
LOWpackages/migrate/src/__tests__/MigrateDev.test.ts301
LOWpackages/migrate/src/__tests__/MigrateDev.test.ts341 // const result = MigrateDev.new().parse([
LOWpackages/migrate/src/__tests__/MigrateDev.test.ts961 // ctx.fixture('schema-only-postgresql')
LOWpackages/migrate/src/__tests__/MigrateDev.test.ts1041 `)
LOWpackages/migrate/src/__tests__/MigrateDev.test.ts1141 "Datasource "my_db": PostgreSQL database "tests-migrate-dev", schema "public" <location placeholder>
LOWpackages/migrate/src/__tests__/MigrateDev.test.ts1161 // 1: schema_core::state::DevDiagnostic
LOWpackages/migrate/src/__tests__/MigrateDev.test.ts1501 })
LOWpackages/migrate/src/__tests__/MigrateDev.test.ts1521 // `)
LOWpackages/migrate/src/__tests__/MigrateDev.test.ts1701 // ctx.fixture('nativeTypes-sqlserver')
LOWpackages/migrate/src/__tests__/MigrateDev.test.ts1721 // it('first migration --force + --name', async () => {
LOW…ges/migrate/src/__tests__/ensureDatabaseExists.test.ts21// Would need logic to be reproducible for testing other databases
LOWpackages/client-generator-js/src/generator.ts41 // we find the default output path by resolving the path to the
LOW…er-adapters-custom-db-schema/adapter-neon/jestSetup.ts1const { webcrypto } = require('node:crypto')
LOW…lient/tests/e2e/connection-limit-reached/tests/main.ts21
LOW…omOutput-reExportDirect/packages/service/next-env.d.ts1/// <reference types="next" />
LOW…customOutput-noReExport/packages/service/next-env.d.ts1/// <reference types="next" />
LOW…put-reExportIndirect-ts/packages/service/next-env.d.ts1/// <reference types="next" />
LOW…serverComponents-customOutput-noReExport/next-env.d.ts1/// <reference types="next" />
LOW…rverComponents-noCustomOutput-noReExport/next-env.d.ts1/// <reference types="next" />
LOW…tor-reExportIndirect-ts/packages/service/next-env.d.ts1/// <reference types="next" />
LOW…put-reExportIndirect-ts/packages/service/next-env.d.ts1/// <reference types="next" />
LOW…omOutput-reExportDirect/packages/service/next-env.d.ts1/// <reference types="next" />
LOW…rverComponents-noCustomOutput-noReExport/next-env.d.ts1/// <reference types="next" />
LOW…customOutput-noReExport/packages/service/next-env.d.ts1/// <reference types="next" />
LOW…CustomOutput-noReExport/packages/service/next-env.d.ts1/// <reference types="next" />
LOW…Output-reExportIndirect/packages/service/next-env.d.ts1/// <reference types="next" />
LOW…Output-reExportIndirect/packages/service/next-env.d.ts1/// <reference types="next" />
LOW…tor-reExportIndirect-ts/packages/service/next-env.d.ts1/// <reference types="next" />
LOW…ServerComponents-customOutput-noReExport/next-env.d.ts1/// <reference types="next" />
LOW…Output-reExportIndirect/packages/service/next-env.d.ts1/// <reference types="next" />
LOW…Output-reExportIndirect/packages/service/next-env.d.ts1/// <reference types="next" />
LOW…CustomOutput-noReExport/packages/service/next-env.d.ts1/// <reference types="next" />
LOW…/tests/functional/_utils/relationMode/computeMatrix.ts21 // See https://www.notion.so/prismaio/Phase-1-Report-on-findings-f21c7bb079c5414296286973fdcd62c2#ac4d9f6a5d3842b5b6ff
LOW…/functional/relationMode-17255-same-actions/_matrix.ts1import { defineMatrix } from '../_utils/defineMatrix'
LOW…/functional/relationMode-17255-same-actions/_matrix.ts21
LOW…nal/relationMode-in-separate-gh-action/tests_1-to-1.ts1001 // onDelete: SetNull & relationMode: prisma
LOW…nal/relationMode-in-separate-gh-action/tests_1-to-n.ts721 // Feature request: https://github.com/prisma/prisma/issues/3502
LOW…/functional/postgres_raw_query_parameter_types/test.ts1import { Providers } from '../_utils/providers'
LOW…functional/relationMode-17255-mixed-actions/_matrix.ts21 // We just want to run all databases once
LOW…ent/tests/functional/interactive-transactions/tests.ts1201 // ref: https://docs.microsoft.com/en-us/troubleshoot/sql/analysis-services/enable-snapshot-transaction-isolation-
14 more matches not shown…
Fake / Example Data56 hits · 56 pts
SeverityFileLineSnippet
LOWsandbox/studio/mysql.sql226INSERT INTO Suppliers VALUES(20,'Leka Trading','Chandra Leka','471 Serangoon Loop, Suite #402','Singapore','512','Singap
LOWsandbox/studio/sqlite.sql222INSERT INTO Suppliers VALUES(20,'Leka Trading','Chandra Leka','471 Serangoon Loop, Suite #402','Singapore','512','Singap
LOWsandbox/studio/postgres.sql220INSERT INTO Suppliers VALUES(20,'Leka Trading','Chandra Leka','471 Serangoon Loop, Suite #402','Singapore','512','Singap
LOWpackages/client-engine-runtime/bench/mock-data.ts28 content: `This is the content of post ${j} by user ${i}. Lorem ipsum dolor sit amet.`,
LOWpackages/client-engine-runtime/bench/mock-data.ts28 content: `This is the content of post ${j} by user ${i}. Lorem ipsum dolor sit amet.`,
LOW…nt-engine-runtime/src/interpreter/render-query.test.ts359 args: [false, Array.from({ length: 5 }, (_, i) => [i + 1, i + 2]), 'John Doe', 'Jane Doe'],
LOW…nt-engine-runtime/src/interpreter/render-query.test.ts359 args: [false, Array.from({ length: 5 }, (_, i) => [i + 1, i + 2]), 'John Doe', 'Jane Doe'],
LOW…nt-engine-runtime/src/interpreter/render-query.test.ts377 args: [false, ...Array.from({ length: 3 }, (_, i) => [i + 1, i + 2]).flat(), 'John Doe', 'Jane Doe'],
LOW…nt-engine-runtime/src/interpreter/render-query.test.ts377 args: [false, ...Array.from({ length: 3 }, (_, i) => [i + 1, i + 2]).flat(), 'John Doe', 'Jane Doe'],
LOW…nt-engine-runtime/src/interpreter/render-query.test.ts389 args: [false, ...Array.from({ length: 2 }, (_, i) => [i + 4, i + 5]).flat(), 'John Doe', 'Jane Doe'],
LOW…nt-engine-runtime/src/interpreter/render-query.test.ts389 args: [false, ...Array.from({ length: 2 }, (_, i) => [i + 4, i + 5]).flat(), 'John Doe', 'Jane Doe'],
LOW…nt-engine-runtime/src/interpreter/render-query.test.ts417 args: [false, Array.from({ length: 10 }, (_, i) => i + 1), 'John Doe'],
LOW…nt-engine-runtime/src/interpreter/render-query.test.ts434 args: [false, ...Array.from({ length: 8 }, (_, i) => i + 1), 'John Doe'],
LOW…nt-engine-runtime/src/interpreter/render-query.test.ts445 args: [false, ...Array.from({ length: 2 }, (_, i) => i + 9), 'John Doe'],
LOW…nt-engine-runtime/src/interpreter/render-query.test.ts517 args: [false, Array.from({ length: 3000 }, (_, i) => i + 1), 'John Doe'],
LOWpackages/client/tests/e2e/external-tables/tests/main.ts34 data: { id: 1, username: 'John Doe', email: 'john.doe@example.com', role: 'customer' },
LOWpackages/client/tests/e2e/external-tables/tests/main.ts43 expect(users[0].username).toBe('John Doe')
LOWpackages/client/tests/e2e/typed-sql/tests/main.ts12 await prisma.user.create({ data: { id: 123, email: 'user@example.com' } })
LOWpackages/client/tests/e2e/typed-sql/tests/main.ts20 "email": "user@example.com",
LOWpackages/client/tests/functional/batching/tests.ts209 prisma.user.findUnique({ where: { email: 'user@example.com' } }),
LOW…/tests/functional/0-legacy-ports/malformed-id/tests.ts16 name: 'Jane Doe',
LOW…/tests/functional/0-legacy-ports/malformed-id/tests.ts39 name: 'Jane Doe',
LOW…/tests/functional/0-legacy-ports/malformed-id/tests.ts55 name: 'Jane Doe',
LOWpackages/client/tests/functional/globalOmit/test.ts34 email: 'user@example.com',
LOWpackages/client/tests/functional/globalOmit/test.ts229 const user = await client.user.findUniqueOrThrow({ where: { email: 'user@example.com' } })
LOWpackages/client/tests/functional/globalOmit/test.ts271 const user = await client.user.findUnique({ where: { email: 'user@example.com' } })
LOWpackages/client/tests/functional/globalOmit/test.ts339 const user = await client.user.delete({ where: { email: 'user@example.com' } })
LOWpackages/client/tests/functional/globalOmit/test.ts398 where: { email: 'user@example.com' },
LOWpackages/client/tests/functional/globalOmit/test.ts496 email: 'user@example.com',
LOWpackages/client/tests/functional/globalOmit/test.ts736 email: 'user@example.com',
LOW…ent/tests/functional/issues/18292-inspect-loop/test.ts11 await prisma.user.create({ data: { email: 'user@example.com' } })
LOW…ent/tests/functional/issues/18292-inspect-loop/test.ts33 expect(inspect(user)).toMatchInlineSnapshot(`"{ email: 'user@example.com', computedField: 'HELLO!!!' }"`)
LOW…ent/tests/functional/issues/18292-inspect-loop/test.ts52 `"{ email: 'user@example.com', computedField: { deeply: [Object] } }"`,
LOW…ctional/issues/19997-select-include-undefined/tests.ts11 await prisma.user.create({ data: { email: 'user@example.com' } })
LOWpackages/client/tests/functional/issues/12378/tests.ts18 email: 'user@example.com',
LOWpackages/client/tests/functional/issues/12378/tests.ts23 email: 'user@example.com',
LOWpackages/client/tests/functional/issues/12378/tests.ts56 email: 'user@example.com',
LOW…/client/tests/functional/globalOmitJSGenerator/test.ts32 email: 'user@example.com',
LOW…/client/tests/functional/globalOmitJSGenerator/test.ts227 const user = await client.user.findUniqueOrThrow({ where: { email: 'user@example.com' } })
LOW…/client/tests/functional/globalOmitJSGenerator/test.ts269 const user = await client.user.findUnique({ where: { email: 'user@example.com' } })
LOW…/client/tests/functional/globalOmitJSGenerator/test.ts337 const user = await client.user.delete({ where: { email: 'user@example.com' } })
LOW…/client/tests/functional/globalOmitJSGenerator/test.ts396 where: { email: 'user@example.com' },
LOW…/client/tests/functional/globalOmitJSGenerator/test.ts494 email: 'user@example.com',
LOW…/client/tests/functional/globalOmitJSGenerator/test.ts734 email: 'user@example.com',
LOW…ent/tests/functional/interactive-transactions/tests.ts1141 await tx.user.create({ data: { email: 'user@example.com' } })
LOW…ent/tests/functional/interactive-transactions/tests.ts1157 await tx.user.create({ data: { email: 'user@example.com' } })
LOW…ent/tests/functional/interactive-transactions/tests.ts1174 await tx.user.create({ data: { email: 'user@example.com' } })
LOW…ent/tests/functional/interactive-transactions/tests.ts1188 await tx.user.create({ data: { email: 'user@example.com' } })
LOW…ent/tests/functional/interactive-transactions/tests.ts1205 // await tx.user.create({ data: { email: 'user@example.com' } })
LOW…ent/tests/functional/interactive-transactions/tests.ts1220 await tx.user.create({ data: { email: 'user@example.com' } })
LOW…ent/tests/functional/interactive-transactions/tests.ts1243 await tx.user.create({ data: { email: 'user@example.com' } })
LOW…t/src/runtime/core/extensions/visitQueryResult.test.ts217 title: 'Lorem impsum: is it really dolor sit amet?',
LOW…t/src/runtime/core/extensions/visitQueryResult.test.ts249 title: 'Lorem impsum: is it really dolor sit amet?',
LOW…t/src/runtime/core/extensions/visitQueryResult.test.ts281 title: 'Lorem impsum: is it really dolor sit amet?',
LOW…t/src/runtime/core/extensions/visitQueryResult.test.ts313 title: 'Lorem impsum: is it really dolor sit amet?',
LOW…t/src/runtime/core/extensions/visitQueryResult.test.ts350 title: 'Lorem impsum: is it really dolor sit amet?',
Cross-File Repetition9 hits · 45 pts
SeverityFileLineSnippet
HIGHsandbox/studio/mysql.sql0'','laurence lebihans','12, rue des bouchers','marseille','13008','france'); insert into customers values(10,'bottom-dol
HIGHsandbox/studio/sqlite.sql0'','laurence lebihans','12, rue des bouchers','marseille','13008','france'); insert into customers values(10,'bottom-dol
HIGHsandbox/studio/postgres.sql0'','laurence lebihans','12, rue des bouchers','marseille','13008','france'); insert into customers values(10,'bottom-dol
HIGHsandbox/studio/mysql.sql0'asie','annette roulet','1 rue alsace-lorraine','toulouse','31000','france'); insert into customers values(42,'laughing
HIGHsandbox/studio/sqlite.sql0'asie','annette roulet','1 rue alsace-lorraine','toulouse','31000','france'); insert into customers values(42,'laughing
HIGHsandbox/studio/postgres.sql0'asie','annette roulet','1 rue alsace-lorraine','toulouse','31000','france'); insert into customers values(42,'laughing
HIGHsandbox/studio/mysql.sql0's head gourmet provisioners','helvetius nagy','722 davinci blvd.','kirkland','98034','usa'); insert into customers valu
HIGHsandbox/studio/sqlite.sql0's head gourmet provisioners','helvetius nagy','722 davinci blvd.','kirkland','98034','usa'); insert into customers valu
HIGHsandbox/studio/postgres.sql0's head gourmet provisioners','helvetius nagy','722 davinci blvd.','kirkland','98034','usa'); insert into customers valu
Magic Placeholder Names3 hits · 15 pts
SeverityFileLineSnippet
HIGHpackages/cli/src/bootstrap/Bootstrap.ts82 ${dim('$')} prisma bootstrap --api-key "<your-api-key>" --database "db_..."
HIGHpackages/cli/src/postgres/PostgresCommand.ts29 ${dim('$')} prisma postgres link --api-key "<your-api-key>" --database "db_..."
HIGHpackages/cli/src/postgres/link/Link.ts155 ${dim('$')} prisma postgres link --api-key "<your-api-key>" --database "db_..."
AI Slop Vocabulary2 hits · 6 pts
SeverityFileLineSnippet
MEDIUMpackages/adapter-d1/src/conversion.ts71// Essentially, it is "<ISO Date> <ISO Time>"
MEDIUMpackages/adapter-d1/src/d1.ts10// constructor. If the argument is of type `D1HttpParams`, it will leverage
Slop Phrases4 hits · 4 pts
SeverityFileLineSnippet
LOWpackages/cli/src/Init.ts680 )} You already have a ${bold('.gitignore')} file. Don't forget to add ${bold('.env')} in it to not commit any
LOW…lient/src/runtime/utils/validatePrismaClientOptions.ts30 * Feel free to allow more properties when necessary but don't forget to add
LOW.github/workflows/test.yml130 Don't forget to remove `/engine-branch` command from PR body and re-run the tests with default engine before
LOW.github/workflows/test.yml147 echo "Don't forget to remove /engine-branch command from PR body before merge"
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippet
LOW…es/query-plan-executor/src/tracing/integration.test.ts28 function processData(data: string): Promise<string> {