{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"SnapshotRewriter.visit (cyclomatic 36): SnapshotRewriter.visit has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/InlineSnapshotTesting/AssertInlineSnapshot.swift"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0270e402dcb21aa4e854177527616f77657d9d0c30691394b2dc153ea769ad1"}},{"ruleId":"D1","level":"warning","message":{"text":"AssertSnapshot.swift.verifySnapshot (cyclomatic 36): AssertSnapshot.swift.verifySnapshot has cyclomatic complexity 36 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 7 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/AssertSnapshot.swift"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"9550ed22c132d34b5da38517f8ba749c2ba99c2bf8b6b95a06e410622745a452"}},{"ruleId":"D1","level":"warning","message":{"text":"NSImage.swift.compare (cyclomatic 24): NSImage.swift.compare has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/Snapshotting/NSImage.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"c95c2fac2ce543845f7e401c60cff01dbaf102906983bc14c0733c308b6f6cbf"}},{"ruleId":"D1","level":"warning","message":{"text":"UIImage.swift.compare (cyclomatic 23): UIImage.swift.compare has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/Snapshotting/UIImage.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a3a9ef5736e6db6d4c5325a85f3af3e23edae5cc29655364a309e5b925664a"}},{"ruleId":"D1","level":"warning","message":{"text":"Any.swift.snap (cyclomatic 21): Any.swift.snap has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/Snapshotting/Any.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dce28b0748ee876f5eacfaf66ed40a88c1ea574cd80cf580ffedeaa9416636f"}},{"ruleId":"D1","level":"warning","message":{"text":"AssertInlineSnapshot.swift.assertInlineSnapshot (cyclomatic 18): AssertInlineSnapshot.swift.assertInlineSnapshot has cyclomatic complexity 18 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/InlineSnapshotTesting/AssertInlineSnapshot.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5b7d8a35f8bd5d310ea2cf56299ddfb9b73218bcd91bb6e38e4e2482c0f8b3"}},{"ruleId":"D2","level":"warning","message":{"text":"SnapshotRewriter.visit (cognitive 85): SnapshotRewriter.visit has cognitive complexity 85 (threshold 15). Drivers by points: if/else 29 (69 pts), boolean chains 13, match/switch 1 (2 pts), loops 1 (nesting depth added 41). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/InlineSnapshotTesting/AssertInlineSnapshot.swift"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee58ed0e466ba4511c05a851cd102c238f140c30cfd6606dc89712cd5ebf5d8d"}},{"ruleId":"D2","level":"warning","message":{"text":"AssertSnapshot.swift.verifySnapshot (cognitive 74): AssertSnapshot.swift.verifySnapshot has cognitive complexity 74 (threshold 15). Drivers by points: if/else 25 (49 pts), match/switch 3 (12 pts), boolean chains 8, ternaries 1 (4 pts), error handling 1 (nesting depth added 36). Of this number, 55 points are the body\u0027s own statements and 19 belong to one function item inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/AssertSnapshot.swift"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c02a4eac322434ae497d802f7237bb834b3a90148bf763323fe08dcb3a4c485"}},{"ruleId":"D2","level":"warning","message":{"text":"AssertInlineSnapshot.swift.assertInlineSnapshot (cognitive 31): AssertInlineSnapshot.swift.assertInlineSnapshot has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 4, match/switch 1 (3 pts), ternaries 1 (2 pts), error handling 1 (nesting depth added 14). Of this number, 30 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/InlineSnapshotTesting/AssertInlineSnapshot.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0d3fdb2df7f8f80a94ee34deb1e07c44d0727acd159c95a9617124c9c6c362"}},{"ruleId":"D2","level":"warning","message":{"text":"NSImage.swift.compare (cognitive 28): NSImage.swift.compare has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 9, loops 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/Snapshotting/NSImage.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed79653bed606e0520ac517ce30eef7e71feb886bd24e5678d4944ce78a5db8a"}},{"ruleId":"D2","level":"warning","message":{"text":"UIImage.swift.compare (cognitive 28): UIImage.swift.compare has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 8, loops 1 (2 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/Snapshotting/UIImage.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6555fd60d942143e4092d05981f89d28bff5168100d15598e9a4eeac5f57bb4"}},{"ruleId":"D2","level":"warning","message":{"text":"View.snapshot (cognitive 24): View.snapshot has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/Common/View.swift"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb5ab48c6bd577c8712acaa1bb009ab86274959d49a8ecbaff8417326edcb96d"}},{"ruleId":"D2","level":"warning","message":{"text":"UIImage.swift.perceptuallyCompare (cognitive 24): UIImage.swift.perceptuallyCompare has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/Snapshotting/UIImage.swift"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ad6059b93af46a90f88c6dc6d0e4483276ed77c8e9ccedd6b9a4879ab4e488b"}},{"ruleId":"D2","level":"warning","message":{"text":"Deprecations.swift._verifyInlineSnapshot (cognitive 23): Deprecations.swift._verifyInlineSnapshot has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 4, match/switch 1 (2 pts), error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/Internal/Deprecations.swift"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"72643c84f973ef9accb89621933b9f2a074bfa13fe7a43276192a33b1ba0fdc2"}},{"ruleId":"D2","level":"warning","message":{"text":"Any.swift.snap (cognitive 16): Any.swift.snap has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 7 (13 pts), if/else 1 (2 pts), match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/Snapshotting/Any.swift"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"11823a0504acc9be2b06d8f9aa7a87d957a63fb8ddaa05db30e8be8c0530679f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Common/PlistEncoder.swift: FileTooLong \u2014 1334 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 834 over it, 2.67\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/Common/PlistEncoder.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dd0ff0ed94c2b342530247fc31ca68626cb7aa5eba972e641622c8e9e03e318"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AssertSnapshot.swift.verifySnapshot: FunctionTooLong \u2014 verifySnapshot runs 190 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 90 over it, 1.90\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/AssertSnapshot.swift"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd9b77b866091438401b2f632cafe1b991790c8135419795283a965bb7b351fa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Common/View.swift: FileTooLong \u2014 844 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 344 over it, 1.69\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/Common/View.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"355b69105b8b66ac80d0abf8101de9f6de2bbe631edc61f4a1bf66372d9bfa46"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SnapshotRewriter.visit: MethodTooLong \u2014 visit runs 153 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/InlineSnapshotTesting/AssertInlineSnapshot.swift"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ad4c827863354430d4db425258af8ef1a01f4b51e521211dc37dceae8934ad"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AssertInlineSnapshot.swift.assertInlineSnapshot: FunctionTooLong \u2014 assertInlineSnapshot runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/InlineSnapshotTesting/AssertInlineSnapshot.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"30ca66aba9a0dd3f7f759c3b6465e60c5fb0986ccdb587c199a683d575c661b3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: _PlistDecoder: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/Common/PlistEncoder.swift"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4e19a0724e9cab1e9bcca5039159f733e18cc1b0f7bdd088b9f5765d2b4982"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: _PlistEncoder: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/Common/PlistEncoder.swift"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d05e2cd43306bba0302e000bc86164f7537b61fbd52c5d0fbbec5a51cd8bb3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: InlineSnapshotTesting/AssertInlineSnapshot.swift: FileTooLong \u2014 530 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 30 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/InlineSnapshotTesting/AssertInlineSnapshot.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d993d135e52df31022df2c7604d9b37265780a515261ffb016791060cd0def"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (16 members, 50\u002B identical tokens): Sources/SnapshotTesting/Common/PlistEncoder.swift:915-929 | Sources/SnapshotTesting/Common/PlistEncoder.swift:931-952 | Sources/SnapshotTesting/Common/PlistEncoder.swift:954-975 | Sources/SnapshotTesting/Common/PlistEncoder.swift:977-998 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1000-1021 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1023-1044 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1046-1067 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1069-1090 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1092-1113 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1115-1136 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1138-1159 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1161-1182 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1184-1204 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1206-1227 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1229-1250 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1252-1273 \u2014 These 16 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 16 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 16 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/Common/PlistEncoder.swift"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc155b0451d1f535197f50c48f8f8dcf78cc05d8a05dde9753529fd2736dfb3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (15 members, 50\u002B identical tokens): Sources/SnapshotTesting/Common/PlistEncoder.swift:1391-1414 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1416-1439 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1441-1464 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1466-1489 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1491-1514 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1516-1539 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1541-1564 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1566-1589 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1591-1614 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1616-1639 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1641-1664 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1666-1689 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1691-1714 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1716-1739 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1741-1763 \u2014 These 15 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 15 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 15 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/Common/PlistEncoder.swift"},"region":{"startLine":1391}}}],"partialFingerprints":{"codehealthFindingId/v1":"778f21b5627439accdae40ab9f235108a60071b85150dd9d8cbc81af5ffd39e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (12 members, 50\u002B identical tokens): Sources/SnapshotTesting/Common/PlistEncoder.swift:1970-1987 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1989-2006 | Sources/SnapshotTesting/Common/PlistEncoder.swift:2008-2025 | Sources/SnapshotTesting/Common/PlistEncoder.swift:2027-2044 | Sources/SnapshotTesting/Common/PlistEncoder.swift:2046-2063 | Sources/SnapshotTesting/Common/PlistEncoder.swift:2065-2082 | Sources/SnapshotTesting/Common/PlistEncoder.swift:2084-2101 | Sources/SnapshotTesting/Common/PlistEncoder.swift:2103-2120 | Sources/SnapshotTesting/Common/PlistEncoder.swift:2122-2139 | Sources/SnapshotTesting/Common/PlistEncoder.swift:2141-2158 | Sources/SnapshotTesting/Common/PlistEncoder.swift:2160-2177 | Sources/SnapshotTesting/Common/PlistEncoder.swift:2179-2196 \u2014 These 12 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 12 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 12 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/Common/PlistEncoder.swift"},"region":{"startLine":1970}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe87056588776d45dc96d5c6f534b0a0b31d2e27dca26734ef7cc682b6d3b506"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (11 members, 50\u002B identical tokens): Sources/SnapshotTesting/Common/View.swift:53-65 | Sources/SnapshotTesting/Common/View.swift:69-81 | Sources/SnapshotTesting/Common/View.swift:85-97 | Sources/SnapshotTesting/Common/View.swift:101-113 | Sources/SnapshotTesting/Common/View.swift:117-129 | Sources/SnapshotTesting/Common/View.swift:134-147 | Sources/SnapshotTesting/Common/View.swift:151-163 | Sources/SnapshotTesting/Common/View.swift:173-185 | Sources/SnapshotTesting/Common/View.swift:189-203 | Sources/SnapshotTesting/Common/View.swift:207-220 | Sources/SnapshotTesting/Common/View.swift:230-243 \u2014 These 11 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 11 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 11 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/Common/View.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fe777004a51359d4d944300a1e99404f2c838213976bd3be0af39f7bf480429"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): Sources/SnapshotTesting/Common/View.swift:507-532 | Sources/SnapshotTesting/Common/View.swift:534-559 | Sources/SnapshotTesting/Common/View.swift:561-586 | Sources/SnapshotTesting/Common/View.swift:588-613 | Sources/SnapshotTesting/Common/View.swift:615-640 | Sources/SnapshotTesting/Common/View.swift:642-667 | Sources/SnapshotTesting/Common/View.swift:669-694 | Sources/SnapshotTesting/Common/View.swift:696-721 | Sources/SnapshotTesting/Common/View.swift:723-747 | Sources/SnapshotTesting/Common/View.swift:749-774 \u2014 These 10 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 10 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/Common/View.swift"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d47ca896916caf9829d72102d138c6edf4c4999613ef779acb8768d37e814b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 5): Sources/SnapshotTesting/Common/View.swift:511-532 | Sources/SnapshotTesting/Common/View.swift:538-559 | Sources/SnapshotTesting/Common/View.swift:592-613 | Sources/SnapshotTesting/Common/View.swift:673-694 | Sources/SnapshotTesting/Common/View.swift:726-747 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/SnapshotTesting/Common/View.swift:511\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/Common/View.swift"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e6ae490a9450d295a3186346975b659b1e6c511e9b8abc7e3ee0e8abb4a997e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): Sources/SnapshotTesting/AssertSnapshot.swift:345-366 | Sources/SnapshotTesting/Internal/Deprecations.swift:196-217 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/AssertSnapshot.swift"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"547efa5cd6110051d484913fb8fd0af8e39cda7b131d0085f5557a8a9a5fada4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 5): Sources/SnapshotTesting/Common/View.swift:566-586 | Sources/SnapshotTesting/Common/View.swift:620-640 | Sources/SnapshotTesting/Common/View.swift:647-667 | Sources/SnapshotTesting/Common/View.swift:701-721 | Sources/SnapshotTesting/Common/View.swift:754-774 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/SnapshotTesting/Common/View.swift:566\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/Common/View.swift"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"c37b9ba04a5c72dc1b11d66f24f9d8e5ad97d92e1671cc4214083f415a27f546"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): Sources/SnapshotTesting/Internal/Deprecations.swift:45-64 | Sources/SnapshotTesting/Internal/Deprecations.swift:74-93 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/SnapshotTesting/Internal/Deprecations.swift:45\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/Internal/Deprecations.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf1702456ad4ee294caafde22cd7ca0db2d4a4653abb66454753f483cbbaa42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): Sources/SnapshotTesting/Snapshotting/NSImage.swift:116-135 | Sources/SnapshotTesting/Snapshotting/UIImage.swift:140-159 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/SnapshotTesting/Snapshotting/NSImage.swift:116\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/SnapshotTesting/Snapshotting/NSImage.swift:114\u0060 calls \u0060NSBitmapImageRep\u0060 and \u0060Sources/SnapshotTesting/Snapshotting/UIImage.swift:139\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/Snapshotting/NSImage.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbbcd10656ecbf19803523303b2c33a5eb99e26670712bc6988b531ce8f146fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sources/SnapshotTesting/Internal/Deprecations.swift:485-500 | Sources/SnapshotTesting/Internal/Deprecations.swift:508-523 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/SnapshotTesting/Internal/Deprecations.swift:485\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/Internal/Deprecations.swift"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ea2f07d80ea90f4dc1a734fb71bf739bfa275fa26e7ae3b1d437f72bf7053c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/SnapshotTesting/Snapshotting/UIView.swift:24-36 | Sources/SnapshotTesting/Snapshotting/UIViewController.swift:26-38 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/SnapshotTesting/Snapshotting/UIView.swift:24\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/Snapshotting/UIView.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f59fcf12364b844ea13b4d952aef2d2059b728cd0be24ea8c9c78bd9f165ccb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 9): Sources/SnapshotTesting/Common/View.swift:508-519 | Sources/SnapshotTesting/Common/View.swift:535-546 | Sources/SnapshotTesting/Common/View.swift:562-573 | Sources/SnapshotTesting/Common/View.swift:589-600 | Sources/SnapshotTesting/Common/View.swift:643-654 | Sources/SnapshotTesting/Common/View.swift:670-681 | Sources/SnapshotTesting/Common/View.swift:697-708 | Sources/SnapshotTesting/Common/View.swift:725-734 | Sources/SnapshotTesting/Common/View.swift:750-761 \u2014 all 9 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/SnapshotTesting/Common/View.swift:508\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/Common/View.swift"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16c86fcbf10e07af75adccf880de6efc2e79eac382e8e76e869edf60274afec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 8): Sources/SnapshotTesting/Common/View.swift:102-111 | Sources/SnapshotTesting/Common/View.swift:118-127 | Sources/SnapshotTesting/Common/View.swift:136-145 | Sources/SnapshotTesting/Common/View.swift:152-161 | Sources/SnapshotTesting/Common/View.swift:174-183 | Sources/SnapshotTesting/Common/View.swift:190-201 | Sources/SnapshotTesting/Common/View.swift:208-217 | Sources/SnapshotTesting/Common/View.swift:231-240 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/SnapshotTesting/Common/View.swift:190\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/Common/View.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e43940a9aef187f4ef379dbc77970e57fb27f2de3582ba01acfcea47ce92e9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): Sources/SnapshotTesting/Internal/Deprecations.swift:143-152 | Sources/SnapshotTesting/Internal/Deprecations.swift:177-187 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/SnapshotTesting/Internal/Deprecations.swift:177\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/Internal/Deprecations.swift"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"92bfb5611eef75ccc9a01efd7f280d6ceac25398e8ee79f26012d4d7fee677d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 15): Sources/SnapshotTesting/Common/PlistEncoder.swift:932-941 | Sources/SnapshotTesting/Common/PlistEncoder.swift:955-964 | Sources/SnapshotTesting/Common/PlistEncoder.swift:978-987 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1001-1010 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1024-1033 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1047-1056 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1070-1079 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1093-1102 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1116-1125 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1139-1148 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1162-1171 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1185-1194 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1207-1216 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1230-1239 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1253-1262 \u2014 all 15 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/Common/PlistEncoder.swift"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf94f64510270a8d0d19cf39e7f90741d3b0f3739e77fbb50d6cefca8b19ff7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 15): Sources/SnapshotTesting/Common/PlistEncoder.swift:1392-1401 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1417-1426 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1442-1451 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1467-1476 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1492-1501 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1517-1526 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1542-1551 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1567-1576 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1592-1601 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1617-1626 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1642-1651 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1667-1676 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1692-1701 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1717-1726 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1742-1751 \u2014 all 15 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/Common/PlistEncoder.swift"},"region":{"startLine":1392}}}],"partialFingerprints":{"codehealthFindingId/v1":"3201ee387d998b34aef3bb3ef7d92daba18253ce955ce64d3ed3d60d804404ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): Sources/SnapshotTesting/Common/View.swift:54-63 | Sources/SnapshotTesting/Common/View.swift:70-79 | Sources/SnapshotTesting/Common/View.swift:86-95 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/Common/View.swift"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe3d2350e0f508a9ed8f4d1cedff96adcb985f06134cd7db0969f5d0bf01562"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Sources/InlineSnapshotTesting/AssertInlineSnapshot.swift:41-49 | Sources/InlineSnapshotTesting/AssertInlineSnapshot.swift:205-213 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/InlineSnapshotTesting/AssertInlineSnapshot.swift:41\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/InlineSnapshotTesting/AssertInlineSnapshot.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"104d458280b295e2dd02d79bfd3b45abf3694d29e2af721fcb503702df1139c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/SnapshotTesting/AssertSnapshot.swift:165-172 | Sources/SnapshotTesting/AssertSnapshot.swift:209-216 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/SnapshotTesting/AssertSnapshot.swift:165\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/AssertSnapshot.swift"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4599ee548312be216a1e82caf37b7e4506f1046c7c6b8cc7f0ba291c21e2a6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/SnapshotTesting/Snapshotting/NSImage.swift:77-84 | Sources/SnapshotTesting/Snapshotting/UIImage.swift:102-109 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/SnapshotTesting/Snapshotting/NSImage.swift:77\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/Snapshotting/NSImage.swift"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad6134a6e437c62186fd400955acfd51a2abee54affeb2bff517e94aa2eebc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/SnapshotTesting/Common/PlistEncoder.swift:916-922 | Sources/SnapshotTesting/Common/PlistEncoder.swift:932-938 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/Common/PlistEncoder.swift"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"70dff6e66bbcdec03d988ce77598f93ab90a97223be7aafaff62fae8fd907cd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 12): Sources/SnapshotTesting/Common/PlistEncoder.swift:1971-1976 | Sources/SnapshotTesting/Common/PlistEncoder.swift:1990-1995 | Sources/SnapshotTesting/Common/PlistEncoder.swift:2009-2014 | Sources/SnapshotTesting/Common/PlistEncoder.swift:2028-2033 | Sources/SnapshotTesting/Common/PlistEncoder.swift:2047-2052 | Sources/SnapshotTesting/Common/PlistEncoder.swift:2066-2071 | Sources/SnapshotTesting/Common/PlistEncoder.swift:2085-2090 | Sources/SnapshotTesting/Common/PlistEncoder.swift:2104-2109 | Sources/SnapshotTesting/Common/PlistEncoder.swift:2123-2128 | Sources/SnapshotTesting/Common/PlistEncoder.swift:2142-2147 | Sources/SnapshotTesting/Common/PlistEncoder.swift:2161-2166 | Sources/SnapshotTesting/Common/PlistEncoder.swift:2180-2185 \u2014 all 12 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/Common/PlistEncoder.swift"},"region":{"startLine":1971}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f352a8fe8ece69ad7f47c6d84bdd8faaf7a295eed2af5fc932231bcda0f138d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 11): Sources/SnapshotTesting/Common/View.swift:59-63 | Sources/SnapshotTesting/Common/View.swift:75-79 | Sources/SnapshotTesting/Common/View.swift:91-95 | Sources/SnapshotTesting/Common/View.swift:107-111 | Sources/SnapshotTesting/Common/View.swift:123-127 | Sources/SnapshotTesting/Common/View.swift:141-145 | Sources/SnapshotTesting/Common/View.swift:157-161 | Sources/SnapshotTesting/Common/View.swift:179-183 | Sources/SnapshotTesting/Common/View.swift:195-201 | Sources/SnapshotTesting/Common/View.swift:213-217 | Sources/SnapshotTesting/Common/View.swift:236-240 \u2014 all 11 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/SnapshotTesting/Common/View.swift:59\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/Common/View.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"6951a022b0c412b4808b82441f7878607383525dd9b990e05fa970711b25bcd9"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: SnapshotTesting: SnapshotTesting: abstractness 0.02, instability 0.00, distance 0.98 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"569a25c8f4dbe24ee8a41295d4be6804548b7f3e81f1bb60c759cd3c99f4a946"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: String (LCOM4 4): String\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/InlineSnapshotTesting/AssertInlineSnapshot.swift"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7eec6e2d0d9d86f9d4c2d16f0facaa15254a651c42d5a577580dcdc7a1bb236"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Substring (LCOM4 4): Substring\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/Internal/Deprecations.swift"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f03547747cbd43a09e4f113c8b5b2fc1aacdcad58ce512aa5e590f43100c374"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/InlineSnapshotTesting/AssertInlineSnapshot.swift: 43.6% line coverage (402/921)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/InlineSnapshotTesting/AssertInlineSnapshot.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad578a98f8f67cb036af4fae2868f24856904a5f84cb2276183f77dfa3eb99a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/SnapshotTesting/Common/PlistEncoder.swift: 5.6% line coverage (99/1781)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/Common/PlistEncoder.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c25ae7a81d9e2b8f1fb60128f64a2dca5f9ba454e47fa7ae6bffffefec19dac"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/SnapshotTesting/Common/String\u002BSpecialCharacters.swift: 0.0% line coverage (0/40)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/Common/String\u002BSpecialCharacters.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5a2b8799ff73881e5d61fd4b1e68cc39ba7a9078db77b7c7601bb3671ab59b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/SnapshotTesting/Common/XCTAttachment.swift: 0.0% line coverage (0/2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/Common/XCTAttachment.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf412e4d3b20a69401bd81a671614ef7590455c8e9ad228a9961f654c616fe5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/SnapshotTesting/Diffing.swift: 10.7% line coverage (8/75)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/Diffing.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f92e14e180fd127d43f50adaa746f4abb8dfb56c70f17fad4b1da7d1a67ead"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: Sources/SnapshotTesting/Internal/Deprecations.swift: 0.3% line coverage (1/375)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/Internal/Deprecations.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9111d6de7fdd160a17b6f3b7477ac09bcbca17eef3b041686fc2c0aba0d370"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 1 significant file(s) lose their only recent owner: Sources/SnapshotTesting/Snapshotting/SwiftUIView.swift. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"aeb4cc697d93f50dc988d4ad48bd88dec16ed94d872a15ec14ccfaf38a2b4dfb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add a flag to coerce non-boolean numbers into Bools? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/Common/PlistEncoder.swift"},"region":{"startLine":1953}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a826b8463e643a3ed255eca3f781737e58d19974cbda0783de997b7770332f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/Common/View.swift"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dfbb35a6cdee6ddead4942bb840f68641e0fdbd62275371811bcbe7c2be9a0a"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: ?? multipleTrailingClosures.removeFirst() \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/InlineSnapshotTesting/AssertInlineSnapshot.swift"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"52164c96d80c9ef5a5f10d7fbb55c170dbcceaa681b0aca71cea9b6a512235fc"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a1f31e3fc38e806c632551480508ae27b2701acddad0a9d80c648ba1fc9463b3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e9b79a42c1353f66f0a4d39600ecafc51a05b89031e98896312f2acc981a4331"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c1bb7814097052b3b9e49cf20adb5ffa3c94da3abc00863955683dc4725b2e91"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ae4b19a624088a80ae967fa19fc6e2d3b4d86bf95f6afb9918729adad8224e32"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"504c76a5046a3a8d3dc57ceb57e17717f427302268f88cdb9e8f3d0fc3b1e626"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0c6d695c3e2dd54eae1731990daf7a0c5e59beab11e2ced59bf943af05c404ce"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"55e306507c8e36144dc213c73b871080d175d95deb96b03f653a179815ac6b16"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4135bb51cd05816171063beee9a8ac0385f3e5385dfe80b1bc5251bea660e8b6"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c6ef2f316ca631b692d03c475bed7e473e93f3db6fa35d9ef86248c50808e234"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"247483f828b3782bd68a429f8bdba361c29de51e5be089a53259e3581c983944"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5c802ec97e672feaa32f710e6686a62b890e325cf5a04a8fb4136422a8a2ef74"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"13395fc53c7cb0f50a839d9cf572a19a04bf0dcfdadb3ba11244cf944dfac19a"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"08a5b565acac6753818f55273a0d6f028a55c3bce5dc11c43d62008e50f7095f"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 1 of 21 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 21 of the 39 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: Sources/SnapshotTesting/Common/String\u002BSpecialCharacters.swift. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/Common/String\u002BSpecialCharacters.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b688cdaa16ede2eb774d5ba5354f7b42dbb157999fc927d081a84919738d8250"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: NSImage.swift \u2194 UIImage.swift: \u0060Sources/SnapshotTesting/Snapshotting/NSImage.swift\u0060 and \u0060Sources/SnapshotTesting/Snapshotting/UIImage.swift\u0060 change together 80% of the time (8 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u006059b663f6\u0060 Improve the speed of comparing memory buffers by using a workaround t\u2026; \u0060208cb716\u0060 Report the actual and expected image precision when an image comparis\u2026; \u0060fd07b854\u0060 Tweak image-based difference message (#188) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/Snapshotting/NSImage.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7214cb555c5618ec0ac824cad2766ff5a6abd9dd14deb657f3e836cfce49252"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90ef8645d5d250a2cdd6c4ddecf434c2439a3eaf0b71b0b76b3e93b4d1bb9e49"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"318bbb3992e518b8d03be785b994dc874459af06685b2f8afa054c431ff36b02"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"65d87ec21c1ecf43a0424ab644272e64330044f506a9f75bd32965b5f8696841"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s Swift pack (Swift/Xcode) (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 4210 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!os(Linux) \u0026\u0026 !os(Android) \u0026\u0026 !os(Windows)\u0060 appears character-identically in 2 files \u2014 Sources/SnapshotTesting/AssertSnapshot.swift, Sources/SnapshotTesting/Internal/Deprecations.swift. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/AssertSnapshot.swift"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"081cc8e2c23978535a7c118e9859aea0ba385a76445ad9c88c72d930ccfb796e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/SnapshotTesting/Snapshotting/UIImage.swift"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"366ca3ace6d4bd19914ae304eca7f9e0e43b6f301f9235a6a2df2b0d4d54de0d"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1329","guid":"f70f1c3f-4ccf-cb5e-bdd3-03ba4868d36d","name":"Reliance on Component That is Not Updateable","shortDescription":{"text":"Reliance on Component That is Not Updateable"},"helpUri":"https://cwe.mitre.org/data/definitions/1329.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":21,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}