{"$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":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"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":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"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":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"PrettyPrinterAbstract.pArray (cyclomatic 60): PrettyPrinterAbstract.pArray has cyclomatic complexity 60 (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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: lib/PhpParser/PrettyPrinterAbstract.php holds 3 of the 11 methods over the threshold \u2014 including the worst \u2014 and 74 of the 192 points over it (39%), 2.1\u00D7 the next-largest file (lib/PhpParser/NodeVisitor/NameResolver.php at 36). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/PrettyPrinterAbstract.php"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2034dd5fa51c71ca9f77fa4b7789c3d17219e8b40a7ca202161b0353efce327"}},{"ruleId":"D1","level":"warning","message":{"text":"NameResolver.enterNode (cyclomatic 51): NameResolver.enterNode has cyclomatic complexity 51 (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":"lib/PhpParser/NodeVisitor/NameResolver.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"64ee77af4581f0d83404343ba86c8ff5bca7f58958b3ca730b2c7713b975fbb5"}},{"ruleId":"D1","level":"warning","message":{"text":"ParserAbstract.doParse (cyclomatic 43): ParserAbstract.doParse has cyclomatic complexity 43 (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":"lib/PhpParser/ParserAbstract.php"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b9823c2354fcdb9852aab7286d0ae255a1a2638eee5f641e4805868ac25177"}},{"ruleId":"D1","level":"warning","message":{"text":"NodeDumper.dumpRecursive (cyclomatic 37): NodeDumper.dumpRecursive has cyclomatic complexity 37 (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":"lib/PhpParser/NodeDumper.php"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"585751513131e7c9c38d4de2a71a6a0ea82b463040ca95b81c39d6e294f891a7"}},{"ruleId":"D1","level":"warning","message":{"text":"PrettyPrinterAbstract.p (cyclomatic 32): PrettyPrinterAbstract.p has cyclomatic complexity 32 (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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: lib/PhpParser/PrettyPrinterAbstract.php holds 3 of the 11 methods over the threshold \u2014 including the worst \u2014 and 74 of the 192 points over it (39%), 2.1\u00D7 the next-largest file (lib/PhpParser/NodeVisitor/NameResolver.php at 36). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/PrettyPrinterAbstract.php"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c111180ea7532f8d12fa79a77da0724c29279551e49b1652044917faadf712"}},{"ruleId":"D1","level":"warning","message":{"text":"PrettyPrinterAbstract.pFixup (cyclomatic 27): PrettyPrinterAbstract.pFixup has cyclomatic complexity 27 (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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: lib/PhpParser/PrettyPrinterAbstract.php holds 3 of the 11 methods over the threshold \u2014 including the worst \u2014 and 74 of the 192 points over it (39%), 2.1\u00D7 the next-largest file (lib/PhpParser/NodeVisitor/NameResolver.php at 36). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/PrettyPrinterAbstract.php"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"5615c9beafe623dfa57c93e25b6a7cd5a683a118e16b36c5d04a05529cbd6168"}},{"ruleId":"D1","level":"warning","message":{"text":"NodeTraverser.traverseArray (cyclomatic 24): NodeTraverser.traverseArray 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":"lib/PhpParser/NodeTraverser.php"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"077298380b8617456e4c015c4efa8d0f18929b8f7f78f0087685702ef61df56d"}},{"ruleId":"D1","level":"warning","message":{"text":"Php7.initReduceCallbacks (cyclomatic 22): Php7.initReduceCallbacks has cyclomatic complexity 22 (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":"lib/PhpParser/Parser/Php7.php"},"region":{"startLine":1259}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ca9b014b6a7a37a06c762e31d396c4e28838a9559fc2897d56a44c34443623"}},{"ruleId":"D1","level":"warning","message":{"text":"Php8.initReduceCallbacks (cyclomatic 22): Php8.initReduceCallbacks has cyclomatic complexity 22 (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":"lib/PhpParser/Parser/Php8.php"},"region":{"startLine":1276}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf38a9a1be05a78068d24547a43f99ff8c4eec83a9a054834c3c474d09202aa"}},{"ruleId":"D1","level":"warning","message":{"text":"NodeTraverser.traverseNode (cyclomatic 20): NodeTraverser.traverseNode 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":"lib/PhpParser/NodeTraverser.php"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9bc9e15b9c27a899d19270144ab36a6c0abd99a1892baacccfd400df0e92099"}},{"ruleId":"D1","level":"warning","message":{"text":"TokenPolyfill.tokenize (cyclomatic 19): TokenPolyfill.tokenize 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":"lib/PhpParser/Internal/TokenPolyfill.php"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"170aa2ec72ed30d8ffe3cddb6437c2ae84e962892af67c8e0b82139ea00fe16d"}},{"ruleId":"D2","level":"warning","message":{"text":"PrettyPrinterAbstract.pArray (cognitive 142): PrettyPrinterAbstract.pArray has cognitive complexity 142 (threshold 15). Drivers by points: if/else 43 (113 pts), boolean chains 17, loops 3 (7 pts), ternaries 2 (5 pts) (nesting depth added 77). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/PrettyPrinterAbstract.php"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae8c5ced86e738cdab06464921aa6f5e75cf0a1d7fcc34fd5ee0d2b888620f1"}},{"ruleId":"D2","level":"warning","message":{"text":"ParserAbstract.doParse (cognitive 104): ParserAbstract.doParse has cognitive complexity 104 (threshold 15). Drivers by points: if/else 21 (68 pts), boolean chains 16, loops 4 (12 pts), error handling 1 (4 pts), match/switch 1 (4 pts) (nesting depth added 61). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/ParserAbstract.php"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e45f0c9052deab63b8239e7f00ff8fedb69a7fdf962f7efbc52aaa7083f296"}},{"ruleId":"D2","level":"warning","message":{"text":"NodeDumper.dumpRecursive (cognitive 78): NodeDumper.dumpRecursive has cognitive complexity 78 (threshold 15). Drivers by points: if/else 18 (62 pts), boolean chains 9, loops 3 (7 pts) (nesting depth added 48). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/NodeDumper.php"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aacd44084a79278af1db2fdc2ed7f2f49c40ba91bf88c6d47196edfeec90034"}},{"ruleId":"D2","level":"warning","message":{"text":"PrettyPrinterAbstract.p (cognitive 63): PrettyPrinterAbstract.p has cognitive complexity 63 (threshold 15). Drivers by points: if/else 23 (52 pts), boolean chains 10, loops 1 (nesting depth added 29). 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":"lib/PhpParser/PrettyPrinterAbstract.php"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"147af5d7d52108a9b6378ca96ea34444846361142205b4570233c9f8fb8fcddb"}},{"ruleId":"D2","level":"warning","message":{"text":"TokenPolyfill.tokenize (cognitive 59): TokenPolyfill.tokenize has cognitive complexity 59 (threshold 15). Drivers by points: if/else 16 (50 pts), loops 2 (5 pts), boolean chains 4 (nesting depth added 37). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/Internal/TokenPolyfill.php"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"4611c9b43fec7de7611a218b6ff1d3da94672f8173e04cd39f879d272de5bd3e"}},{"ruleId":"D2","level":"warning","message":{"text":"NameResolver.enterNode (cognitive 50): NameResolver.enterNode has cognitive complexity 50 (threshold 15). Drivers by points: loops 11 (24 pts), if/else 9 (19 pts), boolean chains 6, match/switch 1 (nesting depth added 23). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/NodeVisitor/NameResolver.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ebea19a7691d300032cc556e25f88364b740fb529cdb2e90dd7fec985df8def"}},{"ruleId":"D2","level":"warning","message":{"text":"NodeTraverser.traverseArray (cognitive 34): NodeTraverser.traverseArray has cognitive complexity 34 (threshold 15). Drivers by points: if/else 11 (27 pts), loops 4 (7 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/NodeTraverser.php"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3bbcee1b93d1b317c0a33b7bd106adb9c576c6e6835143bed49a776427e3716"}},{"ruleId":"D2","level":"warning","message":{"text":"NodeTraverser.traverseNode (cognitive 33): NodeTraverser.traverseNode has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (28 pts), loops 3 (5 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/NodeTraverser.php"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"7913b6377cadc52d2e512797422882e410ac378b4cc70613d7adb406662bc443"}},{"ruleId":"D2","level":"warning","message":{"text":"Php7.initReduceCallbacks (cognitive 31): Php7.initReduceCallbacks has cognitive complexity 31 (threshold 15). Drivers by points: if/else 22 (27 pts), loops 3, ternaries 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/Parser/Php7.php"},"region":{"startLine":1259}}}],"partialFingerprints":{"codehealthFindingId/v1":"209ecdee80dc4ac4c2c989e6fefa092e15d77e544a4e0fcd411bf1f996e2ea78"}},{"ruleId":"D2","level":"warning","message":{"text":"Php8.initReduceCallbacks (cognitive 31): Php8.initReduceCallbacks has cognitive complexity 31 (threshold 15). Drivers by points: if/else 22 (27 pts), loops 3, ternaries 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/Parser/Php8.php"},"region":{"startLine":1276}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ee5d4d489948b148b50544fc424723257b6cfd68388c1308faee6f84db457e"}},{"ruleId":"D2","level":"warning","message":{"text":"ParserAbstract.handleNamespaces (cognitive 28): ParserAbstract.handleNamespaces has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 2 (4 pts), boolean chains 3 (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":"lib/PhpParser/ParserAbstract.php"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ea0ccf67f65275e4ce33a29ec3ad0b30c6792d8f1992c5b475dca65eb53fbb"}},{"ruleId":"D2","level":"warning","message":{"text":"PrettyPrinterAbstract.pFixup (cognitive 28): PrettyPrinterAbstract.pFixup has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 6, ternaries 1 (3 pts), match/switch 1 (nesting depth added 11). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/PrettyPrinterAbstract.php"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dfa2bb8fb8da1bf7cf799e367abf978e4ba7bc11aa87531e18bff0df0558e61"}},{"ruleId":"D2","level":"warning","message":{"text":"Standard.pScalar_String (cognitive 26): Standard.pScalar_String has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (13 pts), ternaries 3 (10 pts), boolean chains 2, match/switch 1 (nesting depth added 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/PrettyPrinter/Standard.php"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c7aa8080f2d8b45b6c1e6a5d13eaa5f86c21a44a6d6503773ca6257cf603f74"}},{"ruleId":"D2","level":"warning","message":{"text":"ParserAbstract.parseDocString (cognitive 25): ParserAbstract.parseDocString has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 1 (2 pts), ternaries 2, boolean chains 1 (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":"lib/PhpParser/ParserAbstract.php"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"2383fe6ef55cbe27f0b281b6ca6aaf10964dd1276d9516d3ea789d5c0b6ae654"}},{"ruleId":"D2","level":"warning","message":{"text":"NameContext.getPossibleNames (cognitive 21): NameContext.getPossibleNames has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 2, 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":"lib/PhpParser/NameContext.php"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb46a5b14e60d92908e521705f2429ba9b7fb695882dffd8cb878b9a8bec11d"}},{"ruleId":"D2","level":"warning","message":{"text":"ParserAbstract.getNamespacingStyle (cognitive 21): ParserAbstract.getNamespacingStyle has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (13 pts), boolean chains 4, ternaries 1 (3 pts), loops 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":"lib/PhpParser/ParserAbstract.php"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0d58d02fe8aa00eff71133adcb26e7000da49924ba96a7f509f99262796611b"}},{"ruleId":"D2","level":"warning","message":{"text":"CommentAnnotatingVisitor.enterNode (cognitive 20): CommentAnnotatingVisitor.enterNode has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 2 (4 pts), boolean chains 2 (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":"lib/PhpParser/NodeVisitor/CommentAnnotatingVisitor.php"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"740d4e894ef1eeaf48893242cbb175f65fa22c4dae6460fd7a23a5734af0bbbf"}},{"ruleId":"D2","level":"warning","message":{"text":"Differ.calculateTrace (cognitive 18): Differ.calculateTrace has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (7 pts), loops 3 (6 pts), boolean chains 5 (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":"lib/PhpParser/Internal/Differ.php"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c962aa469c580e9e5021c24e155a1945baf77baf23b12ca20b84d7fb15dd52a"}},{"ruleId":"D2","level":"warning","message":{"text":"Differ.coalesceReplacements (cognitive 18): Differ.coalesceReplacements has cognitive complexity 18 (threshold 15). Drivers by points: loops 5 (11 pts), if/else 3 (5 pts), boolean chains 2 (nesting depth added 8). 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":"lib/PhpParser/Internal/Differ.php"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95f73a0d8df36671b3228b4f7c4b32afd367d9fd1e44db198e82160916f3f5d"}},{"ruleId":"D2","level":"warning","message":{"text":"Emulative.fixupTokens (cognitive 18): Emulative.fixupTokens has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (3 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":"lib/PhpParser/Lexer/Emulative.php"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"2508cb0cb12e705f464e5c46382562cccdae4ea28ce759242b31f54494adbbb8"}},{"ruleId":"D2","level":"warning","message":{"text":"VoidCastEmulator.emulate (cognitive 18): VoidCastEmulator.emulate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 7, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/Lexer/TokenEmulator/VoidCastEmulator.php"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b01893862d4c38eb495802f53a317a2da635644f06a1d173c5411f21537484c"}},{"ruleId":"D2","level":"warning","message":{"text":"ParserAbstract.getExpectedTokens (cognitive 18): ParserAbstract.getExpectedTokens has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (9 pts), boolean chains 8, loops 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":"lib/PhpParser/ParserAbstract.php"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"666d981e692faaba8e7e6fac0f48f67eaac5df57699a5d70289cea3c041bf807"}},{"ruleId":"D2","level":"warning","message":{"text":"BuilderHelpers.normalizeValue (cognitive 17): BuilderHelpers.normalizeValue has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (12 pts), loops 1 (2 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/BuilderHelpers.php"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f848de97ffd38059d29d8c9af18a3b4357ebddd7beb953433e926d60335986e"}},{"ruleId":"D2","level":"warning","message":{"text":"TokenPolyfill.is (cognitive 17): TokenPolyfill.is has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 1 (2 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":"lib/PhpParser/Internal/TokenPolyfill.php"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"c154d56ffcab77fc2a771a78d8f8d4f8979f1d8023de4794151c9094ac7a36ef"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Php8.initReduceCallbacks: MethodTooLong \u2014 initReduceCallbacks runs 1107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1007 over it, 11.07\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":"lib/PhpParser/Parser/Php8.php"},"region":{"startLine":1276}}}],"partialFingerprints":{"codehealthFindingId/v1":"942d23caeb2a9121eb102cfa2a2afa5565980b6c62f75426b946007ec6fa7203"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Php7.initReduceCallbacks: MethodTooLong \u2014 initReduceCallbacks runs 1101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1001 over it, 11.01\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":"lib/PhpParser/Parser/Php7.php"},"region":{"startLine":1259}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ee98a2f861c4a465864a45b2237d4bae37a69813bfba85648bef981cf7e077"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Standard: TooManyMethods \u2014 189 methods. The bar is 30 methods; this is 159 over it, 6.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/PrettyPrinter/Standard.php"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"e062bf084f042d189edd5227e79980f12f4cbdd09638850726a492be97dc99d8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Php8: ClassTooLong \u2014 1674 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 1274 over it, 4.19\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":"lib/PhpParser/Parser/Php8.php"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d4c10751eb14391ca70015c3e6c8c4c95024c6cd8c1a2aaf4b1e33ad774373"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Php7: ClassTooLong \u2014 1639 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 1239 over it, 4.10\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":"lib/PhpParser/Parser/Php7.php"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"53cc225b4ee604b960644c73683b49a2e89e11f76c559d25a11f64b168ec873f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Parser/Php8.php: FileTooLong \u2014 1683 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: Php8 (19-2953). The bar is 500 significant lines; this is 1183 over it, 3.37\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":"lib/PhpParser/Parser/Php8.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d4521f32b7311b88d24e5198c31304f0af03dc708665f69f6c5f599145b87f4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Parser/Php7.php: FileTooLong \u2014 1648 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: Php7 (19-2927). The bar is 500 significant lines; this is 1148 over it, 3.30\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":"lib/PhpParser/Parser/Php7.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c1863da9c9f42960c3cdfe3cf5b290e7718c639e8ec60574c0520db1ee323fa"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PrettyPrinterAbstract: ClassTooLong \u2014 932 significant lines (blank, comment-only and punctuation-only lines excluded), 39 methods. The bar is 400 significant lines; this is 532 over it, 2.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":"lib/PhpParser/PrettyPrinterAbstract.php"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"3311d983ad1aeaefbe04dd41014be76630104ac99c71636a4d24d9dbfa6ed290"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ParserAbstract: TooManyMethods \u2014 57 methods. The bar is 30 methods; this is 27 over it, 1.90\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":"lib/PhpParser/ParserAbstract.php"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9dd75285d094ff20468cffd1122e356cb2319726a44f56f21e24f0b77ac2dc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: PhpParser/PrettyPrinterAbstract.php: FileTooLong \u2014 950 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: PrettyPrinterAbstract (22-1728). The bar is 500 significant lines; this is 450 over it, 1.90\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":"lib/PhpParser/PrettyPrinterAbstract.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccc5c0ad4d639c7b71ac4effe1ffa5d6dd3eaf3d9932d54ce7ae3bcbabcf1018"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Standard: ClassTooLong \u2014 703 significant lines (blank, comment-only and punctuation-only lines excluded), 189 methods. The bar is 400 significant lines; this is 303 over it, 1.76\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":"lib/PhpParser/PrettyPrinter/Standard.php"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"4350b795c027f2221b7511f8dc4d428bb530bc213182ae68ceeab7d2477b15f4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ParserAbstract: ClassTooLong \u2014 686 significant lines (blank, comment-only and punctuation-only lines excluded), 57 methods. The bar is 400 significant lines; this is 286 over it, 1.72\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":"lib/PhpParser/ParserAbstract.php"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"e913b43850cb7b56335fb865bd71322894d746861b3b9d8db5370508038dad67"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PrettyPrinterAbstract.pArray: MethodTooLong \u2014 pArray runs 155 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 55 over it, 1.55\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":"lib/PhpParser/PrettyPrinterAbstract.php"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e4beb7c4f551522817e575923dc9361b78fb7ca052df63585750ec6a20e91c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: PhpParser/ParserAbstract.php: FileTooLong \u2014 716 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: ParserAbstract (39-1365). The bar is 500 significant lines; this is 216 over it, 1.43\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":"lib/PhpParser/ParserAbstract.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c2914197ec35f985f55608852f0880d07ac87764f5589a5713b333ba5baa29"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: PrettyPrinter/Standard.php: FileTooLong \u2014 715 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: Standard (16-1236). The bar is 500 significant lines; this is 215 over it, 1.43\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":"lib/PhpParser/PrettyPrinter/Standard.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c405d9485a14e615c461a9b3143c894eeaf3285acd50e16331be78d12109c73"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PrettyPrinterAbstract: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/PrettyPrinterAbstract.php"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"145bdcf7b61fce5308f111c7a0af87b1226a8127e2513dc101b92a149835084c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NameResolver.enterNode: MethodTooLong \u2014 enterNode runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\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":"lib/PhpParser/NodeVisitor/NameResolver.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb7293523687c31005a4006ed7fe039f6b8b0dfb3417804c7b5ac188cb3ac26"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ParserAbstract.doParse: MethodTooLong \u2014 doParse runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\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":"lib/PhpParser/ParserAbstract.php"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd7ed2e923e2ecdcc633b580a5ec44b31d60d441620ad52fed87d8cf4bbdc6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): lib/PhpParser/Builder/Class_.php:107-121 | lib/PhpParser/Builder/Enum_.php:73-87 | lib/PhpParser/Builder/Trait_.php:40-54 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 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":"lib/PhpParser/Builder/Class_.php"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c36dea3a24c96a606ab692258b1fbbb1fd4117e7e36abdfec3524674050ce44"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/PhpParser/PrettyPrinter/Standard.php:677-683 | lib/PhpParser/PrettyPrinter/Standard.php:875-882 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/PrettyPrinter/Standard.php"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f5d27b94c1d4dcb85220da198a7e287f6e2f852d6ea8fe44daa8dac633758b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/PhpParser/Lexer/TokenEmulator/AttributeEmulator.php:20-31 | lib/PhpParser/Lexer/TokenEmulator/PipeOperatorEmulator.php:19-28 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/Lexer/TokenEmulator/AttributeEmulator.php"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04bc29924ba48e9284fdd79ee580967f0a33c1df6b4880c4aa6dc396c1445f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): lib/PhpParser/Node/Expr/Closure.php:48-55 | lib/PhpParser/Node/Stmt/ClassMethod.php:67-74 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/Node/Expr/Closure.php"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b472043cc4c1a817a3691f8b03cee5b5ee19391d8cff37a593e9a68b34acdbac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): lib/PhpParser/PrettyPrinter/Standard.php:808-812 | lib/PhpParser/PrettyPrinter/Standard.php:1056-1061 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/PrettyPrinter/Standard.php"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ac083bb8b391ac36cc408672d7c3c1f49552621925f16c152c0ada74cf632d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): lib/PhpParser/PrettyPrinter/Standard.php:592-598 | lib/PhpParser/PrettyPrinter/Standard.php:616-622 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/PrettyPrinter/Standard.php"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8cb0e452f1d6c6c9f31c60a9ea1579d0d49db13b439862d76b5ced16429399b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): lib/PhpParser/PrettyPrinterAbstract.php:393-402 | lib/PhpParser/PrettyPrinterAbstract.php:447-458 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/PrettyPrinterAbstract.php"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e06ece3c37546dff7f735baed7dc64fb57b05926dd68875b6c693900cba71e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): lib/PhpParser/Node/PropertyHook.php:45-51 | lib/PhpParser/Node/Stmt/Class_.php:53-59 | lib/PhpParser/Node/Stmt/Enum_.php:28-34 | lib/PhpParser/Node/Stmt/Function_.php:44-50 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/Node/PropertyHook.php"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f923ed0a9427d0bd872a9df476ad33cfa678caf782a570a4b5df9bdc12078c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): lib/PhpParser/PrettyPrinter/Standard.php:919-922 | lib/PhpParser/PrettyPrinter/Standard.php:974-976 \u2014 These two members are one piece of code written twice and then edited apart: 3 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":"lib/PhpParser/PrettyPrinter/Standard.php"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"f306fd82741859605d4306485dfa6b670b82b23765f4a50dd185f5f5ff4686f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): lib/PhpParser/Node/Stmt/Interface_.php:26-30 | lib/PhpParser/Node/Stmt/Trait_.php:21-24 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/Node/Stmt/Interface_.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3a83ce061f6173e6c91f5f168a673d23b00bbfe9a793384dedd4438cb36ec3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): lib/PhpParser/NodeTraverser.php:130-151 | lib/PhpParser/NodeTraverser.php:218-239 \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 \u0060lib/PhpParser/NodeTraverser.php:130\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":"lib/PhpParser/NodeTraverser.php"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c5f383ddc52744f440cc8825ed704466f21d4f697dced552f9fc24fb978143"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): lib/PhpParser/Builder/Class_.php:111-121 | lib/PhpParser/Builder/Enum_.php:77-87 | lib/PhpParser/Builder/Trait_.php:44-54 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/PhpParser/Builder/Class_.php:111\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/Builder/Class_.php"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"b50b5ba59b1b502c3f55fbbc6bc24322d97f6ddd587cdad98c111cecbc88fbf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): lib/PhpParser/NodeTraverser.php:119-127 | lib/PhpParser/NodeTraverser.php:207-215 \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 \u0060lib/PhpParser/NodeTraverser.php:119\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":"lib/PhpParser/NodeTraverser.php"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7dcb44c30f742752a559cfe9aefba77b4d571688f475d16018df2bce4e2795a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): lib/PhpParser/NodeVisitor/NodeConnectingVisitor.php:42-49 | lib/PhpParser/NodeVisitor/ParentConnectingVisitor.php:36-43 \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":"lib/PhpParser/NodeVisitor/NodeConnectingVisitor.php"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"c492bcd6fb0a176093ff2769b4fdb18878b7c8b22294a0f1ff8de289a8d085de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/PhpParser/Lexer/TokenEmulator/VoidCastEmulator.php:26-31 | lib/PhpParser/Lexer/TokenEmulator/VoidCastEmulator.php:39-44 \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":"lib/PhpParser/Lexer/TokenEmulator/VoidCastEmulator.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59fed560d9962c2007403dc11d1496918276eb0b305e6d237457187a640f2f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): lib/PhpParser/Node/Expr/MethodCall.php:29-44 | lib/PhpParser/Node/Expr/NullsafeMethodCall.php:29-44 \u2014 before extracting anything, compare \u0060lib/PhpParser/Node/Expr/MethodCall.php\u0060 and \u0060lib/PhpParser/Node/Expr/NullsafeMethodCall.php\u0060 as WHOLE FILES: 85% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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 \u0060lib/PhpParser/Node/Expr/MethodCall.php:29\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/Node/Expr/MethodCall.php"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"4107ea31858b80bf9f9964d7cccd81c84b8b549edb70421f9ccba4aea2927fc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): lib/PhpParser/Node/Expr/NullsafePropertyFetch.php:23-33 | lib/PhpParser/Node/Expr/PropertyFetch.php:23-33 \u2014 before extracting anything, compare \u0060lib/PhpParser/Node/Expr/NullsafePropertyFetch.php\u0060 and \u0060lib/PhpParser/Node/Expr/PropertyFetch.php\u0060 as WHOLE FILES: 88% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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 \u0060lib/PhpParser/Node/Expr/NullsafePropertyFetch.php:23\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/Node/Expr/NullsafePropertyFetch.php"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e319700f9b0f4021c91a065fad84638d36402555c22f358a6d11ef4631901128"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/PhpParser/Node/Stmt/Goto_.php:19-28 | lib/PhpParser/Node/Stmt/Label.php:19-28 \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 \u0060lib/PhpParser/Node/Stmt/Goto_.php:19\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/Node/Stmt/Goto_.php"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e96f1a316488684aeb67705928aadad1b9d08d360ba7a313be37b5730ea33a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): lib/PhpParser/Error.php:149-158 | lib/PhpParser/NodeDumper.php:288-297 \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":"lib/PhpParser/Error.php"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"097ff996e3f689ddb7cd701c8a18e72e5fb32f219ff79fb78c317e717749ac75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/PhpParser/Lexer/TokenEmulator/AsymmetricVisibilityTokenEmulator.php:73-78 | lib/PhpParser/Lexer/TokenEmulator/KeywordEmulator.php:17-22 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/Lexer/TokenEmulator/AsymmetricVisibilityTokenEmulator.php"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"56347b92dfae35ffefb2625339f7a587081714c2981bb14cd54bbbc73251bc7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/PhpParser/Node/Arg.php:30-34 | lib/PhpParser/Node/ArrayItem.php:26-30 \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":"lib/PhpParser/Node/Arg.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b0c54083316031774123ddbc112b43ef05e0d9e3184ae0536eb8cfaa8446ee"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ParserAbstract (LCOM4 10): ParserAbstract\u0027s methods fall into 10 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 10 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/ParserAbstract.php"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea52229e3b6477ac74f011bff9603e43a7bd2c50d65549d23afc63a35cd20c4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPrettyPrint: 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":"test/PhpParser/PrettyPrinterTest.php"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b28f00e2375bdc7bb7bf3d18fabd283fff50ae940a452dc7d2d946e05ab764a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testPrettyPrintFile: 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":"test/PhpParser/PrettyPrinterTest.php"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fea0c11481e24ef177b6b37799f1b2435f93ebde593308133a95e8a23d34a07"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 2 significant file(s) lose their only recent owner: test_old/run.php, lib/PhpParser/PhpVersion.php. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6ddc024b64256e3ad77246b4882d0dc506329bc485054230e43123323bdb79a5"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 2 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (5 single-owned of 56 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 56 of the 278 production source files in this repository met that bar). They are anonymized user #2 (2 file(s)), anonymized user #3 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: lib/PhpParser/Lexer.php, lib/PhpParser/NodeVisitor/CommentAnnotatingVisitor.php, bin/php-parse."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Rename these to include \u0022start\u0022. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/Comment.php"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f0775903c29393f963d16c0812f3bea43fb6a61ed7b61b4bfbd38bc4737b548"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: This precedence is incorrect for PHP 8. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/PrettyPrinterAbstract.php"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f5ca02eb286bee304885224c1b4a4294fdeab0bb12a0047ab570585aa08a2b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Add \u003C?php properly \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/PrettyPrinterAbstract.php"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6cbc4f4705bb108280677bb0de1a7706a71ad0b256f546a704f34fd88ce3e34"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Try to preserve formatting \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/PrettyPrinterAbstract.php"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"94bd8bada739e04b6a3af510c08310c9fa752aeaad3dac98d0c2a5c0b14118b1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Preserve formatting. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/PrettyPrinterAbstract.php"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"2beb575eec124ca0669adb7cd196550583fe6ab742d2f01048b807ae19b03919"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Preserve formatting. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/PrettyPrinterAbstract.php"},"region":{"startLine":975}}}],"partialFingerprints":{"codehealthFindingId/v1":"62954cbd9ab16fd7e76ee6689155cebbcc1454ee80a40aed2f4ec74ff58d76ae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Support removing single node. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/PrettyPrinterAbstract.php"},"region":{"startLine":998}}}],"partialFingerprints":{"codehealthFindingId/v1":"0380c657058cd76036ebd14c9a2bade413564f163a0eca7734df19e5736e6dd9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u0022yield\u0022 where both key and value are inserted doesn\u0027t work \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/PrettyPrinterAbstract.php"},"region":{"startLine":1491}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0bd260f9b8f7b51b90993639628e990bac56e235911350834f7aef1cf69092"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //\u0027Stmt_TraitUseAdaptation_Alias-\u003EnewName\u0027 =\u003E [T_AS, false, \u0027 \u0027, null], // TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/PrettyPrinterAbstract.php"},"region":{"startLine":1520}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae338d7d9006000d4ef72b169fe101e2a98098921e54e6511b973d685dc81ff9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //\u0027Expr_ShellExec-\u003Eparts\u0027 =\u003E \u0027\u0027, // TODO These need to be treated more carefully \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/PrettyPrinterAbstract.php"},"region":{"startLine":1538}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7dfbc16aebd7de5d5883a8e505bfc76fc31183d413c8c3afe13063d23b56b4c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Insertion into empty statement lists. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/PrettyPrinterAbstract.php"},"region":{"startLine":1641}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0d13dcea425b73d8efc1642c9ea3de8d75967c6bbd1c0eeb507dc25e39eb39a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //Stmt\\TraitUseAdaptation\\Alias::class . \u0027-\u003EnewModifier\u0027 =\u003E 0, // TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/PrettyPrinterAbstract.php"},"region":{"startLine":1719}}}],"partialFingerprints":{"codehealthFindingId/v1":"da348358d1f3ef9842e1bd63819d62025f9a64832b754874f9b732f1eb65adb2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/Lexer/TokenEmulator/AttributeEmulator.php"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ebe1175c68c3a60837c203724eb6e530e45f3f9505be2f87f011407613ec75b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Handle non-space indentation \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/Internal/TokenStream.php"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55582d9a0789f00f855fa3964274b3dea78940e6e24fc6a707b3afb7f0242b0"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060composer.json\u0060 makes this repository a deployable product (line 39)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"composer.json"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"341d559fa0b97c7420a17eab8c55e02816862ad49796a0687e6d050b9991a5e5"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 2 project(s) overshoot their size bounds, lowering Project Cohesion to 0.0/10. The most over is \u0060(repository root)\u0060 (22095 LoC, 263 module-visible types across 22 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"58898df984c92569bff41952fccd7f711e6b11bb3e9aee966d01af556da6ca2a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a3c1a917e057f1c2bfadf5bd0c0666a1ce6e27128d70872be4c586f5bd211d89"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"185a4b9d91375f991bcf0f033ed16929df79d7b07308353c032de85b51eede51"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c31eccc9fa013281797b69162ac316c107579b176f4c5be4e4b01b79228eb0aa"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"920070fe1596da0197050ab1afdd122cbb4cbdf3250504432c0a63783ca8d627"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fe0e2058a06d383e12fcf13d2f7c801aa95c57e875072997301c0bde8a3bfde9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2551e4658af41b3563b287b30114481ed6587943deaa724bd27d9da56427939a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"902a390ed8fb6fbfcfd1b063a14279d4e6839dd159be201f0be4239c9406face"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"88a754bc839ec2ff62a36f7ae6d53ee6eecdd57acd4c8b93b7979728c92f8679"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f1b6870c3df142b5e00b55f2faa14c455375649ae949b5188587166c02d3f518"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5edb09ff38cd0bd68b6e134e1ce05ac31a6c5ad6ab4902e30b1436a490e325cc"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"de3e3e225455e0849b0b5b8852c7f78bda70544e2a139cce3227933330fea6ce"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7e6d7662a0af22f788666c9d672592db7466f19c6809d674b9064e7afd21dee0"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 4 of 56 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 56 of the 278 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: grammar/phpyLang.php, lib/PhpParser/Builder/TraitUseAdaptation.php, lib/PhpParser/Builder/ClassConst.php, lib/PhpParser/Builder/Enum_.php. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grammar/phpyLang.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca6b9db1262a7bc43a109ab46b3ea5699f12e4c84a4fc31401461698265a6462"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/Builder/TraitUseAdaptation.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b72e28c76ffa6254789affb5358eac1b04db641484cb9e2c2dd8b68c54252d7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/Builder/ClassConst.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25dea9cc06e5fa1104509c3f9e1a235cc438d43bec50fd90c3c1f8e9baa94256"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/Builder/Enum_.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37274458af5258c9309ae89539fa31b2a2dac983c7e5be6d9928385ff80b4f1a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: Php7.php \u2194 Php8.php: \u0060lib/PhpParser/Parser/Php7.php\u0060 and \u0060lib/PhpParser/Parser/Php8.php\u0060 change together 88% of the time (43 of the 49 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 43 shared commits counted here, the most recent 3 are \u006023c8e363\u0060 Implement support for partial function application; \u0060f01ac402\u0060 Emit error for unparenthesized arrow function in pipe operator; \u006002dcdd74\u0060 Avoid deprecated SplObjectStorage::attach/detach \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/Parser/Php7.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee56ec8af3424485d1a60c726e7cad4a5ce80c0b43321bfcff4b6ca4139757b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: DNumber.php \u2194 LNumber.php: \u0060lib/PhpParser/Node/Scalar/DNumber.php\u0060 and \u0060lib/PhpParser/Node/Scalar/LNumber.php\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u006033745027\u0060 Use @deprecated above class to allow static analyzer like PHPStan det\u2026; \u0060469377f4\u0060 Fix classmap authoritative autoloading (#1046); \u00603f718ee2\u0060 [PHP 7.4] Add support for numeric literal separators (#615) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/PhpParser/Node/Scalar/DNumber.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8b82e7f6e6418ab90417f19839cfaff54d2fe5c3a4f4b1a07c9f59f482b0bdb"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9e759935bc673c1bbcc6c3a0b71d4c7fad5f018c82bda27e04c84ef98fe18b58"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"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":"P2","level":"warning","message":{"text":"No structured logging: No logging or diagnostics emission found. This repository ships a binary its users launch rather than a service you operate, so there is no operator to page \u2014 but when a run fails on a user\u0027s machine, neither they nor you have anything to read."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f10d71351c6778ebe84e761f82a90d4f9ed6c64f5e01975ede8fda7e4e2ebc5"}},{"ruleId":"X19","level":"warning","message":{"text":"Process-global state is restored only on the happy path: \u0060tokenize\u0060 changes state that belongs to the whole PROCESS and changes it back at the end of the same body \u2014 the \u0060xdebug.scream\u0060 ini setting (changed at line 29, put back at line 35) \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":"lib/PhpParser/Lexer.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d069c923e070e4476a99718cd3be94fabe0c433003457e5896cdf48d1411ce"}},{"ruleId":"X5","level":"note","message":{"text":"PHP static analysis does not check null everywhere: 0/1 of this repository\u0027s PHPStan/Psalm configuration(s) run at a level that checks null \u2014 PHPStan level 8 or above (\u0060max\u0060 included), or Psalm \u0060errorLevel\u0060 3 or below (Psalm\u0027s default, with none stated, is 1). A PHPStan level written neither in the file nor in an include inside the repository is 0, PHPStan\u0027s own default. Below those levels the checker removes \u0060null\u0060 from a union before any rule looks, so \u0060$order-\u003Ecustomer()-\u003Ename()\u0060 on a \u0060?Customer\u0060 passes, and the first null reaching it is an \u0060Error: Call to a member function name() on null\u0060 in production."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4ee877508ebc333ebff2765634874753d7fd67f71ea749a6c333792a59b461d7"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"}]}],"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":15,"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."]}]}