{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","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-1059"],"owasp":"A02:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"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":"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":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"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":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"File.calculateStatistics (cyclomatic 57): File.calculateStatistics has cyclomatic complexity 57 (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/Node/File.php"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"659ff55744248ae87713339aa42e0f8d36e98eb756167a3f75e0f64027b980cb"}},{"ruleId":"D1","level":"warning","message":{"text":"Unserializer.validate (cyclomatic 36): Unserializer.validate has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Serialization/Unserializer.php"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee8b37ab75406c92673a528a10f28be6ae3cde990314c79bdf43f35c29de2cd"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecutableLinesFindingVisitor.enterNode (cyclomatic 33): ExecutableLinesFindingVisitor.enterNode has cyclomatic complexity 33 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/StaticAnalysis/Visitor/ExecutableLinesFindingVisitor.php"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71aa9e902f3a28dfb5cf1efbf1c613b04a5614eaae50c41306bc8a59e24328c"}},{"ruleId":"D1","level":"warning","message":{"text":"Cobertura.process (cyclomatic 24): Cobertura.process has cyclomatic complexity 24 (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/Report/Cobertura.php"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"e09edd50e096f078cefdf37037147a97a99d4294436cb90fed3beba8995196c8"}},{"ruleId":"D1","level":"warning","message":{"text":"File.renderSourceWithBranchCoverage (cyclomatic 23): File.renderSourceWithBranchCoverage has cyclomatic complexity 23 (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/Report/Html/Renderer/File.php"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55bb1dff5a2d5728e7d20c3e5345d38f7d38516a7d4f96c929edbae350e9b09"}},{"ruleId":"D1","level":"warning","message":{"text":"File.renderPathStructure (cyclomatic 23): File.renderPathStructure has cyclomatic complexity 23 (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/Report/Html/Renderer/File.php"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d60943b1748d73b8e9619329a86b802f921499e081290509d1ccc91cba9447"}},{"ruleId":"D1","level":"warning","message":{"text":"Text.process (cyclomatic 23): Text.process has cyclomatic complexity 23 (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/Report/Text.php"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85eb93359a64d357b640e14a338883c238b84f508d3574fd2c3890d09bdc56f"}},{"ruleId":"D1","level":"warning","message":{"text":"Clover.process (cyclomatic 22): Clover.process has cyclomatic complexity 22 (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/Report/Clover.php"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"9500177ba9b72c6abdde458f7df74e6c2ea3b6a25f02b9d9a5b63fc450e4f0a5"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecutableLinesFindingVisitor.enterCallableOrClassLike (cyclomatic 21): ExecutableLinesFindingVisitor.enterCallableOrClassLike has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/StaticAnalysis/Visitor/ExecutableLinesFindingVisitor.php"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e04c92a93afa5734a5eaf1aba22460ecde6162630dde0e042ae4b253d572ac6"}},{"ruleId":"D1","level":"warning","message":{"text":"IgnoredLinesFindingVisitor.enterNode (cyclomatic 21): IgnoredLinesFindingVisitor.enterNode has cyclomatic complexity 21 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/StaticAnalysis/Visitor/IgnoredLinesFindingVisitor.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3ce70115b0964165f802b29bac88a319132a8ee46195935ae71b5e783d5225"}},{"ruleId":"D1","level":"warning","message":{"text":"CodeCoverage.append (cyclomatic 20): CodeCoverage.append has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CodeCoverage.php"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"3feac9dfe6a57658d1ce04b5aaaaa3b4b52aadf691da71ef549903d7cd2c1340"}},{"ruleId":"D1","level":"warning","message":{"text":"File.renderSourceWithPathCoverage (cyclomatic 20): File.renderSourceWithPathCoverage has cyclomatic complexity 20 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Report/Html/Renderer/File.php"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"a295ee8453e4c2638d4172e5a0039f08cfd17c6bf2ef3877d6059b5811037931"}},{"ruleId":"D1","level":"warning","message":{"text":"SyntaxHighlighter.highlight (cyclomatic 20): SyntaxHighlighter.highlight has cyclomatic complexity 20 (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/Report/Html/SyntaxHighlighter.php"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"1393bd6b96281afdc677cc8bc47a7af401ca441ac09d9eb044ae56595ec67cca"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenClover.process (cyclomatic 20): OpenClover.process has cyclomatic complexity 20 (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/Report/OpenClover.php"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b442a7fb81674ca3377252b512a730c211686c5fa51620be822fbd2d614dcd0f"}},{"ruleId":"D1","level":"warning","message":{"text":"PathReducer.reduce (cyclomatic 19): PathReducer.reduce has cyclomatic complexity 19 (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/Util/PathReducer.php"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fab2fa7fb6cfc4ecb6ce6c4768fac68d4333527a872b3dd4771a14b393d1b8b"}},{"ruleId":"D1","level":"warning","message":{"text":"ProcessedCodeCoverageData.merge (cyclomatic 18): ProcessedCodeCoverageData.merge has cyclomatic complexity 18 (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/Data/ProcessedCodeCoverageData.php"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"d804c015c934d25ea452429851afd7d1d3dc1a6e5986284da2bed3e822a89e03"}},{"ruleId":"D1","level":"warning","message":{"text":"Class_.renderSourceSection (cyclomatic 18): Class_.renderSourceSection has cyclomatic complexity 18 (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/Report/Html/ClassView/Renderer/Class_.php"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba3ee4f0b9566840dfdf14fb4b7feac667472d1af96fbbcbec816723c339a2a"}},{"ruleId":"D1","level":"warning","message":{"text":"DeadCodeFindingVisitor.statementsOf (cyclomatic 17): DeadCodeFindingVisitor.statementsOf has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/StaticAnalysis/Visitor/DeadCodeFindingVisitor.php"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b02eec8e391750940ade198ee354f7de3c8161200d0f03e1700b3da37b754f"}},{"ruleId":"D1","level":"warning","message":{"text":"ControlFlowGraph.generateDot (cyclomatic 16): ControlFlowGraph.generateDot 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/Report/Html/ControlFlowGraph.php"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4144ff59b5179c638515d78618d326e6815f9a7e455b079fb277de3c8ac5f86"}},{"ruleId":"D1","level":"warning","message":{"text":"Facade.symbolRecord (cyclomatic 16): Facade.symbolRecord has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Report/Jsonl/Facade.php"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"809c4ae2ce537f2ecbbd9ee3ce5e33f8ae1c98d50254cf84074557ba5ee99a1c"}},{"ruleId":"D2","level":"warning","message":{"text":"File.calculateStatistics (cognitive 128): File.calculateStatistics has cognitive complexity 128 (threshold 15). Drivers by points: ternaries 25 (60 pts), if/else 15 (38 pts), loops 14 (28 pts), boolean chains 2 (nesting depth added 72). 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/Node/File.php"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"502ceb40dfeba93821ba5b42821d7c69f3d5c18f8dd00ef7c1dbd11a7e80fbae"}},{"ruleId":"D2","level":"warning","message":{"text":"File.renderSourceWithBranchCoverage (cognitive 68): File.renderSourceWithBranchCoverage has cognitive complexity 68 (threshold 15). Drivers by points: if/else 12 (42 pts), loops 8 (20 pts), ternaries 1 (5 pts), boolean chains 1 (nesting depth added 46). 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/Report/Html/Renderer/File.php"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e598efdb5d1c0e2c423377089fa7665ee02b40c9c18ad4ffca6f81a99bfc29"}},{"ruleId":"D2","level":"warning","message":{"text":"File.renderPathStructure (cognitive 64): File.renderPathStructure has cognitive complexity 64 (threshold 15). Drivers by points: if/else 11 (34 pts), loops 8 (21 pts), ternaries 3 (8 pts), boolean chains 1 (nesting depth added 41). 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/Report/Html/Renderer/File.php"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ced94deafafa740ef9b2826ffab6a016a274cd751f9a81b0d096c0580fc2280"}},{"ruleId":"D2","level":"warning","message":{"text":"Cobertura.process (cognitive 59): Cobertura.process has cognitive complexity 59 (threshold 15). Drivers by points: if/else 8 (23 pts), ternaries 9 (21 pts), loops 6 (15 pts) (nesting depth added 36). 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/Report/Cobertura.php"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"590fa64e2f5c4dd7acd410cc08fa5c4c7a4a3a683733f74f5740ce0ad21cf1dd"}},{"ruleId":"D2","level":"warning","message":{"text":"Clover.process (cognitive 56): Clover.process has cognitive complexity 56 (threshold 15). Drivers by points: if/else 15 (41 pts), loops 6 (14 pts), boolean chains 1 (nesting depth added 34). 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/Report/Clover.php"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a9c83abdb6857950b92390f59c639f47c5c053f5e0e96ffb575a047b3b4456"}},{"ruleId":"D2","level":"warning","message":{"text":"File.renderSourceWithPathCoverage (cognitive 53): File.renderSourceWithPathCoverage has cognitive complexity 53 (threshold 15). Drivers by points: loops 10 (27 pts), if/else 8 (25 pts), boolean chains 1 (nesting depth added 34). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Report/Html/Renderer/File.php"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa69b0afc5b924ed23bba0379d8e2d7403e22705ada654c87ade7b6017a404c"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenClover.process (cognitive 49): OpenClover.process has cognitive complexity 49 (threshold 15). Drivers by points: if/else 12 (34 pts), loops 6 (14 pts), boolean chains 1 (nesting depth added 30). 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/Report/OpenClover.php"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b860aabf81ee3385a35aff2a7783332c26e1f8fdf3e3ca27487fed9bde4f229b"}},{"ruleId":"D2","level":"warning","message":{"text":"Text.process (cognitive 45): Text.process has cognitive complexity 45 (threshold 15). Drivers by points: if/else 16 (31 pts), loops 4 (7 pts), ternaries 2 (6 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/Report/Text.php"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecab9b47b01c3222401239fe3161773007ccc5b24e816d2e851099a86852ee94"}},{"ruleId":"D2","level":"warning","message":{"text":"Unserializer.validate (cognitive 42): Unserializer.validate has cognitive complexity 42 (threshold 15). Drivers by points: if/else 17 (23 pts), boolean chains 15, loops 3 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Serialization/Unserializer.php"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"2df93cdca22cd32766cbcb287d2446c17b7053398d5160fc45b1d737911154f8"}},{"ruleId":"D2","level":"warning","message":{"text":"Class_.renderSourceSection (cognitive 41): Class_.renderSourceSection has cognitive complexity 41 (threshold 15). Drivers by points: if/else 10 (29 pts), loops 2 (5 pts), ternaries 2 (4 pts), boolean chains 3 (nesting depth added 24). 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/Report/Html/ClassView/Renderer/Class_.php"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b74a40527096b09b652473a550158b89d99682db2b9d211652a5c1b9d7b149"}},{"ruleId":"D2","level":"warning","message":{"text":"File.renderSourceWithLineCoverage (cognitive 37): File.renderSourceWithLineCoverage has cognitive complexity 37 (threshold 15). Drivers by points: if/else 9 (27 pts), loops 2 (5 pts), ternaries 2 (4 pts), boolean chains 1 (nesting depth added 23). 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/Report/Html/Renderer/File.php"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4a2f564b61a0bfd6d1d023d1c3356d7ded39a0e902084599b9d87519dbf017"}},{"ruleId":"D2","level":"warning","message":{"text":"File.renderBranchStructure (cognitive 34): File.renderBranchStructure has cognitive complexity 34 (threshold 15). Drivers by points: if/else 5 (14 pts), ternaries 4 (11 pts), loops 4 (9 pts) (nesting depth added 21). 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/Report/Html/Renderer/File.php"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"003f89d7c5d9118ddd8814c27efaa7dd5626a526986c09568004bd7ceca34180"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutableLinesFindingVisitor.enterNode (cognitive 33): ExecutableLinesFindingVisitor.enterNode has cognitive complexity 33 (threshold 15). Drivers by points: if/else 21 (22 pts), boolean chains 11 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/StaticAnalysis/Visitor/ExecutableLinesFindingVisitor.php"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f68a7b34d599baa935eb13444fc65f22bb9677d331cffdd2ba6cd8ed522a29c"}},{"ruleId":"D2","level":"warning","message":{"text":"SyntaxHighlighter.highlight (cognitive 31): SyntaxHighlighter.highlight has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (25 pts), loops 2 (3 pts), boolean chains 2, error handling 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Report/Html/SyntaxHighlighter.php"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac766ed3773f4484397596fa14a030caf1c896853ee5bbfce4694e0d6306469"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutableLinesFindingVisitor.enterCallableOrClassLike (cognitive 31): ExecutableLinesFindingVisitor.enterCallableOrClassLike has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 9, loops 2 (5 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/StaticAnalysis/Visitor/ExecutableLinesFindingVisitor.php"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa82baa40d6628ffd5e1a432a1df76601bb324bbb999f03a57650f2cf6cdc618"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessedCodeCoverageData.merge (cognitive 30): ProcessedCodeCoverageData.merge has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 4 (6 pts), boolean chains 4 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Data/ProcessedCodeCoverageData.php"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4a3c2655a2198409f3ffb1cba80e69e287c890c35916c44703b4196a0ca50c"}},{"ruleId":"D2","level":"warning","message":{"text":"ControlFlowGraph.generateDot (cognitive 30): ControlFlowGraph.generateDot has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 5 (13 pts), if/else 5 (10 pts), loops 4 (6 pts), boolean chains 1 (nesting depth added 15). 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/Report/Html/ControlFlowGraph.php"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d27db4c983ba391239fb8b0e45b89dde60025d26d7eb9cbcf35f81879d19a3"}},{"ruleId":"D2","level":"warning","message":{"text":"PathReducer.reduce (cognitive 30): PathReducer.reduce has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (19 pts), loops 5 (7 pts), boolean chains 2, ternaries 1 (2 pts) (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/Util/PathReducer.php"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee9266ed35bcb88025cf6754d4f9586f57cfbef5e610fa531c4d23446269ff6"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessedCodeCoverageData.markCodeAsExecutedByTestCase (cognitive 28): ProcessedCodeCoverageData.markCodeAsExecutedByTestCase has cognitive complexity 28 (threshold 15). Drivers by points: if/else 5 (16 pts), loops 6 (12 pts) (nesting depth added 17). 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/Data/ProcessedCodeCoverageData.php"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"498ae594095a4e78f98a5f0daffdf6c3943df936d1f0033f170181cf196aaeee"}},{"ruleId":"D2","level":"warning","message":{"text":"File.numberOfTestedMethodsByTestSize (cognitive 26): File.numberOfTestedMethodsByTestSize has cognitive complexity 26 (threshold 15). Drivers by points: loops 4 (14 pts), if/else 3 (12 pts) (nesting depth added 19). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Node/File.php"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b7e49ef0c8b0c1aa4ff874dda375135ded198983ff0ddcd8293c7cf9a0bfe0"}},{"ruleId":"D2","level":"warning","message":{"text":"ControlFlowGraph.buildEdgePathClasses (cognitive 26): ControlFlowGraph.buildEdgePathClasses has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (19 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 16). 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/Report/Html/ControlFlowGraph.php"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7898832fdf5d4ec28256abaf53c492d8fdd94f837855c12e2a77b8b59494f60"}},{"ruleId":"D2","level":"warning","message":{"text":"IgnoredLinesFindingVisitor.enterNode (cognitive 24): IgnoredLinesFindingVisitor.enterNode has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 10, if/else 8 (10 pts), loops 2 (4 pts) (nesting depth added 4). 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/StaticAnalysis/Visitor/IgnoredLinesFindingVisitor.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74079dc154b750f961c05f7ab7a7f0cd9763420ecb21e84f336bec27d48ef82"}},{"ruleId":"D2","level":"warning","message":{"text":"RawCodeCoverageData.processXdebugPathAndBranchCoverage (cognitive 21): RawCodeCoverageData.processXdebugPathAndBranchCoverage has cognitive complexity 21 (threshold 15). Drivers by points: if/else 3 (11 pts), loops 4 (8 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/Data/RawCodeCoverageData.php"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"5591d312acad1d33770b86f61ab764e8ab6705d78b0da1f22cde1d77e9c146a3"}},{"ruleId":"D2","level":"warning","message":{"text":"File.numberOfTestedMethods (cognitive 21): File.numberOfTestedMethods has cognitive complexity 21 (threshold 15). Drivers by points: loops 4 (10 pts), if/else 3 (9 pts), boolean chains 2 (nesting depth added 12). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Node/File.php"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"010e3af074672a0db909c6bb194b49ed82653618b803874267c8d900a1e5498d"}},{"ruleId":"D2","level":"warning","message":{"text":"File.renderTraitOrClassItems (cognitive 21): File.renderTraitOrClassItems has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 3 (5 pts), ternaries 2 (5 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Report/Html/Renderer/File.php"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4b7511ebaa06b362acbaaa8f749052b95c04d0b1f93ee3414f0ed8fdb4c805"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeCoverage.append (cognitive 20): CodeCoverage.append has cognitive complexity 20 (threshold 15). Drivers by points: if/else 17 (18 pts), boolean chains 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CodeCoverage.php"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"88a2eb592205f1a46c89c1cd73c62bb7fe04f81997b30d0d855b0aff920d68b9"}},{"ruleId":"D2","level":"warning","message":{"text":"BytecodeDumpParser.parse (cognitive 20): BytecodeDumpParser.parse has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 3, loops 2 (nesting depth added 8). 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/StaticAnalysis/BytecodeDumpParser.php"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f0553136333a63ed20c1c31ad4700880b04efeab8d3f1ce35c06692137515b"}},{"ruleId":"D2","level":"warning","message":{"text":"File.numberOfMethods (cognitive 19): File.numberOfMethods has cognitive complexity 19 (threshold 15). Drivers by points: loops 4 (10 pts), if/else 3 (9 pts) (nesting depth added 12). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Node/File.php"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a325c0b1aee125c0c7484a8692ec3d5b563c8a43f24e55795e38a9db122b8f2"}},{"ruleId":"D2","level":"warning","message":{"text":"Crap4j.process (cognitive 19): Crap4j.process has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (6 pts), ternaries 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Report/Crap4j.php"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc0e08673d3bacaf1a79dd0fc76065b3eec9bb0a7b55dc6cd8d3f0d14fcba364"}},{"ruleId":"D2","level":"warning","message":{"text":"File.coverageDataJsonForClassOrTrait (cognitive 19): File.coverageDataJsonForClassOrTrait has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 3 (4 pts), boolean chains 2 (nesting depth added 8). 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/Report/Html/Renderer/File.php"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"7336ab2fd3b0963fc5ad18fec4cff3e14b7dd7b1a2552d61eeb69abfd102b9b8"}},{"ruleId":"D2","level":"warning","message":{"text":"ParsingSourceAnalyser.findLinesIgnoredByLineBasedAnnotations (cognitive 18): ParsingSourceAnalyser.findLinesIgnoredByLineBasedAnnotations has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 8). 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/StaticAnalysis/ParsingSourceAnalyser.php"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb9db70cbbce6aaa64f07e07b057eb93a38017b66d11fe357260e43bb014307"}},{"ruleId":"D2","level":"warning","message":{"text":"UnintentionallyCoveredCodeChecker.process (cognitive 18): UnintentionallyCoveredCodeChecker.process has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 3, loops 2 (3 pts), error handling 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/UnintentionallyCoveredCodeChecker.php"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4ba1503c392ffbdd07193bb24a73b3cbe368a58ddf21f51adeaeac59d9fb662"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessedCodeCoverageData.initializeUnseenData (cognitive 17): ProcessedCodeCoverageData.initializeUnseenData has cognitive complexity 17 (threshold 15). Drivers by points: loops 4 (7 pts), if/else 3 (6 pts), ternaries 1 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Data/ProcessedCodeCoverageData.php"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd1c70f7c2a2fce73e56e0ca1ed19271bdb98f2f2d9f7d0bff73be3761bd283"}},{"ruleId":"D2","level":"warning","message":{"text":"Builder.collectRegistries (cognitive 17): Builder.collectRegistries has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 8). 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/Report/Html/ClassView/Builder.php"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ad63e25f83b913300eccaa0c841d0393c42c416ef7242246c89bb72059a2e3"}},{"ruleId":"D2","level":"warning","message":{"text":"Facade.symbolRecord (cognitive 17): Facade.symbolRecord has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 4, loops 1 (nesting depth added 3). 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/Report/Jsonl/Facade.php"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a789c20586a11828fb4b8de532226437094cf083613d71a7bdb84c47c51a13d"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessedFunctionCoverageData.merge (cognitive 16): ProcessedFunctionCoverageData.merge has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Data/ProcessedFunctionCoverageData.php"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ebcd42b96becbe06f73e0d181ce870784ce4f67bf30719405087c49765fc7e"}},{"ruleId":"D2","level":"warning","message":{"text":"Merger.assertGitInformationMatches (cognitive 16): Merger.assertGitInformationMatches has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), ternaries 2 (6 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 8). 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/Serialization/Merger.php"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"c855386800399f0a5cff2cae65bbf19bb203a7bb363c88b820090736fb823b04"}},{"ruleId":"D2","level":"warning","message":{"text":"BytecodeLines.compile (cognitive 16): BytecodeLines.compile has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 4 (7 pts) (nesting depth added 8). 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/StaticAnalysis/BytecodeLines.php"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4470dd9e26fcd761addf6c74930ae9e941f94a9e48b47871a11eae0c3a62d5"}},{"ruleId":"D2","level":"warning","message":{"text":"DeadCodeFindingVisitor.statementsOf (cognitive 16): DeadCodeFindingVisitor.statementsOf has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 14, if/else 2. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/StaticAnalysis/Visitor/DeadCodeFindingVisitor.php"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"7431e4473e61e30ba61fdbe39189cf02760c022448ef354475830270fdf7f3ec"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutableLinesFindingVisitor.enterMatch (cognitive 16): ExecutableLinesFindingVisitor.enterMatch has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), loops 3 (6 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/StaticAnalysis/Visitor/ExecutableLinesFindingVisitor.php"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e24a6b1cb6fd40a1f66ef60810a67fc49ec6c8145204ea80d33fb566e46294d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AbstractNode: TooManyMethods \u2014 50 methods. The bar is 30 methods; this is 20 over it, 1.67\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/Node/AbstractNode.php"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"2837c2cbf186f412117b2be659209f1b2656cc890d7e78bbe2329be6e23a70ff"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Text.process: MethodTooLong \u2014 process runs 161 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 61 over it, 1.61\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Report/Text.php"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"548edfd7c0cf79feff948c089c72619ada656a8011b4efc468a73707d3920e0f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Cobertura.process: MethodTooLong \u2014 process runs 160 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 60 over it, 1.60\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Report/Cobertura.php"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4d940160d8ac3f73c9870960fbdd027e40efba13455c3405954b67244a9d2e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: File: ClassTooLong \u2014 637 significant lines (blank, comment-only and punctuation-only lines excluded), 19 methods. The bar is 400 significant lines; this is 237 over it, 1.59\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/Report/Html/Renderer/File.php"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3a34b8f6b181096cc579bf122d231f3b131b32bb414ff3afbc1bc8462f29ef"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OpenClover.process: MethodTooLong \u2014 process runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Report/OpenClover.php"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e84246ebb2ede06562d8ef4a1f7ea0914c6e6bd1e9543e2115c196cc3788c6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CodeCoverage: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\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/CodeCoverage.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb092ec0220d55ec6964bfc6aa3940cb88cc80f9598f716ac19d6276ea62452"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Renderer/File.php: FileTooLong \u2014 668 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: File (51-1144). The bar is 500 significant lines; this is 168 over it, 1.34\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/Report/Html/Renderer/File.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a209065b953e057f89568a91bf671705e9efabfa205471c1db27e13ce66c0e5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: File: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 over it, 1.33\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/Node/File.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"e79eecd651a0cbe890a9c36631308cbc1109bdbcfcf20627ea2e642f0340875b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Clover.process: MethodTooLong \u2014 process runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Report/Clover.php"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9dcd1df2d4096e1f2d83b30c728480cd1de9ff3bb4332295be5304f19573d48"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BubbleChart.render: MethodTooLong \u2014 render runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Report/Html/Renderer/BubbleChart.php"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e5dc8b3be01cb8aa025d2a5f52b174840314a503130b3b0a5cdb815fc38791"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NamespaceNode: 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/Report/Html/ClassView/Node/NamespaceNode.php"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b191f7ba6dfe22d96d8fa444e0149931e4759b1edf47658b7380f0242c5993a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ExecutableLinesFindingVisitor: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\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/StaticAnalysis/Visitor/ExecutableLinesFindingVisitor.php"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a84814af8be9d3707e00a48c819a3ad81eeccfebcbeef5780ce8514005eccda"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Directory: 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/Node/Directory.php"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c64920de27be3f4e1d9b8fd518479f35b5389b72d01240bc1a2f67a060d4c54"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Renderer: 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/Report/Html/Renderer.php"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c8956797819926afe6fe1742faf536ff19a9251da1575f42dfb46f1701fd9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (104 shared lines): src/Report/Clover.php:44-233 | src/Report/OpenClover.php:50-259 \u2014 These two members are variants of one another: 104 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Report/Clover.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"a263f8193d54a4ad4415b94cda7071f73dbcb52eb2b27bda3cd540b7f760cfed"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): src/Report/Xml/Totals.php:31-41 | src/Report/Xml/Totals.php:46-53 | src/Report/Xml/Totals.php:58-65 | src/Report/Xml/Totals.php:70-77 | src/Report/Xml/Totals.php:82-89 \u2014 These 5 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 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Report/Xml/Totals.php"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac5ada49ec053e6d935b582d32db5bc4641766b16a9660b8b0786aecb1ff2889"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (122 corresponding lines): src/Report/Html/Renderer/File.php:572-694 | src/Report/Html/Renderer/File.php:699-820 \u2014 These two members are one piece of code written twice and then edited apart: 122 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Report/Html/Renderer/File.php"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d8186b37a5cc502c4d51caacd821e4601dd5686d494fd02c3b0191b8a6bb0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (68 corresponding lines): src/Report/Html/ClassView/Renderer/Class_.php:316-383 | src/Report/Html/Renderer/File.php:474-545 \u2014 These two members are one piece of code written twice and then edited apart: 68 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Report/Html/ClassView/Renderer/Class_.php"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaf1f7b756741c5fe42ecae6283f9dc982b6f179613468d0c2d18d5704bdb402"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): src/Node/File.php:649-694 | src/Node/File.php:702-747 \u2014 These two members are one piece of code written twice and then edited apart: 46 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Node/File.php"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa6b923347305510c39ae4dcc82fac7f5294e2cf4c15b4036fa5a0506e9b11d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): src/Report/Html/Facade.php:113-139 | src/Report/Html/Facade.php:147-176 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Report/Html/Facade.php"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"c242c841802331ef86fe172fd67a1ba153811aafed33f8cee8fba51a99171835"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (62 corresponding lines): src/Report/Html/ClassView/Renderer/Class_.php:188-249 | src/Report/Html/Renderer/File.php:329-395 \u2014 These two members are one piece of code written twice and then edited apart: 62 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Report/Html/ClassView/Renderer/Class_.php"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"41fc5de098a31fd51349a43e1a13546f1fe6575f1e91024b98ee4e2a856890be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/Report/Xml/Method.php:36-51 | src/Report/Xml/Unit.php:34-44 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Report/Xml/Method.php"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b401427d497a0da4f74be003e0a2fb09f4cd830980ad50b11a693203b13fd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): src/StaticAnalysis/Visitor/CodeUnitFindingVisitor.php:262-281 | src/StaticAnalysis/Visitor/CodeUnitFindingVisitor.php:321-337 | src/StaticAnalysis/Visitor/CodeUnitFindingVisitor.php:381-396 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/StaticAnalysis/Visitor/CodeUnitFindingVisitor.php"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"40022b986c22c4cf36d94886eb1017fe74f20d47f3aacaa8aa026b815b45fe5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): src/Node/File.php:392-412 | src/Node/File.php:417-439 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Node/File.php"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"f50f2207577daf1fabce5ed51b195cdbcfc0530b784436d91a36685b6bd2bbe5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 28\u002B corresponding lines): src/Report/Html/ClassView/Renderer/Dashboard.php:39-66 | src/Report/Html/ClassView/Renderer/Namespace_.php:35-67 | src/Report/Html/Renderer/Dashboard.php:34-63 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 28 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Report/Html/ClassView/Renderer/Dashboard.php"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8877b3c08af3c51f17b56484de04ad0de681e5aceb5d16330d6d6bbf19412e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): src/Node/File.php:447-467 | src/Report/Html/ClassView/Node/ClassNode.php:344-360 | src/Report/Html/ClassView/Node/NamespaceNode.php:383-399 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Node/File.php"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"a24e51a7f67b5f899003d30fa8decd24fd2d615493fb67163f0dabbcaea302a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): src/Data/ProcessedFunctionType.php:62-76 | src/Data/ProcessedMethodType.php:62-76 | src/Data/ProcessedTraitType.php:67-80 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Data/ProcessedFunctionType.php"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"676071648be3526bc006236b793d6ee9deb7a26c43f1cbb4060a4c3c67e254cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src/Report/Html/ClassView/Node/ClassNode.php:218-238 | src/Report/Html/ClassView/Node/NamespaceNode.php:201-215 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Report/Html/ClassView/Node/ClassNode.php"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"0610f2282b27de186570f9ff6460f988a8686215c8933b8821d3f1e5c8c5a7d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src/Report/Html/ClassView/Renderer/Namespace_.php:210-225 | src/Report/Html/Renderer.php:537-552 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Report/Html/ClassView/Renderer/Namespace_.php"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f343613129ead5e28ad7df36728c8e930e952d778b6896f3fbe16457aa69496"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src/Report/Html/ClassView/Node/NamespaceNode.php:288-302 | src/Report/Html/ClassView/Node/NamespaceNode.php:307-321 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Report/Html/ClassView/Node/NamespaceNode.php"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3e2de9463dab591ecc2ccd23e0cb20969a4a72f3ca2a1b135e4d8b607b9fda"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src/Report/Html/Renderer/Dashboard.php:113-137 | src/Report/Html/Renderer/Dashboard.php:164-183 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Report/Html/Renderer/Dashboard.php"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d3ac098ca8534247a49ce7b4fe6f5d9072cab7117f0424277b60181389a7e01"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 11\u002B corresponding lines): src/Node/Directory.php:297-307 | src/Node/Directory.php:421-431 | src/Node/Directory.php:465-475 | src/Node/Directory.php:509-519 | src/Node/Directory.php:553-563 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Node/Directory.php"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea3e79959c1eadf41b876df0ac67ea311f8bd66ff3eda91326d4a17381ee7a15"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/Report/Html/ClassView/Node/ClassNode.php:326-336 | src/Report/Html/ClassView/Node/NamespaceNode.php:365-375 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Report/Html/ClassView/Node/ClassNode.php"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd5550dae6ce45f918270add04f903f4a2a8e9a36464671c0988b84c24ddc391"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/Report/Html/ClassView/Node/ClassNode.php:311-321 | src/Report/Html/ClassView/Node/NamespaceNode.php:350-360 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Report/Html/ClassView/Node/ClassNode.php"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"1972ddd1707566370e996d0cf796150ccd279bc530e726c3724e75901378e521"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/Report/Html/Renderer.php:515-524 | src/Report/Html/Renderer/BubbleChart.php:219-227 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Report/Html/Renderer.php"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5d09626942e40d4fd66617e4e48fb3d2e519f61696b66e6864d4fed77b8ff0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): src/StaticAnalysis/Value/Function_.php:60-66 | src/StaticAnalysis/Value/Interface_.php:54-59 | src/StaticAnalysis/Value/Trait_.php:66-73 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/StaticAnalysis/Value/Function_.php"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"64731f0aef2deec35728ee95c61797bd74a8df4ac238a0cbb66e3c4c9234c900"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): src/Report/Html/Renderer/File.php:868-903 | src/Report/Html/Renderer/File.php:986-1021 \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/Report/Html/Renderer/File.php:868\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/Report/Html/Renderer/File.php"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d6d0b48b30f42532e5ab08975e212a540c8c64a6fbf5cdcc0023661ef645b63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201332 lines \u00D7 2): src/Report/Clover.php:91-122 | src/Report/OpenClover.php:99-129 \u2014 before extracting anything, compare \u0060src/Report/Clover.php\u0060 and \u0060src/Report/OpenClover.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 106 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/Report/Clover.php:91\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/Report/Clover.php"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca6375f6113164f43294e599c34ebfb055bee9a2d6138cf80bf8d804b5143ecf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): src/Report/Html/ClassView/Renderer/Class_.php:188-217 | src/Report/Html/Renderer/File.php:329-358 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Report/Html/ClassView/Renderer/Class_.php"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7c461007c4bcdb488f036ed12431ba92cc6b49e34a255feffde143ddb4508e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): src/Report/Html/ClassView/Renderer/Class_.php:329-355 | src/Report/Html/Renderer/File.php:485-511 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Report/Html/ClassView/Renderer/Class_.php:329\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/Report/Html/ClassView/Renderer/Class_.php"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5eb39700b85a82e42130d414fa320582070c96e6ee3468a37bf80e9a7f66fd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): src/Report/Cobertura.php:165-190 | src/Report/Cobertura.php:246-271 \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/Report/Cobertura.php:165\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Report/Cobertura.php"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f4d5736effeba5a895b5404a236720d7370f57027cdb324d6c69ebc768f2a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): src/Report/Html/ClassView/Renderer/Dashboard.php:91-116 | src/Report/Html/ClassView/Renderer/Namespace_.php:92-117 \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/Report/Html/ClassView/Renderer/Dashboard.php"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1dd30649609feffe2535cb7661f6a914ce939889b5beac7ac5fae44e5cafa0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): src/Report/Html/ClassView/Renderer/Dashboard.php:260-285 | src/Report/Html/Renderer/Dashboard.php:191-216 \u2014 before extracting anything, compare \u0060src/Report/Html/ClassView/Renderer/Dashboard.php\u0060 and \u0060src/Report/Html/Renderer/Dashboard.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 55 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/Report/Html/ClassView/Renderer/Dashboard.php"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"6731ab207b4dfa57bf52bd4d99c13e0566e337d27bd0bfb4e01b59c784549bbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/Node/File.php:671-694 | src/Node/File.php:724-747 \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/Node/File.php:671\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/Node/File.php"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"910db77c491838395c57ce6b08adae02f5509eb65cdf3f3c40ecaf9d7945b9f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): src/Report/Clover.php:49-70 | src/Report/OpenClover.php:57-77 \u2014 before extracting anything, compare \u0060src/Report/Clover.php\u0060 and \u0060src/Report/OpenClover.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 106 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/Report/Clover.php:49\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/Report/OpenClover.php:78\u0060 calls \u0060setAttribute\u0060, \u0060ensureUtf8\u0060, \u0060basename\u0060 and \u0060src/Report/Clover.php:71\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Report/Clover.php"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62b2919f38ef21362e441258b060d88ce2379527790624d36f57287a4487cb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): src/Report/Clover.php:141-158 | src/Report/OpenClover.php:147-165 \u2014 before extracting anything, compare \u0060src/Report/Clover.php\u0060 and \u0060src/Report/OpenClover.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 106 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/Report/Clover.php:141\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Report/Clover.php"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d20040ec5fc13da44e8e2c66dfb0f75dad64e05af709fa595aaf223a037806"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/Report/Clover.php:71-87 | src/Report/OpenClover.php:79-95 \u2014 before extracting anything, compare \u0060src/Report/Clover.php\u0060 and \u0060src/Report/OpenClover.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 106 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/Report/Clover.php:71\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Report/OpenClover.php:78\u0060 calls \u0060setAttribute\u0060, \u0060ensureUtf8\u0060, \u0060basename\u0060 and \u0060src/Report/Clover.php:70\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Report/Clover.php"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fbc269a88ca0f29abd60803a19ad4885688806c98a7a8c0a855c4e45173dd09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/Report/Html/Renderer/File.php:673-687 | src/Report/Html/Renderer/File.php:799-813 \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/Report/Html/Renderer/File.php:673\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/Report/Html/Renderer/File.php"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"211b0f936ae469230a60e5799eca455af91935b128588ef2d4d10fb17f2c0fbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Report/Html/ClassView/Node/ClassNode.php:348-360 | src/Report/Html/ClassView/Node/NamespaceNode.php:387-399 \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/Report/Html/ClassView/Node/ClassNode.php:348\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/Report/Html/ClassView/Node/ClassNode.php"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab133b24f344ed4b53ba734ff3e6e5848f519d768ca2cc2f146dec66e2e138a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Report/Html/Renderer/File.php:841-853 | src/Report/Html/Renderer/File.php:939-951 \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/Report/Html/Renderer/File.php:841\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/Report/Html/Renderer/File.php"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b0af7a82d65dbfbde312bf459306b3fe80aafcc2c4caadb66b294779051414"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Data/ProcessedFunctionType.php:63-74 | src/Data/ProcessedMethodType.php:63-74 \u2014 before extracting anything, compare \u0060src/Data/ProcessedFunctionType.php\u0060 and \u0060src/Data/ProcessedMethodType.php\u0060 as WHOLE FILES: 90% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Data/ProcessedFunctionType.php"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"39550d8ccf3b8cf15b9855dc9cc4b50f2f5b2459816aa49c6085ac8b52c3dc52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): src/Report/Cobertura.php:51-59 | src/Report/Cobertura.php:92-102 \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/Report/Cobertura.php"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"529a8500c380a584dba7ea09d227ee8a4534d363a8f3eb18ee6eecd1968861a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/Data/ProcessedFunctionType.php:62-71 | src/Data/ProcessedMethodType.php:62-71 | src/Data/ProcessedTraitType.php:67-76 \u2014 before extracting anything, compare \u0060src/Data/ProcessedFunctionType.php\u0060 and \u0060src/Data/ProcessedMethodType.php\u0060 as WHOLE FILES: 90% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Data/ProcessedFunctionType.php"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"f33610ddf8c59908e3923929b0f7895495d7cdc91142d3f3a95f4c7062c0154f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Report/Clover.php:175-183 | src/Report/OpenClover.php:179-187 \u2014 before extracting anything, compare \u0060src/Report/Clover.php\u0060 and \u0060src/Report/OpenClover.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 106 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/Report/Clover.php:175\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/Report/Clover.php"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"e54610d560445612c5f8f0ccfcddd0a0cc9169bef481abbf5696e10a39db6bf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): src/Report/Xml/Totals.php:35-41 | src/Report/Xml/Totals.php:47-53 | src/Report/Xml/Totals.php:59-65 | src/Report/Xml/Totals.php:71-77 | src/Report/Xml/Totals.php:83-89 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Report/Xml/Totals.php:32\u0060 calls \u0060writeAttribute\u0060 and \u0060src/Report/Xml/Totals.php:46\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/Report/Xml/Totals.php"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"616c9b435f443bad919c68005a8929674c26486ce02cbb08a8db2a68bacbf68a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Report/Cobertura.php:122-128 | src/Report/Cobertura.php:157-163 \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/Report/Cobertura.php"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"819ececb89d30bcf363877bd2d013316899c3198f9a75b14179cda045d2a4e87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Report/Clover.php:210-216 | src/Report/OpenClover.php:235-241 \u2014 before extracting anything, compare \u0060src/Report/Clover.php\u0060 and \u0060src/Report/OpenClover.php\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 106 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/Report/Clover.php"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"df94dc586d74ba95c376a00d73899d2461e9415ddb5ab3f4bc32bdfc0d59e61e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 5): src/Node/File.php:564-568 | src/Node/File.php:572-575 | src/Node/File.php:596-600 | src/Node/File.php:603-606 | src/Node/File.php:624-627 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Node/File.php:564\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Node/File.php"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac6731132d904317ef1c6d557e56ad623504221db37aed2792532a0f830ca01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/Report/Html/ClassView/Renderer/Dashboard.php:127-143 | src/Report/Html/Renderer/Dashboard.php:87-103 \u2014 before extracting anything, compare \u0060src/Report/Html/ClassView/Renderer/Dashboard.php\u0060 and \u0060src/Report/Html/Renderer/Dashboard.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 55 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/Report/Html/ClassView/Renderer/Dashboard.php"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f7fcad579848ae5ee9b105409d66ee1b95a9cf5ec3d947064b5d5eb1d788ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Report/Html/ClassView/Renderer/Dashboard.php:181-192 | src/Report/Html/Renderer/Dashboard.php:145-156 \u2014 before extracting anything, compare \u0060src/Report/Html/ClassView/Renderer/Dashboard.php\u0060 and \u0060src/Report/Html/Renderer/Dashboard.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 55 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/Report/Html/ClassView/Renderer/Dashboard.php"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"079ce1cd29ac671393be841997bf4c9c05074fc6c290891730d5b4dca16c872d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Report/Html/ClassView/Renderer/Dashboard.php:290-302 | src/Report/Html/ClassView/Renderer/Namespace_.php:230-242 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Report/Html/ClassView/Renderer/Dashboard.php"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"b69a187f3106346e0de3963d9bbf835204b324b1e1a50d1fd78c6c22168823f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Report/Jsonl/Facade.php:462-474 | src/Report/Xml/Facade.php:140-152 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Report/Jsonl/Facade.php"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"84bd8dadda734658be10066c588ed27041c8d113e6b5efed73a23dd138903a9c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSomething: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/_files/CoverageNoneTest.php"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"10bb6bc6c28a87ec84bdfae4d084b63ba3eb0a0108d86238090bf954b2663686"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testBranchOperatorLinesAreAlwaysSubsetOfExecutableMap: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/tests/StaticAnalysis/Visitor/ExecutableLinesFindingVisitorPropertyTest.php"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e33fac4566dca88b33d0676b11e50094c0ffedc11df08a58f629e16db2a453"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testEveryMarkedLineLiesWithinSourceBounds: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/tests/StaticAnalysis/Visitor/ExecutableLinesFindingVisitorPropertyTest.php"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f31a111df13c681663c4c2b080290f844260942fb482e502822035dd8e584bb"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testEveryBranchIdIsPositive: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/tests/StaticAnalysis/Visitor/ExecutableLinesFindingVisitorPropertyTest.php"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"261e528ebc3cba642af66ac3368907f9e0b418d6aab7b9a102a0e69478833833"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNoBlankLineIsMarked: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/tests/StaticAnalysis/Visitor/ExecutableLinesFindingVisitorPropertyTest.php"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"69fee778a7b2c6ec17a7d0d6efdb4dc3338ef0ec03b81b9cdc2b7eec29541f60"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNoSingleLineCommentOnlyLineIsMarked: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/tests/StaticAnalysis/Visitor/ExecutableLinesFindingVisitorPropertyTest.php"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"c95053bc328ff60c8f5e577b1d4fbbfee425b7c3537e051478a68dba5fde25d5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTraversalIsIdempotent: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/tests/StaticAnalysis/Visitor/ExecutableLinesFindingVisitorPropertyTest.php"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a57e66a07958cf492d93314a0396ec9b34926f857a11ca5f74d55c7ad63f443"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testLineEndingsDoNotAffectOutput: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/tests/StaticAnalysis/Visitor/ExecutableLinesFindingVisitorPropertyTest.php"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b0b1db329f3765e9edaaaa961438bb3e300866f00346166494679381f9bdc2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testNoStructuralOnlyLineAppearsInBranchOperatorLines: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/tests/StaticAnalysis/Visitor/ExecutableLinesFindingVisitorPropertyTest.php"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"c241bd9cf6d31f4ca29fb679a75c22fa22f81db086edc929bbe1474667023964"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testExecutableLinesAreGroupedByBranch: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/tests/StaticAnalysis/Visitor/ExecutableLinesFindingVisitorTest.php"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"92155de4260631058f7b081b8ae550b64685bffba81603998a35ea1dd6bcac87"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testExecutableLinesAreGroupedByBranchPhp81: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/tests/StaticAnalysis/Visitor/ExecutableLinesFindingVisitorTest.php"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a8a6da4869482d0419d6cba1d55360822885ec472068747e202d1dcf48223f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testExecutableLinesAreGroupedByBranchPhp82: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/tests/StaticAnalysis/Visitor/ExecutableLinesFindingVisitorTest.php"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c98876c69d52d1268c104d491ccba9622be0cc6f827e54db495c8448cbeaaec"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/StaticAnalysis/Visitor/ExecutableLinesFindingVisitor.php: src/StaticAnalysis/Visitor/ExecutableLinesFindingVisitor.php changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in ExecutableLinesFindingVisitor.enterNode at line 171. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 14:32:07 \u002B01:00\u0027 --until=\u00272026-11-13 14:32:07 \u002B01:00\u0027 --full-history --no-merges -- src/StaticAnalysis/Visitor/ExecutableLinesFindingVisitor.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/StaticAnalysis/Visitor/ExecutableLinesFindingVisitor.php"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd64182341483b438654464271f060470feaa34daa1e158d431c93480b9f0881"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/CodeCoverage.php: src/CodeCoverage.php changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in CodeCoverage.append at line 228. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 14:32:07 \u002B01:00\u0027 --until=\u00272026-11-13 14:32:07 \u002B01:00\u0027 --full-history --no-merges -- src/CodeCoverage.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/CodeCoverage.php"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"255213030c996b305052503fb552fb1b63e62ab82e75fdda995348388cc7c097"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Report/Html/Renderer/File.php: src/Report/Html/Renderer/File.php changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in File.renderSourceWithBranchCoverage at line 570. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 14:32:07 \u002B01:00\u0027 --until=\u00272026-11-13 14:32:07 \u002B01:00\u0027 --full-history --no-merges -- src/Report/Html/Renderer/File.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Report/Html/Renderer/File.php"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a7b4dbf2210994bc55d695326202fa41d2e080053a8fcb69a1e405c48499aa1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Report/Html/ClassView/Renderer/Class_.php: src/Report/Html/ClassView/Renderer/Class_.php changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in Class_.renderSourceSection at line 314. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 14:32:07 \u002B01:00\u0027 --until=\u00272026-11-13 14:32:07 \u002B01:00\u0027 --full-history --no-merges -- src/Report/Html/ClassView/Renderer/Class_.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Report/Html/ClassView/Renderer/Class_.php"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6c3c2a2f49fd5b525de9694066284b1676eb0c1449a366871595ceb04beb43f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Data/ProcessedCodeCoverageData.php: src/Data/ProcessedCodeCoverageData.php changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in ProcessedCodeCoverageData.merge at line 305. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 14:32:07 \u002B01:00\u0027 --until=\u00272026-11-13 14:32:07 \u002B01:00\u0027 --full-history --no-merges -- src/Data/ProcessedCodeCoverageData.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Data/ProcessedCodeCoverageData.php"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"e679f356e382903bd7ccf80fe2b350a9a54c36dcd3ca6c33c2cf6a237739f41f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Report/Html/ControlFlowGraph.php: src/Report/Html/ControlFlowGraph.php changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in ControlFlowGraph.generateDot at line 87. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 14:32:07 \u002B01:00\u0027 --until=\u00272026-11-13 14:32:07 \u002B01:00\u0027 --full-history --no-merges -- src/Report/Html/ControlFlowGraph.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Report/Html/ControlFlowGraph.php"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"778433575ac0e7eab2b3700c1add52a2ff35feb27249f0c7686574b40842c964"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Report/Text.php: src/Report/Text.php changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in Text.process at line 47. 2 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 14:32:07 \u002B01:00\u0027 --until=\u00272026-11-13 14:32:07 \u002B01:00\u0027 --full-history --no-merges -- src/Report/Text.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Report/Text.php"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e7c0ec9694189a631de668a92beb450245ba792ace02cac18d8cbfbfc70633"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: File.php \u2194 FileAnalyser.php: \u0060src/Node/File.php\u0060 (context Node) and \u0060src/StaticAnalysis/FileAnalyser.php\u0060 (context StaticAnalysis) sit in DIFFERENT parts of the tree yet change together 58% of the time (7 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060ad9fcff0\u0060 Fix \u0060phpstan-type\u0060 declarations; \u006053980056\u0060 Refactor array to value object; \u00603b783667\u0060 Enhancement: Document array shapes \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Node/File.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cbe29a51159a3d1617af57ca899328f288f1ca244bda7de1430bafd1715aeec"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: Clover.php \u2194 Crap4j.php: \u0060src/Report/Clover.php\u0060 and \u0060src/Report/Crap4j.php\u0060 change together 76% of the time (16 of the 21 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 16 shared commits counted here, the most recent 3 are \u006095a7166c\u0060 Closes #491; \u0060fefc2a84\u0060 Extract methods to reduce code duplication and handle error in DOMDoc\u2026; \u0060498ec90a\u0060 Cleanup \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Report/Clover.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff50992518161ae17a0db1dd3840b52d88101b8d721048fb392b3999539ee7a8"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"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":"P6","level":"note","message":{"text":"Changelog looks stale/thin: The changelog this check read carries 1 versioned entry, against a bar of 3. Counted as either the distinct \u0060x.y.z\u0060 versions it names (a link\u0027s target is not counted) or its version-shaped section headings (\u0060## [1.2.0]\u0060, \u0060## V14.x.x\u0060, \u0060## Updates in 8.0.x\u0060), whichever is the larger \u2014 so a log sectioned by minor series counts its sections, not its individual patch numbers. Entries recorded somewhere this check does not read \u2014 release notes generated at tag time from a generator config it did not recognise, or a log kept outside the repository \u2014 are not counted here, and this row is about what is re-findable in the tree rather than about how often you release."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c9a74c249fe67853238d9c15085f7f97d31f51bb82455046aa10c2cef82f67b8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$lastBranchId !== null \u0026\u0026 isset($methodData-\u003Ebranches[$lastBranchId])\u0060 appears character-identically in 2 files \u2014 src/Report/Html/ControlFlowGraph.php, src/Report/Html/Renderer/File.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/Report/Html/ControlFlowGraph.php"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b06154cde321c329fa0e63a162430dd29cf0d840d4a65c2e95e7da40dbaf0ce"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$numClasses === 1 \u0026\u0026 $numTestedMethodsByTestSize === $numMethods\u0060 appears character-identically in 2 files \u2014 src/Report/Html/Renderer.php, src/Report/Html/Renderer/File.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/Report/Html/Renderer.php"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c1d7e24b2a0e5373bf247a39a264f9fc56963217b5486d448898c80e7a476ea"}},{"ruleId":"X19","level":"warning","message":{"text":"Process-global state is restored only on the happy path: \u0060asString\u0060 changes state that belongs to the whole PROCESS and changes it back at the end of the same body \u2014 libxml\u0027s internal-error mode (changed at line 36, put back at line 56) \u2014 which says the change was meant to last no longer than this call. But the restore is an ordinary statement on the straight-line path, not a \u0060finally\u0060, so it is skipped by any exception thrown in between: PHP then keeps the overwritten value for the rest of the request \u2014 and in a CLI command, a queue worker or a long-running server (Octane, Swoole, RoadRunner, FrankenPHP) for the rest of the process\u0027s life \u2014 and every later relative path, child-process launch, date, number format, XML parse or error report in ANY class reads it. That failure is silent and remote from its cause: the function that breaks is not the function that moved the value. The durable fix is not to widen the restore but to stop mutating the global: pass the value to the operation that needs it \u2014 \u0060cwd\u0060 and \u0060env\u0060 to Symfony \u0060Process\u0060 (\u0060new Process($command, $cwd, $env)\u0060) or \u0060proc_open($command, $spec, $pipes, $cwd, $env)\u0060, absolute paths instead of \u0060chdir\u0060, an explicit \u0060DateTimeZone\u0060 or locale to \u0060DateTimeImmutable\u0060/\u0060IntlDateFormatter\u0060/\u0060NumberFormatter\u0060, an explicit encoding to the \u0060mb_*\u0060 call, \u0060LIBXML_NOERROR\u0060/\u0060libxml_get_errors\u0060 handling in one place. Where the global genuinely must move, wrap it \u0060try\u0060/\u0060finally\u0060 so the restore runs on every path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Util/Xml.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"78fb016a709a3fd9b230327332741559ba0f22e0f08c019627e0ddd8e69ce747"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (error)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Report/Html/Renderer/Template/js/coverage-table.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"350518beee1bf8893243fe7477d963c1df0adf19c5e69d71cedb9c7de70661c5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (error)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Report/Html/Renderer/Template/js/source-view.js"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe05ab485bae76ef47672a584eb71632b0029cf931524d7fe37165357ac533f"}}],"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-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"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-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":3,"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."]}]}