AI Slop Code Risk Monitor

Difegue/LANraragi

SlopCodeMonitor badge for Difegue/LANraragi Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Web application for archival and reading of manga/doujinshi. Lightweight and Docker-ready for NAS/servers.

2.0 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

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.

2.0
Adjusted Signal
2.0
Raw Pattern Score
100%
Time Factor
2026-10-29
Last Push
3.1K
Stars
Perl
Language
59.1K
Lines of Code
257
Files
66
Pattern Hits
2026-10-31
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

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.

Cognitive Ownership Risk 9.3/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 65 finding(s).

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

Are imports declared and package/API names verified? 1 finding(s).

Agent Over-Engineering Ratio 0.8/100 · LOW

Are wrappers, guards, and repeated structures necessary? 10 finding(s).

PR Review Velocity Impact 7.4/100 · LOW

Which changes need focused human review? 66 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 0HIGH 1MEDIUM 10LOW 55

Directory Score Breakdown

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.

Pattern Findings

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.

Redundant / Tautological Comments35 hits · 55 pts
SeverityFileLineSnippetContext
LOWtests/mocks.pl486 # Check if WITHSCORES option is presentCOMMENT
LOWlib/LANraragi.pm98 #Check if a Redis server is running on the provided address/portCOMMENT
LOWlib/LANraragi.pm220 # Check if this is a first-time installation.COMMENT
LOWlib/Shinobu.pm145 push @files, $_; #Push files to arrayCODE
LOWlib/LANraragi/Plugin/Metadata/ComicInfo.pm47 #Read file into stringCOMMENT
LOWlib/LANraragi/Plugin/Metadata/Ksk.pm116 # Check if array or string, don't iterate if stringCOMMENT
LOWlib/LANraragi/Plugin/Metadata/Koromo.pm131 # Check if array or string, don't iterate if stringCOMMENT
LOW⚡lib/LANraragi/Plugin/Metadata/HatH.pm56 # Check if the line starts with Title:COMMENT
LOW⚡lib/LANraragi/Plugin/Metadata/HatH.pm61 # Check if the line starts with Uploaded By:COMMENT
LOW⚡lib/LANraragi/Plugin/Metadata/HatH.pm66 # Check if the line starts with Upload Time:COMMENT
LOW⚡lib/LANraragi/Plugin/Metadata/HatH.pm71 # Check if the line starts with TAGS:COMMENT
LOWlib/LANraragi/Utils/ImageMagickResizer.pm45 # Set format to jpeg and qualityCOMMENT
LOWlib/LANraragi/Utils/ImageMagickResizer.pm88 # Set format to jpeg and qualityCOMMENT
LOWlib/LANraragi/Utils/I18NInitializer.pm24 # Check if there's a forced language setting (loaded at startup)COMMENT
LOWlib/LANraragi/Utils/Database.pm380 # Check if the DB entry is correctCOMMENT
LOWlib/LANraragi/Utils/Database.pm389 # Check if the linked file existsCOMMENT
LOWlib/LANraragi/Utils/VipsResizer.pm25 # Set format to jpeg and qualityCOMMENT
LOWlib/LANraragi/Utils/Minion.pm465 # Check if the plugin provided a direct file path instead of a URL to downloadCOMMENT
LOWlib/LANraragi/Utils/Archive.pm473# Check if the in-archive path matches the compiled "Exclude files in Archives" regex.COMMENT
LOWlib/LANraragi/Utils/Login.pm11# Check if an API is logged in.COMMENT
LOWlib/LANraragi/Controller/Duplicates.pm42 # Check if archive still existsCOMMENT
LOWlib/LANraragi/Controller/Plugins.pm126 # Check if the parameter exists in the requestCOMMENT
LOWlib/LANraragi/Controller/Plugins.pm181 #Check if this is a Perl package ("xx.pm")COMMENT
LOWlib/LANraragi/Controller/Upload.pm23 #Check if the uploaded file's extension matches one we acceptCOMMENT
LOWlib/LANraragi/Controller/Api/Database.pm130 # Read file contentCOMMENT
LOWlib/LANraragi/Model/Tankoubon.pm84 # Check if the group ID exists, move timestamp further if it doesCOMMENT
LOWlib/LANraragi/Model/Tankoubon.pm162 # Verify if we require fulldata files or just IDsCOMMENT
LOWlib/LANraragi/Model/Tankoubon.pm713 # Check if tank has its own date_added or timestamp tagsCOMMENT
LOWlib/LANraragi/Model/Tankoubon.pm920# Check if a tankoubon has any archive that exists in the given set.COMMENT
LOWlib/LANraragi/Model/Upload.pm47 # Check if file is an archiveCOMMENT
LOWlib/LANraragi/Model/Upload.pm61 #Check if the ID is already in the database, andCOMMENT
LOWlib/LANraragi/Model/Archive.pm134 # Check if a job is already queued for this archiveCOMMENT
LOWlib/LANraragi/Model/Archive.pm207 # Check if the preferred format thumbnail exists, if not, try the alternate formatCOMMENT
LOWlib/LANraragi/Model/Category.pm57 # Check if the id is in any categoriesCOMMENT
LOWlib/LANraragi/Model/Category.pm133 # Check if the category ID exists, move timestamp further if it doesCOMMENT
Self-Referential Comments9 hits · 27 pts
SeverityFileLineSnippetContext
MEDIUMtools/generate_registry.pl29 # Create an empty manifest if it doesn't existCOMMENT
MEDIUMlib/LANraragi/Utils/Database.pm590# This function is used for all ID computation in LRR.COMMENT
MEDIUMlib/LANraragi/Controller/Api/Archive.pm110# Create a file archive along with any metadata.COMMENT
MEDIUMlib/LANraragi/Controller/Api/Shinobu.pm76 # Create a new Process, automatically stored in TEMP_FOLDER/shinobu.pidCOMMENT
MEDIUMlib/LANraragi/Controller/Api/Shinobu.pm137 # Create a new Process, automatically stored in TEMP_FOLDER/shinobu.pidCOMMENT
MEDIUMlib/LANraragi/Model/Tankoubon.pm68# Create a Tankoubon.COMMENT
MEDIUMlib/LANraragi/Model/Config.pm54# Create a Minion object connected to the Minion database.COMMENT
MEDIUMlib/LANraragi/Model/Registry.pm37# Create a registry entry with a generated REG_{timestamp} ID.COMMENT
MEDIUMlib/LANraragi/Model/Category.pm116# Create a Category.COMMENT
AI Slop Vocabulary7 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMlib/Shinobu.pm129# This computes IDs for all new archives and henceforth can get rather expensive!COMMENT
LOWlib/LANraragi/Plugin/Download/EHentai.pm41 # We don't really download anything here, we just use the E-H URL to get an archiver URL that can be downloaded normCOMMENT
LOWlib/LANraragi/Utils/Generic.pm338 # If array1 is empty, just return an empty array or the second array if $isneg is trueCOMMENT
LOWlib/LANraragi/Model/Backup.pm270 # Backups use the same data structure as tank updates, so we can just pass the data object as-is.COMMENT
LOWlib/LANraragi/Model/Opds.pm79 # Detailed pages just return a single entry instead of all the archives.COMMENT
LOWlib/LANraragi/Model/Search.pm356 # For title sorting, we can just use the LRR_TITLES set, which is sorted lexicographically (but not naturallCOMMENT
LOWlib/LANraragi/Model/Archive.pm139 # If the job is pending or running, don't queue a new job and just return this oneCOMMENT
Hyper-Verbose Identifiers10 hits · 10 pts
SeverityFileLineSnippetContext
LOWpublic/js/mod/index_contextmenu.js79function loadContextMenuCategories(catList, id){CODE
LOWpublic/js/mod/server.js336export function removeArchiveFromCategory(arcId, catId) {CODE
LOWpublic/js/mod/index.js293export function toggleBookmarkStatusByIcon(e) {CODE
LOWpublic/js/mod/index.js607export function enterSelectionCarouselMode() {CODE
LOWpublic/js/mod/index.js646export function exitSelectionCarouselMode() {CODE
LOWpublic/js/mod/index.js725export function removeArchiveFromSelection(id) {CODE
LOWpublic/js/mod/index.js834function mergeSelectionIntoTankoubon() {CODE
LOWpublic/js/mod/reader_common.js1414async function loadPreviousDatatablesArchives() {CODE
LOWpublic/js/mod/reader_common.js1423async function loadNextDatatablesArchives() {CODE
LOWpublic/js/mod/reader_options.js26 function updateAutoNextPageInterval() {CODE
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHlib/LANraragi/Model/Stamp.pm164 # This one is probably redundant, but I'll add it for the purpose of reverse searches, maybe for cache build up.COMMENT
Slop Phrases2 hits · 2 pts
SeverityFileLineSnippetContext
LOWlib/Shinobu.pm276 # Don't forget to update the filemap, later operations will behave incorrectly otherwiseCOMMENT
LOWlib/LANraragi/Plugin/Metadata/Fakku.pm31 "Searches FAKKU for tags matching your archive. If you have an account, don't forget to enter the matching cooCODE
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtools/openapi.yaml5307 content: Lorem ipsum doloreCODE
Over-Commented Block1 hit · 1 pts
SeverityFileLineSnippetContext
LOWlib/LANraragi/Plugin/Metadata/GalleryDL.pm41#COMMENT