Repository Analysis

saltbo/zpan

Lightweight file hosting platform built on top of S3-compatible storage

6.9 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of saltbo/zpan, a TypeScript project with 2,044 GitHub stars. SynthScan v2.0 examined 181,606 lines of code across 824 source files, recording 568 pattern matches distributed across 6 syntactic categories. The overall adjusted score of 6.9 places this repository in the Low AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

6.9
Adjusted Score
6.9
Raw Score
100%
Time Factor
2026-07-10
Last Push
2.0K
Stars
TypeScript
Language
181.6K
Lines of Code
824
Files
568
Pattern Hits
2026-07-14
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 3MEDIUM 303LOW 262

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 568 distinct pattern matches across 6 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Decorative Section Separators303 hits · 938 pts
SeverityFileLineSnippetContext
MEDIUMwrangler.toml43# ----------------------------------------------------------------------------COMMENT
MEDIUMwrangler.toml48# ----------------------------------------------------------------------------COMMENT
MEDIUM…er/middleware/image-hosting-domain.integration.test.ts10// ─── Helpers ──────────────────────────────────────────────────────────────────COMMENT
MEDIUM…er/middleware/image-hosting-domain.integration.test.ts78// ─── Setup ────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…er/middleware/image-hosting-domain.integration.test.ts85// ─── App-host passthrough tests ───────────────────────────────────────────────COMMENT
MEDIUM…er/middleware/image-hosting-domain.integration.test.ts130// ─── Unverified custom domain ─────────────────────────────────────────────────COMMENT
MEDIUM…er/middleware/image-hosting-domain.integration.test.ts151// ─── Custom domain redirect ───────────────────────────────────────────────────COMMENT
MEDIUM…er/middleware/image-hosting-domain.integration.test.ts317// ─── Referer allowlist tests ──────────────────────────────────────────────────COMMENT
MEDIUM…er/middleware/image-hosting-domain.integration.test.ts359// ─── Cross-org isolation ──────────────────────────────────────────────────────COMMENT
MEDIUM…er/middleware/image-hosting-domain.integration.test.ts397// ─── accessCount atomicity ────────────────────────────────────────────────────COMMENT
MEDIUMserver/middleware/image-hosting-domain.cf-test.ts61// ─── CF custom domain tests ───────────────────────────────────────────────────COMMENT
MEDIUMserver/adapters/repos/share.integration.test.ts27// ─── Helpers ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/adapters/repos/share.integration.test.ts54// ─── createShare ─────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/adapters/repos/share.integration.test.ts168// ─── resolveShareByToken ──────────────────────────────────────────────────────COMMENT
MEDIUMserver/adapters/repos/share.integration.test.ts245// ─── verifyPassword ───────────────────────────────────────────────────────────COMMENT
MEDIUMserver/adapters/repos/share.integration.test.ts288// ─── isAccessibleByUser ───────────────────────────────────────────────────────COMMENT
MEDIUMserver/adapters/repos/share.integration.test.ts308// ─── incrementViews ───────────────────────────────────────────────────────────COMMENT
MEDIUMserver/adapters/repos/share.integration.test.ts326// ─── incrementDownloadsAtomic ─────────────────────────────────────────────────COMMENT
MEDIUMserver/adapters/repos/share.integration.test.ts403// ─── revokeShareByToken ──────────────────────────────────────────────────────COMMENT
MEDIUMserver/adapters/repos/share.integration.test.ts434// ─── listShareRecipientUserIds ────────────────────────────────────────────────COMMENT
MEDIUMserver/adapters/repos/share.integration.test.ts470// ─── cascadeDeleteByMatter ────────────────────────────────────────────────────COMMENT
MEDIUM…dapters/repos/matter-name-conflict.integration.test.ts75// ─── findActiveConflict ───────────────────────────────────────────────────────COMMENT
MEDIUM…dapters/repos/matter-name-conflict.integration.test.ts148// ─── applyConflictResolution ──────────────────────────────────────────────────COMMENT
MEDIUM…dapters/repos/matter-name-conflict.integration.test.ts366// ─── planConflictResolution ───────────────────────────────────────────────────COMMENT
MEDIUM…dapters/repos/matter-name-conflict.integration.test.ts419// ─── commitConflictPlan ───────────────────────────────────────────────────────COMMENT
MEDIUMserver/adapters/repos/share.cf-test.ts45// ─── Atomic counter race tests on D1 ─────────────────────────────────────────COMMENT
MEDIUMserver/adapters/repos/share.cf-test.ts103// ─── cascadeDeleteByMatter on D1 ─────────────────────────────────────────────COMMENT
MEDIUM…ver/adapters/repos/matter-conflict.integration.test.ts95// ─── createMatter ─────────────────────────────────────────────────────────────COMMENT
MEDIUM…ver/adapters/repos/matter-conflict.integration.test.ts244// ─── confirmUpload ─────────────────────────────────────────────────────────────COMMENT
MEDIUM…ver/adapters/repos/matter-conflict.integration.test.ts274// ─── updateMatter (rename / move) ─────────────────────────────────────────────COMMENT
MEDIUM…ver/adapters/repos/matter-conflict.integration.test.ts347// ─── move ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…ver/adapters/repos/matter-conflict.integration.test.ts385// ─── copyMatter ───────────────────────────────────────────────────────────────COMMENT
MEDIUM…ver/adapters/repos/matter-conflict.integration.test.ts448// ─── restoreMatter ────────────────────────────────────────────────────────────COMMENT
MEDIUM…ver/adapters/repos/matter-conflict.integration.test.ts506// ─── case-insensitive conflict across service calls ───────────────────────────COMMENT
MEDIUM…ver/adapters/repos/matter-conflict.integration.test.ts538// ─── confirmUpload quota-then-replace atomicity ───────────────────────────────COMMENT
MEDIUM…ver/adapters/repos/matter-conflict.integration.test.ts578// ─── restoreMatter rename-before-activate ordering ───────────────────────────COMMENT
MEDIUMserver/adapters/repos/matter.integration.test.ts107// ─── storage usage reservations ───────────────────────────────────────────────COMMENT
MEDIUMserver/adapters/repos/matter.integration.test.ts319// ─── confirmUpload ────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/adapters/repos/matter.integration.test.ts406// ─── updateMatter — folder-into-itself error ──────────────────────────────────COMMENT
MEDIUMserver/adapters/repos/matter.integration.test.ts441// ─── listTrashedRoots ─────────────────────────────────────────────────────────COMMENT
MEDIUMserver/adapters/providers/cf-custom-hostnames.test.ts24// ─── createCfClient factory ────────────────────────────────────────────────────COMMENT
MEDIUMserver/adapters/providers/cf-custom-hostnames.test.ts46// ─── register ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/adapters/providers/cf-custom-hostnames.test.ts94// ─── getStatus ────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/adapters/providers/cf-custom-hostnames.test.ts157// ─── delete ───────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/http/teams.integration.test.ts56// ─── Public invite-link info ────────────────────────────────────────────────────COMMENT
MEDIUMserver/http/teams.integration.test.ts79// ─── POST /:teamId/invite-links ────────────────────────────────────────────────COMMENT
MEDIUMserver/http/teams.integration.test.ts128// ─── GET /:teamId/invitations ─────────────────────────────────────────────────COMMENT
MEDIUMserver/http/teams.integration.test.ts166// ─── POST /:teamId/members ─────────────────────────────────────────────────────COMMENT
MEDIUMserver/http/teams.integration.test.ts228// ─── Activity feed tests (from master) ────────────────────────────────────────COMMENT
MEDIUMserver/http/teams.integration.test.ts276// ─── Auth guard ────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/http/teams.integration.test.ts286// ─── Access control ────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/http/teams.integration.test.ts367// ─── Happy path ────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/http/teams.integration.test.ts454// ─── Pagination ────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/http/teams.integration.test.ts535// ─── Ordering ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/http/teams.integration.test.ts555// ─── Metadata ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/http/teams.integration.test.ts590// ─── Multiple events across orgs ──────────────────────────────────────────────COMMENT
MEDIUMserver/http/teams.integration.test.ts664// ─── Org logo (PUT/DELETE /:teamId/logo) ─────────────────────────────────────COMMENT
MEDIUMserver/http/teams.integration.test.ts864// ─── Admin Teams API (/api/teams admin-console resources) ─────────────────────COMMENT
MEDIUMserver/http/shares.integration.test.ts13// ─── Helpers ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMserver/http/shares.integration.test.ts91// ─── POST /api/shares auth guard ─────────────────────────────────────────────COMMENT
243 more matches not shown…
Hyper-Verbose Identifiers175 hits · 192 pts
SeverityFileLineSnippetContext
LOWserver/entry-node.ts104function reportNodeInstanceTelemetry(): void {CODE
LOWserver/app.ts275function shouldReportInitialTelemetry(requestUrl: string): boolean {CODE
LOWserver/auth.ts97export function toBetterAuthCaptchaOptions(config: CaptchaConfig): CaptchaOptions {CODE
LOWserver/auth.ts165function buildVerificationEmailHtml(url: string): string {CODE
LOWserver/auth.ts177function buildResetPasswordEmailHtml(url: string): string {CODE
LOWserver/auth.ts682async function findPersonalOrgFromExistingSession(db: Database, userId: string): Promise<string | null> {CODE
LOWserver/auth.ts717async function createFreePlanEntitlementValues(CODE
LOWserver/auth.ts801async function getDefaultOrgTrafficQuota(db: Database): Promise<number> {CODE
LOW…er/middleware/image-hosting-domain.integration.test.ts29async function setTrafficPlanEntitlement(db: TestDb, orgId: string, bytes: number) {CODE
LOWserver/middleware/auth.integration.test.ts20async function authedHeadersWithFreshSession(CODE
LOWserver/adapters/repos/archive-target-folder.ts31export function createArchiveTargetFolderRepo(db: Database): ArchiveTargetFolderRepo {CODE
LOWserver/adapters/repos/webdav-state.ts282function lockConflictsWithResource(lock: DavLock, resourcePath: string): boolean {CODE
LOWserver/adapters/repos/matter.ts33function descendantParentCondition(folderPath: string): SQL {CODE
LOWserver/adapters/repos/image-hosting-config.ts6export function createImageHostingConfigRepo(db: Database): ImageHostingConfigRepo {CODE
LOWserver/adapters/repos/license-binding.ts75async function updateLicenseBindingAfterRefresh(db: Database, input: UpdateLicenseBindingInput): Promise<void> {CODE
LOWserver/adapters/repos/user-admin.ts31async function listUserPersonalEntitlements(CODE
LOWserver/adapters/repos/user-admin.ts40async function grantUserPersonalEntitlement(CODE
LOWserver/adapters/repos/user-admin.ts56async function updateUserPersonalEntitlement(CODE
LOWserver/adapters/repos/user-admin.ts72async function revokeUserPersonalEntitlement(CODE
LOWserver/adapters/repos/api-keys.ts91async function upgradeLegacyWebDavRateLimit(CODE
LOWserver/adapters/repos/object-upload-session.ts26export function createObjectUploadSessionRepo(db: Database): ObjectUploadSessionRepo {CODE
LOWserver/adapters/repos/zip.ts51function validateCompressionEntries(files: CompressionSourceFile[], directories: CompressionSourceDirectory[]): void {CODE
LOWserver/adapters/repos/share-notification.ts6export function createShareNotificationRepo(db: Database): ShareNotificationRepo {CODE
LOWserver/adapters/repos/webdav-path.ts102function preferredWorkspaceSegment(row: WorkspaceRow): string {CODE
LOWserver/adapters/repos/cloud-store.test.ts6function processCloudOrderQuotaChange(CODE
LOWserver/adapters/repos/quota.ts164async function resetExpiredTrafficQuotas(db: Database, now = new Date()): Promise<void> {CODE
LOWserver/adapters/repos/quota.ts187async function consumeTrafficIfQuotaAllows(CODE
LOWserver/adapters/repos/quota.ts269async function incrementUsageIfEffectiveQuotaAllows(CODE
LOWserver/adapters/repos/quota.ts351function activePlanEntitlementWhere(orgId: string, resourceType: 'storage' | 'traffic', now: Date) {CODE
LOWserver/adapters/repos/quota.ts372function activeEntitlementBytesSql({CODE
LOWserver/adapters/repos/remote-download-usage.ts29export function createRemoteDownloadUsageRepo(db: Database): RemoteDownloadUsageRepo {CODE
LOWserver/adapters/repos/cloud-store.ts51async function processCloudOrderQuotaChange(CODE
LOWserver/adapters/repos/cloud-store.ts70async function processQuotaChangeTransaction(CODE
LOWserver/adapters/repos/cloud-store.ts126function insertQuotaEntitlementQueries(db: Database, event: CloudOrderQuotaChange, now: Date): AtomicQuery[] {CODE
LOWserver/adapters/repos/cloud-store.ts139function revokeExistingPlanQueries(CODE
LOWserver/adapters/repos/cloud-store.ts161function revokeQuotaEntitlementQueries(db: Database, event: CloudOrderQuotaChange, now: Date): AtomicQuery[] {CODE
LOWserver/adapters/repos/cloud-store.ts169function revokeQuotaEntitlementQuery(CODE
LOWserver/adapters/repos/cloud-store.ts189function legacyQuotaDecreaseBatchValues(event: CloudOrderQuotaChange): Partial<typeof orgQuotas.$inferInsert> | null {CODE
LOWserver/adapters/repos/cloud-store.ts206function quotaEntitlementExistsSql(event: CloudOrderQuotaChange, resourceType: 'storage' | 'traffic') {CODE
LOWserver/adapters/repos/cloud-store.ts222function quotaEntitlementIncreaseValues(value: typeof orgQuotaEntitlements.$inferInsert, now: Date) {CODE
LOWserver/adapters/repos/cloud-store.ts239function quotaEntitlementDecreaseValues(bytes: number, now: Date) {CODE
LOWserver/adapters/repos/cloud-store.ts276function quotaEntitlementSourceMatch(event: CloudOrderQuotaChange, resourceType: 'storage' | 'traffic') {CODE
LOWserver/adapters/repos/download-tokens.ts31export function createDownloadTokenGateway(): DownloadTokenGateway {CODE
LOWserver/adapters/repos/admin-stats.ts101async function getDashboardOverviewStats(CODE
LOWserver/adapters/repos/admin-stats.ts175async function getDashboardOperationsStats(CODE
LOWserver/adapters/repos/admin-stats.ts673async function getRollingActiveUserTrend(CODE
LOWserver/adapters/repos/admin-stats.ts776async function getOperationalOutcomesByDay(CODE
LOWserver/adapters/repos/admin-stats.ts793async function getActivityMetricDimensionTotalsFromRollup(CODE
LOWserver/adapters/repos/admin-stats.ts833async function getActivityMetricDimensionTotals(CODE
LOWserver/adapters/repos/admin-stats.ts1150function distinctUsersInCalendarWindow(CODE
LOWserver/adapters/repos/cloud-traffic-report.ts31export function createCloudTrafficReportRepo(db: Database): CloudTrafficReportRepo {CODE
LOWserver/adapters/providers/changelog.ts4async function fetchLatestReleaseVersion(): Promise<string | null> {CODE
LOWserver/adapters/gateways/licensing-cloud.ts40function createAnonymousCloudClient(baseUrl: string): CloudClient {CODE
LOWserver/adapters/gateways/licensing-cloud.ts184export function createLicensingCloudGateway(): LicensingCloudGateway {CODE
LOWserver/adapters/gateways/zip.ts96function validateAndExtractZip(data: Uint8Array): ValidatedZip {CODE
LOWserver/adapters/gateways/zip.ts289function readCentralDirectoryEntries(data: Uint8Array, entryCount: number, startOffset = 0): CentralDirectoryEntry[] {CODE
LOWserver/adapters/gateways/zip.ts317function findEndOfCentralDirectory(data: Uint8Array): number {CODE
LOWserver/http/shares.integration.test.ts32async function setStoragePlanEntitlement(db: TestDb, orgId: string, bytes: number) {CODE
LOWserver/http/shares.integration.test.ts1071 async function setTrafficPlanEntitlement(CODE
LOWserver/http/redirect.integration.test.ts29async function setTrafficPlanEntitlement(CODE
115 more matches not shown…
Fake / Example Data67 hits · 74 pts
SeverityFileLineSnippetContext
LOWserver/auth.integration.test.ts285 const res = await signUp(ctx, 'user@example.com')CODE
LOWserver/middleware/auth.integration.test.ts50 await authedHeadersWithFreshSession(app, 'admin@example.com', 'password123456', 'Admin')CODE
LOWserver/middleware/auth.integration.test.ts58 await authedHeadersWithFreshSession(app, 'admin@example.com', 'password123456', 'Admin')CODE
LOWserver/middleware/auth.integration.test.ts68 const headers = await authedHeadersWithFreshSession(app, 'admin@example.com', 'password123456', 'Admin')CODE
LOWserver/middleware/auth.integration.test.ts75 const headers = await authedHeadersWithFreshSession(app, 'admin@example.com', 'password123456', 'Admin')CODE
LOWserver/test/setup.ts611 await authedHeaders(app, 'admin@example.com', 'password123456')CODE
LOWserver/test/setup.ts616 body: JSON.stringify({ email: 'admin@example.com', password: 'password123456' }),CODE
LOWserver/adapters/gateways/email.integration.test.ts75 { key: 'email_smtp_user', value: 'user@example.com' },CODE
LOWserver/adapters/gateways/email.integration.test.ts85 expect(config.smtp.user).toBe('user@example.com')CODE
LOWserver/adapters/gateways/email.integration.test.ts191 await gatewayFor(db).send(bareplatform(db), { to: 'user@example.com', subject: 'Hello', html: '<p>Hi</p>' })CODE
LOWserver/adapters/gateways/email.integration.test.ts194 to: 'user@example.com',CODE
LOWserver/adapters/gateways/email.integration.test.ts219 await gatewayFor(db).send(bareplatform(db), { to: 'user@example.com', subject: 'Hello', html: '<p>Hi</p>' })CODE
LOWserver/adapters/gateways/email.integration.test.ts229 to: 'user@example.com',CODE
LOWserver/adapters/gateways/email.integration.test.ts274 to: 'user@example.com',CODE
LOWserver/adapters/gateways/email.integration.test.ts280 to: 'user@example.com',CODE
LOWserver/adapters/gateways/email.integration.test.ts310 gatewayFor(db).send(bareplatform(db), { to: 'user@example.com', subject: 'Hi', html: '<p>Hi</p>' }),CODE
LOWserver/adapters/gateways/email.integration.test.ts369 to: 'user@example.com',CODE
LOWserver/adapters/gateways/email.integration.test.ts376 to: 'user@example.com',CODE
LOWserver/http/teams.integration.test.ts868 await authedHeaders(app, 'admin@example.com', 'password123456')CODE
LOWserver/http/teams.integration.test.ts872 body: JSON.stringify({ email: 'admin@example.com', password: 'password123456' }),CODE
LOWserver/http/teams.integration.test.ts919 await authedHeaders(app, 'admin@example.com', 'password123456')CODE
LOWserver/http/teams.integration.test.ts934 const adminId = await userId(db, 'admin@example.com')CODE
LOWserver/http/admin-users-ba.integration.test.ts12 await authedHeaders(app, 'admin@example.com', 'password123456')CODE
LOWserver/http/admin-users-ba.integration.test.ts16 body: JSON.stringify({ email: 'admin@example.com', password: 'password123456' }),CODE
LOWserver/http/admin-users-ba.integration.test.ts33 expect(body.users.map((u) => u.email)).toEqual(expect.arrayContaining(['admin@example.com', 'member@example.com']))CODE
LOWserver/http/admin-users-ba.integration.test.ts38 await authedHeaders(app, 'admin@example.com', 'password123456')CODE
LOWserver/http/admin-users-ba.integration.test.ts52 const adminRows = await db.all<{ id: string }>(sql`SELECT id FROM user WHERE email = 'admin@example.com'`)CODE
LOWserver/http/admin-users-ba.integration.test.ts112 const adminRows = await db.all<{ id: string }>(sql`SELECT id FROM user WHERE email = 'admin@example.com'`)CODE
LOWserver/http/users.integration.test.ts8 await authedHeaders(app, 'admin@example.com', 'password123456')CODE
LOWserver/http/users.integration.test.ts13 body: JSON.stringify({ email: 'admin@example.com', password: 'password123456' }),CODE
LOWserver/http/quotas.integration.test.ts7 await authedHeaders(app, 'admin@example.com', 'password123456')CODE
LOWserver/http/quotas.integration.test.ts12 body: JSON.stringify({ email: 'admin@example.com', password: 'password123456' }),CODE
LOWserver/http/quotas.integration.test.ts26 await authedHeaders(app, 'admin@example.com')CODE
LOWserver/http/auth/auth.integration.test.ts207 body: JSON.stringify({ name: 'Admin User', email: 'admin@example.com', password: 'password123456' }),CODE
LOWserver/http/auth/auth.integration.test.ts209 const users = await db.select().from(authSchema.user).where(eq(authSchema.user.email, 'admin@example.com'))CODE
LOWserver/http/auth/auth.integration.test.ts218 body: JSON.stringify({ name: 'Admin User', email: 'admin@example.com', password: 'password123456' }),CODE
LOWserver/http/site/audit.integration.test.ts14 const headers = await authedHeaders(app, 'user@example.com')CODE
LOWserver/http/site/audit.integration.test.ts360 body: JSON.stringify({ email: 'admin@example.com', password: 'password123456' }),CODE
LOWserver/http/site/branding.integration.test.ts123 const headers = await authedHeaders(app, 'user@example.com')CODE
LOWserver/http/site/email-config.integration.test.ts12 { key: 'email_smtp_user', value: 'user@example.com' },CODE
LOWserver/http/site/email-config.integration.test.ts45 await authedHeaders(app, 'admin@example.com')CODE
LOWserver/http/site/email-config.integration.test.ts115 expect(smtp.user).toBe('user@example.com')CODE
LOWserver/http/site/email-config.integration.test.ts175 user: 'user@example.com',CODE
LOWserver/http/site/licensing.integration.test.ts28 cloudAccountEmail: 'user@example.com',CODE
LOWserver/http/site/licensing.integration.test.ts40 expect(body.account_email).toBe('user@example.com')CODE
LOWserver/http/site/invitations.integration.test.ts321 .where(eq(authSchema.user.email, 'admin@example.com'))CODE
LOWserver/http/site/storages.integration.test.ts26 await authedHeaders(app, 'admin@example.com')CODE
LOWserver/http/site/announcements.integration.test.ts35 const headers = await authedHeaders(app, 'user@example.com')CODE
LOWserver/http/site/audit-events.integration.test.ts483 const users = await db.all<{ id: string }>(sql`SELECT id FROM user WHERE email = 'admin@example.com' LIMIT 1`)CODE
LOWserver/http/site/licensing-admin.integration.test.ts84 await authedHeaders(app, 'admin@example.com')CODE
LOWserver/usecases/webdav.test.ts189 username: 'user@example.com',CODE
LOWserver/usecases/site/email-config.test.ts21 smtp: { host: 'smtp.example.com', port: 587, user: 'user@example.com', pass: 'supersecret', secure: true },CODE
LOWserver/usecases/site/email-config.test.ts88 user: 'user@example.com',CODE
LOWserver/usecases/site/signup-mode.integration.test.ts21 await signUp(ctx, 'admin@example.com')CODE
LOWserver/usecases/site/signup-mode.integration.test.ts149 await signUp(ctx, 'admin@example.com')CODE
LOWserver/usecases/site/signup-mode.integration.test.ts153 body: JSON.stringify({ email: 'admin@example.com', password: 'password123456' }),CODE
LOWsrc/components/files/dialogs/share-dialog.test.ts10 expect(EMAIL_RE.test('user@example.com')).toBe(true)CODE
LOWsrc/lib/api.test.ts3374 account_email: 'user@example.com',CODE
LOWsrc/lib/api.test.ts3803 await testEmail('user@example.com')CODE
LOWsrc/lib/api.test.ts3808 expect(init.body).toBe(JSON.stringify({ to: 'user@example.com' }))CODE
7 more matches not shown…
Magic Placeholder Names3 hits · 22 pts
SeverityFileLineSnippetContext
HIGHdocs/deploy/vercel.md107 "path": "/api/licensing/refresh-cron?secret=<YOUR_SECRET>",CODE
HIGHdocs/deploy/vercel.md111 "path": "/api/licensing/traffic-sync-runs?secret=<YOUR_SECRET>",CODE
HIGHdocs/deploy/vercel.md117 Replace `<YOUR_SECRET>` with the value of `REFRESH_CRON_SECRET`.CODE
Over-Commented Block19 hits · 19 pts
SeverityFileLineSnippetContext
LOWserver/app.ts161 })COMMENT
LOWserver/http/events.ts61 responses: {COMMENT
LOWserver/domain/license-keys.ts1// Cloud public keys for verifying PASETO v4 entitlement certificates.COMMENT
LOWserver/usecases/team.ts1// The team resource usecase. Owns every business decision behind both teamCOMMENT
LOWserver/usecases/background-job.ts1// The background-jobs resource usecase (/api/background-jobs). Owns everyCOMMENT
LOWserver/usecases/events.ts1// The events resource usecase. Owns the multiplexed-SSE *domain* side of theCOMMENT
LOWserver/usecases/object.ts1// The objects resource usecase. Owns every business decision behind theCOMMENT
LOWserver/usecases/user.ts1// The users resource usecase. Owns the front-of-house business decisions behindCOMMENT
LOWserver/usecases/webdav.ts1// The WebDAV resource usecase. WebDAV is special: the http handler owns theCOMMENT
LOWserver/usecases/image-hosting/images.ts1// The image-hosting (ihost) resource usecase. Owns every business decision behindCOMMENT
LOWserver/usecases/image-hosting/config.ts1// The image-hosting config resource usecase. Owns every business decision behindCOMMENT
LOWserver/usecases/ports/archive-target-folder.ts1// Validates that an explicit archive target folder exists and is a folder (not aCOMMENT
LOWserver/usecases/store/store.ts1// The cloud store resource usecase. Owns every business decision behind theCOMMENT
LOWshared/content-disposition.ts1// Builds an RFC 6266 `Content-Disposition` for forced downloads.COMMENT
LOWshared/schemas/errors.ts1import { z } from '@hono/zod-openapi'COMMENT
LOW.github/workflows/deploy.yml1name: DeployCOMMENT
LOWsrc/components/files/files-toolbar.test.ts1import { describe, expect, it } from 'vitest'COMMENT
LOWsrc/routes/(auth)/sign-up.test.ts1import { SignupMode } from '@shared/constants'COMMENT
LOWsrc/routes/(auth)/sign-in.test.ts1import { SignupMode } from '@shared/constants'COMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWdeploy/docker-compose.downloader.yml2# Usage:COMMENT