AI Slop Code Risk Monitor

DebugSwift/DebugSwift

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

A toolkit to make debugging iOS applications easier 🚀

1.7 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for DebugSwift/DebugSwift, a Swift project with 2,445 GitHub stars. SynthScan examined 84,181 lines of code across 411 source files, recording 89 pattern matches distributed across 11 syntactic categories. The legacy adjusted pattern signal is 1.7 (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.

1.7
Adjusted Signal
1.7
Raw Pattern Score
100%
Time Factor
2026-10-20
Last Push
2.4K
Stars
Swift
Language
84.2K
Lines of Code
411
Files
89
Pattern Hits
2026-10-31
Scan Date
0.01
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 5.3/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.9/100 · LOW

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

Agent Over-Engineering Ratio 1.4/100 · LOW

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

PR Review Velocity Impact 8.2/100 · LOW

Which changes need focused human review? 89 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 3HIGH 0MEDIUM 14LOW 72

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 89 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.

Over-Commented Block53 hits · 53 pts
SeverityFileLineSnippetContext
LOW…bugSwift/Sources/Settings/DebugSwift.Performance.swift141 }COMMENT
LOWDebugSwift/Sources/Settings/DebugSwift.WebSocket.swift1//COMMENT
LOWDebugSwift/Sources/Settings/DebugSwift.Network.swift21 /// You can use exact URL (literal):COMMENT
LOWDebugSwift/Sources/Settings/DebugSwift.Network.swift241 /// Clear all HTTP/HTTPS network request historyCOMMENT
LOWDebugSwift/Sources/Settings/DebugSwift.Network.swift261 /// ```swiftCOMMENT
LOWDebugSwift/Sources/Settings/DebugSwift.Network.swift281 }COMMENT
LOWDebugSwift/Sources/Settings/DebugSwift.Network.swift301 /// error: nil,COMMENT
LOWDebugSwift/Sources/Settings/DebugSwift.Network.swift461 COMMENT
LOWDebugSwift/Sources/Settings/DebugSwift.Network.swift481 }COMMENT
LOWDebugSwift/Sources/Settings/DebugSwift.APNSToken.swift1//COMMENT
LOWDebugSwift/Sources/Settings/DebugSwift.APNSToken.swift21 /// }COMMENT
LOWDebugSwift/Sources/Settings/DebugSwift.APNSToken.swift41 public static func didFailToRegister(error: Error) {COMMENT
LOW…s/Interface/ColorPalette/DebugSwift+ColorPalette.swift1//COMMENT
LOW…s/Interface/ColorPalette/DebugSwift+ColorPalette.swift21 /// // Optional: register brand colors so drift surfaces as an issue.COMMENT
LOW…eatures/Interface/ViewDebugger/InAppViewDebugger.swift1//COMMENT
LOW…ebugger/Configuration/HierarchyViewConfiguration.swift1//COMMENT
LOW…Debugger/Configuration/SnapshotViewConfiguration.swift1//COMMENT
LOW…terface/ViewDebugger/Configuration/Configuration.swift1//COMMENT
LOW…face/ViewDebugger/Utils/SnapshotActionSheetUtils.swift1//COMMENT
LOW…s/Features/Interface/ViewDebugger/Models/Element.swift1//COMMENT
LOW…atures/Interface/ViewDebugger/Views/SnapshotView.swift461COMMENT
LOW…Sources/Features/App/EventBus/EventBusSubscriber.swift1//COMMENT
LOW…eatures/App/EventBus/EventTimelineViewController.swift1//COMMENT
LOW…s/App/Crash/Helpers/CallStackSymbols/CwlDemangle.swift1//COMMENT
LOW…Sources/Features/App/AgentDebugLog/AgentDebugLog.swift1//COMMENT
LOW…urces/Features/App/Console/Helpers/StderrCapture.swift81 }COMMENT
LOW…Features/Resources/Database/Helpers/RealmManager.swift1//COMMENT
LOW…rces/UserDeafults/UserDefaultsDiffViewController.swift1//COMMENT
LOW…rces/Features/Resources/Keychain/KeychainService.swift1//COMMENT
LOW…ources/Features/Network/Helpers/HARExportAdapter.swift1//COMMENT
LOW…Features/Network/Helpers/GraphQLInspectorAdapter.swift1//COMMENT
LOW…tures/Network/Helpers/Helpers/CacheStoragePolicy.swift1//COMMENT
LOW…twork/Helpers/Helpers/URLSessionDelegateRegistry.swift21 COMMENT
LOW…/Features/Performance/FrameDrop/FrameDropAdapter.swift1//COMMENT
LOW…/Features/Performance/Backtrace/BacktraceManager.swift1//COMMENT
LOW…formance/Backtrace/BacktraceEventsViewController.swift1//COMMENT
LOW…ces/Features/Performance/Hang/HangDetectorRunner.swift1//COMMENT
LOW…t/Sources/Features/Performance/Hang/HangDetector.swift1//COMMENT
LOW…rces/Features/Performance/Battery/BatteryMonitor.swift1//COMMENT
LOW…erformance/Helpers/Performance.SuperCallDetector.swift1//COMMENT
LOWDebugSwift/Sources/Helpers/Extensions/String+.swift1//COMMENT
LOW…gSwift/Sources/Helpers/Extensions/UIWindowScene+.swift41 /// Third-party agents that instrument UIKit lifecycle methods (e.g. NewRelic)COMMENT
LOWExample/Example/ExampleApp.swift261 // This is a workaround to fix the uploadProgress bug in AlamofireCOMMENT
LOW…mple/Example/SecurityAudit/SecurityAuditTestView.swift1//COMMENT
LOW…ts/Tests/Features/App/Console/StderrCaptureTests.swift1//COMMENT
LOW…ts/Tests/Features/App/Console/StderrCaptureTests.swift61COMMENT
LOW…ts/Tests/Features/App/Console/StderrCaptureTests.swift101 // The leak symptom: the readabilityHandler re-fires and enqueues aCOMMENT
LOW…/Tests/Helpers/Managers/ReachabilityManagerTests.swift1//COMMENT
LOW…/Tests/Helpers/Managers/ReachabilityManagerTests.swift21// // ThenCOMMENT
LOW…/Tests/Helpers/Managers/ReachabilityManagerTests.swift41//COMMENT
LOW…/Tests/Helpers/Managers/ReachabilityManagerTests.swift61//// Mock class for ReachabilityCOMMENT
LOW…sts/Tests/Helpers/Extensions/UIWindowScene+Tests.swift1//COMMENT
LOW.github/workflows/git-version.yml101 # - name: Commit podspec changesCOMMENT
Hallucination Indicators3 hits · 30 pts
SeverityFileLineSnippetContext
CRITICAL…/Sources/Features/App/SwiftData/SwiftDataManager.swift36 let entityNames = registration.container.schema.entitiesByName.keys.sorted()CODE
CRITICAL…es/Resources/CoreData/CoreDataConfigurationTests.swift165 XCTAssertTrue(DebugSwift.Resources.shared.coreDataContexts.keys.contains("Main"))CODE
CRITICAL…es/Resources/CoreData/CoreDataConfigurationTests.swift166 XCTAssertTrue(DebugSwift.Resources.shared.coreDataContexts.keys.contains("Background"))CODE
Excessive Try-Catch Wrapping11 hits · 22 pts
SeverityFileLineSnippetContext
MEDIUM…/Sources/Features/App/Crash/Helpers/CrashManager.swift36 Debug.print("Error saving crash data: \(error)")CODE
MEDIUM…/Sources/Features/App/Crash/Helpers/CrashManager.swift47 Debug.print("Error recovering crash data: \(error)")CODE
MEDIUM…/Sources/Features/App/Crash/Helpers/CrashManager.swift69 Debug.print("Error saving crash data: \(error)")CODE
MEDIUM…/Sources/Features/App/Crash/Helpers/CrashManager.swift80 Debug.print("Error deleting all crash reports: \(error)")CODE
MEDIUM…/App/PushNotifications/PushNotificationSimulator.swift169 print("Error: \(error.localizedDescription)")CODE
MEDIUM…rces/Features/Resources/CoreData/CoreDataManager.swift110 print("Error fetching objects: \(error)")CODE
MEDIUM…tures/Resources/Files/Resources.Files.Controller.swift160 Debug.print("Error reading directory: \(error)")CODE
MEDIUM…tures/Resources/Files/Resources.Files.Controller.swift366 Debug.print("Error getting file attributes: \(error)")CODE
MEDIUMDebugSwift/Sources/Helpers/Managers/PDFManager.swift141 Debug.print("Error saving PDF data: \(error)")CODE
MEDIUM…wift/Sources/Helpers/Managers/FileSharingManager.swift22 Debug.print("Error: \(error.localizedDescription)")CODE
MEDIUMDebugSwift/Sources/Helpers/Extensions/Dictionary+.swift52 print("Error serializing JSON: \(error)")CODE
Verbosity Indicators4 hits · 9 pts
SeverityFileLineSnippetContext
LOW⚡…rface/ColorPalette/Analysis/ColorPaletteAnalyzer.swift304 // Step 1: chroma + chroma-shifted a' (G compensates low-chroma reds).COMMENT
LOW⚡…rface/ColorPalette/Analysis/ColorPaletteAnalyzer.swift312 // Step 2: shifted chroma + hue (degrees, 0…360).COMMENT
LOW⚡…rface/ColorPalette/Analysis/ColorPaletteAnalyzer.swift318 // Step 3: ΔL', ΔC', ΔH'COMMENT
LOW⚡…rface/ColorPalette/Analysis/ColorPaletteAnalyzer.swift324 // Step 4: weighting functionsCOMMENT
Structural Annotation Overuse4 hits · 9 pts
SeverityFileLineSnippetContext
LOW⚡…rface/ColorPalette/Analysis/ColorPaletteAnalyzer.swift304 // Step 1: chroma + chroma-shifted a' (G compensates low-chroma reds).COMMENT
LOW⚡…rface/ColorPalette/Analysis/ColorPaletteAnalyzer.swift312 // Step 2: shifted chroma + hue (degrees, 0…360).COMMENT
LOW⚡…rface/ColorPalette/Analysis/ColorPaletteAnalyzer.swift318 // Step 3: ΔL', ΔC', ΔH'COMMENT
LOW⚡…rface/ColorPalette/Analysis/ColorPaletteAnalyzer.swift324 // Step 4: weighting functionsCOMMENT
Redundant / Tautological Comments4 hits · 6 pts
SeverityFileLineSnippetContext
LOWScripts/build_xcframework.sh104 # Check if frameworks existCOMMENT
LOWScripts/build_xcframework.sh179 # Check if we're in the right directoryCOMMENT
LOWScripts/build_xcframework_spm.sh279 # Check if we're in the right directoryCOMMENT
LOW.github/workflows/git-version.yml175 # Check if tag already existsCOMMENT
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMScripts/build_xcframework_spm.sh60 # Create a simple iOS framework projectCOMMENT
MEDIUMScripts/build_xcframework_spm.sh163 # Create the XCFrameworkCOMMENT
Example Usage Blocks3 hits · 4 pts
SeverityFileLineSnippetContext
LOWDebugSwift/Sources/Settings/DebugSwift.APNSToken.swift16 /// Example usage:COMMENT
LOWDebugSwift/Sources/Settings/DebugSwift.APNSToken.swift32 /// Example usage:COMMENT
LOWDebugSwift/Sources/Settings/DebugSwift.APNSToken.swift48 /// Example usage:COMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM…ources/Features/Network/Helpers/WebSocketMonitor.swift246 // More robust extraction following Atlantis patternCOMMENT
Hyper-Verbose Identifiers2 hits · 2 pts
SeverityFileLineSnippetContext
LOW…/Sources/Features/App/SwiftData/SwiftDataManager.swift15final class SwiftDataManager {CODE
LOW…rces/Features/Resources/CoreData/CoreDataManager.swift12final class CoreDataManager: @unchecked Sendable {CODE
Fake / Example Data2 hits · 2 pts
SeverityFileLineSnippetContext
LOW…es/App/PushNotifications/PushNotification.Models.swift223 userInfo: ["type": "message", "sender": "John Doe"],CODE
LOW…s/Resources/CoreData/CoreDataViewControllerTests.swift300 testObject.setValue("John Doe", forKey: "name")CODE