Media server for comics/mangas/BDs/magazines/eBooks with API, OPDS, Kobo Sync and KOReader Sync support
This report summarizes scanner evidence for gotson/komga, a Kotlin project with 6,805 GitHub stars. SynthScan examined 243,195 lines of code across 1593 source files, recording 123 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 0.5 (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? 41 finding(s).
Are imports declared and package/API names verified? 82 finding(s).
Are wrappers, guards, and repeated structures necessary? 35 finding(s).
Which changes need focused human review? 123 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 123 distinct pattern matches across 6 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 |
|---|---|---|---|---|
| LOW | next-ui/src/components/readlist/form/General.stories.ts | 33 | summary: `Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et d | CODE |
| LOW | next-ui/src/components/readlist/form/General.stories.ts | 33 | summary: `Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et d | CODE |
| LOW | next-ui/src/components/user/Details.stories.ts | 25 | email: 'admin@example.org', | CODE |
| LOW | next-ui/src/components/user/form/CreateEdit.stories.ts | 65 | email: 'user@example.org', | CODE |
| LOW | next-ui/src/pages/login.stories.ts | 185 | await userEvent.type(login, 'test@example.org') | CODE |
| LOW | next-ui/src/pages/login.stories.ts | 207 | await userEvent.type(login, 'test@example.org') | CODE |
| LOW | next-ui/src/pages/login.stories.ts | 227 | await userEvent.type(login, 'test@example.org') | CODE |
| LOW | next-ui/src/pages/claim.stories.ts | 41 | await userEvent.type(login, 'test@example.org') | CODE |
| LOW | next-ui/src/pages/claim.stories.ts | 66 | await userEvent.type(login, 'test@example.org') | CODE |
| LOW | next-ui/src/pages/claim.stories.ts | 91 | await userEvent.type(login, 'test@example.org') | CODE |
| LOW | …g/gotson/komga/benchmark/rest/AbstractRestBenchmark.kt | 31 | userRepository.findByEmailIgnoreCaseOrNull("admin@example.org") | CODE |
| LOW | …otson/komga/infrastructure/jooq/main/BookSearchTest.kt | 77 | private val user1 = KomgaUser("user1@example.org", "p") | CODE |
| LOW | …otson/komga/infrastructure/jooq/main/BookSearchTest.kt | 78 | private val user2 = KomgaUser("user2@example.org", "p") | CODE |
| LOW | …otson/komga/infrastructure/jooq/main/BookDtoDaoTest.kt | 66 | private val user = KomgaUser("user@example.org", "") | CODE |
| LOW | …/komga/infrastructure/jooq/main/ReadProgressDaoTest.kt | 33 | private val user1 = KomgaUser("user1@example.org", "") | CODE |
| LOW | …/komga/infrastructure/jooq/main/ReadProgressDaoTest.kt | 34 | private val user2 = KomgaUser("user2@example.org", "") | CODE |
| LOW | …son/komga/infrastructure/jooq/main/SeriesSearchTest.kt | 71 | private val user1 = KomgaUser("user1@example.org", "p") | CODE |
| LOW | …son/komga/infrastructure/jooq/main/SeriesSearchTest.kt | 72 | private val user2 = KomgaUser("user2@example.org", "p") | CODE |
| LOW | …son/komga/infrastructure/jooq/main/SeriesDtoDaoTest.kt | 64 | private val user = KomgaUser("user@example.org", "") | CODE |
| LOW | …ga/infrastructure/jooq/main/SeriesCollectionDaoTest.kt | 29 | private val testUser = KomgaUser("test@example.org", "") | CODE |
| LOW | …a/infrastructure/jooq/main/ClientSettingsDtoDaoTest.kt | 20 | private val user1 = KomgaUser("user1@example.org", "") | CODE |
| LOW | …a/infrastructure/jooq/main/ClientSettingsDtoDaoTest.kt | 21 | private val user2 = KomgaUser("user2@example.org", "") | CODE |
| LOW | …tson/komga/infrastructure/jooq/main/ReadListDaoTest.kt | 33 | private val testUser = KomgaUser("test@example.org", "") | CODE |
| LOW⚡ | …n/komga/infrastructure/jooq/main/ReferentialDaoTest.kt | 59 | private val userAll = KomgaUser("user1@example.org", "p") | CODE |
| LOW⚡ | …n/komga/infrastructure/jooq/main/ReferentialDaoTest.kt | 60 | private val userLib1 = KomgaUser("user2@example.org", "p", sharedLibrariesIds = setOf(library1.id), sharedAllLibraries | CODE |
| LOW⚡ | …n/komga/infrastructure/jooq/main/ReferentialDaoTest.kt | 61 | private val userLabelAllow = KomgaUser("user3@example.org", "p", restrictions = ContentRestrictions(labelsAllow = setO | CODE |
| LOW⚡ | …n/komga/infrastructure/jooq/main/ReferentialDaoTest.kt | 62 | private val userAge10 = KomgaUser("user4@example.org", "p", restrictions = ContentRestrictions(ageRestriction = AgeRes | CODE |
| LOW | …son/komga/infrastructure/jooq/main/KomgaUserDaoTest.kt | 48 | email = "user@example.org", | CODE |
| LOW | …son/komga/infrastructure/jooq/main/KomgaUserDaoTest.kt | 61 | assertThat(email).isEqualTo("user@example.org") | CODE |
| LOW | …son/komga/infrastructure/jooq/main/KomgaUserDaoTest.kt | 76 | email = "user@example.org", | CODE |
| LOW | …son/komga/infrastructure/jooq/main/KomgaUserDaoTest.kt | 100 | email = "user2@example.org", | CODE |
| LOW | …son/komga/infrastructure/jooq/main/KomgaUserDaoTest.kt | 122 | assertThat(email).isEqualTo("user2@example.org") | CODE |
| LOW⚡ | …son/komga/infrastructure/jooq/main/KomgaUserDaoTest.kt | 144 | komgaUserDao.insert(KomgaUser("user1@example.org", "p")) | CODE |
| LOW⚡ | …son/komga/infrastructure/jooq/main/KomgaUserDaoTest.kt | 145 | komgaUserDao.insert(KomgaUser("user2@example.org", "p")) | CODE |
| LOW⚡ | …son/komga/infrastructure/jooq/main/KomgaUserDaoTest.kt | 151 | "user1@example.org", | CODE |
| LOW⚡ | …son/komga/infrastructure/jooq/main/KomgaUserDaoTest.kt | 152 | "user2@example.org", | CODE |
| LOW⚡ | …son/komga/infrastructure/jooq/main/KomgaUserDaoTest.kt | 158 | komgaUserDao.insert(KomgaUser("user1@example.org", "p")) | CODE |
| LOW⚡ | …son/komga/infrastructure/jooq/main/KomgaUserDaoTest.kt | 159 | komgaUserDao.insert(KomgaUser("user2@example.org", "p")) | CODE |
| LOW⚡ | …son/komga/infrastructure/jooq/main/KomgaUserDaoTest.kt | 168 | val existing = KomgaUser("user1@example.org", "p") | CODE |
| LOW | …son/komga/infrastructure/jooq/main/KomgaUserDaoTest.kt | 185 | val existing = KomgaUser("user1@example.org", "p") | CODE |
| LOW | …son/komga/infrastructure/jooq/main/KomgaUserDaoTest.kt | 196 | KomgaUser("user1@example.org", "p"), | CODE |
| LOW⚡ | …son/komga/infrastructure/jooq/main/KomgaUserDaoTest.kt | 209 | KomgaUser("user1@example.org", "p"), | CODE |
| LOW⚡ | …son/komga/infrastructure/jooq/main/KomgaUserDaoTest.kt | 216 | assertThat(found?.email).isEqualTo("user1@example.org") | CODE |
| LOW⚡ | …son/komga/infrastructure/jooq/main/KomgaUserDaoTest.kt | 222 | val user = KomgaUser("user1@example.org", "p") | CODE |
| LOW | …/kotlin/org/gotson/komga/domain/model/KomgaUserTest.kt | 8 | val defaultUser = KomgaUser("user@example.org", "aPassword") | CODE |
| LOW | …/gotson/komga/domain/service/KomgaUserLifecycleTest.kt | 28 | private val user1 = KomgaUser("user1@example.org", "") | CODE |
| LOW | …/gotson/komga/domain/service/KomgaUserLifecycleTest.kt | 29 | private val user2 = KomgaUser("user2@example.org", "") | CODE |
| LOW | …n/org/gotson/komga/domain/service/BookLifecycleTest.kt | 65 | private val user1 = KomgaUser("user1@example.org", "") | CODE |
| LOW | …n/org/gotson/komga/domain/service/BookLifecycleTest.kt | 66 | private val user2 = KomgaUser("user2@example.org", "") | CODE |
| LOW | …on/komga/domain/service/LibraryContentLifecycleTest.kt | 97 | private val user = KomgaUser("user@example.org", "", id = "1") | CODE |
| LOW | …/gotson/komga/domain/service/SyncPointLifecycleTest.kt | 55 | "user1@example.org", | CODE |
| LOW | …in/org/gotson/komga/domain/service/BookImporterTest.kt | 66 | private val user1 = KomgaUser("user1@example.org", "") | CODE |
| LOW | …in/org/gotson/komga/domain/service/BookImporterTest.kt | 67 | private val user2 = KomgaUser("user2@example.org", "") | CODE |
| LOW | …/kotlin/org/gotson/komga/interfaces/api/SessionTest.kt | 34 | user = KomgaUser("user@example.org", "user") | CODE |
| LOW | …ga/interfaces/api/kosync/KoreaderSyncControllerTest.kt | 30 | "user@example.org", | CODE |
| LOW | …gotson/komga/interfaces/api/opds/OpdsControllerTest.kt | 47 | private val user = KomgaUser("user@example.org", "", id = "1") | CODE |
| LOW | …gotson/komga/interfaces/api/opds/OpdsControllerTest.kt | 48 | private val user2 = KomgaUser("user2@example.org", "", id = "2") | CODE |
| LOW | …gotson/komga/interfaces/api/kobo/KoboControllerTest.kt | 55 | "user@example.org", | CODE |
| LOW | …ga/interfaces/api/rest/ClientSettingsControllerTest.kt | 114 | private val user1 = KomgaUser("user1@example.org", "", id = "user1") | CODE |
| LOW | …gotson/komga/interfaces/api/rest/UserControllerTest.kt | 48 | private val admin = KomgaUser("admin@example.org", "", id = "admin") | CODE |
| 22 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | komga-webui/src/functions/urls.ts | 21 | export function bookThumbnailUrlByThumbnailId(bookId: string, thumbnailId: string) { | CODE |
| LOW | komga-webui/src/functions/urls.ts | 56 | export function seriesThumbnailUrlByThumbnailId(seriesId: string, thumbnailId: string) { | CODE |
| LOW | komga-webui/src/functions/urls.ts | 64 | export function collectionThumbnailUrlByThumbnailId(collectionId: string, thumbnailId: string) { | CODE |
| LOW⚡ | komga-webui/src/functions/urls.ts | 76 | export function readListThumbnailUrlByThumbnailId(readListId: string, thumbnailId: string) { | CODE |
| LOW⚡ | komga-webui/src/functions/urls.ts | 84 | export function pageHashUnknownThumbnailUrl(pageHash: PageHashUnknownDto, resize?: number): string { | CODE |
| LOW⚡ | komga-webui/src/functions/urls.ts | 92 | export function pageHashKnownThumbnailUrl(pageHash: PageHashKnownDto): string { | CODE |
| LOW | komga-webui/src/functions/filter.ts | 24 | export function extractFilterOptionsValues(options: NameValue[] | undefined): any[] { | CODE |
| LOW | komga-webui/src/functions/book-progress.ts | 10 | export function getReadProgressPercentage (book: BookDto): number { | CODE |
| LOW | komga-webui/src/functions/book-format.ts | 22 | export function getBookFormatFromMediaType(mediaType: string): BookFormat { | CODE |
| LOW | komga-webui/src/functions/book-format.ts | 40 | export function getBookReadRouteFromMedia(media: MediaDto): string { | CODE |
| LOW | next-ui/src/types/BookDetails.ts | 11 | export function transientBookDtoToBookDetails(transientBook: TransientBookDto): BookDetails { | CODE |
| LOW | next-ui/src/composables/intlFormatter.ts | 7 | function convertSortOptionDescriptor(sortDescriptor: SortOptionDescriptor): SortOption { | CODE |
| LOW | next-ui/src/composables/selection.ts | 8 | export function useSelectionContextualActions( | CODE |
| LOW | …/src/composables/series/useEditSeriesMetadataDialog.ts | 18 | export function useEditSeriesMetadataDialog() { | CODE |
| LOW | …i/src/composables/book/useBookNavigationFromContext.ts | 6 | export function useBookNavigationFromContext( | CODE |
| LOW | …t-ui/src/composables/book/useEditBookMetadataDialog.ts | 21 | export function useEditBookMetadataDialog() { | CODE |
| LOW | next-ui/src/stores/messages.ts | 38 | export function isMessageWithActionRouter( | CODE |
| LOW | next-ui/src/api/images.ts | 60 | export function pageHashKnownThumbnailUrl(hash?: string): string | undefined { | CODE |
| LOW | next-ui/src/api/images.ts | 65 | export function pageHashUnknownThumbnailUrl(hash?: string): string | undefined { | CODE |
| LOW | next-ui/src/functions/clipboard.ts | 1 | export async function extractImageFromClipboard(item: ClipboardItem | DataTransferItem) { | CODE |
| LOW | next-ui/src/functions/clipboard.ts | 6 | async function extractImageFromDataTransferItem(item: DataTransferItem): Promise<File | undefined> { | CODE |
| LOW | next-ui/src/functions/clipboard.ts | 19 | async function extractImageFromClipboardItem(item: ClipboardItem): Promise<File | undefined> { | CODE |
| LOW | next-ui/src/functions/filter.ts | 61 | export function schemaFilterContributorsToConditions( | CODE |
| LOW | next-ui/src/functions/filter.ts | 99 | export function schemaFilterNotableEntitiesToConditions( | CODE |
| LOW | next-ui/src/functions/filter.ts | 137 | export function schemaFilterReadStatusToConditions( | CODE |
| LOW | next-ui/src/functions/filter.ts | 154 | export function schemaFilterPosterToConditions(filter: InferOutput<typeof SchemaFilterPoster>) { | CODE |
| LOW | next-ui/src/functions/filter.ts | 172 | export function schemaFilterIncludeExcludeToConditions(filter: FilterIncludeExclude, key: string) { | CODE |
| LOW | next-ui/src/functions/filter.ts | 181 | export function schemaFilterStringToConditions( | CODE |
| LOW | next-ui/src/functions/filter.ts | 222 | export function schemaFilterReleaseYearToConditions( | CODE |
| LOW | next-ui/src/functions/filter.ts | 264 | export function schemaFilterAgeRatingToConditions( | CODE |
| LOW | next-ui/src/functions/filter.ts | 315 | export function contributorToContributorsQuery(contributor: AuthorDto) { | CODE |
| LOW | next-ui/src/functions/series.ts | 3 | export function seriesMetadataToUpdateDto( | CODE |
| LOW | next-ui/src/functions/browsing-context.ts | 122 | export function formatBrowsingContextAsQueryParam(context?: BrowsingContext): LocationQueryRaw { | CODE |
| LOW | next-ui/src/functions/browsing-context.ts | 133 | export function browsingContextToRouteLocation( | CODE |
| LOW | next-ui/src/router/library-view-redirect-guard.ts | 14 | export function useLibraryViewRedirectGuard(router: Router) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | next-ui/env.d.ts | 1 | /// <reference types="vite/client" /> | COMMENT |
| LOW | komga/src/main/resources/application-dev.yml | 21 | # org.springframework.web.filter.CommonsRequestLoggingFilter: DEBUG | COMMENT |
| LOW | .github/FUNDING.yml | 1 | # These are supported funding model platforms | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | next-ui/package-lock.json | 304 | "resolved": "https://registry.npmjs.org/@devframes/agentic/-/agentic-1.1.0.tgz", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | next-ui/src/composables/useEntitiesActions.ts | 40 | //TODO: implement remaining actions | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | next-ui/public-msw/mockServiceWorker.js | 124 | async function handleRequest(event, requestId, requestInterceptedAt) { | CODE |