{"$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":"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":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"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":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02: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":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"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":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"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":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"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":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"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":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"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":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"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":"Definition.isColorInCategory (cyclomatic 22): Definition.isColorInCategory has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Colors/Themes/VibrantMuted/Definition.php"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa44ad4b2dce2e4734daadbc714af044b52e5e2eb797561602c1ec112daba882"}},{"ruleId":"D1","level":"warning","message":{"text":"OrientModifier.apply (cyclomatic 16): OrientModifier.apply has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Drivers/Imagick/Modifiers/OrientModifier.php"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"a89f889fce92aa84c4dd8e7b6b25eee489d0629a67ac02e9d81cb181a91a1b94"}},{"ruleId":"D2","level":"warning","message":{"text":"Definition.isColorInCategory (cognitive 16): Definition.isColorInCategory has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 15, match/switch 1. 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":"src/Colors/Themes/VibrantMuted/Definition.php"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"46284f9b466918aadbc33a2845bf3b1114334899dc415d8c5e9546076def4558"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeObjectDecoder.decode (cognitive 16): NativeObjectDecoder.decode has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 pts), error handling 4 (5 pts), ternaries 1 (2 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Drivers/Imagick/Decoders/NativeObjectDecoder.php"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"db67d69cb4e9839fbe2d713496bc771c8021a53a8260aa14f1eb94fa40098042"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Image: TooManyMethods \u2014 77 methods. The bar is 30 methods; this is 47 over it, 2.57\u00D7 the bar. Most of these members implement Interfaces.ImageInterface (70 of 77 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Image.php"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"110fc9a2ce9de073cd5144aef31fab90534c242f4039b7338f394ef6bf662422"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NamedColor.toHex: MethodTooLong \u2014 toHex runs 141 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 41 over it, 1.41\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":"src/Colors/Rgb/NamedColor.php"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"00573d36b96db35f9ba69e6c713a62bc7b42ae6e8677963093ba79542fb87b8c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Size: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Size.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ddcb676a61f5b899f9944f41c63d0f548d380ce4736738480a5af0d742eb1f1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Polygon: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Geometry/Polygon.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08c6ae5d82699e0c6b2d115f1f4cde435a4eb90131189758821fdd887580b7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): src/Drivers/Imagick/Encoders/AvifEncoder.php:31-54 | src/Drivers/Imagick/Encoders/HeicEncoder.php:30-50 | src/Drivers/Imagick/Encoders/Jpeg2000Encoder.php:30-55 | src/Drivers/Imagick/Encoders/JpegEncoder.php:30-72 | src/Drivers/Imagick/Encoders/JxlEncoder.php:30-50 | src/Drivers/Imagick/Encoders/TiffEncoder.php:33-55 | src/Drivers/Imagick/Encoders/WebpEncoder.php:36-75 \u2014 These 7 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 7 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 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Drivers/Imagick/Encoders/AvifEncoder.php"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc5b80682f6f53b222ccd5f5a25922228ade7a9f347d471f340448bd4c17046"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): src/Colors/Cmyk/Color.php:61-76 | src/Colors/Hsl/Color.php:59-74 | src/Colors/Hsv/Color.php:59-74 | src/Colors/Oklab/Color.php:59-74 | src/Colors/Oklch/Color.php:59-74 | src/Colors/Rgb/Color.php:60-77 \u2014 These 6 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 6 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 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Colors/Cmyk/Color.php"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"4059cf0305eca33d069dcc87e3f2d7bc0fc2d3b00098c7cd9e877c2e03d1979c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): src/Colors/Cmyk/Colorspace.php:45-65 | src/Colors/Hsl/Colorspace.php:45-65 | src/Colors/Hsv/Colorspace.php:45-65 | src/Colors/Oklab/Colorspace.php:44-64 | src/Colors/Oklch/Colorspace.php:49-69 | src/Colors/Rgb/Colorspace.php:48-68 \u2014 These 6 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 6 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 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Colors/Cmyk/Colorspace.php"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"94741787635496d6ee18a44e8790723aa895ac8a342bc73701e7035ce3424100"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/Drivers/Imagick/Modifiers/DrawBezierModifier.php:31-40 | src/Drivers/Imagick/Modifiers/DrawEllipseModifier.php:30-39 | src/Drivers/Imagick/Modifiers/DrawPolygonModifier.php:30-39 | src/Drivers/Imagick/Modifiers/DrawRectangleModifier.php:30-39 \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":"src/Drivers/Imagick/Modifiers/DrawBezierModifier.php"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"55a0b0506c6c87a1eb111d7284f7a9e66c857bae276ad26833dbb371984c95e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): src/Alignment.php:150-182 | src/Alignment.php:190-222 \u2014 These two members are one piece of code written twice and then edited apart: 33 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":"src/Alignment.php"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"000b6b3ecf246619fcc99510f53f224bd893237c76e4f1ddc8a8d5e7ab2aff77"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): src/Colors/Rgb/Colorspace.php:121-150 | src/Colors/Rgb/Colorspace.php:161-191 \u2014 These two members are one piece of code written twice and then edited apart: 30 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":"src/Colors/Rgb/Colorspace.php"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ec4b17c3a2114f5fe602dfbfc580c58118eca465530dc04e35e2dec97e99e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): src/FileExtension.php:45-81 | src/MediaType.php:53-89 \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":"src/FileExtension.php"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0d338dc0bc8f19f3e934e123cf4256460ee3bd17bdc523970c1633a026c586"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src/Geometry/Tools/Resizer.php:205-224 | src/Geometry/Tools/Resizer.php:234-267 \u2014 These two members are one piece of code written twice and then edited apart: 20 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":"src/Geometry/Tools/Resizer.php"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"299079c7c2ac4032e535038345f2d6e2774920f536f1d139ebb176b3ef7bfa46"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): src/Drivers/Imagick/Modifiers/ContainModifier.php:134-158 | src/Drivers/Imagick/Modifiers/ContainModifier.php:172-196 \u2014 These two members are one piece of code written twice and then edited apart: 25 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":"src/Drivers/Imagick/Modifiers/ContainModifier.php"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"1528bf43815b17f0684922c175eb888ac656ae2e96d3cccd3ae94f6a6e5f19d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src/Drivers/Gd/Modifiers/DrawBezierModifier.php:139-155 | src/Drivers/Gd/Modifiers/DrawBezierModifier.php:165-186 \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":"src/Drivers/Gd/Modifiers/DrawBezierModifier.php"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"8055a1d00b4dd5a879e9be79e6716b41e7d8c81dca31f5d905aac22408004136"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src/Geometry/Polygon.php:282-297 | src/Geometry/Polygon.php:307-322 \u2014 These two members are one piece of code written twice and then edited apart: 16 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":"src/Geometry/Polygon.php"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"1949d23db3906b0ad1ae5fd31a9d0f94fce1928413ab73abf204038388e8b1bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): src/Drivers/Imagick/Modifiers/DrawEllipseModifier.php:51-75 | src/Drivers/Imagick/Modifiers/DrawRectangleModifier.php:49-71 \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":"src/Drivers/Imagick/Modifiers/DrawEllipseModifier.php"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef7ff4b85b8412dd89a548df0588c64af0b667868cd2119fc8fcda6ca9b3b65"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/Drivers/Gd/Modifiers/DrawPolygonModifier.php:28-41 | src/Drivers/Gd/Modifiers/DrawRectangleModifier.php:29-43 \u2014 These two members are one piece of code written twice and then edited apart: 14 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":"src/Drivers/Gd/Modifiers/DrawPolygonModifier.php"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd8c4421b4c6c72c24f5828bdb66736c39fafb7718c8d807ed83186f4f7ee3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): src/Drivers/Imagick/Encoders/BmpEncoder.php:30-46 | src/Drivers/Imagick/Encoders/GifEncoder.php:30-50 | src/Drivers/Imagick/Encoders/IcoEncoder.php:29-45 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 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":"src/Drivers/Imagick/Encoders/BmpEncoder.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc64c79d1eed0df4e95b99d87b3985a9e849214cc846ed307f053ea553f9a6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 16\u002B corresponding lines): src/Colors/Cmyk/Color.php:152-169 | src/Colors/Hsl/Color.php:143-158 | src/Colors/Hsv/Color.php:141-156 | src/Colors/Oklab/Color.php:141-156 | src/Colors/Oklch/Color.php:141-156 | src/Colors/Rgb/Color.php:160-175 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 16 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Colors/Cmyk/Color.php"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"76b4c808ed27ad3924b3efc7a28b9bbd200f0b3dc5bd3ae435a12e7969d94a92"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/Geometry/Tools/Resizer.php:279-291 | src/Geometry/Tools/Resizer.php:303-315 \u2014 These two members are one piece of code written twice and then edited apart: 13 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":"src/Geometry/Tools/Resizer.php"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ec6a4ae37ab5ff9c0c64dadb787d2222f1bfec90b131e8710b840ebf0e5374"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src/Drivers/AbstractDriver.php:56-73 | src/Drivers/AbstractDriver.php:87-103 \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":"src/Drivers/AbstractDriver.php"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f68b1fa3b79bad9e0510fa0ed58a4d6abeabd6828dd399a3c82f24f5d921a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): src/Drivers/Imagick/Modifiers/BrightnessModifier.php:20-36 | src/Drivers/Imagick/Modifiers/SharpenModifier.php:20-36 \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":"src/Drivers/Imagick/Modifiers/BrightnessModifier.php"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3823d319f1f837767bb305ee60cb1b30640bc62584a8743717e7489eea20e5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): src/Drivers/Gd/Modifiers/CoverModifier.php:48-65 | src/Drivers/Gd/Modifiers/ResizeModifier.php:46-63 \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":"src/Drivers/Gd/Modifiers/CoverModifier.php"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"661d26e8168e06b6b9e474ee7bb32d4e8bcc44e866d252da8fbdc121ade24f0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 14\u002B corresponding lines): src/Colors/Cmyk/Colorspace.php:124-137 | src/Colors/Hsl/Colorspace.php:189-202 | src/Colors/Hsv/Colorspace.php:184-197 | src/Colors/Oklab/Colorspace.php:162-175 | src/Colors/Oklch/Colorspace.php:126-139 | src/Colors/Oklch/Colorspace.php:149-162 | src/Colors/Rgb/Colorspace.php:249-264 \u2014 These 7 members are one piece of code written 7 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Colors/Cmyk/Colorspace.php"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ba27a5efbcf945145e77486e306c40321eb746f77374e48aedb1ee13c69933"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 17\u002B corresponding lines): src/Drivers/Imagick/Modifiers/ContrastModifier.php:23-41 | src/Drivers/Imagick/Modifiers/InvertModifier.php:22-40 | src/Drivers/Imagick/Modifiers/ProfileModifier.php:20-38 | src/Drivers/Imagick/Modifiers/StripMetaModifier.php:128-144 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 17 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Drivers/Imagick/Modifiers/ContrastModifier.php"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0af61a4eb6a7db7707392d83f755e11606d2bfa511bd3325851e96b56c7b36"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/Drivers/Gd/Modifiers/ContainModifier.php:34-46 | src/Drivers/Gd/Modifiers/CropModifier.php:34-46 \u2014 These two members are one piece of code written twice and then edited apart: 13 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":"src/Drivers/Gd/Modifiers/ContainModifier.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5066166e8062dd38cc26767ad85eca34dbd60b230907be21f40caea2a2e937"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/Geometry/Tools/Resizer.php:157-169 | src/Geometry/Tools/Resizer.php:179-195 \u2014 These two members are one piece of code written twice and then edited apart: 13 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":"src/Geometry/Tools/Resizer.php"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2368cace0976649ac5dfa5be93e4f8ee9d7d3fb83e140173d81510b7c814e4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 12\u002B corresponding lines): src/Colors/Cmyk/Colorspace.php:77-88 | src/Colors/Hsl/Colorspace.php:77-88 | src/Colors/Hsv/Colorspace.php:78-89 | src/Colors/Oklab/Colorspace.php:76-87 | src/Colors/Oklch/Colorspace.php:81-92 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Colors/Cmyk/Colorspace.php"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"627898ece44ae5450913dd922cb362b7670d829dfe876886426702ea1bb216ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/Drivers/Imagick/Modifiers/TextModifier.php:67-77 | src/Drivers/Imagick/Modifiers/TextModifier.php:89-103 \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":"src/Drivers/Imagick/Modifiers/TextModifier.php"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"d91f909eb33716ca6532cfc79affec61c7abbf6868fc2890c599cfe253555872"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/Drivers/Gd/Modifiers/FillModifier.php:28-40 | src/Drivers/Imagick/Modifiers/FillModifier.php:29-41 \u2014 These two members are one piece of code written twice and then edited apart: 13 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":"src/Drivers/Gd/Modifiers/FillModifier.php"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"9805cb2e324a13a1016a257473f0430619b03d051f7ee741f3d0e37e2a6933a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src/Traits/CanDetectImageSources.php:47-68 | src/Traits/CanDetectImageSources.php:94-113 \u2014 These two members are one piece of code written twice and then edited apart: 20 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":"src/Traits/CanDetectImageSources.php"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7bd4ceb8d22667c1cef9da1eb01fa449c2b31eb8963e8e332e59b1e70666656"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/Drivers/Gd/Modifiers/DrawRectangleModifier.php:53-62 | src/Drivers/Gd/Modifiers/DrawRectangleModifier.php:72-81 \u2014 These two members are one piece of code written twice and then edited apart: 10 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":"src/Drivers/Gd/Modifiers/DrawRectangleModifier.php"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a8309420b008af8e5fbc4ba1595c4745dfbdf252dbc2a490c5e9db0fe21ca5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/Drivers/Gd/Modifiers/DrawEllipseModifier.php:28-35 | src/Drivers/Gd/Modifiers/DrawLineModifier.php:24-34 \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":"src/Drivers/Gd/Modifiers/DrawEllipseModifier.php"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea38ebcea4eab3a2472d7668e1fe1a64da0f90312c9da94c4030433b47afc7ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/Drivers/Imagick/Modifiers/DrawLineModifier.php:30-38 | src/Drivers/Imagick/Modifiers/DrawPixelModifier.php:30-38 \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":"src/Drivers/Imagick/Modifiers/DrawLineModifier.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc59104a869dd47b114c07eb8aa7cd88193a52f55c7880b941cbf4656a0db2f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/Drivers/Gd/Modifiers/BrightnessModifier.php:23-37 | src/Drivers/Gd/Modifiers/PixelateModifier.php:23-32 \u2014 These two members are one piece of code written twice and then edited apart: 10 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":"src/Drivers/Gd/Modifiers/BrightnessModifier.php"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"605090e2fd79eb0c6404561b632f838c929308c8e30519ab95d56070a6464709"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): src/Geometry/Rectangle.php:322-325 | src/Size.php:224-227 \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":"src/Geometry/Rectangle.php"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"a76b8d815f549ec5a00b45bd60a8496f5b40525d65ade4e5e74d490b5c6b815d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/Geometry/Ellipse.php:133-141 | src/Geometry/Line.php:157-166 \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":"src/Geometry/Ellipse.php"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed649b1b4a6e003b2ca3bad01da15ce1809ebce467fe97e2596c198eee4b4c88"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/Drivers/Gd/Modifiers/GrayscaleModifier.php:23-32 | src/Drivers/Gd/Modifiers/SharpenModifier.php:23-33 \u2014 These two members are one piece of code written twice and then edited apart: 10 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":"src/Drivers/Gd/Modifiers/GrayscaleModifier.php"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c81dee4b0ac84e74169f79b89cc4256e0463ef1bcb8036fc1061c1a2d3c7925d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): src/Geometry/Rectangle.php:33-50 | src/Resolution.php:30-40 | src/Size.php:36-46 \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":"src/Geometry/Rectangle.php"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"099180743c40411831d6a4e22cc3ea5d3d55d1c36632db267e57fe54f4eaf403"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/Drivers/Gd/Modifiers/ContrastModifier.php:23-30 | src/Drivers/Gd/Modifiers/InvertModifier.php:23-30 \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":"src/Drivers/Gd/Modifiers/ContrastModifier.php"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ecccd624adc838a481f66b56c1e1f7765109fd0ed38c3c9d181a341a878e084"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/Colors/FloatColorChannel.php:28-34 | src/Colors/IntegerColorChannel.php:28-34 \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":"src/Colors/FloatColorChannel.php"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"856359f66e9bb3b9cb99098edb3fb29e8e3d4345bb907b64056c115a4697fdaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/Geometry/Factories/EllipseFactory.php:22-26 | src/Geometry/Factories/RectangleFactory.php:24-28 \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":"src/Geometry/Factories/EllipseFactory.php"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"875b95241833f1fb1d67353e09711604eca52e8c58ffa466fcfa6b360517a8f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2): src/Geometry/Rectangle.php:248-291 | src/Size.php:152-195 \u2014 before extracting anything, compare \u0060src/Geometry/Rectangle.php\u0060 and \u0060src/Size.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 117 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Geometry/Rectangle.php"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc599230dd978af4f45ef80dd5ff6031d95554158ca4458d3145df52012e7c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): src/Drivers/Gd/Decoders/StreamImageDecoder.php:42-68 | src/Drivers/Imagick/Decoders/StreamImageDecoder.php:39-64 \u2014 before extracting anything, compare \u0060src/Drivers/Gd/Decoders/StreamImageDecoder.php\u0060 and \u0060src/Drivers/Imagick/Decoders/StreamImageDecoder.php\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"src/Drivers/Gd/Decoders/StreamImageDecoder.php"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2fe199907638bdc4d144683365f8ea3d72c4ddfe98cd723c4fc193973dcf427"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 6): src/Colors/Cmyk/Colorspace.php:45-65 | src/Colors/Hsl/Colorspace.php:45-65 | src/Colors/Hsv/Colorspace.php:45-65 | src/Colors/Oklab/Colorspace.php:44-64 | src/Colors/Oklch/Colorspace.php:49-69 | src/Colors/Rgb/Colorspace.php:48-68 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 6 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 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Colors/Cmyk/Colorspace.php"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc298242bbaadf13bf01b3df19664f4c92ce926bab94d084ad71fd197406d659"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/Drivers/Gd/Decoders/DataUriImageDecoder.php:42-60 | src/Drivers/Imagick/Decoders/DataUriImageDecoder.php:42-60 \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":"src/Drivers/Gd/Decoders/DataUriImageDecoder.php"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b74a391e8a2dfb4b5eef3b6e18d531bf202ed37f9bd5e5a71e038f27ce96fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 6): src/Colors/Cmyk/Color.php:61-76 | src/Colors/Hsl/Color.php:59-74 | src/Colors/Hsv/Color.php:59-74 | src/Colors/Oklab/Color.php:59-74 | src/Colors/Oklch/Color.php:59-74 | src/Colors/Rgb/Color.php:60-77 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 6 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 6 times. Note first that the copies are not typed on the same thing: \u0060Alpha\u0060 names \u0060Intervention\\Image\\Colors\\Cmyk\\Channels\\Alpha\u0060 in one and \u0060Intervention\\Image\\Colors\\Hsl\\Channels\\Alpha\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, 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":"src/Colors/Cmyk/Color.php"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1c22a3524c85c8099f874e0dc1111f96d13db89e8a19a0c4dfdceac4a241be3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/Colors/Hsl/Decoders/StringColorDecoder.php:53-69 | src/Colors/Hsv/Decoders/StringColorDecoder.php:53-69 \u2014 before extracting anything, compare \u0060src/Colors/Hsl/Decoders/StringColorDecoder.php\u0060 and \u0060src/Colors/Hsv/Decoders/StringColorDecoder.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Colors/Hsl/Decoders/StringColorDecoder.php:53\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: \u0060Color\u0060 names \u0060Intervention\\Image\\Colors\\Hsl\\Color\u0060 in one and \u0060Intervention\\Image\\Colors\\Hsv\\Color\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, 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":"src/Colors/Hsl/Decoders/StringColorDecoder.php"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"601a97656e9b742d02776ec999e286a6430709191097f2245096c220ab29800d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): src/Drivers/Imagick/Modifiers/ColorspaceModifier.php:35-50 | src/Drivers/Imagick/Modifiers/GrayscaleModifier.php:34-48 \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 \u0060src/Drivers/Imagick/Modifiers/ColorspaceModifier.php:35\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":"src/Drivers/Imagick/Modifiers/ColorspaceModifier.php"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5236843bef1eff963a7f84566230b19d34fa7c5e73d9abb356598ec01b1ff19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/Drivers/Gd/Modifiers/ContainModifier.php:87-101 | src/Drivers/Gd/Modifiers/ResizeModifier.php:49-63 \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":"src/Drivers/Gd/Modifiers/ContainModifier.php"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e16aed9802831b816681b25ba54f589080033a86aa7b5bf98f81834da44cfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/Drivers/Imagick/Encoders/HeicEncoder.php:34-48 | src/Drivers/Imagick/Encoders/JxlEncoder.php:34-48 \u2014 before extracting anything, compare \u0060src/Drivers/Imagick/Encoders/HeicEncoder.php\u0060 and \u0060src/Drivers/Imagick/Encoders/JxlEncoder.php\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 48 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 \u0060src/Drivers/Imagick/Encoders/HeicEncoder.php:34\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":"src/Drivers/Imagick/Encoders/HeicEncoder.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec35ef477fc4ff8573415ba53f7042efcd2aecc55a85e6cfb9ecc43800babc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Drivers/Gd/Decoders/HttpResponseImageDecoder.php:44-57 | src/Drivers/Imagick/Decoders/HttpResponseImageDecoder.php:44-57 \u2014 before extracting anything, compare \u0060src/Drivers/Gd/Decoders/HttpResponseImageDecoder.php\u0060 and \u0060src/Drivers/Imagick/Decoders/HttpResponseImageDecoder.php\u0060 as WHOLE FILES: 93% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"src/Drivers/Gd/Decoders/HttpResponseImageDecoder.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b4ecd67ca6950b5a2af74a1c48e5f6f6a6ceee1171aac52c501176194eeef02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Drivers/Imagick/Encoders/BmpEncoder.php:30-43 | src/Drivers/Imagick/Encoders/IcoEncoder.php:29-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 \u0060src/Drivers/Imagick/Encoders/BmpEncoder.php:30\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":"src/Drivers/Imagick/Encoders/BmpEncoder.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f71d4836ec97c2fe053f4d75a8ef31705a24d29078d178ce9faac7e61e3ac4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Drivers/Imagick/Modifiers/ContainModifier.php:146-158 | src/Drivers/Imagick/Modifiers/ContainModifier.php:184-196 \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 \u0060src/Drivers/Imagick/Modifiers/ContainModifier.php:146\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":"src/Drivers/Imagick/Modifiers/ContainModifier.php"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"31fadf93c29786841ca3d788e518c5d5a4fd7c97dfb3420af5b5cc1c437f1c6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): src/Colors/Cmyk/Colorspace.php:126-137 | src/Colors/Hsl/Colorspace.php:191-202 | src/Colors/Hsv/Colorspace.php:186-197 \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 \u0060src/Colors/Cmyk/Colorspace.php:126\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Colors/Cmyk/Colorspace.php"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4bd56fe47b2fec9a2361c10ff49b28ac931ac47d463a1948c2f0968c2b597d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Drivers/Gd/Modifiers/ResizeCanvasModifier.php:25-35 | src/Drivers/Imagick/Modifiers/ResizeCanvasModifier.php:23-33 \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":"src/Drivers/Gd/Modifiers/ResizeCanvasModifier.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"c318191ce71e3727decb1b8b0ac2afe2b4b450ed222e7f1b9532007e7f96bd3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Drivers/Imagick/Encoders/AvifEncoder.php:41-51 | src/Drivers/Imagick/Encoders/Jpeg2000Encoder.php:42-52 \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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Drivers/Imagick/Encoders/Jpeg2000Encoder.php:40\u0060 calls \u0060setImageBackgroundColor\u0060, \u0060setBackgroundColor\u0060 and \u0060src/Drivers/Imagick/Encoders/AvifEncoder.php:40\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":"src/Drivers/Imagick/Encoders/AvifEncoder.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"61462672229348bc2835c75c4f3243ff8ef365cd9e6f4bc24c9628dfe3864c75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/Drivers/Imagick/Encoders/AvifEncoder.php:45-54 | src/Drivers/Imagick/Encoders/HeicEncoder.php:41-50 | src/Drivers/Imagick/Encoders/JxlEncoder.php:41-50 \u2014 before extracting anything, compare \u0060src/Drivers/Imagick/Encoders/HeicEncoder.php\u0060 and \u0060src/Drivers/Imagick/Encoders/JxlEncoder.php\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 48 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 \u0060src/Drivers/Imagick/Encoders/AvifEncoder.php:45\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Drivers/Imagick/Encoders/AvifEncoder.php:43\u0060 calls \u0060setCompression\u0060, \u0060setImageCompression\u0060 and \u0060src/Drivers/Imagick/Encoders/HeicEncoder.php:40\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":"src/Drivers/Imagick/Encoders/AvifEncoder.php"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6756e3768da0b0c9a6782d011b659f7364534be73f11129a63680c8e7afc498"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Colors/Hsl/Colorspace.php:131-140 | src/Colors/Hsl/Colorspace.php:170-179 \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 \u0060src/Colors/Hsl/Colorspace.php:131\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":"src/Colors/Hsl/Colorspace.php"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc0700b42492e42d10e79a1c59cdf8b90f5298d4735fd323006fb143d93f05b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Colors/Oklab/Colorspace.php:164-173 | src/Colors/Oklch/Colorspace.php:128-137 \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 \u0060src/Colors/Oklab/Colorspace.php:164\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":"src/Colors/Oklab/Colorspace.php"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc9b81efcb639d659a202d12ccb9338fc5379d44862acb97ca022607686b8fa8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Colors/Oklch/Colorspace.php:126-135 | src/Colors/Rgb/Colorspace.php:249-259 \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 \u0060src/Colors/Oklch/Colorspace.php:126\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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Colors/Oklch/Colorspace.php"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dabc2a4d4cd1a662ea00ee125afd67dc47ad645e649475356fef2af10503f29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Drivers/Imagick/Encoders/AvifEncoder.php:31-40 | src/Drivers/Imagick/Encoders/WebpEncoder.php:36-45 \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 \u0060src/Drivers/Imagick/Encoders/AvifEncoder.php:31\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":"src/Drivers/Imagick/Encoders/AvifEncoder.php"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"68aeacfab5bc49e5ffa1854adcf5c8f54d6b3966f17177999f5ec1b7a8d93eea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Drivers/Imagick/Encoders/Jpeg2000Encoder.php:46-55 | src/Drivers/Imagick/Encoders/TiffEncoder.php:46-55 \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 \u0060src/Drivers/Imagick/Encoders/Jpeg2000Encoder.php:46\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":"src/Drivers/Imagick/Encoders/Jpeg2000Encoder.php"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"709d24d9b0389bd84f219c3c600024cc09aebcbb5ee9b14d47697c02bd354677"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Geometry/Bezier.php:233-242 | src/Geometry/Polygon.php:426-435 \u2014 before extracting anything, compare \u0060src/Geometry/Bezier.php\u0060 and \u0060src/Geometry/Polygon.php\u0060 as WHOLE FILES: 82% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Geometry/Bezier.php"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc23d4bb5879468e7b07e2309ddd5fdf82604217b6a3b3cc93c581bf102fb548"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): src/Drivers/Imagick/Modifiers/DrawBezierModifier.php:32-40 | src/Drivers/Imagick/Modifiers/DrawEllipseModifier.php:31-39 | src/Drivers/Imagick/Modifiers/DrawPolygonModifier.php:31-39 | src/Drivers/Imagick/Modifiers/DrawRectangleModifier.php:31-39 \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 all 4 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Drivers/Imagick/Modifiers/DrawBezierModifier.php:32\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":"src/Drivers/Imagick/Modifiers/DrawBezierModifier.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"be50b3c1938d059c88de36f474a57b5d83016f8462e193db5a9f37f17589c521"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src/Colors/Hsl/Decoders/StringColorDecoder.php:59-67 | src/Colors/Hsv/Decoders/StringColorDecoder.php:59-67 | src/Colors/Rgb/Decoders/StringColorDecoder.php:62-70 \u2014 before extracting anything, compare \u0060src/Colors/Hsl/Decoders/StringColorDecoder.php\u0060 and \u0060src/Colors/Hsv/Decoders/StringColorDecoder.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Colors/Hsl/Decoders/StringColorDecoder.php:59\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Colors/Hsl/Decoders/StringColorDecoder.php"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"254cd60fe927de55051949dc896f0992678e8e1e3121523d003b468cb384d4b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src/Drivers/Imagick/Encoders/HeicEncoder.php:30-38 | src/Drivers/Imagick/Encoders/JxlEncoder.php:30-38 | src/Drivers/Imagick/Encoders/TiffEncoder.php:33-41 \u2014 before extracting anything, compare \u0060src/Drivers/Imagick/Encoders/HeicEncoder.php\u0060 and \u0060src/Drivers/Imagick/Encoders/JxlEncoder.php\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 48 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 \u0060src/Drivers/Imagick/Encoders/HeicEncoder.php:30\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":"src/Drivers/Imagick/Encoders/HeicEncoder.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc2fc055bb9fae4870fdaa96adb61d1358ec0868333c8e6fade8af1a2f108e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): src/Drivers/Imagick/Encoders/AvifEncoder.php:35-42 | src/Drivers/Imagick/Encoders/HeicEncoder.php:33-40 | src/Drivers/Imagick/Encoders/JxlEncoder.php:33-40 | src/Drivers/Imagick/Encoders/TiffEncoder.php:36-43 \u2014 before extracting anything, compare \u0060src/Drivers/Imagick/Encoders/HeicEncoder.php\u0060 and \u0060src/Drivers/Imagick/Encoders/JxlEncoder.php\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 48 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 \u0060src/Drivers/Imagick/Encoders/AvifEncoder.php:35\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, \u0060src/Drivers/Imagick/Encoders/AvifEncoder.php:43\u0060 calls \u0060setCompression\u0060, \u0060setImageCompression\u0060 and \u0060src/Drivers/Imagick/Encoders/HeicEncoder.php:41\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":"src/Drivers/Imagick/Encoders/AvifEncoder.php"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"601c41cadb69f4cf85ead1af044409fcb962a2584822d4f6a67413bae77adf11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Drivers/Gd/Modifiers/DrawBezierModifier.php:264-270 | src/Drivers/Gd/Modifiers/DrawBezierModifier.php:273-279 \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":"src/Drivers/Gd/Modifiers/DrawBezierModifier.php"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"794cd8c7055b90832d2b5c03319cc07c9cab5454c81b237afdf1d0fa59a8b95f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): src/Drivers/Imagick/Encoders/AvifEncoder.php:35-40 | src/Drivers/Imagick/Encoders/HeicEncoder.php:33-38 | src/Drivers/Imagick/Encoders/Jpeg2000Encoder.php:34-39 | src/Drivers/Imagick/Encoders/JpegEncoder.php:46-51 | src/Drivers/Imagick/Encoders/JxlEncoder.php:33-38 | src/Drivers/Imagick/Encoders/TiffEncoder.php:36-41 \u2014 before extracting anything, compare \u0060src/Drivers/Imagick/Encoders/HeicEncoder.php\u0060 and \u0060src/Drivers/Imagick/Encoders/JxlEncoder.php\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 48 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 \u0060src/Drivers/Imagick/Encoders/AvifEncoder.php:35\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, \u0060src/Drivers/Imagick/Encoders/Jpeg2000Encoder.php:40\u0060 calls \u0060setImageBackgroundColor\u0060, \u0060setBackgroundColor\u0060 and \u0060src/Drivers/Imagick/Encoders/AvifEncoder.php:41\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":"src/Drivers/Imagick/Encoders/AvifEncoder.php"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"1923b68a0c1620cc3bc6bf7d892eb66c0848a17086a0d1994acddca003e840f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/Colors/Hsl/Decoders/StringColorDecoder.php:52-57 | src/Colors/Hsv/Decoders/StringColorDecoder.php:52-57 | src/Colors/Rgb/Decoders/StringColorDecoder.php:54-60 \u2014 before extracting anything, compare \u0060src/Colors/Hsl/Decoders/StringColorDecoder.php\u0060 and \u0060src/Colors/Hsv/Decoders/StringColorDecoder.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Colors/Hsl/Decoders/StringColorDecoder.php:52\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":"src/Colors/Hsl/Decoders/StringColorDecoder.php"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a102f2781e64db4ee2b78e9f75bad0122cfb0f2a76b0b577ba17eb5cbaad87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/Drivers/Gd/Decoders/Base64ImageDecoder.php:21-41 | src/Drivers/Imagick/Decoders/Base64ImageDecoder.php:23-43 \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 \u0060src/Drivers/Gd/Decoders/Base64ImageDecoder.php:21\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":"src/Drivers/Gd/Decoders/Base64ImageDecoder.php"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"2139b0f389c5742cb9418d99c16977d67f35d35078655f5e1e809f9a28cc3bd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/Drivers/Gd/Decoders/EncodedImageObjectDecoder.php:26-50 | src/Drivers/Imagick/Decoders/EncodedImageObjectDecoder.php:25-48 \u2014 before extracting anything, compare \u0060src/Drivers/Gd/Decoders/EncodedImageObjectDecoder.php\u0060 and \u0060src/Drivers/Imagick/Decoders/EncodedImageObjectDecoder.php\u0060 as WHOLE FILES: 83% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Drivers/Gd/Decoders/EncodedImageObjectDecoder.php:26\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":"src/Drivers/Gd/Decoders/EncodedImageObjectDecoder.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a22c7500c4d8a33584b27b721c448b898ddbf94306620b023f89244d025bc50d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): src/Drivers/Gd/Decoders/Psr7StreamImageDecoder.php:27-62 | src/Drivers/Imagick/Decoders/Psr7StreamImageDecoder.php:27-62 \u2014 before extracting anything, compare \u0060src/Drivers/Gd/Decoders/Psr7StreamImageDecoder.php\u0060 and \u0060src/Drivers/Imagick/Decoders/Psr7StreamImageDecoder.php\u0060 as WHOLE FILES: 93% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Drivers/Gd/Decoders/Psr7StreamImageDecoder.php:27\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":"src/Drivers/Gd/Decoders/Psr7StreamImageDecoder.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c18360de3012c6f4b7ebc7e6ccead7066d8ef8d0cf659259a86b888f1b9878"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): src/Drivers/Gd/Decoders/SplFileInfoImageDecoder.php:28-54 | src/Drivers/Imagick/Decoders/SplFileInfoImageDecoder.php:30-56 \u2014 before extracting anything, compare \u0060src/Drivers/Gd/Decoders/SplFileInfoImageDecoder.php\u0060 and \u0060src/Drivers/Imagick/Decoders/SplFileInfoImageDecoder.php\u0060 as WHOLE FILES: 83% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Drivers/Gd/Decoders/SplFileInfoImageDecoder.php:28\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":"src/Drivers/Gd/Decoders/SplFileInfoImageDecoder.php"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c209d163747be0df90cd97edd74d35decc1f305889256bdafa19ec022a2d2b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): src/Colors/Cmyk/Decoders/StringColorDecoder.php:29-37 | src/Colors/Hsl/Decoders/StringColorDecoder.php:34-42 | src/Colors/Oklab/Decoders/StringColorDecoder.php:37-45 | src/Colors/Oklch/Decoders/StringColorDecoder.php:37-45 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 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 4 times. 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":"src/Colors/Cmyk/Decoders/StringColorDecoder.php"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"326277e99eba73cd1f9c78f774975e27d89cc03f668004cf6dd9814d6e5e3cb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Colors/Hsv/Decoders/StringColorDecoder.php:34-42 | src/Colors/Rgb/Decoders/StringColorDecoder.php:35-43 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Colors/Hsv/Decoders/StringColorDecoder.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"c81e37347e309b498a029e80e92e2c8699be4a0840220cbd3f9cba6d44336ec0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/Colors/Oklab/Decoders/StringColorDecoder.php:78-82 | src/Colors/Oklch/Decoders/StringColorDecoder.php:78-82 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Colors/Oklab/Decoders/StringColorDecoder.php"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d53e458af25af59128b4180af07bc01dd5c6f98d90281af27926b64571cb860"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/Colors/Oklab/Decoders/StringColorDecoder.php:87-91 | src/Colors/Oklch/Decoders/StringColorDecoder.php:87-91 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Colors/Oklab/Decoders/StringColorDecoder.php"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"920890f530f5c22b965e29d3648353ab78b34f2c2748e29d9aca82e8de9e5c30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Drivers/Gd/Analyzers/PixelColorsAnalyzer.php:19-28 | src/Drivers/Imagick/Analyzers/PixelColorsAnalyzer.php:20-29 \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":"src/Drivers/Gd/Analyzers/PixelColorsAnalyzer.php"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"de284fa2c8c0130879d4dbc1eeba491ac113f1fe46f6202de772fd20e14cfaf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src/Drivers/Gd/Modifiers/ContainDownModifier.php:17-25 | src/Drivers/Imagick/Modifiers/ContainDownModifier.php:17-25 | src/Modifiers/ContainDownModifier.php:20-28 \u2014 before extracting anything, compare \u0060src/Drivers/Gd/Modifiers/ContainDownModifier.php\u0060 and \u0060src/Drivers/Imagick/Modifiers/ContainDownModifier.php\u0060 as WHOLE FILES: 82% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"src/Drivers/Gd/Modifiers/ContainDownModifier.php"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3ccee3b710db6cfc90393b74e9f659c57cc4328d3072a422a4f77ad0d46bdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Drivers/Gd/Modifiers/SliceAnimationModifier.php:23-29 | src/Drivers/Imagick/Modifiers/SliceAnimationModifier.php:19-25 \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":"src/Drivers/Gd/Modifiers/SliceAnimationModifier.php"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"16613888e3deb3a1242548e938ad2307cc813e1812b237c72f841152613bd6ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Geometry/Bezier.php:196-202 | src/Geometry/Polygon.php:389-395 \u2014 before extracting anything, compare \u0060src/Geometry/Bezier.php\u0060 and \u0060src/Geometry/Polygon.php\u0060 as WHOLE FILES: 82% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Geometry/Bezier.php"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f306116cd71b110a502cdbc3cbd0be32be693e7e13eae6206637f00e31f652"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Geometry/Rectangle.php:192-200 | src/Size.php:253-261 \u2014 before extracting anything, compare \u0060src/Geometry/Rectangle.php\u0060 and \u0060src/Size.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 117 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"src/Geometry/Rectangle.php"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"188264fa923d4e15db263b3c8ff30993f0f24fc4540759def56e3aad4eda456a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Geometry/Rectangle.php:304-311 | src/Size.php:207-214 \u2014 before extracting anything, compare \u0060src/Geometry/Rectangle.php\u0060 and \u0060src/Size.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 117 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Geometry/Rectangle.php"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a838644fcb31e19cb0ba74fffe493cac83ba17372ceaba5745c155011ce02c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Geometry/Rectangle.php:338-345 | src/Size.php:301-308 \u2014 before extracting anything, compare \u0060src/Geometry/Rectangle.php\u0060 and \u0060src/Size.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 117 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Geometry/Rectangle.php"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac9a2812c710c00765020fa844a5ee50a83b105fb25b30182f9f28e9cff7df93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Geometry/Rectangle.php:358-365 | src/Size.php:320-327 \u2014 before extracting anything, compare \u0060src/Geometry/Rectangle.php\u0060 and \u0060src/Size.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 117 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Geometry/Rectangle.php"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"13128c70c2c51bee6e982c3d17cdf556d2d33555c096e16054460da25443918c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Geometry/Rectangle.php:378-385 | src/Size.php:339-346 \u2014 before extracting anything, compare \u0060src/Geometry/Rectangle.php\u0060 and \u0060src/Size.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 117 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Geometry/Rectangle.php"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b0d823319d12f293275b9a28b57df48e941de1039c6797cfc7d3636774cb15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Geometry/Rectangle.php:398-405 | src/Size.php:358-365 \u2014 before extracting anything, compare \u0060src/Geometry/Rectangle.php\u0060 and \u0060src/Size.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 117 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Geometry/Rectangle.php"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"4025e534d225a86026bb6ad9c56cfa9c817d8ce8a70678c8f5500a348c40c796"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Geometry/Rectangle.php:418-425 | src/Size.php:377-384 \u2014 before extracting anything, compare \u0060src/Geometry/Rectangle.php\u0060 and \u0060src/Size.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 117 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Geometry/Rectangle.php"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"177706c05b501d37d5bf26ef981d79fd0767ace38b8761ba111d8d24eed67edf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Geometry/Rectangle.php:438-445 | src/Size.php:396-403 \u2014 before extracting anything, compare \u0060src/Geometry/Rectangle.php\u0060 and \u0060src/Size.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 117 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Geometry/Rectangle.php"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2fb7fb11462475f0ba394eda93d090d6a2a5b28b7ca68ecc13e867c1dd83bad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Geometry/Rectangle.php:458-465 | src/Size.php:415-422 \u2014 before extracting anything, compare \u0060src/Geometry/Rectangle.php\u0060 and \u0060src/Size.php\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 117 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Geometry/Rectangle.php"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"47bc31a816bb19a71c90cd351e1964764f4cef60891eb73b13706a0e6a72b87d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/Drivers/AbstractEncoder.php:35-41 | src/Drivers/SpecializableAnalyzer.php:23-29 | src/Drivers/SpecializableModifier.php:23-29 \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 all 3 call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Drivers/AbstractEncoder.php"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"12784ecfed2de614cc6f6fc73cc1c603edcd542395496fabb2864a97b45cabac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/Drivers/Imagick/Analyzers/HeightAnalyzer.php:20-24 | src/Drivers/Imagick/Analyzers/WidthAnalyzer.php:20-24 \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":"src/Drivers/Imagick/Analyzers/HeightAnalyzer.php"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"976cd3d83d6f43774b4774bd8aba2df8f238e128e1bc70b6392ae1d17d3daf52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): src/Drivers/Imagick/Core.php:223-227 | src/Drivers/Imagick/Core.php:355-359 | src/Drivers/Imagick/Frame.php:172-176 \u2014 there are 3 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 3 sites; resolving a subset leaves the remainder to drift apart. 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":"src/Drivers/Imagick/Core.php"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c23c43459f17c219592b6b8fa59da73110f58d69656fbf50b0ad7e0c65d0f8"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Font (LCOM4 10): Font\u0027s methods fall into 10 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 10 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":"src/Typography/Font.php"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"2281f6192c86618efe4dcf25968108628402d04a6a0d818d3d12f66b3bbe5316"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Core (LCOM4 5): Core\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":"src/Drivers/Gd/Core.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7a0877467800b392b395bb13e4b568f81d6f9673a0dc7f4a1572ce34fa264b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Ellipse (LCOM4 4): Ellipse\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":"src/Geometry/Ellipse.php"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3e7f365dbd8577be93e48bf26930576b70bcce2f89375afcfc02de323952d4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Drivers/Imagick/Modifiers/OrientModifier.php: src/Drivers/Imagick/Modifiers/OrientModifier.php changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in OrientModifier.apply at line 19. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-01..2026-10-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-01 14:38:01 \u002B01:00\u0027 --until=\u00272026-10-30 14:38:01 \u002B01:00\u0027 --full-history --no-merges -- src/Drivers/Imagick/Modifiers/OrientModifier.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Drivers/Imagick/Modifiers/OrientModifier.php"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c919bcce9dec834a30c0b84d2580217f51fa10ca95034ebaf050e4a5aa129c4"}},{"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":"f098f4f0a7efd6ea4c28241c5ffc7cfcdb991b2e0aa699010038db71f6a44c3f"},"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":"119c6a18209c740481cee472fed5352cbe076651a47d9e86b21e5566391d3826"},"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":"c09e3f2f1176a62108d162c7f93a3e4fd0206e941c7ebcd0751ab9ef0effddea"},"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":"8543c1622d5e20003a24720b4a2ab15b5fde12d0893446c5459c41626a517857"},"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":"153e7ce8262ee8b8fdd762b6169e5dd076483a59488657160e9fddd9abf4f4b8"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08: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":"ae1b19c02e45ba4bf5eb5f89c431b7b65f6d70840ded93580cfba39e2bc2f98c"},"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":"D31","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":"fe2d688610b51e0a5a02c7c5dd1724a4986e40f2689fb84510e2ec0164c27d6a"}},{"ruleId":"D31","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":"be9c57e2fb625c43c271d051f76b97f27b6976f4ec358ef8fea1d9cb5205f460"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","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":"5cfed0ee4e80785ce23c7083cffdead9acc6c64f9dce56a00ca7178bd3d7bee5"},"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":"D31","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":"62ba3f391b97d680ac34e630794a6a7fc0f3b16bd44bab9e323085ff4fa2c944"}},{"ruleId":"D31","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":"9ff1ee9dd5615e2d512c1b5a7eb9a731208830cdc6ec1c07d8913d2a5c081e3c"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: Color.php \u2194 ColorInterface.php: \u0060src/Colors/Rgb/Color.php\u0060 (context Colors) and \u0060src/Interfaces/ColorInterface.php\u0060 (context Interfaces) sit in DIFFERENT parts of the tree yet change together 50% of the time (17 of the 34 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 17 shared commits counted here, the most recent 3 are \u006038b8544f\u0060 Refactor ColorInterface; \u0060715b8136\u0060 Refactor Colors; \u00606afacbe4\u0060 Implement ColorInterface::withBrightnessDelta() \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Colors/Rgb/Color.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6696027accd8106fa381757b908f9b3976fc67ce2043ec5fc48e76e65c7fa576"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: DrawEllipseModifier.php, DrawLineModifier.php, DrawPixelModifier.php, DrawPolygonModifier.php, DrawRectangleModifier.php: 5 files \u2014 \u0060src/Drivers/Imagick/Modifiers/DrawEllipseModifier.php\u0060, \u0060src/Drivers/Imagick/Modifiers/DrawLineModifier.php\u0060, \u0060src/Drivers/Imagick/Modifiers/DrawPixelModifier.php\u0060, \u0060src/Drivers/Imagick/Modifiers/DrawPolygonModifier.php\u0060, \u0060src/Drivers/Imagick/Modifiers/DrawRectangleModifier.php\u0060 \u2014 all change together with no explicit dependency: a fully-connected co-change clique, not 10 separate couplings. They share one concern (thin parallel siblings over a common abstraction), so extract the shared part into ONE unit and the whole clique\u0027s coupling clears at once \u2014 you do not need to break each pair individually."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Drivers/Imagick/Modifiers/DrawEllipseModifier.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f02ae5c201d15b421085426826e9f41e8e7c8d0310d3fd6754e833d9cfffc3"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: DrawEllipseModifier.php, DrawLineModifier.php, DrawPolygonModifier.php, DrawRectangleModifier.php: 4 files \u2014 \u0060src/Drivers/Gd/Modifiers/DrawEllipseModifier.php\u0060, \u0060src/Drivers/Gd/Modifiers/DrawLineModifier.php\u0060, \u0060src/Drivers/Gd/Modifiers/DrawPolygonModifier.php\u0060, \u0060src/Drivers/Gd/Modifiers/DrawRectangleModifier.php\u0060 \u2014 all change together with no explicit dependency: a fully-connected co-change clique, not 6 separate couplings. They share one concern (thin parallel siblings over a common abstraction), so extract the shared part into ONE unit and the whole clique\u0027s coupling clears at once \u2014 you do not need to break each pair individually."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Drivers/Gd/Modifiers/DrawEllipseModifier.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f197922e5ad8d95533c818474013eafdf49393a4079cbc89b7d7d16f1ff97edb"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: FileExtensionEncoder.php \u2194 MediaTypeEncoder.php: \u0060src/Encoders/FileExtensionEncoder.php\u0060 and \u0060src/Encoders/MediaTypeEncoder.php\u0060 change together 67% of the time (8 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060fdb116f9\u0060 Adapt type descriptions; \u0060ba39c13d\u0060 Rework; \u0060793e67a6\u0060 Implement HeicEncoder \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Encoders/FileExtensionEncoder.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b38ec79d71cf021d15798daff66fa905d12e43dc2714450c291b2441be38d1"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ContainModifier.php \u2194 ReduceColorsModifier.php: \u0060src/Drivers/Gd/Modifiers/ContainModifier.php\u0060 and \u0060src/Drivers/Gd/Modifiers/ReduceColorsModifier.php\u0060 change together 64% of the time (7 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u00603fc814ed\u0060 Optimize code (at that commit the file was still \u0060src/Drivers/Gd/Modifiers/QuantizeColorsModifier.php\u0060); \u00602e499225\u0060 Change default value of background argument (at that commit the file was still \u0060src/Drivers/Gd/Modifiers/QuantizeColorsModifier.php\u0060); \u0060a20c9833\u0060 Rename Image::blendTransparency() to Image::background() (at that commit the file was still \u0060src/Drivers/Gd/Modifiers/QuantizeColorsModifier.php\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Drivers/Gd/Modifiers/ContainModifier.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d9cf9b8ce73c2c30d8b5c147a9ea99a0273b4300ea9d0e9ce8fc3e5f831f83"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: BinaryImageDecoder.php \u2194 FilePathImageDecoder.php: \u0060src/Drivers/Gd/Decoders/BinaryImageDecoder.php\u0060 and \u0060src/Drivers/Gd/Decoders/FilePathImageDecoder.php\u0060 change together 62% of the time (15 of the 24 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 15 shared commits counted here, the most recent 3 are \u006060bb1575\u0060 Rename modifier class; \u0060f711244b\u0060 Rename methods; \u0060d5db89ac\u0060 Create reusable trait for decoder support detector methods \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Drivers/Gd/Decoders/BinaryImageDecoder.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57eeeb7481f3dbf0f05e1866dc3fba035b2cf105914c044b31a11e2b02f49df7"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ContainModifier.php \u2194 CropModifier.php: \u0060src/Drivers/Gd/Modifiers/ContainModifier.php\u0060 and \u0060src/Drivers/Gd/Modifiers/CropModifier.php\u0060 change together 53% of the time (8 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u006077659fa6\u0060 Edit exception messages; \u00601f1f9006\u0060 Restrict colors in Cloner::class to rgb only; \u00603fc814ed\u0060 Optimize code \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Drivers/Gd/Modifiers/ContainModifier.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e6035f70f73da7ea9a6d290601d55351fa13289d816433b5222c2541c041ee"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: CoverModifier.php \u2194 ResizeModifier.php: \u0060src/Drivers/Gd/Modifiers/CoverModifier.php\u0060 and \u0060src/Drivers/Gd/Modifiers/ResizeModifier.php\u0060 change together 52% of the time (14 of the 27 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 14 shared commits counted here, the most recent 3 are \u00603fc814ed\u0060 Optimize code; \u006056b9f505\u0060 Add more exception annotation (#1308); \u0060a0013840\u0060 Fix merging diffs \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Drivers/Gd/Modifiers/CoverModifier.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30935a038f1e169fd35361ce02357b894515dd95c252ae4c86d889e09e8db4a0"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ContainModifier.php \u2194 ResizeCanvasModifier.php: \u0060src/Modifiers/ContainModifier.php\u0060 and \u0060src/Modifiers/ResizeCanvasModifier.php\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u00605d2c9bfd\u0060 Rename DriverInterface::handleColorInput() to decodeColor(); \u00609bca7b2d\u0060 Add DriverInterface::handleImageInput() \u0026 handleColorInput(); \u00607c62d984\u0060 Implement Alignment enum \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Modifiers/ContainModifier.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe4be4068c1a6f3983d9d4d01b86b6245ffe4445179e95f4f322fccee9cce3e"}},{"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":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!is_resource($input) || !in_array(get_resource_type($input), [\u0027file\u0027, \u0027stream\u0027])\u0060 appears character-identically in 2 files \u2014 src/Drivers/Gd/Decoders/StreamImageDecoder.php, src/Drivers/Imagick/Decoders/StreamImageDecoder.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Drivers/Gd/Decoders/StreamImageDecoder.php"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c7ce9d55a847bb52c5d3096ce71f024b3e8c6dbad8caef2483fb40fff1b3ef"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!is_string($input) \u0026\u0026 !$input instanceof Stringable\u0060 appears character-identically in 4 files \u2014 src/Drivers/AbstractDecoder.php, src/Drivers/Gd/Decoders/BinaryImageDecoder.php, src/Drivers/Imagick/Decoders/BinaryImageDecoder.php, src/Traits/CanDetectImageSources.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Drivers/AbstractDecoder.php"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ad5ebe562b2aa3d976ff4fc7d793e19930a72607796c7cca46d4dd081855d6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_array($resolution) \u0026\u0026 array_key_exists(0, $resolution) \u0026\u0026 array_key_exists(1, $resolution)\u0060 appears character-identically in 2 files \u2014 src/Drivers/Gd/Cloner.php, src/Drivers/Gd/Modifiers/TrimModifier.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Drivers/Gd/Cloner.php"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"60cb9bd61d1865ef96400969c62c8c7debb13582aadfeadb4a90639c13772db9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_object($input) \u0026\u0026 is_a($input, self::DECODABLE_CLASSNAME)\u0060 appears character-identically in 4 files \u2014 src/Drivers/Gd/Decoders/HttpResponseImageDecoder.php, src/Drivers/Gd/Decoders/Psr7StreamImageDecoder.php, src/Drivers/Imagick/Decoders/HttpResponseImageDecoder.php, src/Drivers/Imagick/Decoders/Psr7StreamImageDecoder.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Drivers/Gd/Decoders/HttpResponseImageDecoder.php"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8af2f46494b30b17c7ada78c42ef387f8e49f64809e7c00133ed89dbae1b7d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060strip === true || ($this-\u003Estrip === null \u0026\u0026 $this-\u003Edriver()-\u003Econfig()-\u003Estrip === true)\u0060 appears character-identically in 8 files \u2014 src/Drivers/Imagick/Encoders/AvifEncoder.php, src/Drivers/Imagick/Encoders/HeicEncoder.php, src/Drivers/Imagick/Encoders/Jpeg2000Encoder.php, src/Drivers/Imagick/Encoders/JpegEncoder.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Drivers/Imagick/Encoders/AvifEncoder.php"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be055f342a6ceb6ed06883a49a850bc4511dd2ce4a17e4272ef98f158d9e6a0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/EncodedImage.php"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d6105d6d6beebb82cca6248b675beb7556945f84e6322a7209f8ed1de71cf4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Image.php"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd4ab109ba08227c21c7d8de600056b4a8609c060253d24e3af12637025e5d44"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Drivers/AbstractDecoder.php"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"38e92c745f68ea842a35784d0031154786dbd42eefe81e1c2d184259145cb585"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Drivers/Gd/Analyzers/ResolutionAnalyzer.php"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a61e6e2212b08ecfe6ea64cb3259d9bbf1d92ebd012596a17381dafae826dcc3"}},{"ruleId":"X5","level":"note","message":{"text":"PHP static analysis does not check null everywhere: 0/1 of this repository\u0027s PHPStan/Psalm configuration(s) run at a level that checks null \u2014 PHPStan level 8 or above (\u0060max\u0060 included), or Psalm \u0060errorLevel\u0060 3 or below (Psalm\u0027s default, with none stated, is 1). A PHPStan level written neither in the file nor in an include inside the repository is 0, PHPStan\u0027s own default. Below those levels the checker removes \u0060null\u0060 from a union before any rule looks, so \u0060$order-\u003Ecustomer()-\u003Ename()\u0060 on a \u0060?Customer\u0060 passes, and the first null reaching it is an \u0060Error: Call to a member function name() on null\u0060 in production."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4ee877508ebc333ebff2765634874753d7fd67f71ea749a6c333792a59b461d7"}}],"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-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.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-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.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":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"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/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"}]}],"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":12,"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."]}]}