Web application for archival and reading of manga/doujinshi. Lightweight and Docker-ready for NAS/servers.
This report summarizes scanner evidence for Difegue/LANraragi, a Perl project with 3,142 GitHub stars. SynthScan examined 59,073 lines of code across 257 source files, recording 66 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 2.0 (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? 65 finding(s).
Are imports declared and package/API names verified? 1 finding(s).
Are wrappers, guards, and repeated structures necessary? 10 finding(s).
Which changes need focused human review? 66 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 66 distinct pattern matches across 8 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 | tests/mocks.pl | 486 | # Check if WITHSCORES option is present | COMMENT |
| LOW | lib/LANraragi.pm | 98 | #Check if a Redis server is running on the provided address/port | COMMENT |
| LOW | lib/LANraragi.pm | 220 | # Check if this is a first-time installation. | COMMENT |
| LOW | lib/Shinobu.pm | 145 | push @files, $_; #Push files to array | CODE |
| LOW | lib/LANraragi/Plugin/Metadata/ComicInfo.pm | 47 | #Read file into string | COMMENT |
| LOW | lib/LANraragi/Plugin/Metadata/Ksk.pm | 116 | # Check if array or string, don't iterate if string | COMMENT |
| LOW | lib/LANraragi/Plugin/Metadata/Koromo.pm | 131 | # Check if array or string, don't iterate if string | COMMENT |
| LOW⚡ | lib/LANraragi/Plugin/Metadata/HatH.pm | 56 | # Check if the line starts with Title: | COMMENT |
| LOW⚡ | lib/LANraragi/Plugin/Metadata/HatH.pm | 61 | # Check if the line starts with Uploaded By: | COMMENT |
| LOW⚡ | lib/LANraragi/Plugin/Metadata/HatH.pm | 66 | # Check if the line starts with Upload Time: | COMMENT |
| LOW⚡ | lib/LANraragi/Plugin/Metadata/HatH.pm | 71 | # Check if the line starts with TAGS: | COMMENT |
| LOW | lib/LANraragi/Utils/ImageMagickResizer.pm | 45 | # Set format to jpeg and quality | COMMENT |
| LOW | lib/LANraragi/Utils/ImageMagickResizer.pm | 88 | # Set format to jpeg and quality | COMMENT |
| LOW | lib/LANraragi/Utils/I18NInitializer.pm | 24 | # Check if there's a forced language setting (loaded at startup) | COMMENT |
| LOW | lib/LANraragi/Utils/Database.pm | 380 | # Check if the DB entry is correct | COMMENT |
| LOW | lib/LANraragi/Utils/Database.pm | 389 | # Check if the linked file exists | COMMENT |
| LOW | lib/LANraragi/Utils/VipsResizer.pm | 25 | # Set format to jpeg and quality | COMMENT |
| LOW | lib/LANraragi/Utils/Minion.pm | 465 | # Check if the plugin provided a direct file path instead of a URL to download | COMMENT |
| LOW | lib/LANraragi/Utils/Archive.pm | 473 | # Check if the in-archive path matches the compiled "Exclude files in Archives" regex. | COMMENT |
| LOW | lib/LANraragi/Utils/Login.pm | 11 | # Check if an API is logged in. | COMMENT |
| LOW | lib/LANraragi/Controller/Duplicates.pm | 42 | # Check if archive still exists | COMMENT |
| LOW | lib/LANraragi/Controller/Plugins.pm | 126 | # Check if the parameter exists in the request | COMMENT |
| LOW | lib/LANraragi/Controller/Plugins.pm | 181 | #Check if this is a Perl package ("xx.pm") | COMMENT |
| LOW | lib/LANraragi/Controller/Upload.pm | 23 | #Check if the uploaded file's extension matches one we accept | COMMENT |
| LOW | lib/LANraragi/Controller/Api/Database.pm | 130 | # Read file content | COMMENT |
| LOW | lib/LANraragi/Model/Tankoubon.pm | 84 | # Check if the group ID exists, move timestamp further if it does | COMMENT |
| LOW | lib/LANraragi/Model/Tankoubon.pm | 162 | # Verify if we require fulldata files or just IDs | COMMENT |
| LOW | lib/LANraragi/Model/Tankoubon.pm | 713 | # Check if tank has its own date_added or timestamp tags | COMMENT |
| LOW | lib/LANraragi/Model/Tankoubon.pm | 920 | # Check if a tankoubon has any archive that exists in the given set. | COMMENT |
| LOW | lib/LANraragi/Model/Upload.pm | 47 | # Check if file is an archive | COMMENT |
| LOW | lib/LANraragi/Model/Upload.pm | 61 | #Check if the ID is already in the database, and | COMMENT |
| LOW | lib/LANraragi/Model/Archive.pm | 134 | # Check if a job is already queued for this archive | COMMENT |
| LOW | lib/LANraragi/Model/Archive.pm | 207 | # Check if the preferred format thumbnail exists, if not, try the alternate format | COMMENT |
| LOW | lib/LANraragi/Model/Category.pm | 57 | # Check if the id is in any categories | COMMENT |
| LOW | lib/LANraragi/Model/Category.pm | 133 | # Check if the category ID exists, move timestamp further if it does | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/generate_registry.pl | 29 | # Create an empty manifest if it doesn't exist | COMMENT |
| MEDIUM | lib/LANraragi/Utils/Database.pm | 590 | # This function is used for all ID computation in LRR. | COMMENT |
| MEDIUM | lib/LANraragi/Controller/Api/Archive.pm | 110 | # Create a file archive along with any metadata. | COMMENT |
| MEDIUM | lib/LANraragi/Controller/Api/Shinobu.pm | 76 | # Create a new Process, automatically stored in TEMP_FOLDER/shinobu.pid | COMMENT |
| MEDIUM | lib/LANraragi/Controller/Api/Shinobu.pm | 137 | # Create a new Process, automatically stored in TEMP_FOLDER/shinobu.pid | COMMENT |
| MEDIUM | lib/LANraragi/Model/Tankoubon.pm | 68 | # Create a Tankoubon. | COMMENT |
| MEDIUM | lib/LANraragi/Model/Config.pm | 54 | # Create a Minion object connected to the Minion database. | COMMENT |
| MEDIUM | lib/LANraragi/Model/Registry.pm | 37 | # Create a registry entry with a generated REG_{timestamp} ID. | COMMENT |
| MEDIUM | lib/LANraragi/Model/Category.pm | 116 | # Create a Category. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | lib/Shinobu.pm | 129 | # This computes IDs for all new archives and henceforth can get rather expensive! | COMMENT |
| LOW | lib/LANraragi/Plugin/Download/EHentai.pm | 41 | # We don't really download anything here, we just use the E-H URL to get an archiver URL that can be downloaded norm | COMMENT |
| LOW | lib/LANraragi/Utils/Generic.pm | 338 | # If array1 is empty, just return an empty array or the second array if $isneg is true | COMMENT |
| LOW | lib/LANraragi/Model/Backup.pm | 270 | # Backups use the same data structure as tank updates, so we can just pass the data object as-is. | COMMENT |
| LOW | lib/LANraragi/Model/Opds.pm | 79 | # Detailed pages just return a single entry instead of all the archives. | COMMENT |
| LOW | lib/LANraragi/Model/Search.pm | 356 | # For title sorting, we can just use the LRR_TITLES set, which is sorted lexicographically (but not naturall | COMMENT |
| LOW | lib/LANraragi/Model/Archive.pm | 139 | # If the job is pending or running, don't queue a new job and just return this one | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | public/js/mod/index_contextmenu.js | 79 | function loadContextMenuCategories(catList, id){ | CODE |
| LOW | public/js/mod/server.js | 336 | export function removeArchiveFromCategory(arcId, catId) { | CODE |
| LOW | public/js/mod/index.js | 293 | export function toggleBookmarkStatusByIcon(e) { | CODE |
| LOW | public/js/mod/index.js | 607 | export function enterSelectionCarouselMode() { | CODE |
| LOW | public/js/mod/index.js | 646 | export function exitSelectionCarouselMode() { | CODE |
| LOW | public/js/mod/index.js | 725 | export function removeArchiveFromSelection(id) { | CODE |
| LOW | public/js/mod/index.js | 834 | function mergeSelectionIntoTankoubon() { | CODE |
| LOW | public/js/mod/reader_common.js | 1414 | async function loadPreviousDatatablesArchives() { | CODE |
| LOW | public/js/mod/reader_common.js | 1423 | async function loadNextDatatablesArchives() { | CODE |
| LOW | public/js/mod/reader_options.js | 26 | function updateAutoNextPageInterval() { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | lib/LANraragi/Model/Stamp.pm | 164 | # This one is probably redundant, but I'll add it for the purpose of reverse searches, maybe for cache build up. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lib/Shinobu.pm | 276 | # Don't forget to update the filemap, later operations will behave incorrectly otherwise | COMMENT |
| LOW | lib/LANraragi/Plugin/Metadata/Fakku.pm | 31 | "Searches FAKKU for tags matching your archive. If you have an account, don't forget to enter the matching coo | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/openapi.yaml | 5307 | content: Lorem ipsum dolore | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lib/LANraragi/Plugin/Metadata/GalleryDL.pm | 41 | # | COMMENT |