AI Slop Code Risk Monitor

Aidoku/Aidoku

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

Manga reading app for iOS, iPadOS, and macOS

0.9 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for Aidoku/Aidoku, a Swift project with 4,682 GitHub stars. SynthScan examined 91,999 lines of code across 512 source files, recording 67 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 0.9 (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.

0.9
Adjusted Signal
0.9
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
4.7K
Stars
Swift
Language
92.0K
Lines of Code
512
Files
67
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 3.6/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

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

Agent Over-Engineering Ratio 1.3/100 · LOW

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

PR Review Velocity Impact 4.5/100 · LOW

Which changes need focused human review? 67 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 6LOW 60

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 67 distinct pattern matches across 7 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.

Over-Commented Block45 hits · 45 pts
SeverityFileLineSnippetContext
LOWAidoku/Core/Library/Models/ChapterFlagMask.swift1//COMMENT
LOWAidoku/Core/Dictionary/DictionaryManager.swift241 showError("Failed to save dictionary config: \(error.localizedDescription)")COMMENT
LOW…u/Core/Sources/BuiltIn/Local/LocalFileNameParser.swift61 #"(?<Series>.+?)(เล่ม|เล่มที่)(\s)?(\.?)(\s|_)?(?<Volume>\d+(\-\d+)?(\.\d+)?)"#,COMMENT
LOW…u/Core/Sources/BuiltIn/Local/LocalFileNameParser.swift81 #"(?<Series>.+?)( - )(?:v|vo|c|chapters|tome|t|ch)\d"#,COMMENT
LOW…u/Core/Sources/BuiltIn/Local/LocalFileNameParser.swift101 #"(?<Series>.*) (\b|_|-)(v|ch\.?|c|s)\d+"#,COMMENT
LOW…u/Core/Sources/BuiltIn/Local/LocalFileNameParser.swift121 // Black Bullet (This is very loose, keep towards bottom)COMMENT
LOW…u/Core/Sources/BuiltIn/Local/LocalFileNameParser.swift141 #"^(?!Vol)(?!Chapter)(?<Series>.+?)(-|_|\s|#)\d+(-\d+)?"#,COMMENT
LOW…u/Core/Sources/BuiltIn/Local/LocalFileNameParser.swift161 // Killing Bites Vol. 0001 Ch. 0001 - Galactica Scanlations (gb)COMMENT
LOW…u/Core/Sources/BuiltIn/Local/LocalFileNameParser.swift181 // Japanese Volume: n巻 -> Volume nCOMMENT
LOW…u/Core/Sources/BuiltIn/Local/LocalFileNameParser.swift201 #"(Глава|глава|Главы|Глава)(\.?)(\s|_)?(?<Chapter>\d+(?:.\d+|-\d+)?)"#,COMMENT
LOWAidoku/Core/Tracking/Tracker.swift1//COMMENT
LOWAidoku/Core/Tracking/Tracker.swift21 var isLoggedIn: Bool { get }COMMENT
LOWAidoku/Core/Tracking/Tracker.swift41 ///COMMENT
LOWAidoku/Core/Tracking/Tracker.swift61 /// display the information available to edit.COMMENT
LOWAidoku/Core/Tracking/Tracker.swift81 ///COMMENT
LOWAidoku/Core/Tracking/OAuthTracker.swift1//COMMENT
LOWAidoku/Core/Tracking/PageTracker.swift1//COMMENT
LOWAidoku/Core/Tracking/Models/TrackState.swift1//COMMENT
LOWAidoku/Core/Tracking/Models/TrackSearchItem.swift1//COMMENT
LOWAidoku/Core/Tracking/Models/TrackItem.swift1//COMMENT
LOWAidoku/Core/Tracking/Models/TrackScoreType.swift1//COMMENT
LOWAidoku/Core/Tracking/Models/TrackUpdate.swift1//COMMENT
LOWAidoku/Core/Tracking/Models/TrackerInfo.swift1//COMMENT
LOWAidoku/Core/Downloads/Models/ComicInfo.swift1//COMMENT
LOW…ftUI/Modifiers/InterfaceOrientationsViewModifier.swift1// https://github.com/wvteijlingen/swiftui-interface-orientationCOMMENT
LOW…ftUI/Modifiers/InterfaceOrientationsViewModifier.swift61/// ## UsageCOMMENT
LOW…s/Source/Home/HomeComponents/HomeChapterListView.swift161 formatter.unitsStyle = .abbreviatedCOMMENT
LOW…s/Source/Home/HomeComponents/HomeChapterListView.swift181// return "\(hours)h ago"COMMENT
LOWAidoku/Features/Source/Filter/HCollectionGrid.swift81 contentSize = newValueCOMMENT
LOWAidoku/Features/Dictionary/Popup/PopupWebView.swift1//COMMENT
LOWAidoku/Features/Dictionary/Popup/PopupWebView.swift121 }COMMENT
LOWAidoku/Features/Dictionary/Popup/PopupWebView.swift141// )COMMENT
LOWAidoku/Features/Dictionary/Popup/PopupWebView.swift181 var scrollViewBounces: Bool = falseCOMMENT
LOWAidoku/Features/Dictionary/Popup/popup.js1//COMMENT
LOWAidoku/Features/Dictionary/Popup/selection.js1//COMMENT
LOWAidoku/Features/Dictionary/Popup/PopupView.swift281COMMENT
LOWAidoku/Features/Dictionary/Popup/PopupView.swift301// player.togglePlayback()COMMENT
LOWAidoku/Features/Browse/AddSource/AddSourceView.swift221// name: "Demo Source",COMMENT
LOWAidoku/Extensions/UIKit/UIView.swift1//COMMENT
LOWAidoku/Extensions/Foundation/Sequence.swift81// func concurrentForEach(COMMENT
LOWAidoku/Extensions/Foundation/String.swift21 withExtendedLifetime(cxxString) {}COMMENT
LOWAidoku/Extensions/ZIPFoundation/Archive.swift1//COMMENT
LOWAidoku/Extensions/SwiftUI/View.swift261 duration: CGFloat,COMMENT
LOW.github/workflows/supporting/update_altstore_json.py161# if not news_entry_exists:COMMENT
LOWAidokuTests/ComicInfoTests.swift101 #expect(manga.sourceKey == reparsedManga.sourceKey)COMMENT
Excessive Try-Catch Wrapping6 hits · 14 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/supporting/update_altstore_json.py33 print(f"Error fetching releases: {e}")CODE
MEDIUM.github/workflows/supporting/update_altstore_json.py85 print(f"Error reading JSON file: {e}")CODE
MEDIUM⚡.github/workflows/supporting/update_altstore_json.py187 print(f"Error writing to JSON file: {e}")CODE
LOW⚡.github/workflows/supporting/update_altstore_json.py195 except Exception as e:CODE
MEDIUM⚡.github/workflows/supporting/update_altstore_json.py196 print(f"An error occurred: {e}")CODE
MEDIUM.github/workflows/supporting/update_altstore_json.py192def main():CODE
Hyper-Verbose Identifiers11 hits · 11 pts
SeverityFileLineSnippetContext
LOWAidoku/Core/Database/CoreDataManager.swift11final class CoreDataManager: @unchecked Sendable {CODE
LOWAidoku/Features/Dictionary/Popup/popup.js66function isStringPartiallyJapanese(str) {CODE
LOWAidoku/Features/Dictionary/Popup/popup.js366function setStructuredContentElementStyle(element, style) {CODE
LOWAidoku/Features/Dictionary/Popup/popup.js386function constructSingleGlossaryHtml(entryIndex) {CODE
LOWAidoku/Features/Dictionary/Popup/popup.js546function constructPitchPositionHtml(pitches) {CODE
LOWAidoku/Features/Dictionary/Popup/popup.js580function constructPitchAccentGraphsHtml(pitches, reading) {CODE
LOWAidoku/Features/Dictionary/Popup/popup.js745function shouldRenderDefinitionImageToCanvas(path, appearance, usedWidth, invAspectRatio) {CODE
LOWAidoku/Features/Dictionary/Popup/popup.js749function createDefinitionImageCanvas(imageUrl, alt, onLoad) {CODE
LOWAidoku/Features/Dictionary/Popup/popup.js764function renderDefinitionImageToCanvas(canvas, image, usedWidth, invAspectRatio, appearance) {CODE
LOWAidoku/Features/Dictionary/Popup/popup.js1060function createHarmonicFrequencyTag(frequencies) {CODE
LOW.github/workflows/supporting/update_altstore_json.py56def get_ipa_version_and_build(ipa_path):CODE
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHAidoku/Features/Reader/ReaderPagePrefetcher.swift27 // mark these as requested up front, since building the requests suspendsCOMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMAidoku/Core/Tracking/OAuthTracker.swift10/// A protocol for trackers that utilize OAuth authentication.COMMENT
Fake / Example Data2 hits · 2 pts
SeverityFileLineSnippetContext
LOWAidoku/App/Common/SwiftUI/Images/SourceImageView.swift47 .id(state.image != nil ? imageUrl : "placeholder") // ensures only opacity is animatedCODE
LOWAidoku/App/Common/SwiftUI/Images/SourceImageView.swift58 .id(state.image != nil ? imageUrl : "placeholder") // ensures only opacity is animatedCODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWAidoku/Extensions/SwiftUI/View.swift273 /// Example usage:COMMENT