{"$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":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"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":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"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":"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":"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":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"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":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"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":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"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":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"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":"Format.recognize (cyclomatic 45): Format.recognize has cyclomatic complexity 45 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNG/Formats/PNG.Format.swift"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"11623dcac425204f6f519002c89022544ef37244ade5ec1d84271328f68c4e15"}},{"ruleId":"D1","level":"warning","message":{"text":"Stream.compress (cyclomatic 36): Stream.compress 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/LZ77/Deflator/LZ77.DeflatorBuffers.Stream.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"cccc1613210c245c22917c7d485b5e2d5c72a4af7a1038790b31952667fe3b9d"}},{"ruleId":"D1","level":"warning","message":{"text":"Image.collect (cyclomatic 22): Image.collect has cyclomatic complexity 22 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNG/PNG.Image.swift"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"5548871f1f473922d76bbaa6e1115a892cef8ccc3d7e3135540ee57b45f556cf"}},{"ruleId":"D1","level":"warning","message":{"text":"RGBA.unpack (cyclomatic 22): RGBA.unpack has cyclomatic complexity 22 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNG/ColorTargets/PNG.RGBA.swift"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5965bddb0bb4b84d38d52d1ff6c6697d10f21496a2b322a09c8fe2dfc22baf3"}},{"ruleId":"D1","level":"warning","message":{"text":"VA.unpack (cyclomatic 22): VA.unpack has cyclomatic complexity 22 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNG/ColorTargets/PNG.VA.swift"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ffd94583e608d620397126629ee7d467793ac2f8a44615047b18a3651e670a4"}},{"ruleId":"D1","level":"warning","message":{"text":"HSVA.unpack (cyclomatic 22): HSVA.unpack has cyclomatic complexity 22 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Snippets/PNG/CustomColor.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d95f19fb2d3b9106175a1c8c45f6af4be0e1f14281150426d8c7931b77745d4"}},{"ruleId":"D1","level":"warning","message":{"text":"InflatorBuffers.advance (cyclomatic 21): InflatorBuffers.advance 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/LZ77/Inflator/LZ77.InflatorBuffers.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"0deb82b2a50cc027f1fb88ddde9da61bef649a34b34a660ba8201b722ab20522"}},{"ruleId":"D1","level":"warning","message":{"text":"Image.assign (cyclomatic 19): Image.assign has cyclomatic complexity 19 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNG/PNG.Image.swift"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"21974c2fcb5d408e111b25f69e46a70ffb06975f9dfc2e2a2ee800c6c672122f"}},{"ruleId":"D1","level":"warning","message":{"text":"Image.compress (cyclomatic 18): Image.compress has cyclomatic complexity 18 (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/PNG/PNG.Image.swift"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00f836c7b576076655d11ebcc8665d5ee82f579b31736220489b685d13e7ba5"}},{"ruleId":"D1","level":"warning","message":{"text":"Stream.writeBlock (cyclomatic 17): Stream.writeBlock has cyclomatic complexity 17 (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/LZ77/Deflator/LZ77.DeflatorBuffers.Stream.swift"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c0a0d7e6998d17a3e372fc1060593803110cf6699fb3d8385ee96888b7252ef"}},{"ruleId":"D1","level":"warning","message":{"text":"Image.decompress (cyclomatic 16): Image.decompress has cyclomatic complexity 16 (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/PNG/PNG.Image.swift"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"791954ac0a02223afd2e2ba97da951198315f6bbe934826af09f30dd91a96320"}},{"ruleId":"D2","level":"warning","message":{"text":"Stream.compress (cognitive 83): Stream.compress has cognitive complexity 83 (threshold 15). Drivers by points: if/else 15 (37 pts), loops 13 (35 pts), ternaries 3 (6 pts), boolean chains 4, match/switch 1 (nesting depth added 47). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident. This file is where this pass\u0027s cognitive complexity CONCENTRATES: Sources/LZ77/Deflator/LZ77.DeflatorBuffers.Stream.swift holds 2 of the 22 methods over the threshold \u2014 including the worst \u2014 and 91 of the 236 points over it (39%), 2.4\u00D7 the next-largest file (Sources/PNG/Formats/PNG.Format.swift at 38). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/LZ77/Deflator/LZ77.DeflatorBuffers.Stream.swift"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f38578fe3f8b61510dc0a0f0530a4d7534ac69fbfdf635d76b85e2aa3d34921"}},{"ruleId":"D2","level":"warning","message":{"text":"Format.recognize (cognitive 53): Format.recognize has cognitive complexity 53 (threshold 15). Drivers by points: match/switch 14 (27 pts), if/else 19 (26 pts) (nesting depth added 20). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNG/Formats/PNG.Format.swift"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc52c4c7324152f1fd4c07db20d393ca83c385c81f482cfd5c6801aaed63060e"}},{"ruleId":"D2","level":"warning","message":{"text":"Stream.writeBlock (cognitive 38): Stream.writeBlock has cognitive complexity 38 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 8 (16 pts), boolean chains 1, match/switch 1 (nesting depth added 19). 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: Sources/LZ77/Deflator/LZ77.DeflatorBuffers.Stream.swift holds 2 of the 22 methods over the threshold \u2014 including the worst \u2014 and 91 of the 236 points over it (39%), 2.4\u00D7 the next-largest file (Sources/PNG/Formats/PNG.Format.swift at 38). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/LZ77/Deflator/LZ77.DeflatorBuffers.Stream.swift"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bee07d93f7bbc8b182cd3facaa4751e64198e81f7e78102c091727e66b14a4e"}},{"ruleId":"D2","level":"warning","message":{"text":"InflatorBuffers.advance (cognitive 35): InflatorBuffers.advance has cognitive complexity 35 (threshold 15). Drivers by points: if/else 12 (27 pts), ternaries 2 (6 pts), boolean chains 1, match/switch 1 (nesting depth added 19). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/LZ77/Inflator/LZ77.InflatorBuffers.swift"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"1000d742e28f4f362afbbb719dd999d74b6e6f97bcce7100733f6c573308ba0f"}},{"ruleId":"D2","level":"warning","message":{"text":"HashTable.update (cognitive 26): HashTable.update has cognitive complexity 26 (threshold 15). Drivers by points: loops 6 (14 pts), if/else 4 (12 pts) (nesting depth added 16). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/LZ77/F14/F14.HashTable.swift"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"909df2c1a2211cff622bdad62a1f52cdb9e21c6f91e9baf5361e2cb1fc50b34a"}},{"ruleId":"D2","level":"warning","message":{"text":"Image.collect (cognitive 25): Image.collect has cognitive complexity 25 (threshold 15). Drivers by points: loops 12 (24 pts), match/switch 1 (nesting depth added 12). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNG/PNG.Image.swift"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c817a1efe2e8e38cd69a145dcdb4d0c6b94d1893f2fb7b3f00ecab2b12a627d"}},{"ruleId":"D2","level":"warning","message":{"text":"Image.decompress (cognitive 23): Image.decompress has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (16 pts), match/switch 3 (4 pts), loops 3 (nesting depth added 10). 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/PNG/PNG.Image.swift"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc88874ac531bd6e9268766f883906469016d4f0457314e525a3ed3ce724810"}},{"ruleId":"D2","level":"warning","message":{"text":"Text.init (cognitive 23): Text.init has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (18 pts), match/switch 1 (2 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 11). 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/PNG/Parsing/PNG.Text.swift"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2efda48c77a3447a15638d394cad6bd4a867462294d81f3151289097ea1d87e"}},{"ruleId":"D2","level":"warning","message":{"text":"Decoder.push (cognitive 22): Decoder.push has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 3 (7 pts), boolean chains 1 (nesting depth added 11). 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/PNG/Decoding/PNG.Decoder.swift"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"191f49b18c6916a1dc37738e75e2da80b99fafafead33826414f85f64d80c1f3"}},{"ruleId":"D2","level":"warning","message":{"text":"DeflatorWindow.match (cognitive 20): DeflatorWindow.match has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 3 (7 pts), boolean chains 2 (nesting depth added 10). 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/LZ77/Deflator/LZ77.DeflatorWindow.swift"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"717afc94445184cfd54d8a207278674eee364c2086187b931213685bc585e769"}},{"ruleId":"D2","level":"warning","message":{"text":"HuffmanTree.init (cognitive 20): HuffmanTree.init has cognitive complexity 20 (threshold 15). Drivers by points: loops 5 (10 pts), if/else 5 (9 pts), ternaries 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/LZ77/HuffmanCoding/LZ77.HuffmanTree.swift"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"effcee2497704790f0dea022cd45ae7e31386dc0e27359c8135e8bf4083a9575"}},{"ruleId":"D2","level":"warning","message":{"text":"Stream.readBlock (cognitive 20): Stream.readBlock has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 3, loops 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/LZ77/Inflator/LZ77.InflatorBuffers.Stream.swift"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"863e55aaf7f8a63308c41020e2a0b2b6011e0bc3ddcfb446105598fde83bad33"}},{"ruleId":"D2","level":"warning","message":{"text":"OnlineDecoding.swift.decodeOnline (cognitive 20): OnlineDecoding.swift.decodeOnline has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (11 pts), match/switch 3 (4 pts), loops 3, boolean chains 2 (nesting depth added 6). 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":"Snippets/PNG/OnlineDecoding.swift"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96e7d35c309120400112fdd7671298d200ecbaac30c1886e6a19226b855dfcb"}},{"ruleId":"D2","level":"warning","message":{"text":"Image.assign (cognitive 19): Image.assign has cognitive complexity 19 (threshold 15). Drivers by points: loops 9 (18 pts), match/switch 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNG/PNG.Image.swift"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af5d8f8d9e4d448c541345bfa1657d1d3b42231a0ce9b5bf14be141e62feb47"}},{"ruleId":"D2","level":"warning","message":{"text":"Encoder.pull (cognitive 19): Encoder.pull has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 3 (7 pts), boolean chains 1, match/switch 1 (nesting depth added 11). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNG/Encoding/PNG.Encoder.swift"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"abefbaed8e894003cbcd63d939d1b58c5b48df7ee2e579c63461827fd109ed7e"}},{"ruleId":"D2","level":"warning","message":{"text":"InflatorBuffers.advance (cognitive 18): InflatorBuffers.advance has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 2 (6 pts), match/switch 2 (4 pts) (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/LZ77/Inflator/LZ77.InflatorBuffers.swift"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"2627c31b72155832e080c01f95bc68b012ba79d5bc692bd23c6f3c865c8eef2a"}},{"ruleId":"D2","level":"warning","message":{"text":"Stream.readBlockTables (cognitive 18): Stream.readBlockTables has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 3, match/switch 1 (2 pts), boolean chains 1 (nesting depth added 6). 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/LZ77/Inflator/LZ77.InflatorBuffers.Stream.swift"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c48f6a41b1bcef5eebfb6e793c6090efae3513c403dd80186d526870a9f286"}},{"ruleId":"D2","level":"warning","message":{"text":"Image.compress (cognitive 17): Image.compress has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12, loops 4, ternaries 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. 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/PNG/PNG.Image.swift"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"e41ebc536e79a672a31adebdb72962ad0bcd029b7d1855ce8df3ec53a1ebc65e"}},{"ruleId":"D2","level":"warning","message":{"text":"Background.init (cognitive 17): Background.init has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 2, match/switch 1 (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident. This shape REPEATS in the file: one other method here (Background.init) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNG/Parsing/PNG.Background.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"778f73c97e379db0352b232d9a92ecce24983522a01a7c1015d069466351aba5"}},{"ruleId":"D2","level":"warning","message":{"text":"Background.init (cognitive 17): Background.init has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 2, match/switch 1 (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident. This shape REPEATS in the file: one other method here (Background.init) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNG/Parsing/PNG.Background.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bbd530cbb0eccedf5e34d523897a019c527a87d17edd71d10f6ab8dea8e721c"}},{"ruleId":"D2","level":"warning","message":{"text":"Transparency.init (cognitive 17): Transparency.init has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 2, match/switch 1 (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNG/Parsing/PNG.Transparency.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6fec1b5abd9b75f48ff6651bc977590f2a82a476619e0f413919ec71e9b5776"}},{"ruleId":"D2","level":"warning","message":{"text":"Stream.readBlockMetadata (cognitive 16): Stream.readBlockMetadata has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 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/LZ77/Inflator/LZ77.InflatorBuffers.Stream.swift"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"9940144f2ad70191cfe8e51e1b5896a55f720e593fbaa92a13b1e62c49cc304a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Format.recognize: MethodTooLong \u2014 recognize runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\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/PNG/Formats/PNG.Format.swift"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c0674f36f5ce34190d1f58125d2db9e73d2e917e749b0ee869845bdf7cb9068"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RGBA.unpack: MethodTooLong \u2014 unpack runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\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/PNG/ColorTargets/PNG.RGBA.swift"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"f421aa68453ad52fb3671e2f6fddde5fdc90963bb49a9059fbab2b6a7bf3223b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VA.unpack: MethodTooLong \u2014 unpack runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\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/PNG/ColorTargets/PNG.VA.swift"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a44b6899c6a338f2d3a8834e4d4334895b0af85859d69318e7be2596a9424f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: PNG/PNG.Image.swift: FileTooLong \u2014 595 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 95 over it, 1.19\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/PNG/PNG.Image.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5232533ca683170b401b78bf27cf21a23cb83a25cb68b6ae7a794cf4a4d575a7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HSVA.unpack: MethodTooLong \u2014 unpack runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\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":"Snippets/PNG/CustomColor.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d9e36c1050c3e6055884bf244daaab35a21f5da9916ac965518f22e62cbe12"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ParsingError.details: MethodTooLong \u2014 details runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\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/PNG/Parsing/PNG.ParsingError.swift"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5474e9d09d7140b161d50d594fcb28ba95b8499cfdd57d604b8536d210c06a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): Snippets/PNG/CustomColor.swift:75-221 | Snippets/PNG/CustomColor.swift:224-326 | Sources/PNG/ColorTargets/PNG.RGBA.swift:218-362 | Sources/PNG/ColorTargets/PNG.RGBA.swift:400-465 | Sources/PNG/ColorTargets/PNG.VA.swift:153-297 | Sources/PNG/ColorTargets/PNG.VA.swift:335-396 | Sources/PNG/PNG.Image.swift:610-712 | Sources/PNG/PNG.Image.swift:714-776 \u2014 These 8 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 8 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 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Snippets/PNG/CustomColor.swift"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"8039fd42a23eec53ca5ff1f758ad072b0b28f84bab4c700fa6f2f8191e9760b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Sources/PNG/ColorTargets/PNG.RGBA.swift:114-128 | Sources/PNG/ColorTargets/PNG.RGBA.swift:158-173 | Sources/PNG/ColorTargets/PNG.VA.swift:59-71 | Sources/PNG/ColorTargets/PNG.VA.swift:96-108 \u2014 These 4 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 4 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 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNG/ColorTargets/PNG.RGBA.swift"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3bfd21f24dcb1205c55aca11ed1afd1e9088c498f9018281c7735b4f0c3930"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Sources/PNG/PNG.swift:255-276 | Sources/PNG/PNG.swift:298-319 | Sources/PNG/PNG.swift:341-362 | Sources/PNG/PNG.swift:384-405 \u2014 These 4 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 4 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 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNG/PNG.swift"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0475ae1d031e831b59d048d0505b0a82dfb63073a991e321716b8375c285372"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Sources/PNG/PNG.swift:433-455 | Sources/PNG/PNG.swift:481-503 | Sources/PNG/PNG.swift:530-552 | Sources/PNG/PNG.swift:578-600 \u2014 These 4 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 4 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 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNG/PNG.swift"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a9ebd6eafc3e0dbb6b652495c3544cebda2f1e6bde3ab253e15ce5e47f8fce3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Sources/PNG/PNG.swift:734-763 | Sources/PNG/PNG.swift:788-817 | Sources/PNG/PNG.swift:842-871 | Sources/PNG/PNG.swift:896-925 \u2014 These 4 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 4 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 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNG/PNG.swift"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"970b87273162e4defcef4333debb3ec98f213ed4e84e40f41542b350d9249571"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): Sources/PNG/PNG.swift:951-979 | Sources/PNG/PNG.swift:1006-1034 | Sources/PNG/PNG.swift:1061-1089 | Sources/PNG/PNG.swift:1116-1144 \u2014 These 4 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 4 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 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNG/PNG.swift"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"89576382e60167abd3b8597524bf2c4ca3929072050e4f656b6deef5cc8bfdde"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (89 corresponding lines): Sources/PNG/PNG.Image.swift:173-261 | Sources/PNG/PNG.Image.swift:393-492 \u2014 These two members are one piece of code written twice and then edited apart: 89 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNG/PNG.Image.swift"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17e6d02bdf4f1f5200ec6ec73acd89c850f2f6d61445387e898f4680c780f98"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): Sources/PNG/Parsing/PNG.Background.swift:99-143 | Sources/PNG/Parsing/PNG.Transparency.swift:108-151 \u2014 These two members are one piece of code written twice and then edited apart: 44 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNG/Parsing/PNG.Background.swift"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"d041e91bfc532f699ce059063c36f90b226b557d9b9636c2b0a138e2a06100c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): Sources/PNG/Parsing/PNG.Background.swift:47-83 | Sources/PNG/Parsing/PNG.Transparency.swift:50-92 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNG/Parsing/PNG.Background.swift"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"e45ec5d37036cd863966b230bea3d6734e412520372ed35f286c6d94ee36c38a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): Sources/LZ77/Deflator/LZ77.DeflatorIn.swift:136-169 | Sources/LZ77/Inflator/LZ77.InflatorOut.swift:118-154 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/LZ77/Deflator/LZ77.DeflatorIn.swift"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd671ac42c99130c8e3364034985a471b8b1217ea24002047234805b4ae9ac3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): Sources/LZ77/F14/F14.HashTable.swift:50-93 | Sources/LZ77/F14/F14.HashTable.swift:95-140 \u2014 These two members are one piece of code written twice and then edited apart: 44 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/LZ77/F14/F14.HashTable.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"785a820bc4d3c4fe58d42c43dd4ac1294e3d20a59e234d51a1a6a32f880c03a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Sources/PNG/Parsing/PNG.Background.swift:146-163 | Sources/PNG/Parsing/PNG.Transparency.swift:153-173 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNG/Parsing/PNG.Background.swift"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"653793d8a440e7ba86b84a00c7b09d4385c855a70d70d809de487980f8bb9898"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): Sources/LZ77/Inflator/LZ77.InflatorBuffers.Stream.swift:339-361 | Sources/LZ77/Wrappers/LZ77.Format.swift:14-40 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/LZ77/Inflator/LZ77.InflatorBuffers.Stream.swift"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"c76c59d15967ccba8c9a59556b54d795cab7e7d2598661190efe769021d03792"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): Sources/PNG/Parsing/PNG.Text.swift:168-184 | Sources/PNG/Parsing/PNG.Text.swift:206-236 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNG/Parsing/PNG.Text.swift"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3273e4fc04abf4b0086e3d67e090e33786e35480b0f0b989805cfba1b77ae5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): Sources/PNG/PNG.swift:613-626 | Sources/PNG/PNG.swift:627-641 | Sources/PNG/PNG.swift:642-657 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNG/PNG.swift"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4a46534fd0c7d6ed2a0709f2b30a1a51f84e527a245095f662fa9b2db33cdac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): Sources/PNG/ColorTargets/PNG.Color.swift:169-186 | Sources/PNG/PNG.Image.swift:1075-1099 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNG/ColorTargets/PNG.Color.swift"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b6940c11bac887dd7ad50e59d92126a3fcfd6378fe7fa110c7d46f6397b61f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): Sources/PNG/PNG.swift:668-681 | Sources/PNG/PNG.swift:682-695 | Sources/PNG/PNG.swift:696-709 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNG/PNG.swift"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"cef3ddc315ad3a545f6ac53e880d3ed7a138087703a6ffc2c37d65d95691bc2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): Sources/PNG/PNG.swift:141-152 | Sources/PNG/PNG.swift:153-165 | Sources/PNG/PNG.swift:166-179 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNG/PNG.swift"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec55eec5b7f0bb1d5b4247d0eda8eeea29e353df2c7fe34308d80bec8a0ef6fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): Sources/PNG/PNG.Image.swift:873-891 | Sources/PNG/PNG.Image.swift:928-946 | Sources/PNG/PNG.Image.swift:979-996 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNG/PNG.Image.swift"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"151c698b33629efb28796e3333c58a0033382d5e2f4d56e966963319f2bfd79e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): Sources/PNG/PNG.swift:45-56 | Sources/PNG/PNG.swift:89-102 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNG/PNG.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a79ac469854ba79e8a5d3f8b85d908dd2c5054aa868a1c7383ec70e4a6683bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): Sources/PNG/PNG.swift:191-201 | Sources/PNG/PNG.swift:203-213 | Sources/PNG/PNG.swift:214-226 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNG/PNG.swift"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ce01032a91cd7efc0ee9781d56f98c6227e2ca67061164ccf4972dbbe072b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/LZ77/Inflator/LZ77.InflatorTables.swift:127-135 | Sources/LZ77/Inflator/LZ77.InflatorTables.swift:136-145 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/LZ77/Inflator/LZ77.InflatorTables.swift"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0e962c247fef51c5ad0e4882adaa730a706959d64e5df3b5a86281ad2e7510b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): Sources/PNG/Decoding/PNG.Context.swift:49-69 | Sources/PNG/Formats/PNG.Layout.swift:29-47 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNG/Decoding/PNG.Context.swift"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5e4ddcf9edc711428ee3fce1ec1aae126183e995373e4f9b56fd78cd19aa74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): Sources/LZ77/Deflator/LZ77.DeflatorOut.swift:31-55 | Sources/LZ77/Inflator/LZ77.BlockMetadata.swift:18-42 | Sources/LZ77/Inflator/LZ77.InflatorOut.swift:30-57 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 25 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/LZ77/Deflator/LZ77.DeflatorOut.swift"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe4884a5dac70896da0d5d50cd04952b531f214711d4027b4be43120d79e429"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): Sources/PNG/PNG.swift:604-612 | Sources/PNG/PNG.swift:658-667 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNG/PNG.swift"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb0cde4ca905e97bd590f778940d342373c1d630fade3430f092c8a6a3e3d1f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/PNGInspection/String (ext).swift:64-70 | Sources/PNGInspection/String (ext).swift:71-77 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNGInspection/String (ext).swift"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"55095f2c95189d0da69eaf21c77bc28509f89609f0526e720d83e83bfac081e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/PNG/PNG.Image.swift:798-805 | Sources/PNG/PNG.Image.swift:841-848 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNG/PNG.Image.swift"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e196645e27283867abdfb6743c89fc722297a713b3a2fc69d7d63d8e096dcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): Sources/PNGInspection/String (ext).swift:21-27 | Sources/PNGInspection/String (ext).swift:28-31 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNGInspection/String (ext).swift"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"a853b8394dfdd86e09d016d1d8e95bf7e9e6e7e8bb3cee9bd9198832a7453e31"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): Snippets/PNG/OnlineDecoding.swift:17-31 | Snippets/PNG/ImagesInMemory.swift:27-37 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Snippets/PNG/OnlineDecoding.swift"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"af9a7d5e218ee115f38414af04b4c3a3cc2c22e9b8ac995d1c2e3cb70da12f3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Sources/PNG/Formats/PNG.Format.Pixel.swift:110-117 | Sources/PNG/Formats/PNG.Format.Pixel.swift:125-133 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNG/Formats/PNG.Format.Pixel.swift"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"46fb486003d9d0bee00e812cce765f4611d578338b17043a8871247cb8ccf936"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): Sources/LZ77/Deflator/LZ77.DeflatorIn.swift:171-177 | Sources/LZ77/Inflator/LZ77.InflatorOut.swift:156-162 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/LZ77/Deflator/LZ77.DeflatorIn.swift"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"f22725a661c229c3133edc52bf2a310455e7d0e3f95aad9125bad220ee048a55"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): Sources/LZ77/Deflator/LZ77.DeflatorIn.swift:88-92 | Sources/LZ77/Inflator/LZ77.InflatorOut.swift:111-115 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/LZ77/Deflator/LZ77.DeflatorIn.swift"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"c26c76ffe89d16af0f369b2f77bd8ac2b583777964dc3668adbc9329fff9dc6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201352 lines \u00D7 3): Snippets/PNG/CustomColor.swift:94-97 | Sources/PNG/ColorTargets/PNG.RGBA.swift:240-291 | Sources/PNG/ColorTargets/PNG.VA.swift:175-226 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 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 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Snippets/PNG/CustomColor.swift:94\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. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/PNG/ColorTargets/PNG.RGBA.swift:239\u0060 calls \u0060v2\u0060, \u0060v4\u0060 and \u0060Snippets/PNG/CustomColor.swift:94\u0060 does not \u2014 after which the two agree again for 2 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":"Snippets/PNG/CustomColor.swift"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"0336b6e51a0bf49b18e18a97f07830acaa2f38f8522cc2c3a5107e779e88fd17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 4): Sources/PNG/PNG.swift:737-763 | Sources/PNG/PNG.swift:791-817 | Sources/PNG/PNG.swift:845-871 | Sources/PNG/PNG.swift:899-925 \u2014 all 4 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/PNG/PNG.swift:737\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/PNG/PNG.swift"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"e03f89a436d97a0f2ebe67324aca191223551a7a3a6dd97d1f953e695c14eb65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): Sources/LZ77/Deflator/LZ77.DeflatorIn.swift:37-57 | Sources/LZ77/Inflator/LZ77.InflatorOut.swift:36-57 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/LZ77/Deflator/LZ77.DeflatorIn.swift:37\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/LZ77/Deflator/LZ77.DeflatorIn.swift"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe90e9565971675a552cda86686d307eb4db706a201cb946d22d0d5cd00f77c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 4): Sources/PNG/PNG.swift:436-455 | Sources/PNG/PNG.swift:484-503 | Sources/PNG/PNG.swift:533-552 | Sources/PNG/PNG.swift:581-600 \u2014 all 4 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/PNG/PNG.swift:436\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/PNG/PNG.swift"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"55908b6fe627b4f2978dcfd45d26b5d05c61aacf4156e6a555eb98b387cbfb0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4): Sources/PNG/PNG.swift:258-276 | Sources/PNG/PNG.swift:301-319 | Sources/PNG/PNG.swift:344-362 | Sources/PNG/PNG.swift:387-405 \u2014 all 4 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/PNG/PNG.swift:258\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/PNG/PNG.swift"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf8b59c9e1f2f10368da502f44a1cbfa9462431fe2e5daae8e90ad511720036"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Sources/LZ77/Deflator/LZ77.DeflatorIn.swift:29-45 | Sources/LZ77/Inflator/LZ77.BlockMetadata.swift:18-34 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/LZ77/Deflator/LZ77.DeflatorIn.swift:29\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/LZ77/Deflator/LZ77.DeflatorIn.swift"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"0737f3d903c8fa402179fb4eddcb569282be1c87e39c943846fe0898a7ec1403"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): Snippets/LZ77/StreamingGzip.swift:4-19 | Snippets/PNG/ImagesInMemory.swift:46-59 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Snippets/LZ77/StreamingGzip.swift"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"c829aad0ed8210956a1ee0a70552631d9efa06028d8b2f65b4d42bee37212762"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): Sources/PNG/Decoding/PNG.Decoder.swift:48-65 | Sources/PNG/Encoding/PNG.Encoder.swift:35-52 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/PNG/Decoding/PNG.Decoder.swift:48\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNG/Decoding/PNG.Decoder.swift"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a86f8142d1c5d8c532d86a419c8f898274b1145cc0e7d683cc1b08ff6aa57b8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): Sources/PNG/Decoding/PNG.Decoder.swift:71-86 | Sources/PNG/Decoding/PNG.Decoder.swift:105-120 \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/PNG/Decoding/PNG.Decoder.swift:71\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/PNG/Decoding/PNG.Decoder.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"429f6df0f80ff0c1db3f88140081e7fbfbf1a96bf36dada3c703fa19daee0865"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 4): Sources/PNG/PNG.swift:958-979 | Sources/PNG/PNG.swift:1013-1034 | Sources/PNG/PNG.swift:1068-1089 | Sources/PNG/PNG.swift:1123-1144 \u2014 all 4 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/PNG/PNG.swift:958\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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/PNG/PNG.swift"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"13c6625a3692f5df9c455077c9ae49af6c0ac9ad1bae9115300351ef75b232bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 3): Sources/LZ77/Deflator/LZ77.DeflatorBuffers.Stream.swift:197-209 | Sources/LZ77/Deflator/LZ77.DeflatorBuffers.Stream.swift:245-256 | Sources/LZ77/Deflator/LZ77.DeflatorBuffers.Stream.swift:308-320 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/LZ77/Deflator/LZ77.DeflatorBuffers.Stream.swift:197\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/LZ77/Deflator/LZ77.DeflatorBuffers.Stream.swift"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b657ded253a5617222b8ca467aac2f3dd3471099fd41895dde62ae917cf5110"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Sources/LZ77/Deflator/LZ77.DeflatorIn.swift:147-159 | Sources/LZ77/Inflator/LZ77.InflatorOut.swift:131-143 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/LZ77/Deflator/LZ77.DeflatorIn.swift:147\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/LZ77/Deflator/LZ77.DeflatorIn.swift"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d202f39a534fb8012b6e4fb301b73cb687c3d51fa33acd6dceb1e3d26d4593b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): Sources/LZ77/Deflator/LZ77.DeflatorBuffers.Stream.swift:228-239 | Sources/LZ77/Deflator/LZ77.DeflatorBuffers.Stream.swift:293-303 | Sources/LZ77/Deflator/LZ77.DeflatorBuffers.Stream.swift:341-351 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/LZ77/Deflator/LZ77.DeflatorBuffers.Stream.swift:228\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/LZ77/Deflator/LZ77.DeflatorBuffers.Stream.swift"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"70c65073a637bda2473ec0f56a3281a1ed77c54b3a74199cdc5d92c37a9b28f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): Snippets/PNG/Indexing.swift:16-26 | Sources/PNGInspection/String (ext).swift:125-136 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Snippets/PNG/Indexing.swift"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a6590aa63aa1bdb785f355050061f045bc5259cb4420b4286aad405cf6c88c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Sources/PNG/PNG.Image.swift:877-888 | Sources/PNG/PNG.Image.swift:982-993 \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/PNG/PNG.Image.swift:877\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/PNG/PNG.Image.swift"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a145e690f7289f534a39b70d70f0d20374d06e93d26da371680045bc8dd84f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 4): Sources/LZ77/F14/F14.HashTable.swift:59-69 | Sources/LZ77/F14/F14.HashTable.swift:104-112 | Sources/LZ77/F14/F14.HashTable.swift:152-160 | Sources/LZ77/F14/F14.HashTable.swift:200-208 \u2014 all 4 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/LZ77/F14/F14.HashTable.swift:59\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/LZ77/F14/F14.HashTable.swift"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"d712c34bcb9aa2c64131b089c2197ccd753e546c991cabbad774351c63d569a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): Sources/PNG/PNG.swift:1009-1019 | Sources/PNG/PNG.swift:1064-1074 | Sources/PNG/PNG.swift:1119-1129 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/PNG/PNG.swift:1009\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/PNG/PNG.swift"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc7b4b63edf158e1dd4b6649778df67bb1e34e1210cc22a945db1b7d809a929"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Sources/PNG/System.swift:74-84 | Sources/PNG/System.swift:176-186 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNG/System.swift"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"876d1db08629ae23baf17fabbc5922043178262b9ecad999e5d8c0715e955ee6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): Snippets/PNG/CustomColor.swift:76-85 | Sources/PNG/ColorTargets/PNG.RGBA.swift:224-232 | Sources/PNG/ColorTargets/PNG.VA.swift:159-167 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 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 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Snippets/PNG/CustomColor.swift:76\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Snippets/PNG/CustomColor.swift"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"182133ea99bf44233bfa083047455faab14867183e60a573812ea9140d861f36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): Sources/PNG/ColorTargets/PNG.RGBA.swift:158-167 | Sources/PNG/ColorTargets/PNG.VA.swift:96-104 \u2014 before extracting anything, compare \u0060Sources/PNG/ColorTargets/PNG.RGBA.swift\u0060 and \u0060Sources/PNG/ColorTargets/PNG.VA.swift\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/PNG/ColorTargets/PNG.RGBA.swift:158\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNG/ColorTargets/PNG.RGBA.swift"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"f28979c4a41246155d0b54754aff6a33fbf48c9389a1c188f078b25edc5c1de9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Sources/PNG/ColorTargets/PNG.RGBA.swift:400-409 | Sources/PNG/ColorTargets/PNG.VA.swift:335-344 \u2014 before extracting anything, compare \u0060Sources/PNG/ColorTargets/PNG.RGBA.swift\u0060 and \u0060Sources/PNG/ColorTargets/PNG.VA.swift\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/PNG/ColorTargets/PNG.RGBA.swift:400\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNG/ColorTargets/PNG.RGBA.swift"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f12d955886e3a4dbe6d0549fc1afe93fc655e4b70e023ffd42aef5db1e6911a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 4): Sources/PNG/ColorTargets/PNG.RGBA.swift:115-122 | Sources/PNG/ColorTargets/PNG.RGBA.swift:159-167 | Sources/PNG/ColorTargets/PNG.VA.swift:60-67 | Sources/PNG/ColorTargets/PNG.VA.swift:97-104 \u2014 before extracting anything, compare \u0060Sources/PNG/ColorTargets/PNG.RGBA.swift\u0060 and \u0060Sources/PNG/ColorTargets/PNG.VA.swift\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/PNG/ColorTargets/PNG.RGBA.swift:115\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNG/ColorTargets/PNG.RGBA.swift"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"996d8a006828f1946c4fb63793a3b84accf5f5203c5817ecf070dcc842ddb1ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): Snippets/PNG/CustomColor.swift:225-233 | Sources/PNG/ColorTargets/PNG.RGBA.swift:406-414 | Sources/PNG/ColorTargets/PNG.VA.swift:341-349 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 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 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Snippets/PNG/CustomColor.swift:225\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Snippets/PNG/CustomColor.swift"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d5bcdfa7f4adb0dbf23afaaa631aefc40334d69ef4c45dec64963adcdf7b89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): Snippets/PNG/BasicDecoding.swift:14-28 | Snippets/PNG/ImagesInMemory.swift:64-76 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Snippets/PNG/ImagesInMemory.swift:61\u0060 calls \u0060init\u0060, \u0060decompress\u0060 and \u0060Snippets/PNG/BasicDecoding.swift:12\u0060 does not \u2014 after which the two agree again for 2 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":"Snippets/PNG/BasicDecoding.swift"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c2bb4949f87155ae323209d125916ae4ff8dbcd7f43b3944bd265ab4fd37d87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/PNG/Encoding/PNG.Encoder.swift:58-65 | Sources/PNG/Encoding/PNG.Encoder.swift:87-94 \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/PNG/Encoding/PNG.Encoder.swift:58\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Sources/PNG/Encoding/PNG.Encoder.swift:57\u0060 calls \u0060subimage\u0060 and \u0060Sources/PNG/Encoding/PNG.Encoder.swift:86\u0060 does not \u2014 after which the two agree again for 4 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/PNG/Encoding/PNG.Encoder.swift"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6e67e14493e27f9ee61bac26d0790649a69aed17612fc0d651eaf2e2b3a54e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): Snippets/PNG/CustomColor.swift:106-113 | Sources/PNG/ColorTargets/PNG.RGBA.swift:249-256 | Sources/PNG/ColorTargets/PNG.VA.swift:184-191 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 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 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Snippets/PNG/CustomColor.swift:106\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":"Snippets/PNG/CustomColor.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60b05fba3efa649edffa5f6b8f020edab1d56a9baa1906f5e3197a3123bb168"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Snippets/PNG/CustomColor.swift:145-151 | Snippets/PNG/CustomColor.swift:162-168 \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. 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":"Snippets/PNG/CustomColor.swift"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2ca51bbcb92e782581c1010ff38c286e2ccb0f63586b7852ec9929504624ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Snippets/PNG/CustomColor.swift:195-201 | Snippets/PNG/CustomColor.swift:204-210 \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. 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":"Snippets/PNG/CustomColor.swift"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b8d5ae18581ee5481717cd2fd012566c1739ee46f5ce0c959fdf9a3c20efab3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Snippets/PNG/CustomColor.swift:343-349 | Snippets/PNG/CustomColor.swift:351-357 \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 \u0060Snippets/PNG/CustomColor.swift:343\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":"Snippets/PNG/CustomColor.swift"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7786516f2960394d6f91831c975d12249ef02554e1358bed17c0026f67f25a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/LZ77/Deflator/LZ77.DeflatorBuffers.Stream.swift:208-214 | Sources/LZ77/Deflator/LZ77.DeflatorBuffers.Stream.swift:266-272 \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/LZ77/Deflator/LZ77.DeflatorBuffers.Stream.swift:208\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/LZ77/Deflator/LZ77.DeflatorBuffers.Stream.swift"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"e530290e93cc3cba267b0559d31062dba4e9881809d3831fe6ef7945844d0d65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/PNG/ColorTargets/PNG.RGBA.swift:287-293 | Sources/PNG/ColorTargets/PNG.RGBA.swift:304-310 \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. 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/PNG/ColorTargets/PNG.RGBA.swift"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"67914d64cae997da744ea3e44a336b0b668a687808407f01e92d33c83f36bf95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/PNG/ColorTargets/PNG.RGBA.swift:295-301 | Sources/PNG/ColorTargets/PNG.RGBA.swift:320-326 \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. 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/PNG/ColorTargets/PNG.RGBA.swift"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"adeff7e26869a204614b4fdb3367ed9bc0e564f0a65cc8b3f5cdd91eb2b60f5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/PNG/ColorTargets/PNG.RGBA.swift:337-343 | Sources/PNG/ColorTargets/PNG.RGBA.swift:346-352 \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. 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/PNG/ColorTargets/PNG.RGBA.swift"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"4231484731c4d4d58e1485c2c57d5759d50229ef6737c8a3fe574957ffb82676"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/PNG/ColorTargets/PNG.VA.swift:230-236 | Sources/PNG/ColorTargets/PNG.VA.swift:255-261 \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. 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/PNG/ColorTargets/PNG.VA.swift"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"990422d3ebbf368ed3b1f621e89bef630cb3da8c3b639f9cdc827deaf76f5081"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Sources/PNG/PNG.Image.swift:628-634 | Sources/PNG/PNG.Image.swift:732-738 \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/PNG/PNG.Image.swift:628\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNG/PNG.Image.swift"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"7749f6e65fb1adac67516b967071f7e0d711b8dd1157115f1819890176742513"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 8): Snippets/PNG/CustomColor.swift:81-86 | Snippets/PNG/CustomColor.swift:229-234 | Sources/PNG/ColorTargets/PNG.RGBA.swift:228-233 | Sources/PNG/ColorTargets/PNG.RGBA.swift:410-415 | Sources/PNG/ColorTargets/PNG.VA.swift:163-168 | Sources/PNG/ColorTargets/PNG.VA.swift:345-350 | Sources/PNG/PNG.Image.swift:621-626 | Sources/PNG/PNG.Image.swift:725-730 \u2014 there are 8 copies across 4 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 8 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Snippets/PNG/CustomColor.swift:81\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Snippets/PNG/CustomColor.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d6786db78f4a884d14a43b088f2fcf28d95e4a54d5687ee8ab60d876ecb1647"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Snippets/PNG/CustomColor.swift:269-274 | Snippets/PNG/CustomColor.swift:279-284 \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 \u0060Snippets/PNG/CustomColor.swift:269\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Snippets/PNG/CustomColor.swift"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"59fce2ebf87e96af02c101cfbd10ad69f15eb9fc47320c8771b8baaccd58101d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Snippets/PNG/CustomColor.swift:298-303 | Snippets/PNG/CustomColor.swift:308-313 \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 \u0060Snippets/PNG/CustomColor.swift:298\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Snippets/PNG/CustomColor.swift"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"921959f906537d48500f745479bb1f5f33a02a7da44c69993a0146796c0eee4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/PNG/ColorTargets/PNG.Color.swift:176-181 | Sources/PNG/PNG.Image.swift:1089-1094 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNG/ColorTargets/PNG.Color.swift"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db09b1570fbabf8fc736c5befe365941da05d8be2a5d3fd18790d095ae51830"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/PNG/ColorTargets/PNG.RGBA.swift:294-299 | Sources/PNG/ColorTargets/PNG.VA.swift:229-234 \u2014 before extracting anything, compare \u0060Sources/PNG/ColorTargets/PNG.RGBA.swift\u0060 and \u0060Sources/PNG/ColorTargets/PNG.VA.swift\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/PNG/ColorTargets/PNG.RGBA.swift:294\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/PNG/ColorTargets/PNG.RGBA.swift"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f313e99dd720ce62478a3f2fcc905ef4397cd9d64569a62c98c394a6377b02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/PNG/ColorTargets/PNG.RGBA.swift:303-308 | Sources/PNG/ColorTargets/PNG.VA.swift:238-243 \u2014 before extracting anything, compare \u0060Sources/PNG/ColorTargets/PNG.RGBA.swift\u0060 and \u0060Sources/PNG/ColorTargets/PNG.VA.swift\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/PNG/ColorTargets/PNG.RGBA.swift:303\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/PNG/ColorTargets/PNG.RGBA.swift"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"c74ccea536822ba44df58279fd1ca00308008f93f5445965613486e6738883b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/PNG/ColorTargets/PNG.RGBA.swift:311-316 | Sources/PNG/ColorTargets/PNG.VA.swift:246-251 \u2014 before extracting anything, compare \u0060Sources/PNG/ColorTargets/PNG.RGBA.swift\u0060 and \u0060Sources/PNG/ColorTargets/PNG.VA.swift\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/PNG/ColorTargets/PNG.RGBA.swift:311\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/PNG/ColorTargets/PNG.RGBA.swift"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"271b25b701e65ef1ed2839c9393ff3ec50fbb856b053279459140d4a13718b10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/PNG/ColorTargets/PNG.RGBA.swift:319-324 | Sources/PNG/ColorTargets/PNG.VA.swift:254-259 \u2014 before extracting anything, compare \u0060Sources/PNG/ColorTargets/PNG.RGBA.swift\u0060 and \u0060Sources/PNG/ColorTargets/PNG.VA.swift\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/PNG/ColorTargets/PNG.RGBA.swift:319\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/PNG/ColorTargets/PNG.RGBA.swift"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0de367a6183bdfe2c4cc5ae02712227910e73985329ec450d193fd2efa3ca1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/PNG/ColorTargets/PNG.RGBA.swift:327-332 | Sources/PNG/ColorTargets/PNG.VA.swift:262-267 \u2014 before extracting anything, compare \u0060Sources/PNG/ColorTargets/PNG.RGBA.swift\u0060 and \u0060Sources/PNG/ColorTargets/PNG.VA.swift\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/PNG/ColorTargets/PNG.RGBA.swift:327\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/PNG/ColorTargets/PNG.RGBA.swift"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"e305153c08637b632ba30b487f93d506de36a27d6345e70b16acbc7856206745"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/PNG/ColorTargets/PNG.RGBA.swift:336-341 | Sources/PNG/ColorTargets/PNG.VA.swift:271-276 \u2014 before extracting anything, compare \u0060Sources/PNG/ColorTargets/PNG.RGBA.swift\u0060 and \u0060Sources/PNG/ColorTargets/PNG.VA.swift\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/PNG/ColorTargets/PNG.RGBA.swift:336\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/PNG/ColorTargets/PNG.RGBA.swift"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"32623216b59c662dd33cb6379499f4f1c645792b67c97818df0259f6c5fb682d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/PNG/ColorTargets/PNG.RGBA.swift:345-350 | Sources/PNG/ColorTargets/PNG.VA.swift:280-285 \u2014 before extracting anything, compare \u0060Sources/PNG/ColorTargets/PNG.RGBA.swift\u0060 and \u0060Sources/PNG/ColorTargets/PNG.VA.swift\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/PNG/ColorTargets/PNG.RGBA.swift:345\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/PNG/ColorTargets/PNG.RGBA.swift"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd6ed1a364925bb276854bfa403f9a1679f1dc6994c4dda864b3b69a5e41972c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/PNG/ColorTargets/PNG.RGBA.swift:353-358 | Sources/PNG/ColorTargets/PNG.VA.swift:288-293 \u2014 before extracting anything, compare \u0060Sources/PNG/ColorTargets/PNG.RGBA.swift\u0060 and \u0060Sources/PNG/ColorTargets/PNG.VA.swift\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/PNG/ColorTargets/PNG.RGBA.swift:353\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/PNG/ColorTargets/PNG.RGBA.swift"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"395ae47bc908d137105124f4139f7c526b75daacb83cd90a4596cfb577bd5fea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Sources/PNG/PNG.Image.swift:412-419 | Sources/PNG/PNG.Image.swift:422-429 \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/PNG/PNG.Image.swift"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b9d6c744a54e0b7eeffb99e78d429fe9d45a3e298623b8584459837f5e4fbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/PNG/PNG.swift:630-635 | Sources/PNG/PNG.swift:645-650 \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/PNG/PNG.swift:630\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060by\u0060 to \u00602)\u0060 in one and \u00603)\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNG/PNG.swift"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef6a4845c26944c96d01549afb39c3634f169ac04c8f335302266dc9609a2e2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): Sources/PNG/ColorTargets/PNG.RGBA.swift:295-299 | Sources/PNG/ColorTargets/PNG.RGBA.swift:320-324 | Sources/PNG/ColorTargets/PNG.VA.swift:230-234 | Sources/PNG/ColorTargets/PNG.VA.swift:255-259 \u2014 before extracting anything, compare \u0060Sources/PNG/ColorTargets/PNG.RGBA.swift\u0060 and \u0060Sources/PNG/ColorTargets/PNG.VA.swift\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 167 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/PNG/ColorTargets/PNG.RGBA.swift:295\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/PNG/ColorTargets/PNG.RGBA.swift"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ae00344538c517020a1eb12eee2931e9b20506641af80c922a74fca9391c51a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): Sources/PNG/PNG.swift:144-149 | Sources/PNG/PNG.swift:156-161 | Sources/PNG/PNG.swift:169-174 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Sources/PNG/PNG.swift:144\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/PNG/PNG.swift"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"0efd0f4b46963204a9594ca80aa296e7b6f4a17b210282ca67f27a185bd70b9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Snippets/PNG/CustomColor.swift:153-159 | Snippets/PNG/CustomColor.swift:178-184 \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. 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":"Snippets/PNG/CustomColor.swift"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"343b2c663e21c8526794a594003e719b18836e9999dc3e359c99abf75d4bd459"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/PNG/Encoding/PNG.Encoder.swift:51-56 | Sources/PNG/Encoding/PNG.Encoder.swift:81-86 \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/PNG/Encoding/PNG.Encoder.swift:51\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Sources/PNG/Encoding/PNG.Encoder.swift:57\u0060 calls \u0060subimage\u0060 and \u0060Sources/PNG/Encoding/PNG.Encoder.swift:87\u0060 does not \u2014 after which the two agree again for 4 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/PNG/Encoding/PNG.Encoder.swift"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7b23c9ead785e5dd0e21868dcf0c5a68fcea463263c15c2fcdc8aad41acda3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/PNG/PNG.Image.swift:175-179 | Sources/PNG/PNG.Image.swift:396-400 \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/PNG/PNG.Image.swift:175\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNG/PNG.Image.swift"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"a91c4d2856b662b82806f1f3b6edd6c14d8130a2bf86043ebbf91a77cc05de1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/PNG/Parsing/PNG.Background.swift:102-106 | Sources/PNG/Parsing/PNG.Background.swift:114-118 \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/PNG/Parsing/PNG.Background.swift"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"02653165174c02f18c3c9a1c74a33fdeba5baa0cfae6ac9fe1e086c0b056892e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): Sources/PNG/Parsing/PNG.Background.swift:151-156 | Sources/PNG/Parsing/PNG.Transparency.swift:161-166 \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. 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/PNG/Parsing/PNG.Background.swift"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7065ecf9b02dac3e9aeb7b2ac7d4b814dcec142b698e821bf73973c6e715ab7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/PNG/Parsing/PNG.Transparency.swift:111-115 | Sources/PNG/Parsing/PNG.Transparency.swift:123-127 \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/PNG/Parsing/PNG.Transparency.swift"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f0c091c7cdd6fdadf7434c1a4945a1c3a969b64c3cbf39de31111a68c8d8581"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Sources/PNG/PNG.Image.swift:187-191 | Sources/PNG/PNG.Image.swift:194-198 \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/PNG/PNG.Image.swift"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7a52a64f90ae18008cec62e9459723ee96a42c25143b31897e52fd1a789691"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): Sources/PNG/PNG.Image.swift:209-213 | Sources/PNG/PNG.Image.swift:217-221 | Sources/PNG/PNG.Image.swift:226-230 | Sources/PNG/PNG.Image.swift:236-240 | Sources/PNG/PNG.Image.swift:248-252 \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/PNG/PNG.Image.swift:209\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNG/PNG.Image.swift"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e426a953bdd05784ca9cfed0e6eb186f231dce62eb8e6bdb12bf7806b31a24d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): Sources/PNG/PNG.Image.swift:440-444 | Sources/PNG/PNG.Image.swift:448-452 | Sources/PNG/PNG.Image.swift:457-461 | Sources/PNG/PNG.Image.swift:467-471 | Sources/PNG/PNG.Image.swift:479-483 \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/PNG/PNG.Image.swift:440\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNG/PNG.Image.swift"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbddadda5d087e6ba41a933b6751d52f4c1844d7abb79d3024204452f879ccf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): Tools/benchmark_latest.py:57-108 | Tools/benchmark_latest.py:196-239 \u2014 These two members are one piece of code written twice and then edited apart: 44 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/benchmark_latest.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d5ee8dad37f40872f69e3b8e588a9cb7e5e7a2be99caf704c24d933d051e9fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Tools/benchmark_latest.py:93-105 | Tools/benchmark_latest.py:225-237 \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 \u0060Tools/benchmark_latest.py:93\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Tools/benchmark_latest.py:91\u0060 calls \u0060split\u0060 and \u0060Tools/benchmark_latest.py:224\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":"Tools/benchmark_latest.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3de116e44160ab0b0c8c1006901cde5c50c337e036d428b39a929f24ad1f97c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Tools/benchmark_latest.py:71-82 | Tools/benchmark_latest.py:84-95 \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":"Tools/benchmark_latest.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b545cb65f3e6a4d7fae737f822692a7c4be13b196c7633a7a55988a6f709db2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Tools/benchmark_latest.py:80-89 | Tools/benchmark_latest.py:215-224 \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":"Tools/benchmark_latest.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c64c98cab0859062968ceb03ec468270398f4e7ed23a5b3fa22c61269b36fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): Tools/densityplot.py:25-29 | Tools/differentialplot.py:15-19 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/densityplot.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc643c4aac0cf52f2003b14bfea6a7f495d2077035dc356c4901a845dc27edd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Tools/densityplot.py:47-53 | Tools/differentialplot.py:36-42 \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 \u0060Tools/densityplot.py:47\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/densityplot.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec318db9414a6b173b798eb36a8c3dda4b0d4dc7001626a0eb74b5b99e5aa6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): Tools/densityplot.py:112-116 | Tools/densityplot.py:117-121 | Tools/differentialplot.py:52-56 | Tools/differentialplot.py:57-61 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tools/densityplot.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb4e7bacc007833bf3bb9598e9c6cf081a62bd01c47635d317b51cfa92d01128"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DeflatorIn (LCOM4 5): DeflatorIn\u0027s methods fall into 5 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 5 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/LZ77/Deflator/LZ77.DeflatorIn.swift"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"c506f09a1f0f23b3d58bc18e4cb96b99943704b37cef2eca84806bb8a574c119"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DeflatorMatches (LCOM4 4): DeflatorMatches\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/LZ77/Deflator/LZ77.DeflatorMatches.Depths.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37e261746fdb29c0e6794790ee3f86554c840141da9a663ca9075b5f3c428de"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: InvalidIHDRChecksum: No conventional assertion call was detected, and 28 of 29 tests in \u0060PNGIntegrationTests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNGIntegrationTests/ErrorHandling.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf4e43b8bd24b77b73eb27657ddbac3f5a6528fb61aabcf6bba1906ac889670"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: InvalidIDATChecksum: No conventional assertion call was detected, and 28 of 29 tests in \u0060PNGIntegrationTests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNGIntegrationTests/ErrorHandling.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b629301b8c625661b4fc3efddabdc22cd0054c7defc8c1cb5e9573f509448d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: InvalidColorFormat: No conventional assertion call was detected, and 28 of 29 tests in \u0060PNGIntegrationTests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNGIntegrationTests/ErrorHandling.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"b31c3b6dbe13b11b209f03cfed5f900f581e70c94d17783143052b2c7a5175bd"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: MissingIDAT: No conventional assertion call was detected, and 28 of 29 tests in \u0060PNGIntegrationTests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNGIntegrationTests/ErrorHandling.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b37a0a174c572d5caf42f49846a35d8c9aa025fb30566a3d2933dc913d734c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: DecodeBasic: No conventional assertion call was detected, and 28 of 29 tests in \u0060PNGIntegrationTests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNGIntegrationTests/Roundtripping.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbba361dd22111ad7e2b7927f59e42fcc01e1c84cdf32ae97463aeb894dd1332"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: DecodeInterlaced: No conventional assertion call was detected, and 28 of 29 tests in \u0060PNGIntegrationTests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNGIntegrationTests/Roundtripping.swift"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"347e4bee7769fcf6f02ea1aea9efe766b4e9c8006a89fc7884787dfeda792af7"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: DecodeOddSizes: No conventional assertion call was detected, and 28 of 29 tests in \u0060PNGIntegrationTests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNGIntegrationTests/Roundtripping.swift"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e47fe70f911342187b934e8f192ab7052f423253f21f93efea32d061c3a5746"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: DecodeBackgrounds: No conventional assertion call was detected, and 28 of 29 tests in \u0060PNGIntegrationTests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNGIntegrationTests/Roundtripping.swift"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bbd87506619a823058ec139d38daec4809f10d8696cedf02214fc0c5bcefdf6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: DecodeTransparency: No conventional assertion call was detected, and 28 of 29 tests in \u0060PNGIntegrationTests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNGIntegrationTests/Roundtripping.swift"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b071702dd552d770db362779b68a2da1b75320b5c7cd1aba2c46ba0ee7e76e3"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: DecodeGamma: No conventional assertion call was detected, and 28 of 29 tests in \u0060PNGIntegrationTests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNGIntegrationTests/Roundtripping.swift"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a2e71e7c0ce587ce1aab50554fbd78186fbe093b4ee911e4001364b85ec4cd"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: DecodeFilters: No conventional assertion call was detected, and 28 of 29 tests in \u0060PNGIntegrationTests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNGIntegrationTests/Roundtripping.swift"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac3bace83385c1a00a99615677f44ed347b5982d3b483baae40252e6781a1ed"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: DecodePalettes: No conventional assertion call was detected, and 28 of 29 tests in \u0060PNGIntegrationTests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNGIntegrationTests/Roundtripping.swift"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccc1f113843b5250e61dca2c70b507d406614bd5bc71addf9da70a1fe75ce399"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: DecodeAncillary: No conventional assertion call was detected, and 28 of 29 tests in \u0060PNGIntegrationTests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNGIntegrationTests/Roundtripping.swift"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c9c09892a4f8b58050e71dc35eae6090f099e881f94b1af23d97b76ecee924"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: DecodeChunkOrdering: No conventional assertion call was detected, and 28 of 29 tests in \u0060PNGIntegrationTests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNGIntegrationTests/Roundtripping.swift"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"6701201971d12266dc7d45e61366f6f7312f5d659c15630b042573a3c90e1c21"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: DecodeLZ77: No conventional assertion call was detected, and 28 of 29 tests in \u0060PNGIntegrationTests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNGIntegrationTests/Roundtripping.swift"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"6258e55d1f8038570b46d061b720117c275b0eb1dec79e7373fa463a6400ac01"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: DecodeiPhoneOptimized: No conventional assertion call was detected, and 28 of 29 tests in \u0060PNGIntegrationTests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNGIntegrationTests/Roundtripping.swift"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9850fe8325c1e5dd7e59ea044a84237c1b2f25ffe845abc721eae4e6cb4e0d6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: EncodeBasic: No conventional assertion call was detected, and 28 of 29 tests in \u0060PNGIntegrationTests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNGIntegrationTests/Roundtripping.swift"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bec1c6150b9c02f20b9c59d9bf5502e56ce507e8e6c4ad9d83e6f81d1cab067"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: EncodeInterlaced: No conventional assertion call was detected, and 28 of 29 tests in \u0060PNGIntegrationTests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNGIntegrationTests/Roundtripping.swift"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d3984e7729823b25018ec503eda20abc78a4abd9970b48cf78898fc4a32c7e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: EncodeOddSizes: No conventional assertion call was detected, and 28 of 29 tests in \u0060PNGIntegrationTests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNGIntegrationTests/Roundtripping.swift"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e6392c50b3c1b00e56be4ba61d9b2193592c6cf9270e6c85a2f6010f187ae90"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: EncodeBackgrounds: No conventional assertion call was detected, and 28 of 29 tests in \u0060PNGIntegrationTests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNGIntegrationTests/Roundtripping.swift"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"2854e16dc8f3d795ad97f486eb21760e5adbcdc8e3a226eab31bf7770e50c30c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: EncodeTransparency: No conventional assertion call was detected, and 28 of 29 tests in \u0060PNGIntegrationTests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNGIntegrationTests/Roundtripping.swift"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60e1127a84e5e8cdfa0419ec759c9cdd742b2209cc073655e230df7aee49d15"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: EncodeGamma: No conventional assertion call was detected, and 28 of 29 tests in \u0060PNGIntegrationTests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNGIntegrationTests/Roundtripping.swift"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"240d9a21a407227d3a393651067b930a58be7e61add4d9c51927b8805dc06e5e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: EncodeFilters: No conventional assertion call was detected, and 28 of 29 tests in \u0060PNGIntegrationTests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNGIntegrationTests/Roundtripping.swift"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"b44d6de0db4abdd83a985cebf3003b96e569fe8f2948eb89dcc649c3dc940db5"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: EncodePalettes: No conventional assertion call was detected, and 28 of 29 tests in \u0060PNGIntegrationTests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNGIntegrationTests/Roundtripping.swift"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d93204a7151ee1381859f79b43e2920e72dfa0d8427c3d675e15a8c39c5fa67"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: EncodeAncillary: No conventional assertion call was detected, and 28 of 29 tests in \u0060PNGIntegrationTests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNGIntegrationTests/Roundtripping.swift"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb3da55222f0a61c69f91fe5d88f41db9fdc8a44e2eb0a76fd371dc3121aeaf"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: EncodeChunkOrdering: No conventional assertion call was detected, and 28 of 29 tests in \u0060PNGIntegrationTests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNGIntegrationTests/Roundtripping.swift"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"35148720a21bac329de1b3f9114b358bb663d26d08fb5233cba5c471d23446fa"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: EncodeLZ77: No conventional assertion call was detected, and 28 of 29 tests in \u0060PNGIntegrationTests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNGIntegrationTests/Roundtripping.swift"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"9add280f4b03e615fae27265a27a8128a49481e3e5b24c3d6302319a3a43d3cf"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: EncodeiPhoneOptimized: No conventional assertion call was detected, and 28 of 29 tests in \u0060PNGIntegrationTests\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNGIntegrationTests/Roundtripping.swift"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b459faab4ec53a5f764354416186c5515883b748d1b243e4f65fffe02d9e20a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: VA8: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNGTests/Premultiplication.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca42a254460e20518772106bf111ff96ed2a4f510284a2d90212c88b6ae4674"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: VA16: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Sources/PNGTests/Premultiplication.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"7849d2e5fdeee0bee7af3668daaa0baa00766d63cee05c90ececf29e9f1bfeb7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: replace with \u0060TraceableErrors\u0060 from \u0060swift-mongodb\u0060 \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/PNG/PNG.Error.swift"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa364612a99592b594fb4dd4cfd5fe9e8f3703a658cf4f84b2583d245b617e4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //  TODO: read MTIME instead of skipping over it \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/LZ77/Gzip/Gzip.StreamHeader.swift"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d3e0d828ab23f5b5ea0a911080826e0a27937fdab060959e4222e905644fd7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //  TODO: this is discarding all the metadata! \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/LZ77/Gzip/Gzip.StreamHeader.swift"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"8584fb93cba5e5b0f8469c4908cc7bb219193f066726a0217a295e8ae6aebc9c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //  TODO: support MTIME \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/LZ77/Gzip/Gzip.StreamHeader.swift"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c03cbf9c0c6795b49a9ad5714e295d84e1b87036d343793b33517d4a0f53e1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //  TODO: this currently only supports one member. \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/LZ77/Deflator/LZ77.DeflatorBuffers.swift"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8888d204db2a9a059d6d6e3145997284fc400670aea162ad75258f6ee4cc8f"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060Package.swift\u0060 makes this repository a deployable product (line 11)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Package.swift"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"61cb68a1ee6c4cb93e1c9ac7b48b28011c2bc672548de5c6ade44fdf2c34c979"}},{"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":"486b56f5453a7750ef0ab220a97c75793fc386f5a32b61b8b3d15d75d67771e0"},"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":"97fdba7bba553c02774076db1e0db4b592f2f341af1b3704c80e79787c0e6308"},"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":"8114ebfd8b9d5a4d9b55ff458fcd57662a356b2c5227960303c7f297a8e527b2"},"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":"fd16ca92c42fa5b99e6d0677c11f55e50a053e9b84ab6a8e5066da4850e74601"},"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":"2b8d7d9334f683288d9f52a364ee6c107c65e642e33fffecafe02f4641f2c360"},"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":"dd0a830957b3fa4b99f49e29e0fff8d94daa792c7e73a0d01ac5df1140fc9b2f"},"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":"d16699b58c9b1faed5a265c7862b5935bd6860a13f10da9b3f4884f55ec151cb"},"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":"034e9af2d405781f39879f5c1ee50052d6751eb969db0854c2cf8c7f26a70cab"},"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":"78a3b3cf14e662159afe6b0f32d82968a871c7897717f7e5a17bbd36f6fda312"},"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":"0341552241761a862f5f7d2c9132ad3a4977db71b94a92b0c54e768dfc457822"},"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":"bb9a09823d9bb112d7b90ae1cc1b3863248f97639eaea4ca0b1c38c2e6210524"},"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":"645ebbee576404221799f3e434c59b3003f4dae18ae6bbd32ed34bf8ebaf45eb"},"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":"5556862b3910215420497884d0c728d779c93d3d289fa2d48a9fe062e2a3af84"},"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":"fc9d506b3310bbefb31f3d112456529502a00c0c46814aa361fadb52750781a2"},"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":"d4480bf21b072fc7409081b812aa26612cbbf532f77b32da9ceadc27fe3420dc"},"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":"7132f996f2615660314d71abd54fa875b5aa4e9d3e95fff7822a2cc61a684077"},"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":"453a411983dd99ce9077cf1d6db8b17105cf07120f544aee44eb07c66ec5f40b"},"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":"2a78574ec5403adae64a196b0b9505f4a3809e576632d6c754a2d7cdd874af26"},"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":"170b8413df90fce375624f70a928919d96ecacd115f70449e85b4d10ed618199"},"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":"9d7ba61526d27b4140a24dff094e146e2613edd6bcfcaf5fad4424001823cc3e"},"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":"cb97a73b8c0e9492ac1ec99a8cd33e8fcd7a32406d0e9d226f464134ac4ac6a0"},"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"}},{"id":"CICD-SEC-8","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":"d874c935a06c70648ec5bbe6b5e160012e9c8949a55570626a27458bfc3a5b84"},"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":"fa3a940120d0a4233e1b4806528c5fcd3764f555648f4785ee78b9cccee4a471"},"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":"42b52a420ef5759b8560fcc450c623f1f00b210a29b153b9d237cd789310f3e4"},"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":"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":"759dca709f1a032fb6f624ce672e6afb5558fce53ecf01fb73618c4d33923164"},"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":"b12726741b9af8cb54f17bc409b923de2966386e3f66dd5eae7dcac74dbda681"},"taxa":[{"id":"CICD-SEC-4","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":"eeb6de5c1a47ca8d1c50dbec513e0eafabece5df69b0090ba59b6d2691d20697"},"taxa":[{"id":"CICD-SEC-4","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":"b147f45c65755f35f7294a831b48b50bbb729a9de3ce132bebc8041b4d1be7c2"},"taxa":[{"id":"CICD-SEC-4","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":"37fc2b6a406824534aea308cbf35134c099d54a50ee061f970deed7c7f0ffb1e"},"taxa":[{"id":"CICD-SEC-4","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":"605b5bbc1d17a87c731f02cdacb08d19aff009e98cb33b1942661b483b25edac"},"taxa":[{"id":"CICD-SEC-4","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":"M4","level":"note","message":{"text":"README/code drift: Benchmarks/README.md links to \u0060../benchmarks/results/[e-mail redacted]\u0060, but \u0060benchmarks/results/[e-mail redacted]\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Benchmarks/README.md"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a72742fa6af9f5ea569157c278bfb7f2cccf2aa9aa3c7aa2041944f9e64e53"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: Benchmarks/README.md links to \u0060../benchmarks/results/[e-mail redacted]\u0060, but \u0060benchmarks/results/[e-mail redacted]\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Benchmarks/README.md"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c58f81185a1c3ad078f77b1468a758e8d9989cf7a72f9e21d85bf9f2c98b79"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: Benchmarks/README.md links to \u0060../benchmarks/results/[e-mail redacted]\u0060, but \u0060benchmarks/results/[e-mail redacted]\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Benchmarks/README.md"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"f196f50f39604f2754ab28ece89991b267d12224fef9e7a2bf4b5a6334f56432"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: Benchmarks/README.md links to \u0060../benchmarks/results/[e-mail redacted]\u0060, but \u0060benchmarks/results/[e-mail redacted]\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Benchmarks/README.md"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"40195117a7a77a3be5ce76fcfc84e958aff2d9dfe6aa492ba5945119440cf26d"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: Benchmarks/README.md links to \u0060../benchmarks/results/plot-historical.svg\u0060, but \u0060benchmarks/results/plot-historical.svg\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Benchmarks/README.md"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d12e5d726c7ee721e9d6bdbec2f0da62574039a91606a1f97d69108302db1c"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: Benchmarks/README.md links to \u0060../benchmarks/results/plot-historical-detail.svg\u0060, but \u0060benchmarks/results/plot-historical-detail.svg\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Benchmarks/README.md"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9c4629dd2ba60b0c94b94bd7fbdccce71e8a0127e11d9b21ca8cabe2bdede0"}},{"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 7 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":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/Documentation.yml"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P4","level":"note","message":{"text":"No release approval gate: The release is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY\u0027S PIPELINE FILES. What was read: every file under \u0060.github/workflows/\u0060, \u0060.forgejo/workflows/\u0060, \u0060.gitea/workflows/\u0060, \u0060.azuredevops/\u0060 and \u0060.azure-pipelines/\u0060, plus \u0060.gitlab-ci*\u0060 and \u0060azure-pipelines*\u0060 \u2014 with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab\u0027s \u0060when: manual\u0060, CircleCI\u0027s \u0060type: approval\u0060, an Azure \u0060ManualValidation@\u0060 task or an \u0060approvals:\u0060 block, a Jenkins \u0060input\u0060 step, a \u0060uses:\u0060 step naming an approval action, an \u0060environment:\u0060 paired with \u0060reviewers\u0060 / \u0060required_reviewers\u0060 / \u0060protection\u0060 / \u0060wait-timer\u0060 / \u0060deployment_branch_policy\u0060, a draft-release step, a \u0060workflow_dispatch\u0060 promotion, or a release-event gate. \u2605 What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy \u2014 all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever the release trigger points at is published to users unreviewed, so a mistagged or unverified commit ships and the only remedy is a follow-up release."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/SemanticRelease.yml"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}}],"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-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-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-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-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-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":"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/"}]},{"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-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"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":35,"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."]}]}