{"$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":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"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":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"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":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"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":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"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":"EventStoreConnectionLogicHandler.handleTcpPackage (cyclomatic 29): EventStoreConnectionLogicHandler.handleTcpPackage has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Internal/EventStoreConnectionLogicHandler.php"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e51bff81a775fd6c06ce428e2dc4d0cc61beee4544a451a4de991c7f770570a"}},{"ruleId":"D1","level":"warning","message":{"text":"ConnectionString.getConnectionSettings (cyclomatic 16): ConnectionString.getConnectionSettings has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ConnectionString.php"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d7fdff0f61a77287b56ca0972d76c6c64bd82c371294d538313aa35c6b71bf"}},{"ruleId":"D2","level":"warning","message":{"text":"EventStorePersistentSubscription.processQueue (cognitive 33): EventStorePersistentSubscription.processQueue has cognitive complexity 33 (threshold 15). Drivers by points: if/else 7 (24 pts), error handling 1 (4 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Internal/EventStorePersistentSubscription.php"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"f75d52d0961a88d948713af0cb1c216899104c755898a559ec7d58a0f954b06e"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectionString.getConnectionSettings (cognitive 29): ConnectionString.getConnectionSettings has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (21 pts), loops 3 (6 pts), match/switch 1 (2 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ConnectionString.php"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"849b1d5c2bf9f9029d5c2aecfd9f9b2cc27104d31a1611d3c4dacc9ba9273bb4"}},{"ruleId":"D2","level":"warning","message":{"text":"EventStoreConnectionLogicHandler.handleTcpPackage (cognitive 27): EventStoreConnectionLogicHandler.handleTcpPackage has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 8, match/switch 2 (4 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Internal/EventStoreConnectionLogicHandler.php"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"0913ffd719b5910fd39b60faa573379a4a4cc5e0c721502c3a4086f153344e55"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractSubscriptionOperation.dropSubscription (cognitive 23): AbstractSubscriptionOperation.dropSubscription has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (12 pts), ternaries 2 (6 pts), error handling 1 (3 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ClientOperations/AbstractSubscriptionOperation.php"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca5ab2ec1c5cebf78d73e61f5f3030eb6f5077a60f2c05cd607fb0d81346fc0"}},{"ruleId":"D2","level":"warning","message":{"text":"EventStoreConnectionLogicHandler.timerTick (cognitive 19): EventStoreConnectionLogicHandler.timerTick has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 4, match/switch 1 (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Internal/EventStoreConnectionLogicHandler.php"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf5b2bd9e8e7edb5f37508399767909f148efea3597d3decd20966864db582b"}},{"ruleId":"D2","level":"warning","message":{"text":"SubscriptionsManager.checkTimeoutsAndRetry (cognitive 16): SubscriptionsManager.checkTimeoutsAndRetry has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 5 (6 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Internal/SubscriptionsManager.php"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"4314dc8720092dd3b74da876256be025a5d9b4bee2bdefbcecdf0f48da15aabb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MemberInfoDto: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.50\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/Messages/ClusterMessages/MemberInfoDto.php"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"398713b4b4b5da6dfb0501ddd8d7fedb79530d83420abfd42b91cf1e41e05995"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: EventStoreConnectionLogicHandler: ClassTooLong \u2014 597 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods. The bar is 400 significant lines; this is 197 over it, 1.49\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/Internal/EventStoreConnectionLogicHandler.php"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"1488c486698c0082ce37ffa7ea08c1a9badef6ba3b4d166d9500e6b4221c1017"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: EventStoreNodeConnection: ClassTooLong \u2014 527 significant lines (blank, comment-only and punctuation-only lines excluded), 39 methods. The bar is 400 significant lines; this is 127 over it, 1.32\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/Internal/EventStoreNodeConnection.php"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"3753c5d39bc51ca4f92ff409c88cced6f08ad7d52fec4f502a3ff658a60b8cea"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: EventStoreNodeConnection: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\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/Internal/EventStoreNodeConnection.php"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"39294eb1bcf5eedd3e49e9ac1dd6c8b0a1d63a26318dfe19023ace262d2a1d4e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Internal/EventStoreConnectionLogicHandler.php: FileTooLong \u2014 644 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: EventStoreConnectionLogicHandler (62-1074). The bar is 500 significant lines; this is 144 over it, 1.29\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Internal/EventStoreConnectionLogicHandler.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26edb3975c1949ae03c3adbd2db580d5c84280a210d733995cf6f221861641da"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Internal/EventStoreNodeConnection.php: FileTooLong \u2014 591 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: EventStoreNodeConnection (78-887). The bar is 500 significant lines; this is 91 over it, 1.18\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Internal/EventStoreNodeConnection.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7430c75faf502d73deab8757d0d1f7964facf1dac920c62c748b9a06b5d13fa9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: EventStoreConnectionLogicHandler: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\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/Internal/EventStoreConnectionLogicHandler.php"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"e42ed8b86610e6d4c7c85130a388bf971770c88b65c2d98c23c08d53aaee64f2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ProjectionsClient: ClassTooLong \u2014 443 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 43 over it, 1.11\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/Projections/ProjectionsClient.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac2dc7a80a957c0af45bc7f4b6b3c33dbdb59fadb86929cd6f4741a991fb4e4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ConnectionSettingsBuilder: 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/ConnectionSettingsBuilder.php"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c89f2dfb588e042e52d535731597501fb21c53123f005b7313a255942ba87e2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): src/PersistentSubscriptions/PersistentSubscriptionsClient.php:123-148 | src/PersistentSubscriptions/PersistentSubscriptionsClient.php:157-184 | src/Projections/ProjectionsClient.php:477-502 | src/Projections/ProjectionsClient.php:510-535 | src/Projections/ProjectionsClient.php:544-571 | src/Projections/ProjectionsClient.php:580-609 | src/UserManagement/UsersClient.php:252-277 | src/UserManagement/UsersClient.php:285-310 | src/UserManagement/UsersClient.php:319-346 | src/UserManagement/UsersClient.php:355-384 \u2014 These 10 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 10 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PersistentSubscriptions/PersistentSubscriptionsClient.php"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd1839e8158d2d90bdb27068d6ddb3fd8de571265cbb87ef4acb178611c8df6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/ClientOperations/AppendToStreamOperation.php:90-126 | src/ClientOperations/CommitTransactionOperation.php:72-105 | src/ClientOperations/ConditionalAppendToStreamOperation.php:92-123 | src/ClientOperations/TransactionalWriteOperation.php:85-103 \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/ClientOperations/AppendToStreamOperation.php"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae96f3e51b37c888c311f6c74152df5c9a358ccc6f4b3727b0ee8f7c30fc454d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): src/Internal/EventStoreConnectionLogicHandler.php:705-735 | src/Internal/EventStoreConnectionLogicHandler.php:759-789 \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/Internal/EventStoreConnectionLogicHandler.php:705\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Internal/EventStoreConnectionLogicHandler.php"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a70b5264751f69cc808df185d9b056566a1d6aa4c5021c44270e0a20badafc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): src/ClientOperations/AbstractOperation.php:144-168 | src/ClientOperations/AbstractSubscriptionOperation.php:175-199 \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/ClientOperations/AbstractOperation.php:144\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ClientOperations/AbstractOperation.php"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"92eb959d6ec6a3e113e623898a13317c122f12e961c0a4a7f83ce496b6ce3720"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/ClientOperations/ReadStreamEventsBackwardOperation.php:78-101 | src/ClientOperations/ReadStreamEventsForwardOperation.php:78-101 \u2014 before extracting anything, compare \u0060src/ClientOperations/ReadStreamEventsBackwardOperation.php\u0060 and \u0060src/ClientOperations/ReadStreamEventsForwardOperation.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 54 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. 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/ClientOperations/ReadStreamEventsBackwardOperation.php"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"74fa9cf6d6d11eaab6203ac3c79fa385dddf32bf318cab233d34b430687b066c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): src/EventStoreConnectionFactory.php:73-93 | src/EventStoreConnectionFactory.php:117-137 | src/EventStoreConnectionFactory.php:144-164 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/EventStoreConnectionFactory.php:73\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/EventStoreConnectionFactory.php"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03fcd93bfef464a4e68f6b58d733972c233a1fa197e18676f86c3dfcdda7c3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): src/Projections/ProjectionsClient.php:168-187 | src/Projections/ProjectionsClient.php:195-214 | src/Projections/ProjectionsClient.php:222-241 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Projections/ProjectionsClient.php"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"993d22f740854a3f6d35d69e5a72cf63b5b0572167860a327f2283efc09dd437"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/ClientOperations/DeleteStreamOperation.php:76-94 | src/ClientOperations/StartTransactionOperation.php:75-93 \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/ClientOperations/DeleteStreamOperation.php:76\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ClientOperations/DeleteStreamOperation.php"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"996d492043fc4fcda384dcf729bd9b963584c87c50b599126acd3307390cd733"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/UserManagement/UsersClient.php:255-272 | src/UserManagement/UsersClient.php:288-305 \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/UserManagement/UsersClient.php:255\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/UserManagement/UsersClient.php"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6f5fb7ed3e8330a5c4d732ff7334f3f580aba4257d89b47198dea8014c7203"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/Projections/ProjectionsClient.php:514-530 | src/Projections/ProjectionsClient.php:550-566 \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/Projections/ProjectionsClient.php:514\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/Projections/ProjectionsClient.php"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d0912f841cd8ad0effee55fa19fceb17cb5c025757dfbded78b0ea5ddff4be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 7): src/PersistentSubscriptions/PersistentSubscriptionsClient.php:169-184 | src/Projections/ProjectionsClient.php:520-535 | src/Projections/ProjectionsClient.php:556-571 | src/Projections/ProjectionsClient.php:594-609 | src/UserManagement/UsersClient.php:295-310 | src/UserManagement/UsersClient.php:331-346 | src/UserManagement/UsersClient.php:369-384 \u2014 before extracting anything, compare \u0060src/PersistentSubscriptions/PersistentSubscriptionsClient.php\u0060 and \u0060src/Projections/ProjectionsClient.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 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/PersistentSubscriptions/PersistentSubscriptionsClient.php:169\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/PersistentSubscriptions/PersistentSubscriptionsClient.php"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac99a99765c8968be5d73e3efec02f9e6732309cd648b1c3ff1062213be89c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): src/EventStoreConnectionFactory.php:77-92 | src/EventStoreConnectionFactory.php:121-136 | src/EventStoreConnectionFactory.php:148-163 | src/EventStoreConnectionFactory.php:199-214 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. 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/EventStoreConnectionFactory.php"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e2fcf2dd5c573ed2fe01ddac08b1fd12ba0cf8d45dd3a633ad229adc3762978"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): src/Projections/ProjectionsClient.php:485-500 | src/Projections/ProjectionsClient.php:518-533 | src/Projections/ProjectionsClient.php:554-569 | src/Projections/ProjectionsClient.php:592-607 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Projections/ProjectionsClient.php:485\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Projections/ProjectionsClient.php:590\u0060 calls \u0060elseif\u0060, \u0060getStatus\u0060, \u0060error\u0060 and \u0060src/Projections/ProjectionsClient.php:517\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/Projections/ProjectionsClient.php"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"f707977b40bd089cbfc2fbb60562b23686f83a7ee20c801462c9b6bdf73d9c13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): src/UserManagement/UsersClient.php:260-275 | src/UserManagement/UsersClient.php:293-308 | src/UserManagement/UsersClient.php:329-344 | src/UserManagement/UsersClient.php:367-382 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/UserManagement/UsersClient.php:260\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/UserManagement/UsersClient.php:365\u0060 calls \u0060elseif\u0060, \u0060getStatus\u0060, \u0060error\u0060 and \u0060src/UserManagement/UsersClient.php:328\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/UserManagement/UsersClient.php"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"a04e71bb883c7a0a2504f230300c9bb90b20fe37feb15ab7db94fd0f2ff70b8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): src/PersistentSubscriptions/PersistentSubscriptionsClient.php:133-148 | src/Projections/ProjectionsClient.php:487-502 | src/UserManagement/UsersClient.php:262-277 \u2014 before extracting anything, compare \u0060src/PersistentSubscriptions/PersistentSubscriptionsClient.php\u0060 and \u0060src/Projections/ProjectionsClient.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 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/PersistentSubscriptions/PersistentSubscriptionsClient.php:133\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/PersistentSubscriptions/PersistentSubscriptionsClient.php"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"da62b1482662706f7e4d2fffbd2049eae75030f6fdbe5f1b1fd23fc242d44acc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/ClientOperations/ReadAllEventsBackwardOperation.php:77-92 | src/ClientOperations/ReadAllEventsForwardOperation.php:77-92 \u2014 before extracting anything, compare \u0060src/ClientOperations/ReadAllEventsBackwardOperation.php\u0060 and \u0060src/ClientOperations/ReadAllEventsForwardOperation.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 45 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. 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/ClientOperations/ReadAllEventsBackwardOperation.php"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c225f1f04110022b57f33cc8f5ffcba811f54bc878892bd5ed6d7c665f3304"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/PersistentSubscriptions/PersistentSubscriptionsClient.php:131-146 | src/PersistentSubscriptions/PersistentSubscriptionsClient.php:167-182 \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/PersistentSubscriptions/PersistentSubscriptionsClient.php:131\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/PersistentSubscriptions/PersistentSubscriptionsClient.php"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"582a0c81987d77cb5830f09acea004c2855f2cd86436bc64f01a07e282de084c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/Internal/EventStoreNodeConnection.php:252-266 | src/Internal/EventStoreNodeConnection.php:291-305 \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/Internal/EventStoreNodeConnection.php:252\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Internal/EventStoreNodeConnection.php:248\u0060 calls \u0060InvalidArgumentException\u0060 and \u0060src/Internal/EventStoreNodeConnection.php:290\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Internal/EventStoreNodeConnection.php"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b29bc091e32e19fef493872696727874540d6a5150a7d5cb101836187dd83b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): src/ClientOperations/AppendToStreamOperation.php:113-126 | src/ClientOperations/ConditionalAppendToStreamOperation.php:110-123 | src/ClientOperations/DeleteStreamOperation.php:98-111 \u2014 before extracting anything, compare \u0060src/ClientOperations/AppendToStreamOperation.php\u0060 and \u0060src/ClientOperations/ConditionalAppendToStreamOperation.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 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/ClientOperations/AppendToStreamOperation.php:113\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/ClientOperations/AppendToStreamOperation.php"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ebcf8b8dcf664370e68fddc35ce6175b52f8967303298327b5821825e16ff5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/ClientOperations/ReadAllEventsBackwardOperation.php:101-114 | src/ClientOperations/ReadAllEventsForwardOperation.php:101-114 \u2014 before extracting anything, compare \u0060src/ClientOperations/ReadAllEventsBackwardOperation.php\u0060 and \u0060src/ClientOperations/ReadAllEventsForwardOperation.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 45 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/ClientOperations/ReadAllEventsBackwardOperation.php:101\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ClientOperations/ReadAllEventsBackwardOperation.php"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b5d0862f65f96475777ca8f23e465eb219eeb20ccdedd3d4e1fc45d37e722f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/ClientOperations/ReadStreamEventsBackwardOperation.php:110-123 | src/ClientOperations/ReadStreamEventsForwardOperation.php:110-123 \u2014 before extracting anything, compare \u0060src/ClientOperations/ReadStreamEventsBackwardOperation.php\u0060 and \u0060src/ClientOperations/ReadStreamEventsForwardOperation.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 54 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/ClientOperations/ReadStreamEventsBackwardOperation.php:110\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ClientOperations/ReadStreamEventsBackwardOperation.php"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f95b5b530f445ac9ccdea8c62f225a8139e8964eb8422f226d19bfa60142e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Internal/EventStoreCatchUpSubscription.php:170-183 | src/Internal/EventStoreCatchUpSubscription.php:203-216 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Internal/EventStoreCatchUpSubscription.php"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"8440182c61c4e7329132957b9ae1fc505d4df7c8dee62620371df9d6c7287508"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): src/Internal/EventStoreCatchUpSubscription.php:489-500 | src/Internal/EventStorePersistentSubscription.php:373-385 \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/Internal/EventStoreCatchUpSubscription.php:489\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/Internal/EventStoreCatchUpSubscription.php"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c12189044a6480a6a3d590b77dd1095cc4d33575e5de0948896114a0a68ba14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/UserManagement/UsersManager.php:128-140 | src/UserManagement/UsersManager.php:161-173 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/UserManagement/UsersManager.php:124\u0060 calls \u0060empty\u0060, \u0060InvalidArgumentException\u0060 and \u0060src/UserManagement/UsersManager.php:160\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UserManagement/UsersManager.php"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"29220ffe16f18ffad04df4528e29d8f352cff8f510f95a4d070fc25e88d27d01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/ClientOperations/AppendToStreamOperation.php:73-84 | src/ClientOperations/ConditionalAppendToStreamOperation.php:72-83 \u2014 before extracting anything, compare \u0060src/ClientOperations/AppendToStreamOperation.php\u0060 and \u0060src/ClientOperations/ConditionalAppendToStreamOperation.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ClientOperations/AppendToStreamOperation.php"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"99666b4448d06ac39af4074c3659b93cea33cbeaec4fd7c3c4421f9e70b9b499"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): src/ClientOperations/AppendToStreamOperation.php:90-100 | src/ClientOperations/CommitTransactionOperation.php:72-82 | src/ClientOperations/ConditionalAppendToStreamOperation.php:92-102 | src/ClientOperations/TransactionalWriteOperation.php:85-95 \u2014 before extracting anything, compare \u0060src/ClientOperations/AppendToStreamOperation.php\u0060 and \u0060src/ClientOperations/ConditionalAppendToStreamOperation.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 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/ClientOperations/AppendToStreamOperation.php:90\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ClientOperations/AppendToStreamOperation.php"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be1521734dfde16f4712479a206bbf714662c2cff0d35c98b436dfb4f0a3fe2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Internal/OperationsManager.php:115-125 | src/Internal/SubscriptionsManager.php:110-120 \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/Internal/OperationsManager.php:115\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/Internal/OperationsManager.php"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8358a285a2307d0f90578f6a108239768fe59895d10b81e44c09947ddd6cc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Projections/ProjectionsClient.php:544-554 | src/UserManagement/UsersClient.php:319-329 \u2014 before extracting anything, compare \u0060src/Projections/ProjectionsClient.php\u0060 and \u0060src/UserManagement/UsersClient.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 74 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/Projections/ProjectionsClient.php:544\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/Projections/ProjectionsClient.php"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"251bb24afd18a43ccebe9f54c5e675bad3d8177a729b1b74f07b6d88b6c117ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Projections/ProjectionsClient.php:580-590 | src/UserManagement/UsersClient.php:355-365 \u2014 before extracting anything, compare \u0060src/Projections/ProjectionsClient.php\u0060 and \u0060src/UserManagement/UsersClient.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 74 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/Projections/ProjectionsClient.php:580\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/Projections/ProjectionsClient.php"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"85bfc3a138c6e36c42092af839df9a9196ba0634ae2452b8ca7cdc8d765f68e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src/PersistentSubscriptions/PersistentSubscriptionsClient.php:123-131 | src/Projections/ProjectionsClient.php:477-485 | src/UserManagement/UsersClient.php:252-260 \u2014 before extracting anything, compare \u0060src/PersistentSubscriptions/PersistentSubscriptionsClient.php\u0060 and \u0060src/Projections/ProjectionsClient.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 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/PersistentSubscriptions/PersistentSubscriptionsClient.php:123\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/PersistentSubscriptions/PersistentSubscriptionsClient.php"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c662979e2cd3de61b0a66bd9809bfa3bf69209846922ee89f0665ee23467dbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/ClientOperations/ReadAllEventsBackwardOperation.php:61-68 | src/ClientOperations/ReadAllEventsForwardOperation.php:61-68 \u2014 before extracting anything, compare \u0060src/ClientOperations/ReadAllEventsBackwardOperation.php\u0060 and \u0060src/ClientOperations/ReadAllEventsForwardOperation.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 45 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. 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/ClientOperations/ReadAllEventsBackwardOperation.php"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"a888ee7e6f4912ab127249158bdc2b9c5926dfc3e517ca52238aea78df85f351"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/ClientOperations/CreatePersistentSubscriptionOperation.php:73-78 | src/ClientOperations/UpdatePersistentSubscriptionOperation.php:73-78 \u2014 before extracting anything, compare \u0060src/ClientOperations/CreatePersistentSubscriptionOperation.php\u0060 and \u0060src/ClientOperations/UpdatePersistentSubscriptionOperation.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ClientOperations/CreatePersistentSubscriptionOperation.php"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc3dbe7fc2cfabf77ceb37ae7e76b7a2c54763309908174d66de7b28efea02e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/ClientOperations/CreatePersistentSubscriptionOperation.php:61-65 | src/ClientOperations/UpdatePersistentSubscriptionOperation.php:61-65 \u2014 before extracting anything, compare \u0060src/ClientOperations/CreatePersistentSubscriptionOperation.php\u0060 and \u0060src/ClientOperations/UpdatePersistentSubscriptionOperation.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ClientOperations/CreatePersistentSubscriptionOperation.php"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"30fd742c7c40eeb89087cf42d71be97439594f3da272959b569beb785849ac03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 3): src/ClientOperations/CreatePersistentSubscriptionOperation.php:87-115 | src/ClientOperations/DeletePersistentSubscriptionOperation.php:70-98 | src/ClientOperations/UpdatePersistentSubscriptionOperation.php:87-115 \u2014 before extracting anything, compare \u0060src/ClientOperations/CreatePersistentSubscriptionOperation.php\u0060 and \u0060src/ClientOperations/UpdatePersistentSubscriptionOperation.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 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. 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/ClientOperations/CreatePersistentSubscriptionOperation.php"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"4579ec3ddda1481ae5698fe72ab25fe5d08c4acba86f4c591a015eb9673860b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/ClientOperations/AppendToStreamOperation.php:133-139 | src/ClientOperations/CommitTransactionOperation.php:115-121 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ClientOperations/AppendToStreamOperation.php"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"e42b08701c02b665205fba31cc08128c1d4e713d16bbd20928bf5bc0378ab682"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/ClientOperations/ReadAllEventsBackwardOperation.php:129-135 | src/ClientOperations/ReadAllEventsForwardOperation.php:129-135 \u2014 before extracting anything, compare \u0060src/ClientOperations/ReadAllEventsBackwardOperation.php\u0060 and \u0060src/ClientOperations/ReadAllEventsForwardOperation.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 45 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. 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/ClientOperations/ReadAllEventsBackwardOperation.php"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"93c0ebf41fff31b63348a92b28d44d0e8d294c041020056e13ecafc06872787e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/ClientOperations/ReadStreamEventsBackwardOperation.php:62-69 | src/ClientOperations/ReadStreamEventsForwardOperation.php:62-69 \u2014 before extracting anything, compare \u0060src/ClientOperations/ReadStreamEventsBackwardOperation.php\u0060 and \u0060src/ClientOperations/ReadStreamEventsForwardOperation.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 54 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. 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/ClientOperations/ReadStreamEventsBackwardOperation.php"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"84259f8dc024a4b1343af821b989db82f8b6c442fa21a8792898eab3db2df58a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/ClientOperations/ReadStreamEventsBackwardOperation.php:139-146 | src/ClientOperations/ReadStreamEventsForwardOperation.php:139-146 \u2014 before extracting anything, compare \u0060src/ClientOperations/ReadStreamEventsBackwardOperation.php\u0060 and \u0060src/ClientOperations/ReadStreamEventsForwardOperation.php\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 54 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. 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/ClientOperations/ReadStreamEventsBackwardOperation.php"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8023c5e775ddcb25bdc5ffb9a1eb10802ed3099dc129aaecbb2c5b69d7bb7eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Internal/OperationsManager.php:235-245 | src/Internal/SubscriptionsManager.php:215-225 \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/Internal/OperationsManager.php"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"329d526af5b3820fd2d1235672a9d04190d949421d7273a97efb849fdf7314d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): src/Projections/ProjectionsClient.php:51-61 | src/Projections/ProjectionsClient.php:69-79 | src/Projections/ProjectionsClient.php:87-97 | src/UserManagement/UsersClient.php:52-62 | src/UserManagement/UsersClient.php:70-80 \u2014 before extracting anything, compare \u0060src/Projections/ProjectionsClient.php\u0060 and \u0060src/UserManagement/UsersClient.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 74 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/Projections/ProjectionsClient.php"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce054dff4fd971fe9f58f7e9217a92c694da915e49247eef806ed8a21980c67"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO GFY should we autonak here? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Internal/EventStorePersistentSubscription.php"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb7a420a12f860a3e1b40190a4cadece8118d0b94cd9f2fd9e3f666f5e266f56"}},{"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":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","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":"613343d1b752f35745826fe8d15b453cf20383607c0f92f58d6658c1e8f77558"},"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":"21e0cd1fe34313bbe69d89f07a6ddb506b8c662cab0afea4cb1198e8f69a36fb"},"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":"53041d0452eb7a0f6d7363cca46cccfc47fe77904a465fee573e39f7c59d9395"},"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":"dd65e2f04abdf477e5d882fff12a00d1ee228e0a527014aeb9b4139224ebe812"},"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":"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":"d4854b7d15b1056602f9c962d9ff6763cb6ed28362b594004bfc8a0aba4c51a5"},"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":"20428ad5e5a8e18aea00af16f3a2442040980584bd2a2d791a47198634aa7599"},"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":"f25e68f9612441773c6f85465bb9027ceede435313113b5c1ffb5b3814cf3578"},"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":"ab493d92c8bad133c77a08f335ecd6423a00a92a589cb6f65a41dbef519aba53"},"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":"b6efc943ba52f41dbd06784c82baef140875076629857b8521ff62df89148a4b"},"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":"2c664474c2ddf215f5422381bb017df37e6722ff65bdc126bf48bca5f7ad372f"},"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":"3ca03210c176ad975113328208156e6a90b6b96a754e298bff46fa4e5ade702b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90ef8645d5d250a2cdd6c4ddecf434c2439a3eaf0b71b0b76b3e93b4d1bb9e49"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"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":"P12","level":"warning","message":{"text":"Coverage collected but not gated: CI collects a coverage report but no step enforces a minimum \u2014 coverage could halve and CI stays green. Add a step that fails the build when coverage drops below a floor (your coverage tool\u0027s minimum-threshold flag, or a coverage-gate action) so the number guards something. What was searched, so you can tell an absence from a miss: this repository\u0027s CI files AND its coverage configuration \u2014 the well-known coverage and test-runner config files, read at the repository root and inside workspace package directories two levels down, so a floor declared beside the tests rather than in the pipeline is credited \u2014 matched against the threshold settings this check knows by name. A floor set in your coverage service\u0027s web UI rather than in a committed file, or under a setting whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7f63c06044cf998d9a0698692df30d8873e29bc9b0c98ee829255017c1193d33"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add phpstan or psalm (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 1 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/ci.yml"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"Dependabot does not watch github-actions: \u0060.github/dependabot.yml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060github-actions\u0060, which this tree depends on \u2014 so those dependencies get no update pull requests and no advisory pressure, however complete the dep-scan credit looks. Add the missing entry to the \u0060updates:\u0060 list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/dependabot.yml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed3d0d7c28467261d003a8cf6abc881841cc635e9d2324ab34b8ff58916f1fd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060timeout() \u003E 0 \u0026\u0026 (float) DateTime::utcNow()\u0060 appears character-identically in 2 files \u2014 src/Internal/OperationsManager.php, src/Internal/SubscriptionsManager.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/Internal/OperationsManager.php"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac34a9b1fa91849612d8a4fce85ae0bc3466c8acca77a4802cab061a16a40bbe"}},{"ruleId":"X2","level":"note","message":{"text":"Not all functions that make a request accept a Cancellation: Only 0/2 functions that make a cancellable request (amphp HttpClient, connect) accept a Cancellation or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a cancelled request, a shutdown, an expired deadline. Take \u0060?Cancellation $cancellation = null\u0060 and hand it to the request; where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"27355d595a7e4653ac0370c5d1dc420151645c1a6fcb95929d1854e569fbcc55"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without a Cancellation: connect: \u0060connect\u0060 calls \u0060connect(\u2026)\u0060 but takes no Cancellation and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060?Cancellation $cancellation = null\u0060 and pass it as the request\u0027s last argument."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Transport/Tcp/TcpPackageConnection.php"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca5e8be95ddecc12973ec5a47a5b61511f52b757f7e77b538f952af63e72c7b9"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without a Cancellation: tryGetGossipFrom: \u0060tryGetGossipFrom\u0060 calls \u0060-\u003Erequest(\u2026)\u0060 but takes no Cancellation and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060?Cancellation $cancellation = null\u0060 and pass it as the request\u0027s last argument."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Internal/ClusterDnsEndPointDiscoverer.php"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a4af358af855881ef7de5977cd165772899f19dd13ef788c80c31313818df8"}}],"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-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-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-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"}]}],"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":13,"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."]}]}