A toolkit to make debugging iOS applications easier 🚀
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.
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? 73 finding(s).
Are imports declared and package/API names verified? 5 finding(s).
Are wrappers, guards, and repeated structures necessary? 13 finding(s).
Which changes need focused human review? 89 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 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …bugSwift/Sources/Settings/DebugSwift.Performance.swift | 141 | } | COMMENT |
| LOW | DebugSwift/Sources/Settings/DebugSwift.WebSocket.swift | 1 | // | COMMENT |
| LOW | DebugSwift/Sources/Settings/DebugSwift.Network.swift | 21 | /// You can use exact URL (literal): | COMMENT |
| LOW | DebugSwift/Sources/Settings/DebugSwift.Network.swift | 241 | /// Clear all HTTP/HTTPS network request history | COMMENT |
| LOW | DebugSwift/Sources/Settings/DebugSwift.Network.swift | 261 | /// ```swift | COMMENT |
| LOW | DebugSwift/Sources/Settings/DebugSwift.Network.swift | 281 | } | COMMENT |
| LOW | DebugSwift/Sources/Settings/DebugSwift.Network.swift | 301 | /// error: nil, | COMMENT |
| LOW | DebugSwift/Sources/Settings/DebugSwift.Network.swift | 461 | COMMENT | |
| LOW | DebugSwift/Sources/Settings/DebugSwift.Network.swift | 481 | } | COMMENT |
| LOW | DebugSwift/Sources/Settings/DebugSwift.APNSToken.swift | 1 | // | COMMENT |
| LOW | DebugSwift/Sources/Settings/DebugSwift.APNSToken.swift | 21 | /// } | COMMENT |
| LOW | DebugSwift/Sources/Settings/DebugSwift.APNSToken.swift | 41 | public static func didFailToRegister(error: Error) { | COMMENT |
| LOW | …s/Interface/ColorPalette/DebugSwift+ColorPalette.swift | 1 | // | COMMENT |
| LOW | …s/Interface/ColorPalette/DebugSwift+ColorPalette.swift | 21 | /// // Optional: register brand colors so drift surfaces as an issue. | COMMENT |
| LOW | …eatures/Interface/ViewDebugger/InAppViewDebugger.swift | 1 | // | COMMENT |
| LOW | …ebugger/Configuration/HierarchyViewConfiguration.swift | 1 | // | COMMENT |
| LOW | …Debugger/Configuration/SnapshotViewConfiguration.swift | 1 | // | COMMENT |
| LOW | …terface/ViewDebugger/Configuration/Configuration.swift | 1 | // | COMMENT |
| LOW | …face/ViewDebugger/Utils/SnapshotActionSheetUtils.swift | 1 | // | COMMENT |
| LOW | …s/Features/Interface/ViewDebugger/Models/Element.swift | 1 | // | COMMENT |
| LOW | …atures/Interface/ViewDebugger/Views/SnapshotView.swift | 461 | COMMENT | |
| LOW | …Sources/Features/App/EventBus/EventBusSubscriber.swift | 1 | // | COMMENT |
| LOW | …eatures/App/EventBus/EventTimelineViewController.swift | 1 | // | COMMENT |
| LOW | …s/App/Crash/Helpers/CallStackSymbols/CwlDemangle.swift | 1 | // | COMMENT |
| LOW | …Sources/Features/App/AgentDebugLog/AgentDebugLog.swift | 1 | // | COMMENT |
| LOW | …urces/Features/App/Console/Helpers/StderrCapture.swift | 81 | } | COMMENT |
| LOW | …Features/Resources/Database/Helpers/RealmManager.swift | 1 | // | COMMENT |
| LOW | …rces/UserDeafults/UserDefaultsDiffViewController.swift | 1 | // | COMMENT |
| LOW | …rces/Features/Resources/Keychain/KeychainService.swift | 1 | // | COMMENT |
| LOW | …ources/Features/Network/Helpers/HARExportAdapter.swift | 1 | // | COMMENT |
| LOW | …Features/Network/Helpers/GraphQLInspectorAdapter.swift | 1 | // | COMMENT |
| LOW | …tures/Network/Helpers/Helpers/CacheStoragePolicy.swift | 1 | // | COMMENT |
| LOW | …twork/Helpers/Helpers/URLSessionDelegateRegistry.swift | 21 | COMMENT | |
| LOW | …/Features/Performance/FrameDrop/FrameDropAdapter.swift | 1 | // | COMMENT |
| LOW | …/Features/Performance/Backtrace/BacktraceManager.swift | 1 | // | COMMENT |
| LOW | …formance/Backtrace/BacktraceEventsViewController.swift | 1 | // | COMMENT |
| LOW | …ces/Features/Performance/Hang/HangDetectorRunner.swift | 1 | // | COMMENT |
| LOW | …t/Sources/Features/Performance/Hang/HangDetector.swift | 1 | // | COMMENT |
| LOW | …rces/Features/Performance/Battery/BatteryMonitor.swift | 1 | // | COMMENT |
| LOW | …erformance/Helpers/Performance.SuperCallDetector.swift | 1 | // | COMMENT |
| LOW | DebugSwift/Sources/Helpers/Extensions/String+.swift | 1 | // | COMMENT |
| LOW | …gSwift/Sources/Helpers/Extensions/UIWindowScene+.swift | 41 | /// Third-party agents that instrument UIKit lifecycle methods (e.g. NewRelic) | COMMENT |
| LOW | Example/Example/ExampleApp.swift | 261 | // This is a workaround to fix the uploadProgress bug in Alamofire | COMMENT |
| LOW | …mple/Example/SecurityAudit/SecurityAuditTestView.swift | 1 | // | COMMENT |
| LOW | …ts/Tests/Features/App/Console/StderrCaptureTests.swift | 1 | // | COMMENT |
| LOW | …ts/Tests/Features/App/Console/StderrCaptureTests.swift | 61 | COMMENT | |
| LOW | …ts/Tests/Features/App/Console/StderrCaptureTests.swift | 101 | // The leak symptom: the readabilityHandler re-fires and enqueues a | COMMENT |
| LOW | …/Tests/Helpers/Managers/ReachabilityManagerTests.swift | 1 | // | COMMENT |
| LOW | …/Tests/Helpers/Managers/ReachabilityManagerTests.swift | 21 | // // Then | COMMENT |
| LOW | …/Tests/Helpers/Managers/ReachabilityManagerTests.swift | 41 | // | COMMENT |
| LOW | …/Tests/Helpers/Managers/ReachabilityManagerTests.swift | 61 | //// Mock class for Reachability | COMMENT |
| LOW | …sts/Tests/Helpers/Extensions/UIWindowScene+Tests.swift | 1 | // | COMMENT |
| LOW | .github/workflows/git-version.yml | 101 | # - name: Commit podspec changes | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …/Sources/Features/App/SwiftData/SwiftDataManager.swift | 36 | let entityNames = registration.container.schema.entitiesByName.keys.sorted() | CODE |
| CRITICAL | …es/Resources/CoreData/CoreDataConfigurationTests.swift | 165 | XCTAssertTrue(DebugSwift.Resources.shared.coreDataContexts.keys.contains("Main")) | CODE |
| CRITICAL | …es/Resources/CoreData/CoreDataConfigurationTests.swift | 166 | XCTAssertTrue(DebugSwift.Resources.shared.coreDataContexts.keys.contains("Background")) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …/Sources/Features/App/Crash/Helpers/CrashManager.swift | 36 | Debug.print("Error saving crash data: \(error)") | CODE |
| MEDIUM | …/Sources/Features/App/Crash/Helpers/CrashManager.swift | 47 | Debug.print("Error recovering crash data: \(error)") | CODE |
| MEDIUM | …/Sources/Features/App/Crash/Helpers/CrashManager.swift | 69 | Debug.print("Error saving crash data: \(error)") | CODE |
| MEDIUM | …/Sources/Features/App/Crash/Helpers/CrashManager.swift | 80 | Debug.print("Error deleting all crash reports: \(error)") | CODE |
| MEDIUM | …/App/PushNotifications/PushNotificationSimulator.swift | 169 | print("Error: \(error.localizedDescription)") | CODE |
| MEDIUM | …rces/Features/Resources/CoreData/CoreDataManager.swift | 110 | print("Error fetching objects: \(error)") | CODE |
| MEDIUM | …tures/Resources/Files/Resources.Files.Controller.swift | 160 | Debug.print("Error reading directory: \(error)") | CODE |
| MEDIUM | …tures/Resources/Files/Resources.Files.Controller.swift | 366 | Debug.print("Error getting file attributes: \(error)") | CODE |
| MEDIUM | DebugSwift/Sources/Helpers/Managers/PDFManager.swift | 141 | Debug.print("Error saving PDF data: \(error)") | CODE |
| MEDIUM | …wift/Sources/Helpers/Managers/FileSharingManager.swift | 22 | Debug.print("Error: \(error.localizedDescription)") | CODE |
| MEDIUM | DebugSwift/Sources/Helpers/Extensions/Dictionary+.swift | 52 | print("Error serializing JSON: \(error)") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …rface/ColorPalette/Analysis/ColorPaletteAnalyzer.swift | 304 | // Step 1: chroma + chroma-shifted a' (G compensates low-chroma reds). | COMMENT |
| LOW⚡ | …rface/ColorPalette/Analysis/ColorPaletteAnalyzer.swift | 312 | // Step 2: shifted chroma + hue (degrees, 0…360). | COMMENT |
| LOW⚡ | …rface/ColorPalette/Analysis/ColorPaletteAnalyzer.swift | 318 | // Step 3: ΔL', ΔC', ΔH' | COMMENT |
| LOW⚡ | …rface/ColorPalette/Analysis/ColorPaletteAnalyzer.swift | 324 | // Step 4: weighting functions | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …rface/ColorPalette/Analysis/ColorPaletteAnalyzer.swift | 304 | // Step 1: chroma + chroma-shifted a' (G compensates low-chroma reds). | COMMENT |
| LOW⚡ | …rface/ColorPalette/Analysis/ColorPaletteAnalyzer.swift | 312 | // Step 2: shifted chroma + hue (degrees, 0…360). | COMMENT |
| LOW⚡ | …rface/ColorPalette/Analysis/ColorPaletteAnalyzer.swift | 318 | // Step 3: ΔL', ΔC', ΔH' | COMMENT |
| LOW⚡ | …rface/ColorPalette/Analysis/ColorPaletteAnalyzer.swift | 324 | // Step 4: weighting functions | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Scripts/build_xcframework.sh | 104 | # Check if frameworks exist | COMMENT |
| LOW | Scripts/build_xcframework.sh | 179 | # Check if we're in the right directory | COMMENT |
| LOW | Scripts/build_xcframework_spm.sh | 279 | # Check if we're in the right directory | COMMENT |
| LOW | .github/workflows/git-version.yml | 175 | # Check if tag already exists | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | Scripts/build_xcframework_spm.sh | 60 | # Create a simple iOS framework project | COMMENT |
| MEDIUM | Scripts/build_xcframework_spm.sh | 163 | # Create the XCFramework | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | DebugSwift/Sources/Settings/DebugSwift.APNSToken.swift | 16 | /// Example usage: | COMMENT |
| LOW | DebugSwift/Sources/Settings/DebugSwift.APNSToken.swift | 32 | /// Example usage: | COMMENT |
| LOW | DebugSwift/Sources/Settings/DebugSwift.APNSToken.swift | 48 | /// Example usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …ources/Features/Network/Helpers/WebSocketMonitor.swift | 246 | // More robust extraction following Atlantis pattern | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …/Sources/Features/App/SwiftData/SwiftDataManager.swift | 15 | final class SwiftDataManager { | CODE |
| LOW | …rces/Features/Resources/CoreData/CoreDataManager.swift | 12 | final class CoreDataManager: @unchecked Sendable { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …es/App/PushNotifications/PushNotification.Models.swift | 223 | userInfo: ["type": "message", "sender": "John Doe"], | CODE |
| LOW | …s/Resources/CoreData/CoreDataViewControllerTests.swift | 300 | testObject.setValue("John Doe", forKey: "name") | CODE |