BookOrbit: Your Reading Space
This report summarizes scanner evidence for bookorbit/bookorbit, a TypeScript project with 6,013 GitHub stars. SynthScan examined 1,275,977 lines of code across 5269 source files, recording 1542 pattern matches distributed across 11 syntactic categories. The legacy adjusted pattern signal is 2.2 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 781 finding(s).
Are imports declared and package/API names verified? 443 finding(s).
Are wrappers, guards, and repeated structures necessary? 1042 finding(s).
Which changes need focused human review? 1542 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 1542 distinct pattern matches across 11 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | server/test/file-rename.e2e-spec.ts | 61 | // ── Helpers ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | server/test/file-rename.e2e-spec.ts | 88 | // ── Suite ──────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | server/test/file-rename.e2e-spec.ts | 104 | // ── 1. book_per_file — flat structure ────────────────────────────────────── | COMMENT |
| MEDIUM | server/test/file-rename.e2e-spec.ts | 205 | // ── 2. book_per_file — nested / cross-directory move ────────────────────── | COMMENT |
| MEDIUM | server/test/file-rename.e2e-spec.ts | 281 | // ── 3. book_per_file — series pattern ──────────────────────────────────── | COMMENT |
| MEDIUM | server/test/file-rename.e2e-spec.ts | 322 | // ── 4. book_per_folder — flat folder rename ─────────────────────────────── | COMMENT |
| MEDIUM | server/test/file-rename.e2e-spec.ts | 366 | // ── 5. book_per_folder — nested hierarchy ──────────────────────────────── | COMMENT |
| MEDIUM | server/test/file-rename.e2e-spec.ts | 404 | // ── 6. book_per_folder — multi-file book ───────────────────────────────── | COMMENT |
| MEDIUM | server/test/file-rename.e2e-spec.ts | 445 | // ── 7. Collision detection ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | server/test/file-rename.e2e-spec.ts | 505 | // ── 8. no_pattern — missing tokens ─────────────────────────────────────── | COMMENT |
| MEDIUM | server/test/file-rename.e2e-spec.ts | 551 | // ── 9. fileRenameEnabled=false ──────────────────────────────────────────── | COMMENT |
| MEDIUM | server/test/file-rename.e2e-spec.ts | 590 | // ── 10. Special characters in title ────────────────────────────────────── | COMMENT |
| MEDIUM | server/test/file-rename.e2e-spec.ts | 674 | // ── 11. Preview API — pagination and filter ─────────────────────────────── | COMMENT |
| MEDIUM | server/test/file-rename.e2e-spec.ts | 740 | // ── 12. SSE streaming execute endpoint ─────────────────────────────────── | COMMENT |
| MEDIUM | server/test/file-rename.e2e-spec.ts | 797 | // ── 13. Idempotency ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | server/test/file-rename.e2e-spec.ts | 830 | // ── 14. Concurrent execution prevention ────────────────────────────────── | COMMENT |
| MEDIUM | server/test/file-rename.e2e-spec.ts | 861 | // ── 15. book_per_folder — no change to folder, file rename only ─────────── | COMMENT |
| MEDIUM | server/test/file-rename.e2e-spec.ts | 895 | // ── 16. Empty library ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | server/test/file-rename.e2e-spec.ts | 925 | // ── 17. Mixed mode — book_per_file with year pattern ───────────────────── | COMMENT |
| MEDIUM | server/test/file-rename.e2e-spec.ts | 961 | // ── 18. book_per_file with original filename fallback ───────────────────── | COMMENT |
| MEDIUM | server/test/file-rename.e2e-spec.ts | 985 | // ── 19. Preview cache invalidation ─────────────────────────────────────── | COMMENT |
| MEDIUM | server/test/file-rename.e2e-spec.ts | 1014 | // ── 20. book_per_folder — target folder held by another book ────────────── | COMMENT |
| MEDIUM | server/test/file-rename.e2e-spec.ts | 1092 | // ── 21. Non-existent library ────────────────────────────────────────────── | COMMENT |
| MEDIUM | …er/test/e2e/file-rename/file-rename-fixture-builder.ts | 91 | // ── Factory helpers ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | server/src/common/utils/fs-stability.utils.test.ts | 24 | // ── FAST PATHS ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | server/src/common/utils/fs-stability.utils.test.ts | 44 | // ── POLLING UNTIL STABLE ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | server/src/common/utils/fs-stability.utils.test.ts | 84 | // ── DEADLINE HIT ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | server/src/common/utils/fs-stability.utils.test.ts | 102 | // ── FILE DISAPPEARS DURING POLLING ──────────────────────────────────────────── | COMMENT |
| MEDIUM | server/src/common/utils/fs-stability.utils.test.ts | 119 | // ── knownMtimeMs parameter ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | server/src/modules/reader/cbz/cbz.service.ts | 15 | // ── Shared helpers ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | server/src/modules/reader/cbz/cbz.service.ts | 36 | // ── CBR: node-unrar-js ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | server/src/modules/reader/cbz/cbz.service.ts | 58 | // ── Freshness ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | server/src/modules/reader/cbz/cbz.service.ts | 95 | // ── Service ──────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | server/src/modules/reader/cbz/cbz.service.ts | 179 | // ── CBZ ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | server/src/modules/reader/cbz/cbz.service.ts | 197 | // ── CBR ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | server/src/modules/reader/cbz/cbz.service.ts | 251 | // ── CB7 ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | server/src/modules/reader/cbz/cbz.service.ts | 301 | // ── Public API ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | server/src/modules/library/library.controller.ts | 247 | // ── Library access management ───────────────────────────────────────────── | COMMENT |
| MEDIUM | server/src/modules/library/library.controller.ts | 296 | // ── Bulk rename ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …r/src/modules/dashboard/dashboard-widget.repository.ts | 391 | // ── Highlight of the Day ──────────────────────────────────────── | COMMENT |
| MEDIUM | …r/src/modules/dashboard/dashboard-widget.repository.ts | 494 | // ── Monthly Challenge (raw data) ──────────────────────────────── | COMMENT |
| MEDIUM | …r/src/modules/dashboard/dashboard-widget.repository.ts | 795 | // ── Year Projection (raw data) ───────────────────────────────── | COMMENT |
| MEDIUM | …r/src/modules/dashboard/dashboard-widget.repository.ts | 838 | // ── Neglected Gems ────────────────────────────────────────────── | COMMENT |
| MEDIUM | …r/src/modules/dashboard/dashboard-widget.repository.ts | 894 | // ── Reading DNA (raw data) ────────────────────────────────────── | COMMENT |
| MEDIUM | …r/src/modules/dashboard/dashboard-widget.repository.ts | 1028 | // ── The Long Wait ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | …r/src/modules/dashboard/dashboard-widget.repository.ts | 1098 | // ── Shelf Diversity Score (raw data) ──────────────────────────── | COMMENT |
| MEDIUM | …r/src/modules/dashboard/dashboard-widget.repository.ts | 1168 | // ── Reading Rhythm (raw daily data) ───────────────────────────── | COMMENT |
| MEDIUM | …src/modules/dashboard/dashboard-widget.calculations.ts | 15 | // ── Date Helpers ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …src/modules/dashboard/dashboard-widget.calculations.ts | 92 | // ── Highlight of the Day ──────────────────────────────────────────── | COMMENT |
| MEDIUM | …src/modules/dashboard/dashboard-widget.calculations.ts | 108 | // ── Monthly Mini Challenge ────────────────────────────────────────── | COMMENT |
| MEDIUM | …src/modules/dashboard/dashboard-widget.calculations.ts | 200 | // ── Year-End Projection ───────────────────────────────────────────── | COMMENT |
| MEDIUM | …src/modules/dashboard/dashboard-widget.calculations.ts | 240 | // ── Reading DNA ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …src/modules/dashboard/dashboard-widget.calculations.ts | 357 | // ── Shelf Diversity Score ─────────────────────────────────────────── | COMMENT |
| MEDIUM | …src/modules/dashboard/dashboard-widget.calculations.ts | 414 | // ── Reading Rhythm Pulse ──────────────────────────────────────────── | COMMENT |
| MEDIUM | …src/modules/dashboard/dashboard-widget.calculations.ts | 450 | // ── Currently Reading resume modes ────────────────────────────────── | COMMENT |
| MEDIUM | …ules/file-write/formats/fb2/fb2-description-builder.ts | 199 | // ── title-info ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ules/file-write/formats/fb2/fb2-description-builder.ts | 292 | // ── publish-info ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ules/file-write/formats/fb2/fb2-description-builder.ts | 324 | // ── custom-info ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ules/file-write/formats/fb2/fb2-description-builder.ts | 341 | // ── reassemble ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …rc/modules/chapter-health/chapter-health.repository.ts | 309 | // ── Worker ────────────────────────────────────────────────────────────────── | COMMENT |
| 255 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ugin/bookorbit.koplugin/bookorbit_catalog_download.lua | 49 | local function resolveRelativeDownloadPath(download_dir, filename, filetype, device_path, filename_override) | CODE |
| LOW | koreader-plugin/bookorbit.koplugin/bookorbit_sweep.lua | 950 | local function exchangeBookmarksForEntry(ctx, entry, apply_mode, pending) | CODE |
| LOW | koreader-plugin/bookorbit.koplugin/bookorbit_sweep.lua | 1105 | local function stepAnnotationsLegacyNext(ctx) | CODE |
| LOW | server/test/scanner-file-operations.e2e-spec.ts | 891 | async function assertScenarioExpectations( | CODE |
| LOW | server/test/auth-session-security.e2e-spec.ts | 151 | async function findRefreshTokenByRawToken(db: Db, rawToken: string) { | CODE |
| LOW | server/test/jump-buckets-invariant.e2e-spec.ts | 66 | function expectedCategoryBucketKey(book: SeededBook, field: 'language' | 'format' | 'readStatus'): string { | CODE |
| LOW | server/test/jump-buckets-invariant.e2e-spec.ts | 71 | function expectedTemporalBucketKey(value: string | null, granularity: TemporalJumpBucketGranularity | null): string { | CODE |
| LOW | server/test/metadata-write.e2e-spec.ts | 1849 | async function prepareLibraryWithAllFormats( | CODE |
| LOW | server/test/metadata-write.e2e-spec.ts | 1902 | function buildAtomicityFailurePayload(failpoint: MetadataUpdateFailpoint) { | CODE |
| LOW | server/test/metadata-write.e2e-spec.ts | 1953 | async function readMetadataMutationState(context: MetadataWriteE2EContext, bookId: number) { | CODE |
| LOW | server/test/authorization-matrix.e2e-spec.ts | 1773 | function extractKoboEntitlementIds(entitlements: unknown[]): string[] { | CODE |
| LOW | server/test/library-admin-workflows.e2e-spec.ts | 63 | async function uploadLibraryFileWithRawQuery( | CODE |
| LOW | server/test/auth-recovery-oidc-logout.e2e-spec.ts | 114 | async function createAuthRecoveryContext(): Promise<AuthRecoveryContext> { | CODE |
| LOW | server/test/auth-recovery-oidc-logout.e2e-spec.ts | 255 | async function waitForStablePasswordResetTokenCount(db: Db, expected: number, stableMs = 300, timeoutMs = 4_000): Promis | CODE |
| LOW | server/test/app-settings-oidc-contract.e2e-spec.ts | 230 | async function createOidcContractContext(): Promise<OidcContractContext> { | CODE |
| LOW | server/test/e2e/app-harness.ts | 212 | export async function triggerAndWaitForLibraryScan(ctx: E2EContext, libraryId: number, timeoutMs = 30_000): Promise<type | CODE |
| LOW | server/test/e2e/app-harness.ts | 439 | export async function assertNoIntegrityViolations(db: Db): Promise<void> { | CODE |
| LOW | …ader-state-isolation/reader-state-isolation-harness.ts | 158 | export async function triggerAndWaitForLibraryScan( | CODE |
| LOW | …te-isolation/reader-state-isolation-fixture-builder.ts | 20 | export async function createReaderStateIsolationFixtureRoot(prefix = 'reader-state-isolation-e2e-'): Promise<ReaderState | CODE |
| LOW | server/test/e2e/opds/opds-harness.ts | 152 | export async function triggerAndWaitForLibraryScan( | CODE |
| LOW | server/test/e2e/book-dock/book-dock-fixture-builder.ts | 18 | export async function createBookDockFixtureRoot(prefix = 'book-dock-e2e-'): Promise<BookDockFixtureRoot> { | CODE |
| LOW | …rver/test/e2e/metadata-write/metadata-write-harness.ts | 189 | export async function setLibraryFileWriteSettings(db: Db, libraryId: number, patch: LibraryFileWritePatch): Promise<void | CODE |
| LOW | …rver/test/e2e/metadata-write/metadata-write-harness.ts | 209 | export async function triggerAndWaitForLibraryScan( | CODE |
| LOW | …t/e2e/metadata-write/metadata-write-fixture-builder.ts | 102 | export async function createMetadataWriteFixtureRoot(prefix = 'metadata-write-e2e-'): Promise<MetadataWriteFixtureRoot> | CODE |
| LOW | …test/e2e/metadata-lock/metadata-lock-test-providers.ts | 7 | export function createMetadataLockTestProviders(getCoverUrl: (providerKey: MetadataProviderKey) => string): Identifiable | CODE |
| LOW | …test/e2e/metadata-lock/metadata-lock-test-providers.ts | 32 | export function buildMetadataLockCandidates( | CODE |
| LOW | …est/e2e/metadata-lock/metadata-lock-fixture-builder.ts | 45 | export async function createMetadataLockFixtureRoot(prefix = 'metadata-lock-e2e-'): Promise<MetadataLockFixtureRoot> { | CODE |
| LOW | …est/e2e/metadata-lock/metadata-lock-fixture-builder.ts | 51 | export async function createEpubWithCoverFixture(rootPath: string, relativePath: string, input: EpubWithCoverInput = {}) | CODE |
| LOW | server/test/e2e/metadata-lock/metadata-lock-harness.ts | 213 | export async function triggerAndWaitForLibraryScan( | CODE |
| LOW | …t/e2e/migration-booklore/migration-booklore-harness.ts | 104 | export async function resetMigrationBookloreState(ctx: MigrationBookloreE2EContext): Promise<void> { | CODE |
| LOW | …t/e2e/migration-booklore/migration-booklore-harness.ts | 285 | export function buildBookloreConnectionConfig( | CODE |
| LOW | …gration-booklore/migration-booklore-fixture-builder.ts | 649 | export async function seedCanonicalScenarioWithDuplicateUserStateRows(ctx: MigrationBookloreE2EContext): Promise<Canonic | CODE |
| LOW | …gration-booklore/migration-booklore-fixture-builder.ts | 677 | export async function seedCompatibilityScenario(ctx: MigrationBookloreE2EContext): Promise<CompatibilityScenario> { | CODE |
| LOW | …gration-booklore/migration-booklore-fixture-builder.ts | 836 | export async function seedMissingRequiredTablesScenario(ctx: MigrationBookloreE2EContext): Promise<Record<string, unknow | CODE |
| LOW | …gration-booklore/migration-booklore-fixture-builder.ts | 1052 | async function createCompatibilitySchema(conn: mysql.Connection): Promise<void> { | CODE |
| LOW | …gration-booklore/migration-booklore-fixture-builder.ts | 1075 | async function createMissingRequiredSchema(conn: mysql.Connection): Promise<void> { | CODE |
| LOW | …er/test/e2e/file-rename/file-rename-fixture-builder.ts | 108 | export async function buildBookPerFileWithSubdirs(libraryRoot: string): Promise<Array<{ relPath: string; stem: string }> | CODE |
| LOW | …er/test/e2e/file-rename/file-rename-fixture-builder.ts | 155 | export async function buildBookPerFolderMultiFile( | CODE |
| LOW | …ion-audiobookshelf/migration-audiobookshelf-harness.ts | 126 | export function buildBackupConnectionConfig(backupPath: string): Record<string, unknown> { | CODE |
| LOW | …ion-audiobookshelf/migration-audiobookshelf-harness.ts | 228 | export async function truncateMigrationScenarioTables(db: Db): Promise<void> { | CODE |
| LOW | …ion-audiobookshelf/migration-audiobookshelf-harness.ts | 272 | async function startAudiobookshelfContainer(paths: { | CODE |
| LOW | …ion-audiobookshelf/migration-audiobookshelf-harness.ts | 330 | async function stopAudiobookshelfContainer(service: AudiobookshelfService, captureLogs: boolean): Promise<void> { | CODE |
| LOW | …ion-audiobookshelf/migration-audiobookshelf-harness.ts | 363 | function setOrDeleteEnv(name: string, value: string | undefined): void { | CODE |
| LOW | …obookshelf/migration-audiobookshelf-fixture-builder.ts | 64 | export async function createAudiobookshelfMediaFixtures(sourceMediaRoot: string): Promise<void> { | CODE |
| LOW | …obookshelf/migration-audiobookshelf-fixture-builder.ts | 108 | export async function seedAudiobookshelfMigrationScenario(ctx: MigrationAudiobookshelfE2EContext): Promise<Audiobookshel | CODE |
| LOW | …ted/migration-calibre-web-automated-fixture-builder.ts | 72 | export async function seedStoppedCalibreWebAutomatedSource(instance: StoppedCalibreWebAutomatedInstance): Promise<Calibr | CODE |
| LOW | …ted/migration-calibre-web-automated-fixture-builder.ts | 111 | export async function seedCalibreWebAutomatedTargetScenario( | CODE |
| LOW | …b-automated/migration-calibre-web-automated-harness.ts | 130 | export function buildSnapshotConnectionConfig(ctx: MigrationCalibreWebAutomatedE2EContext): Record<string, unknown> { | CODE |
| LOW | …b-automated/migration-calibre-web-automated-harness.ts | 189 | async function startCalibreWebAutomatedContainer(paths: { | CODE |
| LOW | …b-automated/migration-calibre-web-automated-harness.ts | 256 | async function ensureRealProgressSchemas(service: CalibreWebAutomatedService): Promise<void> { | CODE |
| LOW | …b-automated/migration-calibre-web-automated-harness.ts | 289 | async function stopCalibreWebAutomatedContainer(service: CalibreWebAutomatedService): Promise<void> { | CODE |
| LOW | …b-automated/migration-calibre-web-automated-harness.ts | 293 | async function removeCalibreWebAutomatedContainer(service: CalibreWebAutomatedService, captureLogs: boolean, fixtureRoot | CODE |
| LOW | …b-automated/migration-calibre-web-automated-harness.ts | 352 | function setOrDeleteEnv(name: string, value: string | undefined): void { | CODE |
| LOW | …e/authorization-matrix/authorization-matrix-harness.ts | 185 | export async function triggerAndWaitForLibraryScan( | CODE |
| LOW | …ization-matrix/authorization-matrix-fixture-builder.ts | 29 | export async function createAuthorizationFixtureRoot(prefix = 'authorization-matrix-e2e-'): Promise<AuthorizationMatrixF | CODE |
| LOW | …min-lifecycle/users-admin-lifecycle-fixture-builder.ts | 12 | export async function createUsersAdminLifecycleFixtureRoot(prefix = 'users-admin-lifecycle-e2e-'): Promise<UsersAdminLif | CODE |
| LOW | server/test/e2e/email/email-harness.ts | 421 | export async function triggerAndWaitForLibraryScan( | CODE |
| LOW | server/src/swagger.ts | 66 | async function loadSwaggerPluginMetadata(): Promise<void> { | CODE |
| LOW | server/src/config/env.validation.ts | 11 | function isValidPostgresConnectionString(value: string): boolean { | CODE |
| LOW⚡ | server/src/common/book-cover-storage.ts | 17 | export function bookCoverSlotThumbnailPath(appDataPath: string, bookId: number, medium: CoverMedium): string { | CODE |
| 664 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | server/test/auth-recovery-oidc-logout.e2e-spec.ts | 243 | const token = context.systemMailMock.sendPasswordReset.mock.calls.at(-1)?.[2]; | CODE |
| CRITICAL | …c/modules/book-dock/book-dock-finalize.service.test.ts | 2220 | expect(harness.storage.moveToPath.mock.calls.slice(3)).toHaveLength(3); | CODE |
| CRITICAL | …c/modules/book-dock/book-dock-finalize.service.test.ts | 2271 | expect(harness.storage.moveToPath.mock.calls.map((call: string[]) => call[1])).toEqual([ | CODE |
| CRITICAL | …c/modules/book-dock/book-dock-finalize.service.test.ts | 2290 | expect(harness.storage.moveToPath.mock.calls.slice(3)).toEqual([ | CODE |
| CRITICAL | …c/modules/book-dock/book-dock-finalize.service.test.ts | 2375 | expect(harness.storage.moveToPath.mock.calls.map((call: string[]) => call[0])).toEqual([ | CODE |
| CRITICAL | …ules/book-cover-store/book-cover-store.service.test.ts | 73 | const imported = made.repository.importSlotWithoutStamp.mock.calls.map(([, medium, row]) => ({ ...row, bookId: 7, me | CODE |
| CRITICAL⚡ | …c/modules/auth/oidc/oidc-group-mapping.service.test.ts | 36 | db.tx.query.oidcGroupMappings.findMany.mockResolvedValue([]); | CODE |
| CRITICAL⚡ | …c/modules/auth/oidc/oidc-group-mapping.service.test.ts | 43 | db.tx.query.oidcGroupMappings.findMany.mockResolvedValue([{ oidcGroupClaim: 'admins', permissionName: 'manage_users' | CODE |
| CRITICAL⚡ | …c/modules/auth/oidc/oidc-group-mapping.service.test.ts | 44 | db.tx.query.oidcPermissionGrants.findMany.mockResolvedValue([]); | CODE |
| CRITICAL⚡ | …c/modules/auth/oidc/oidc-group-mapping.service.test.ts | 45 | db.tx.query.userPermissions.findMany.mockResolvedValue([]); | CODE |
| CRITICAL⚡ | …c/modules/auth/oidc/oidc-group-mapping.service.test.ts | 53 | db.tx.query.oidcGroupMappings.findMany.mockResolvedValue([{ oidcGroupClaim: 'admins', permissionName: 'manage_users' | CODE |
| CRITICAL⚡ | …c/modules/auth/oidc/oidc-group-mapping.service.test.ts | 54 | db.tx.query.oidcPermissionGrants.findMany.mockResolvedValue([{ userId: 42, providerId: 1, permissionName: 'manage_us | CODE |
| CRITICAL⚡ | …c/modules/auth/oidc/oidc-group-mapping.service.test.ts | 55 | db.tx.query.userPermissions.findMany.mockResolvedValue([{ userId: 42, permissionName: 'manage_users' }]); | CODE |
| CRITICAL⚡ | …c/modules/auth/oidc/oidc-group-mapping.service.test.ts | 63 | db.tx.query.oidcGroupMappings.findMany.mockResolvedValue([ | CODE |
| CRITICAL⚡ | …c/modules/auth/oidc/oidc-group-mapping.service.test.ts | 67 | db.tx.query.oidcPermissionGrants.findMany.mockResolvedValue([]); | CODE |
| CRITICAL⚡ | …c/modules/auth/oidc/oidc-group-mapping.service.test.ts | 68 | db.tx.query.userPermissions.findMany.mockResolvedValue([]); | CODE |
| CRITICAL⚡ | …c/modules/auth/oidc/oidc-group-mapping.service.test.ts | 76 | db.tx.query.oidcGroupMappings.findMany.mockResolvedValue([ | CODE |
| CRITICAL⚡ | …c/modules/auth/oidc/oidc-group-mapping.service.test.ts | 80 | db.tx.query.oidcPermissionGrants.findMany.mockResolvedValue([]); | CODE |
| CRITICAL⚡ | …c/modules/auth/oidc/oidc-group-mapping.service.test.ts | 81 | db.tx.query.userPermissions.findMany.mockResolvedValue([]); | CODE |
| CRITICAL⚡ | …c/modules/auth/oidc/oidc-group-mapping.service.test.ts | 89 | db.tx.query.oidcGroupMappings.findMany.mockResolvedValue([{ oidcGroupClaim: 'admins', permissionName: 'manage_users' | CODE |
| CRITICAL⚡ | …c/modules/auth/oidc/oidc-group-mapping.service.test.ts | 90 | db.tx.query.oidcPermissionGrants.findMany.mockResolvedValue([{ userId: 42, providerId: 1, permissionName: 'manage_us | CODE |
| CRITICAL⚡ | …c/modules/auth/oidc/oidc-group-mapping.service.test.ts | 91 | db.tx.query.userPermissions.findMany.mockResolvedValue([{ userId: 42, permissionName: 'manage_users' }]); | CODE |
| CRITICAL | …c/modules/read-aloud/read-aloud-worker.service.test.ts | 471 | const stored = t.activity.recordWorkerEvents.mock.calls.flatMap(([, events]) => (events as ReadAloudWorkerEvent[]) | CODE |
| CRITICAL | …adata-preferences/metadata-preferences.service.test.ts | 240 | const [globalWrite, libraryWrite] = db.__updateChain.set.mock.calls.map(([values]) => values as Record<string, unk | CODE |
| CRITICAL | …s/metadata-preferences/provider-config.service.test.ts | 196 | db.__tx.query.appSettings.findFirst.mockResolvedValue({ | CODE |
| CRITICAL | …s/metadata-preferences/provider-config.service.test.ts | 234 | db.__tx.query.appSettings.findFirst.mockResolvedValue({ | CODE |
| CRITICAL⚡ | …s/metadata-preferences/provider-config.service.test.ts | 246 | db.__tx.query.appSettings.findFirst.mockResolvedValue(undefined); | CODE |
| CRITICAL⚡ | …s/metadata-preferences/provider-config.service.test.ts | 253 | db.__tx.query.appSettings.findFirst.mockResolvedValue(undefined); | CODE |
| CRITICAL⚡ | …s/metadata-preferences/provider-config.service.test.ts | 260 | db.__tx.query.appSettings.findFirst.mockResolvedValue(undefined); | CODE |
| CRITICAL | …s/metadata-preferences/provider-config.service.test.ts | 277 | db.__tx.query.appSettings.findFirst.mockResolvedValue(undefined); | CODE |
| CRITICAL | …s/metadata-preferences/provider-config.service.test.ts | 289 | db.__tx.query.appSettings.findFirst.mockResolvedValue(undefined); | CODE |
| CRITICAL | …s/metadata-preferences/provider-config.service.test.ts | 299 | db.__tx.query.appSettings.findFirst.mockResolvedValue({ | CODE |
| CRITICAL | …s/metadata-preferences/provider-config.service.test.ts | 316 | db.__tx.query.appSettings.findFirst.mockResolvedValue({ | CODE |
| CRITICAL | …s/metadata-preferences/provider-config.service.test.ts | 329 | db.__tx.query.appSettings.findFirst.mockResolvedValue(undefined); | CODE |
| CRITICAL | …s/metadata-preferences/provider-config.service.test.ts | 341 | db.__tx.query.appSettings.findFirst.mockResolvedValue(undefined); | CODE |
| CRITICAL | …s/metadata-preferences/provider-config.service.test.ts | 352 | db.__tx.query.appSettings.findFirst.mockResolvedValue({ value: '{bad-json' }); | CODE |
| CRITICAL | …s/metadata-preferences/provider-config.service.test.ts | 454 | db.__tx.query.appSettings.findFirst.mockResolvedValue({ | CODE |
| CRITICAL | …s/metadata-preferences/provider-config.service.test.ts | 468 | db.__tx.query.appSettings.findFirst.mockResolvedValue({ value: JSON.stringify({ google: { enabled: true, apiKey: 'g' | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | server/test/file-rename.e2e-spec.ts | 534 | await createEpubFile(join(lib.folderPath, 'no-pattern-book.epub'), 'placeholder'); | CODE |
| LOW | server/test/file-rename.e2e-spec.ts | 971 | await createEpubFile(join(lib.folderPath, 'original-stem.epub'), 'placeholder'); | CODE |
| LOW | …er/test/e2e/file-rename/file-rename-fixture-builder.ts | 55 | export async function createDummyFile(absolutePath: string, content = 'placeholder'): Promise<void> { | CODE |
| LOW | …er/test/e2e/file-rename/file-rename-fixture-builder.ts | 187 | await createEpubFile(join(libraryRoot, relPath), 'placeholder'); | CODE |
| LOW | server/src/common/services/permission.service.test.ts | 11 | name: 'Jane Doe', | CODE |
| LOW | server/src/common/guards/permission.guard.test.ts | 16 | name: 'Jane Doe', | CODE |
| LOW | server/src/common/guards/jwt-auth.guard.test.ts | 13 | name: 'Jane Doe', | CODE |
| LOW | server/src/common/guards/library-access.guard.test.ts | 12 | name: 'Jane Doe', | CODE |
| LOW | server/src/modules/reader/epub/epub.service.test.ts | 261 | creator: 'Jane Doe', | CODE |
| LOW | server/src/modules/reader/epub/epub.service.test.ts | 291 | expect(info.metadata).toMatchObject({ title: 'Reader Test', creator: 'Jane Doe', language: 'pt-BR', identifier: '000 | CODE |
| LOW | server/src/modules/reader/epub/epub.service.test.ts | 308 | creator: 'Jane Doe', | CODE |
| LOW | …les/authors/author-enrichment-executor.service.test.ts | 20 | name: 'Jane Doe', | CODE |
| LOW | …les/authors/author-enrichment-executor.service.test.ts | 28 | name: 'Jane Doe', | CODE |
| LOW | …les/authors/author-enrichment-executor.service.test.ts | 56 | name: 'Jane Doe', | CODE |
| LOW | …les/authors/author-enrichment-executor.service.test.ts | 90 | authorsRepo.findByIdForEnrichment.mockResolvedValue({ id: 5, name: 'Jane Doe', bookCount: 0 }); | CODE |
| LOW | …les/authors/author-enrichment-executor.service.test.ts | 157 | name: 'Jane Doe', | CODE |
| LOW | …les/authors/author-enrichment-executor.service.test.ts | 181 | name: 'Jane Doe', | CODE |
| LOW | …les/authors/author-enrichment-executor.service.test.ts | 251 | name: 'Jane Doe', | CODE |
| LOW | …les/authors/author-enrichment-executor.service.test.ts | 437 | expect(metadataFetch.collectByProvider).toHaveBeenCalledWith(expect.objectContaining({ name: 'Jane Doe' }), expect | CODE |
| LOW | …les/authors/author-enrichment-executor.service.test.ts | 464 | authorsRepo.findByIdForEnrichment.mockResolvedValue({ id: 5, name: 'Jane Doe', description: 'Existing bio', hasPho | CODE |
| LOW | server/src/modules/authors/authors.service.test.ts | 259 | name: 'Jane Doe', | CODE |
| LOW | server/src/modules/authors/authors.service.test.ts | 291 | authorsRepo.findById.mockResolvedValue({ id: 25, name: 'Jane Doe', sortName: null, description: 'Bio', bookCount: 1, | CODE |
| LOW | server/src/modules/authors/authors.service.test.ts | 311 | name: 'John Doe', | CODE |
| LOW | server/src/modules/authors/authors.controller.test.ts | 150 | const candidate = { provider: 'audnexus', providerId: 'x1', name: 'Jane Doe' }; | CODE |
| LOW | server/src/modules/authors/authors.controller.test.ts | 215 | const cached = { provider: 'audnexus', providerId: 'x1', name: 'Jane Doe', cache: { fetchedAt: '2026-09-01T00:00:00. | CODE |
| LOW | …src/modules/authors/dto/authors-dto-validation.test.ts | 87 | q: 'Jane Doe', | CODE |
| LOW | …src/modules/authors/dto/authors-dto-validation.test.ts | 99 | q: 'Jane Doe', | CODE |
| LOW | …src/modules/authors/dto/authors-dto-validation.test.ts | 107 | q: 'Jane Doe', | CODE |
| LOW⚡ | …authors/metadata/author-metadata-fetch.service.test.ts | 330 | search: vi.fn().mockResolvedValue([{ provider: 'audnexus', providerId: 'A1', name: 'Jane Doe' }]), | CODE |
| LOW⚡ | …authors/metadata/author-metadata-fetch.service.test.ts | 331 | lookupById: vi.fn().mockResolvedValue({ provider: 'audnexus', providerId: 'A1', name: 'Jane Doe', description: ' | CODE |
| LOW⚡ | …authors/metadata/author-metadata-fetch.service.test.ts | 339 | await service.search({ name: 'Jane Doe' }); | CODE |
| LOW⚡ | …authors/metadata/author-metadata-fetch.service.test.ts | 377 | expect(request.descriptor).toEqual({ inputs: { name: 'Jane Doe', region: 'ca' } }); | CODE |
| LOW⚡ | …authors/metadata/author-metadata-fetch.service.test.ts | 378 | expect(provider.search).toHaveBeenCalledWith(expect.objectContaining({ name: 'Jane Doe', region: 'ca' })); | CODE |
| LOW⚡ | …authors/metadata/author-metadata-fetch.service.test.ts | 385 | value: [{ provider: 'audnexus', providerId: 'A1', name: 'Jane Doe' }], | CODE |
| LOW⚡ | …authors/metadata/author-metadata-fetch.service.test.ts | 393 | await expect(service.searchDetailed({ name: 'Jane Doe' })).resolves.toEqual({ | CODE |
| LOW⚡ | …authors/metadata/author-metadata-fetch.service.test.ts | 394 | candidates: [{ provider: 'audnexus', providerId: 'A1', name: 'Jane Doe', cache: { fetchedAt: '2026-09-01T00:00:0 | CODE |
| LOW⚡ | …authors/metadata/author-metadata-fetch.service.test.ts | 404 | const [candidate] = await service.search({ name: 'Jane Doe' }); | CODE |
| LOW⚡ | …authors/metadata/author-metadata-fetch.service.test.ts | 412 | value: [{ provider: 'audnexus', providerId: 'A1', name: 'Jane Doe' }], | CODE |
| LOW⚡ | …authors/metadata/author-metadata-fetch.service.test.ts | 420 | const emitted = await firstValueFrom(service.stream({ name: 'Jane Doe' }).pipe(toArray())); | CODE |
| LOW⚡ | …authors/metadata/author-metadata-fetch.service.test.ts | 423 | { provider: 'audnexus', providerId: 'A1', name: 'Jane Doe', cache: { fetchedAt: '2026-08-01T00:00:00.000Z', stal | CODE |
| LOW⚡ | …authors/metadata/author-metadata-fetch.service.test.ts | 430 | value: { provider: 'audnexus', providerId: 'A1', name: 'Jane Doe' }, | CODE |
| LOW⚡ | …authors/metadata/author-metadata-fetch.service.test.ts | 452 | value: [{ provider: 'audnexus', providerId: 'A1', name: 'Jane Doe' }], | CODE |
| LOW⚡ | …authors/metadata/author-metadata-fetch.service.test.ts | 461 | value: { provider: 'audnexus', providerId: 'A1', name: 'Jane Doe', description: 'Bio' }, | CODE |
| LOW⚡ | …authors/metadata/author-metadata-fetch.service.test.ts | 470 | const result = await service.quickSearchDetailed({ name: 'Jane Doe' }, { directive: { policy: 'refresh', allowFall | CODE |
| LOW⚡ | …authors/metadata/author-metadata-fetch.service.test.ts | 473 | candidate: { provider: 'audnexus', providerId: 'A1', name: 'Jane Doe', description: 'Bio' }, | CODE |
| LOW⚡ | …authors/metadata/author-metadata-fetch.service.test.ts | 487 | value: [{ provider: 'audnexus', providerId: 'A1', name: 'Jane Doe' }], | CODE |
| LOW⚡ | …authors/metadata/author-metadata-fetch.service.test.ts | 495 | value: { provider: 'audnexus', providerId: 'A1', name: 'Jane Doe' }, | CODE |
| LOW⚡ | …authors/metadata/author-metadata-fetch.service.test.ts | 503 | value: [{ provider: 'goodreads', providerId: 'G1', name: 'Jane Doe' }], | CODE |
| LOW⚡ | …authors/metadata/author-metadata-fetch.service.test.ts | 509 | value: { provider: 'goodreads', providerId: 'G1', name: 'Jane Doe' }, | CODE |
| LOW⚡ | …authors/metadata/author-metadata-fetch.service.test.ts | 515 | const result = await service.collectByProvider({ name: 'Jane Doe' }, ['audnexus', 'goodreads'] as never, { | CODE |
| LOW⚡ | …authors/metadata/author-metadata-fetch.service.test.ts | 644 | .mockResolvedValueOnce(jsonResponse([{ asin: 'B1', name: 'Jane Doe' }])) | CODE |
| LOW⚡ | …authors/metadata/author-metadata-fetch.service.test.ts | 645 | .mockResolvedValueOnce(jsonResponse({ asin: 'B1', name: 'Jane Doe', description: 'Bio' })) | CODE |
| LOW⚡ | …authors/metadata/author-metadata-fetch.service.test.ts | 648 | await service.quickSearchDetailed({ name: 'Jane Doe' }); | CODE |
| LOW⚡ | …authors/metadata/author-metadata-fetch.service.test.ts | 649 | const refreshed = await service.quickSearchDetailed({ name: 'Jane Doe' }, { directive: { policy: 'refresh', allowF | CODE |
| LOW⚡ | …authors/metadata/author-metadata-fetch.service.test.ts | 662 | .mockResolvedValueOnce(jsonResponse([{ asin: 'B1', name: 'Jane Doe' }])) | CODE |
| LOW⚡ | …authors/metadata/author-metadata-fetch.service.test.ts | 663 | .mockResolvedValueOnce(jsonResponse({ asin: 'B1', name: 'Jane Doe' })) | CODE |
| LOW⚡ | …authors/metadata/author-metadata-fetch.service.test.ts | 666 | await service.quickSearchDetailed({ name: 'Jane Doe' }); | CODE |
| LOW⚡ | …authors/metadata/author-metadata-fetch.service.test.ts | 667 | const refreshed = await service.quickSearchDetailed({ name: 'Jane Doe' }, { directive: { policy: 'refresh', allowF | CODE |
| LOW | …authors/metadata/author-metadata-fetch.service.test.ts | 360 | await service.quickSearchDetailed({ name: 'Jane Doe' }, { directive }); | CODE |
| LOW | …authors/metadata/author-metadata-fetch.service.test.ts | 441 | name: 'Jane Doe', | CODE |
| 338 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …data-fetch/providers/kobo/kobo-cloudscraper.fetcher.ts | 28 | print(json.dumps({"errorClass": exc.__class__.__name__, "error": str(exc), "unavailable": True}), file=sys.stderr) | CODE |
| HIGH | …data-fetch/providers/kobo/kobo-cloudscraper.fetcher.ts | 43 | return True | CODE |
| HIGH⚡ | …data-fetch/providers/kobo/kobo-cloudscraper.fetcher.ts | 87 | print(json.dumps(last_result)) | CODE |
| HIGH⚡ | …data-fetch/providers/kobo/kobo-cloudscraper.fetcher.ts | 90 | print(json.dumps(last_result)) | CODE |
| HIGH⚡ | …data-fetch/providers/kobo/kobo-cloudscraper.fetcher.ts | 102 | print(json.dumps(last_result)) | CODE |
| HIGH⚡ | …data-fetch/providers/kobo/kobo-cloudscraper.fetcher.ts | 105 | print(json.dumps(last_error or {"errorClass": "KoboCloudscraperError", "error": "no response"}), file=sys.stderr) | CODE |
| HIGH⚡ | …data-fetch/providers/kobo/kobo-cloudscraper.fetcher.ts | 113 | print(json.dumps({"errorClass": exc.__class__.__name__, "error": str(exc)}), file=sys.stderr) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …ugin/spec/bookorbit_open_annotation_scheduler_test.lua | 78 | assertEqual(#harness.timers, 2, "replacement keeps old timer callback queued") | CODE |
| MEDIUM | …ugin/spec/bookorbit_open_annotation_scheduler_test.lua | 92 | assertEqual(#harness.timers, 1, "match success schedules another settled sync") | CODE |
| MEDIUM | koreader-plugin/spec/bookorbit_sweep_chunking_test.lua | 64 | for index = #harness.history, 1, -1 do | CODE |
| MEDIUM | koreader-plugin/spec/bookorbit_sweep_chunking_test.lua | 138 | assertEqual(#harness.calls.match, 0, "books verified inside the age bound issue no match request") | CODE |
| MEDIUM | koreader-plugin/spec/bookorbit_sweep_test.lua | 93 | assertEqual(#harness.calls.match, 1, "one match batch goes out") | CODE |
| MEDIUM | koreader-plugin/spec/bookorbit_sweep_test.lua | 105 | assertEqual(#harness.calls.page_stats, 1, "only that book uploads reading data") | CODE |
| MEDIUM | koreader-plugin/spec/bookorbit_sweep_test.lua | 122 | assertEqual(#harness.calls.match, 1, "one match batch goes out") | CODE |
| MEDIUM⚡ | koreader-plugin/spec/bookorbit_sweep_test.lua | 241 | assertEqual(#harness.calls.page_stats, 1, "a replacement server file receives historical reading data") | CODE |
| MEDIUM⚡ | koreader-plugin/spec/bookorbit_sweep_test.lua | 242 | assertEqual(#harness.calls.page_stats[1][1].events, 1, "the historical event is included in the upload") | CODE |
| MEDIUM⚡ | koreader-plugin/spec/bookorbit_sweep_test.lua | 246 | assertEqual(#harness.calls.annotation_exchanges, 1, "a replacement server file forces an annotation exchange") | CODE |
| MEDIUM⚡ | koreader-plugin/spec/bookorbit_sweep_test.lua | 247 | assertEqual(#harness.calls.annotation_exchanges[1].annotations, 1, "the replacement exchange carries the local annot | CODE |
| MEDIUM⚡ | koreader-plugin/spec/bookorbit_sweep_test.lua | 252 | assertEqual(#harness.calls.page_stats, 1, "the acknowledged history is not uploaded again") | CODE |
| MEDIUM⚡ | koreader-plugin/spec/bookorbit_sweep_test.lua | 253 | assertEqual(#harness.calls.annotation_exchanges, 1, "the acknowledged sidecar is not exchanged again") | CODE |
| MEDIUM | koreader-plugin/spec/bookorbit_sweep_test.lua | 337 | assertEqual(#harness.calls.page_stats, 1, "only the collision row with new events uploads") | CODE |
| MEDIUM | koreader-plugin/spec/bookorbit_sweep_test.lua | 380 | assertEqual(#harness.calls.page_stats, 0, "an unbound collision row is never attributed by guesswork") | CODE |
| MEDIUM | koreader-plugin/spec/bookorbit_sweep_test.lua | 403 | assertEqual(#harness.calls.match, 0, "no request has gone out yet") | CODE |
| MEDIUM | koreader-plugin/spec/bookorbit_sweep_test.lua | 415 | assertEqual(#harness.calls.match, 0, "the step scheduled by the cancelled run issues no request") | CODE |
| MEDIUM | koreader-plugin/spec/bookorbit_sweep_test.lua | 493 | assertEqual(#harness.calls.pending, case.asked, case.label .. ": pending books asked for") | CODE |
| MEDIUM | koreader-plugin/spec/bookorbit_sweep_test.lua | 494 | assertEqual(#harness.calls.annotation_exchanges, case.exchanged, case.label .. ": exchanges") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | server/src/db/schema/reader.ts | 241 | koboLocationValue: varchar('kobo_location_value', { length: 255 }), | COMMENT |
| LOW | server/src/db/schema/download-clients.ts | 161 | // and the attempt list are read in. `created_at` served neither: two attempts inserted in one | COMMENT |
| LOW | server/src/modules/tts/tts-text-extractor.service.ts | 41 | const BLOCK_SPLIT_RE = | COMMENT |
| LOW | …/modules/file-write/formats/mobi/mobi-test-fixtures.ts | 1 | // Builds structurally valid PalmDB/MOBI buffers in memory so the writer suite never | COMMENT |
| LOW | …/modules/file-write/formats/mobi/mobi-header-record.ts | 1 | // Record 0 (and the KF8 boundary record in dual-format files) layout: | COMMENT |
| LOW | server/src/modules/file-write/formats/mobi/palmdb.ts | 1 | // PalmDB container layout shared by MOBI, AZW3 and AZW: | COMMENT |
| LOW | …les/metadata-fetch/providers/metadata-search-params.ts | 21 | // Pins a Hardcover refresh to a previously chosen edition instead of re-deriving one by ISBN. | COMMENT |
| LOW | server/src/modules/scanner/lib/walk.test.ts | 901 | const second = await findBookCandidates(root, [], undefined, first.dirMtimes); | COMMENT |
| LOW | server/src/modules/scanner/lib/walk.ts | 141 | // Safety rules: | COMMENT |
| LOW | server/src/modules/metadata/lib/mobi-parser.ts | 1 | import { readFile } from 'fs/promises'; | COMMENT |
| LOW | …/modules/reading-session/reading-session.repository.ts | 201 | // A row already exists for this sessionId, and that is usually deliberate rather than a | COMMENT |
| LOW | client/public/assets/foliate/paginator.js | 241 | COMMENT | |
| LOW | client/public/assets/foliate/paginator.js | 461 | #footer | COMMENT |
| LOW | client/public/assets/foliate/paginator.js | 721 | // To make them the same, we start by shrinking the outer padding | COMMENT |
| LOW | client/src/features/book/lib/cover-tint.ts | 21 | // The winning bucket sets the hue, but its own saturation is clamped: too low | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/DEVELOPMENT.md | 101 | #### Step 1 - Clone the repository | COMMENT |
| LOW | docs/DEVELOPMENT.md | 110 | #### Step 2 - Create your environment file | COMMENT |
| LOW⚡ | docs/DEVELOPMENT.md | 122 | #### Step 3 - Install dependencies | COMMENT |
| LOW⚡ | docs/DEVELOPMENT.md | 130 | #### Step 4 - Start PostgreSQL | COMMENT |
| LOW⚡ | docs/DEVELOPMENT.md | 140 | #### Step 5 - Apply database migrations | COMMENT |
| LOW⚡ | docs/DEVELOPMENT.md | 148 | #### Step 6 - Seed baseline data | COMMENT |
| LOW⚡ | docs/DEVELOPMENT.md | 156 | #### Step 7 - Start the app | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | koreader-plugin/tools/build_buddy_sprites.py | 158 | CODE | |
| LOW | koreader-plugin/tools/build_buddy_sprites.py | 644 | CODE | |
| LOW | koreader-plugin/tools/build_buddy_sprites.py | 734 | CODE | |
| LOW | koreader-plugin/tools/build_buddy_sprites.py | 810 | CODE | |
| LOW | koreader-plugin/tools/build_buddy_sprites.py | 858 | CODE | |
| LOW | koreader-plugin/tools/build_buddy_sprites.py | 936 | CODE | |
| LOW | koreader-plugin/tools/build_buddy_sprites.py | 980 | CODE | |
| LOW | koreader-plugin/tools/build_buddy_sprites.py | 1098 | CODE | |
| LOW | koreader-plugin/tools/build_buddy_sprites.py | 1163 | CODE | |
| LOW | koreader-plugin/tools/build_buddy_sprites.py | 1223 | CODE | |
| LOW | koreader-plugin/tools/build_buddy_sprites.py | 1271 | CODE | |
| LOW | koreader-plugin/tools/build_buddy_sprites.py | 1365 | CODE | |
| LOW | koreader-plugin/tools/build_buddy_sprites.py | 254 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | release.config.js | 168 | // to curate. Rendered inside the scaffold's HTML comment (never shown publicly) | COMMENT |
| MEDIUM | docs/RELEASE_PROCESS.md | 119 | semantic-release creates the GitHub release as a **draft** with a `## Highlights` scaffold (added by `release.config.js` | CODE |
| MEDIUM | docs/DEVELOPMENT.md | 69 | ├── scripts/ # Bootstrap, DB reset, E2E orchestration | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …data-fetch/providers/kobo/kobo-cloudscraper.fetcher.ts | 27 | except Exception as exc: | CODE |
| LOW⚡ | …data-fetch/providers/kobo/kobo-cloudscraper.fetcher.ts | 92 | except Exception as exc: | CODE |
| LOW⚡ | …data-fetch/providers/kobo/kobo-cloudscraper.fetcher.ts | 112 | except Exception as exc: | CODE |