{"$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":"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":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"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":"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":"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":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"CompiledUrlMatcherTrait.doMatch (cyclomatic 65): CompiledUrlMatcherTrait.doMatch has cyclomatic complexity 65 (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":"Matcher/Dumper/CompiledUrlMatcherTrait.php"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b478317448d1081f0a6384a1be898bbd6e85973391e340ea0215a9c4783aeb"}},{"ruleId":"D1","level":"warning","message":{"text":"UrlGenerator.doGenerate (cyclomatic 60): UrlGenerator.doGenerate 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Generator/UrlGenerator.php"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"906a25df6dba9ae373ba82fe468bd512dc0ba6fb8d042a9d636576f0f95e64eb"}},{"ruleId":"D1","level":"warning","message":{"text":"RouteCompiler.compilePattern (cyclomatic 43): RouteCompiler.compilePattern 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":"RouteCompiler.php"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f1c0cf46fb5af7949ac57aa4a7567efe334a4e95651050628e195f2f3eea28"}},{"ruleId":"D1","level":"warning","message":{"text":"TraceableUrlMatcher.matchCollection (cyclomatic 33): TraceableUrlMatcher.matchCollection has cyclomatic complexity 33 (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":"Matcher/TraceableUrlMatcher.php"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa650574b978fbd8bb06c5f2b5b2cfefa38d2505955825026bac34cbabb6eb8"}},{"ruleId":"D1","level":"warning","message":{"text":"ContentLoaderTrait.validate (cyclomatic 31): ContentLoaderTrait.validate has cyclomatic complexity 31 (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":"Loader/ContentLoaderTrait.php"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c00759c78d4dfdb506d04fa3a0882ed9c52bbf7a58c238da1a8aff830e751df"}},{"ruleId":"D1","level":"warning","message":{"text":"AttributeClassLoader.addRoute (cyclomatic 29): AttributeClassLoader.addRoute has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Loader/AttributeClassLoader.php"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8181c7ce8cd7b6ce0b758c338e7b24e5de1f785cca80d15f1a771efcdca77df"}},{"ruleId":"D1","level":"warning","message":{"text":"UrlMatcher.matchCollection (cyclomatic 29): UrlMatcher.matchCollection has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Matcher/UrlMatcher.php"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be5b4addf722c860b966e85282629fa853992860c89f7f39d48d20b6f2a44a6"}},{"ruleId":"D1","level":"warning","message":{"text":"StaticPrefixCollection.getCommonPrefix (cyclomatic 26): StaticPrefixCollection.getCommonPrefix has cyclomatic complexity 26 (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":"Matcher/Dumper/StaticPrefixCollection.php"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef09bb255f1989ab4a5c81b585ab1646ca50148db3a50d388d704e36df3b0bdc"}},{"ruleId":"D1","level":"warning","message":{"text":"RedirectController.urlRedirectAction (cyclomatic 21): RedirectController.urlRedirectAction has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Controller/RedirectController.php"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"4251770eb57433754fd56574edbf6f637dd632892112eb20790993f7dac6e967"}},{"ruleId":"D1","level":"warning","message":{"text":"AttributeClassLoader.load (cyclomatic 20): AttributeClassLoader.load 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":"Loader/AttributeClassLoader.php"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c0c38ad5c2fc8e8db7e3c8e1d1fba614b9d4302f16f2376f1cd11dd40b9c6d"}},{"ruleId":"D1","level":"warning","message":{"text":"AttributeFileLoader.findClass (cyclomatic 20): AttributeFileLoader.findClass 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":"Loader/AttributeFileLoader.php"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"71db1ead91c8c57dd11ce5a82c1100f84b98d2450181477d824c7b1348ae4dc7"}},{"ruleId":"D1","level":"warning","message":{"text":"CompiledUrlMatcherDumper.getCompiledRoutes (cyclomatic 19): CompiledUrlMatcherDumper.getCompiledRoutes 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":"Matcher/Dumper/CompiledUrlMatcherDumper.php"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee845cffb31eb1ea3890b74e74aa3696f6ebe0a5e1d0e61be22f5795d03407e6"}},{"ruleId":"D1","level":"warning","message":{"text":"CompiledUrlMatcherDumper.compileDynamicRoutes (cyclomatic 19): CompiledUrlMatcherDumper.compileDynamicRoutes 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":"Matcher/Dumper/CompiledUrlMatcherDumper.php"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccecc07a6c63879feafd0942545e3151d6948ea2cf8acc1b54ea06b86e44b24d"}},{"ruleId":"D1","level":"warning","message":{"text":"PrefixTrait.addPrefix (cyclomatic 17): PrefixTrait.addPrefix has cyclomatic complexity 17 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Loader/Configurator/Traits/PrefixTrait.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c449987e22c15c5f7d1c99e37940cc87ed90af130168507a7f2f7b2ff87a89"}},{"ruleId":"D1","level":"warning","message":{"text":"ContentLoaderTrait.parseImport (cyclomatic 16): ContentLoaderTrait.parseImport has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Loader/ContentLoaderTrait.php"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"937c5bd0050bce2cf244985669b382f70f0e57fe9049d7363aa590ac249f5dea"}},{"ruleId":"D2","level":"warning","message":{"text":"CompiledUrlMatcherTrait.doMatch (cognitive 126): CompiledUrlMatcherTrait.doMatch has cognitive complexity 126 (threshold 15). Drivers by points: if/else 22 (64 pts), boolean chains 29, ternaries 9 (22 pts), loops 5 (11 pts) (nesting depth added 61). 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":"Matcher/Dumper/CompiledUrlMatcherTrait.php"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da03a12b1cd905e860aded21975ad927a2681b59b7d75d0fefef93db530f863"}},{"ruleId":"D2","level":"warning","message":{"text":"UrlGenerator.doGenerate (cognitive 106): UrlGenerator.doGenerate has cognitive complexity 106 (threshold 15). Drivers by points: if/else 38 (72 pts), boolean chains 16, ternaries 4 (13 pts), loops 3 (5 pts) (nesting depth added 45). 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":"Generator/UrlGenerator.php"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"d107f76e106cb3221f434e19d42bd134af46b756a533f1768382c37a0f17dc39"}},{"ruleId":"D2","level":"warning","message":{"text":"RouteCompiler.compilePattern (cognitive 68): RouteCompiler.compilePattern has cognitive complexity 68 (threshold 15). Drivers by points: if/else 21 (38 pts), boolean chains 13, ternaries 5 (11 pts), loops 4 (6 pts) (nesting depth added 25). 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":"RouteCompiler.php"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f6a3a98f188342a251f279d15e65806f0df54fc0dc2e11b05876cfbfbe30c3"}},{"ruleId":"D2","level":"warning","message":{"text":"AttributeClassLoader.addRoute (cognitive 52): AttributeClassLoader.addRoute has cognitive complexity 52 (threshold 15). Drivers by points: if/else 13 (27 pts), loops 9 (16 pts), ternaries 3 (6 pts), boolean chains 3 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Loader/AttributeClassLoader.php"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"0db48ad35a1e6ed31122dd03376f1a07f0fe16292c3335b5d6eb51c2e24cfaa4"}},{"ruleId":"D2","level":"warning","message":{"text":"TraceableUrlMatcher.matchCollection (cognitive 52): TraceableUrlMatcher.matchCollection has cognitive complexity 52 (threshold 15). Drivers by points: if/else 14 (31 pts), boolean chains 16, loops 2 (4 pts), ternaries 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Matcher/TraceableUrlMatcher.php"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"1de230151c3820f472d3760001289ce4411da2bb1c5a164229f1d23221b177f7"}},{"ruleId":"D2","level":"warning","message":{"text":"CompiledUrlMatcherDumper.compileDynamicRoutes (cognitive 43): CompiledUrlMatcherDumper.compileDynamicRoutes has cognitive complexity 43 (threshold 15). Drivers by points: if/else 9 (25 pts), loops 5 (9 pts), ternaries 2 (6 pts), boolean chains 3 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Matcher/Dumper/CompiledUrlMatcherDumper.php"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e4df0558a023da543844a4bc8ebc20074ad04ab737ecf5916326de6781c0e5f"}},{"ruleId":"D2","level":"warning","message":{"text":"PrefixTrait.addPrefix (cognitive 41): PrefixTrait.addPrefix has cognitive complexity 41 (threshold 15). Drivers by points: loops 7 (21 pts), if/else 5 (9 pts), ternaries 2 (9 pts), boolean chains 2 (nesting depth added 25). 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":"Loader/Configurator/Traits/PrefixTrait.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"62bd9736bcb807881d849542b72d7b2ed05a38dc05dc28d52be4a20bb902b10b"}},{"ruleId":"D2","level":"warning","message":{"text":"UrlMatcher.matchCollection (cognitive 41): UrlMatcher.matchCollection has cognitive complexity 41 (threshold 15). Drivers by points: if/else 12 (24 pts), boolean chains 15, loops 1, ternaries 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":"Matcher/UrlMatcher.php"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffee2ef2aa905ff957840a9ee91a4067eafa4ee251fc7351cfa822d122d768bb"}},{"ruleId":"D2","level":"warning","message":{"text":"AttributeFileLoader.findClass (cognitive 39): AttributeFileLoader.findClass has cognitive complexity 39 (threshold 15). Drivers by points: if/else 10 (27 pts), loops 3 (7 pts), boolean chains 5 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Loader/AttributeFileLoader.php"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"975ec4b27c77b71c11595437f952f0354085c04f0b1c2b460699b70687c3ed9c"}},{"ruleId":"D2","level":"warning","message":{"text":"StaticPrefixCollection.getCommonPrefix (cognitive 38): StaticPrefixCollection.getCommonPrefix has cognitive complexity 38 (threshold 15). Drivers by points: if/else 7 (20 pts), boolean chains 12, loops 3 (6 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Matcher/Dumper/StaticPrefixCollection.php"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"0445c05e0d6185d7f02b10e95fa43a932f1b8a92dabf447f406e2a23c5c6d456"}},{"ruleId":"D2","level":"warning","message":{"text":"RedirectController.urlRedirectAction (cognitive 35): RedirectController.urlRedirectAction has cognitive complexity 35 (threshold 15). Drivers by points: if/else 17 (26 pts), ternaries 4 (7 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Controller/RedirectController.php"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"42a35d290d211c35bd6ae4313ceb444d7b7d2781ce3a641dc06ed271d22d14a9"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentLoaderTrait.validate (cognitive 33): ContentLoaderTrait.validate has cognitive complexity 33 (threshold 15). Drivers by points: if/else 18 (21 pts), boolean chains 12 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Loader/ContentLoaderTrait.php"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"757d206e683cae0967dd5250b966e25a3405466df8d2429af6de6cef1d98fde9"}},{"ruleId":"D2","level":"warning","message":{"text":"CompiledUrlMatcherDumper.getCompiledRoutes (cognitive 32): CompiledUrlMatcherDumper.getCompiledRoutes has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 4 (9 pts), boolean chains 4, loops 3 (4 pts), error handling 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Matcher/Dumper/CompiledUrlMatcherDumper.php"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"d010714c3ad3246888a2ddc122162f294ea463fe339116ba7dfb20a7706cc53b"}},{"ruleId":"D2","level":"warning","message":{"text":"AttributeClassLoader.load (cognitive 31): AttributeClassLoader.load has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (21 pts), loops 4 (7 pts), boolean chains 3 (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":"Loader/AttributeClassLoader.php"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab097afa7c8bcfb35bf26ffaa8ce1b493858c7a63742af7b6dc3ae42a88c550"}},{"ruleId":"D2","level":"warning","message":{"text":"RedirectableUrlMatcher.match (cognitive 27): RedirectableUrlMatcher.match has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (17 pts), error handling 3 (7 pts), ternaries 1 (3 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Matcher/RedirectableUrlMatcher.php"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"127bb8e859cc44c2f3b09f6a666153eb671e4796f67c70ab702b6589e8028c9e"}},{"ruleId":"D2","level":"warning","message":{"text":"AttributeClassLoader.getGlobals (cognitive 25): AttributeClassLoader.getGlobals has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (23 pts), loops 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Loader/AttributeClassLoader.php"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"5de92aa59e77e6dd57b0a9eb77609f980b507118c7914dc1c27bfda1360cfe87"}},{"ruleId":"D2","level":"warning","message":{"text":"CompiledUrlMatcherDumper.groupStaticRoutes (cognitive 25): CompiledUrlMatcherDumper.groupStaticRoutes has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 6, loops 2 (4 pts), ternaries 1 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Matcher/Dumper/CompiledUrlMatcherDumper.php"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28836f2e0bf17545e89b837555265f832cd8a3e9f75d6a62664871868ed2c40"}},{"ruleId":"D2","level":"warning","message":{"text":"StaticPrefixCollection.addRoute (cognitive 23): StaticPrefixCollection.addRoute has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 5, 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":"Matcher/Dumper/StaticPrefixCollection.php"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd38602be2c7a246c4b76a0da87795cd7ff507cafcb98f14b027b49f5ad5aaf"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentLoaderTrait.parseImport (cognitive 21): ContentLoaderTrait.parseImport has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (19 pts), loops 1, ternaries 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":"Loader/ContentLoaderTrait.php"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"3644d5eca49cd9db814ca220a327eac5575fda60a2d4890b54b529d9a16b989c"}},{"ruleId":"D2","level":"warning","message":{"text":"RedirectController.redirectAction (cognitive 19): RedirectController.redirectAction has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 3 (6 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Controller/RedirectController.php"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a055d07ade51f1b64f5d06643f5361a68ab1722ea3a249113388797faf02452"}},{"ruleId":"D2","level":"warning","message":{"text":"RouteCompiler.compile (cognitive 18): RouteCompiler.compile has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"RouteCompiler.php"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"debd9c714d1d291090fe0d233e516b847cd31c6d1e4e850b2263ac51dc1a2d98"}},{"ruleId":"D2","level":"warning","message":{"text":"Router.resolve (cognitive 16): Router.resolve has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 1 (3 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"DependencyInjection/Router.php"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ce2d55dde25b24901fec4def3d73902b173fdbf3267a82b276c2e5b32cd3a7"}},{"ruleId":"D2","level":"warning","message":{"text":"CompiledUrlGeneratorDumper.getCompiledAliases (cognitive 16): CompiledUrlGeneratorDumper.getCompiledAliases has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 2 (3 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Generator/Dumper/CompiledUrlGeneratorDumper.php"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"a080544dc2afb32915b980dca724f187b6722297bd566a8027a86036d8a7bfcd"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentLoaderTrait.parseRoute (cognitive 16): ContentLoaderTrait.parseRoute has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13 (15 pts), loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Loader/ContentLoaderTrait.php"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0cd558494e1e19952c5a463607f4f3bfec06990155863186cbe362ea145eb90"}},{"ruleId":"D2","level":"warning","message":{"text":"CompiledUrlMatcherTrait.match (cognitive 16): CompiledUrlMatcherTrait.match has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 2 (4 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Matcher/Dumper/CompiledUrlMatcherTrait.php"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"02fa65865f1f2608ba3b60461bcf9f0c9c824122480f42a97edbb23d035a9788"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Route: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\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":"Route.php"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb6f90a6cf856a9cadbd678908560e456f0697b10d4d952c34235e4a526f239"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UrlGenerator.doGenerate: MethodTooLong \u2014 doGenerate runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\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":"Generator/UrlGenerator.php"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09617e24cc423984137a6ba64865940ea3b1a26b1511d6f7bef196bd6db3910"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Matcher/TraceableUrlMatcher.php:56-68 | Matcher/UrlMatcher.php:126-138 \u2014 before extracting anything, compare \u0060Matcher/TraceableUrlMatcher.php\u0060 and \u0060Matcher/UrlMatcher.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Matcher/TraceableUrlMatcher.php:56\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Matcher/TraceableUrlMatcher.php:69\u0060 calls \u0060addTrace\u0060, \u0060sprintf\u0060, \u0060getPath\u0060 and \u0060Matcher/UrlMatcher.php:139\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Matcher/TraceableUrlMatcher.php"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c82a05737550d49861d18bf74d99f30a37b1907d8ac7ad0804e0de485de628"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): Loader/ContentLoaderTrait.php:109-125 | Loader/ContentLoaderTrait.php:163-179 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Loader/ContentLoaderTrait.php:109\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Loader/ContentLoaderTrait.php"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee7683552bc9e52f41ba5d8c8a08838dd881e28ee91117cd54ce3d323721dfca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 3): Loader/ContentLoaderTrait.php:97-103 | Loader/ContentLoaderTrait.php:111-117 | Loader/ContentLoaderTrait.php:162-171 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Loader/ContentLoaderTrait.php:97\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Loader/ContentLoaderTrait.php"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"55970d96214dda0f5dd79dd7570245d0ceeae827e513862bb4e49bf6e2746e81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): DependencyInjection/RequestContextResetter.php:31-39 | RequestContext.php:342-351 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060RequestContext.php:342\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"DependencyInjection/RequestContextResetter.php"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f941e6be6960b043ea0789cfe0380ddf48714e2b9575de58ab66a7b8268bf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Matcher/Dumper/CompiledUrlMatcherDumper.php:146-154 | Matcher/Dumper/CompiledUrlMatcherDumper.php:158-166 \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 \u0060Matcher/Dumper/CompiledUrlMatcherDumper.php:146\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Matcher/Dumper/CompiledUrlMatcherDumper.php"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca5be8017bca7a596f1b754de9dd4816525114495bef526f48d00160f36c9f90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Matcher/TraceableUrlMatcher.php:70-78 | Matcher/UrlMatcher.php:139-147 \u2014 before extracting anything, compare \u0060Matcher/TraceableUrlMatcher.php\u0060 and \u0060Matcher/UrlMatcher.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Matcher/TraceableUrlMatcher.php:70\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Matcher/TraceableUrlMatcher.php:69\u0060 calls \u0060addTrace\u0060, \u0060sprintf\u0060, \u0060getPath\u0060 and \u0060Matcher/UrlMatcher.php:138\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Matcher/TraceableUrlMatcher.php"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4beb3860459e9e85766803c257862258a06bd8d39385145abd91399c4977ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Matcher/TraceableUrlMatcher.php:104-113 | Matcher/UrlMatcher.php:153-162 \u2014 before extracting anything, compare \u0060Matcher/TraceableUrlMatcher.php\u0060 and \u0060Matcher/UrlMatcher.php\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Matcher/TraceableUrlMatcher.php:104\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Matcher/TraceableUrlMatcher.php:114\u0060 calls \u0060addTrace\u0060, \u0060sprintf\u0060, \u0060requirement\u0060 and \u0060Matcher/UrlMatcher.php:163\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Matcher/TraceableUrlMatcher.php"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59a53e858125c7cdcb96b45c82d141b62177d4ef24937fa52bfb3cc9215a253"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Matcher/Dumper/CompiledUrlMatcherDumper.php:472-479 | Matcher/UrlMatcher.php:257-264 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The \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":"Matcher/Dumper/CompiledUrlMatcherDumper.php"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"0085522cdc2e9e8ba469128e331d7ef0a8fec1e8fed5f32f337b0fc6c5ad4401"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Generator/CompiledUrlGenerator.php:61-67 | Generator/UrlGenerator.php:131-137 \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":"Generator/CompiledUrlGenerator.php"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"890c1269dea950588f8414b41bd3eb2e1b08bf0038856e6d49abddcb3f22b04c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDeprecatedAlias: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/Generator/Dumper/CompiledUrlGeneratorDumperTest.php"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"219854611220aaea007a16f85188b80f99b29558cee084b530f84ec1ec0ccee5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDeprecatedAliasWithCustomMessage: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/Generator/Dumper/CompiledUrlGeneratorDumperTest.php"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fed468193d349c9baf46072330bc90ec42a6914fe0ab06f0734c199cc518a62"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTargettingADeprecatedAliasShouldTriggerDeprecation: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/Generator/Dumper/CompiledUrlGeneratorDumperTest.php"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3c7af3da576cc3040e8a07a7e29f700241142480d36b32eb46e692cd0db0cb"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDeprecatedAlias: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/Generator/UrlGeneratorTest.php"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"367976c26190bf8d1c47cc6dc12a5d284f87002501062b56fd47f4459938c108"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDeprecatedAliasWithCustomMessage: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/Generator/UrlGeneratorTest.php"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dbd0248df2f3362f3691171c25881e4fc84911aa475a91b997c9e3fd4b3d515"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testTargettingADeprecatedAliasShouldTriggerDeprecation: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/Generator/UrlGeneratorTest.php"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"446d4470e310f23908917e65e183a80ce6a34f5d1eddf9df4e473b696a3ac0d4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testLoadDirectory: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/Loader/DirectoryLoaderTest.php"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff28217ac7d33a21db17f086ba367a8094812115f98ace93312e8eb546d4dcb"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testImportDirectory: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Tests/Loader/DirectoryLoaderTest.php"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"494f3401e0d85a6b5366fa40a21722063bba705a0a439c0974c9459190a1cff0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Matcher/Dumper/CompiledUrlMatcherTrait.php: Matcher/Dumper/CompiledUrlMatcherTrait.php changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 65 in CompiledUrlMatcherTrait.doMatch at line 79. 3 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:37:47 \u002B01:00\u0027 --until=\u00272026-11-13 10:37:47 \u002B01:00\u0027 --full-history --no-merges -- Matcher/Dumper/CompiledUrlMatcherTrait.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Matcher/Dumper/CompiledUrlMatcherTrait.php"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1a38d4d1768b88c073df01593b9235b1afe6e03d7061ea3c2821d07a536cf3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Matcher/Dumper/CompiledUrlMatcherDumper.php: Matcher/Dumper/CompiledUrlMatcherDumper.php changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in CompiledUrlMatcherDumper.getCompiledRoutes at line 62. 1 of those changes was a fix/bug commit, and the other 6 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:37:47 \u002B01:00\u0027 --until=\u00272026-11-13 10:37:47 \u002B01:00\u0027 --full-history --no-merges -- Matcher/Dumper/CompiledUrlMatcherDumper.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Matcher/Dumper/CompiledUrlMatcherDumper.php"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e77d73c7e4992ca76f8a0b2d8ee993438c8da617d3aebd4ca57a2be49343be0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Loader/ContentLoaderTrait.php: Loader/ContentLoaderTrait.php changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in ContentLoaderTrait.validate at line 224. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:37:47 \u002B01:00\u0027 --until=\u00272026-11-13 10:37:47 \u002B01:00\u0027 --full-history --no-merges -- Loader/ContentLoaderTrait.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Loader/ContentLoaderTrait.php"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb782d8520778ddfb7868cc7dc7d81a78c021d89979823225c234a61b142c18"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 5 significant file(s) lose their only recent owner: Matcher/Dumper/CompiledUrlMatcherDumper.php, RouteCompiler.php, RouterBundle.php, CompiledRoute.php, Generator/UrlGeneratorInterface.php. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bfb28f8176ae10f67d8c4ebfc36c57a92e7a5bc9ab84f0240cf50166042ca1b2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 7 of 37 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; 37 of the 87 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: Router.php, Loader/Psr4DirectoryLoader.php, Loader/Configurator/Traits/PrefixTrait.php, Loader/ObjectLoader.php, Loader/AttributeDirectoryLoader.php, Loader/Configurator/Traits/LocalizedRouteTrait.php, Alias.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":"Router.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb2554f114ab77607bc2069ce6efbb147ab7550dc05b460205d4fbbcab44d01"}},{"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":"Loader/Psr4DirectoryLoader.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"975859ab6d9f0b3ed5a5173ee1589f51fb85d7946cca4c1856f1e450955799b6"}},{"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":"Loader/Configurator/Traits/PrefixTrait.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f189952c7840325c0410dfa5963a242b1ac15bd96ccf0ef12e2aa3ca55e5aed"}},{"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":"Loader/ObjectLoader.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51907078cce62827d314da850210e5a2bc4f00071dcaa37a1790a81c842b800e"}},{"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":"Loader/AttributeDirectoryLoader.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6138618517b14878cecd729d3e9379d3f0df58dc8a0bcd16832388af44c410c"}},{"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":"Loader/Configurator/Traits/LocalizedRouteTrait.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"605df081e80fa023b7f29eaea83fbf3bfdee2f1f6c7eaf9397a28077a50872d7"}},{"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":"Alias.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba72d5292f58cd3afcc46b83ffd28ce20652b5f8ad9f428f52af972fde4540b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: CollectionConfigurator.php \u2194 ImportConfigurator.php: \u0060Loader/Configurator/CollectionConfigurator.php\u0060 and \u0060Loader/Configurator/ImportConfigurator.php\u0060 change together 65% of the time (11 of the 17 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 11 shared commits counted here, the most recent 3 are \u00606fc4c445\u0060 Replace __sleep/wakeup() by __(un)serialize() for throwing and intern\u2026; \u00601b8f64bf\u0060 Replace __sleep/wakeup() by __(un)serialize() when BC isn\u0027t a concern; \u006072826485\u0060 Add missing return types to magic methods \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Loader/Configurator/CollectionConfigurator.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a9d6c63153a74ae40daecd75be0f2e2ddfc8503ed0ee21074ab1fb7b76ddad"}},{"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":"M3","level":"note","message":{"text":"No src/ separation: Most of the production code is in directories of its own, but 11 application file(s) sit at the repository root beside the build and tooling files (\u0060Alias.php\u0060, \u0060CompiledRoute.php\u0060, \u0060RequestContext.php\u0060, \u0060RequestContextAwareInterface.php\u0060, \u0060Route.php\u0060 and 6 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fdf7f5b24e313364d10170a5c2542959902fe0d26ed70edef3eaa10ec5bcdb1d"}},{"ruleId":"P1","level":"warning","message":{"text":"No CI pipeline: No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, \u2026) \u2014 changes aren\u0027t gated by an automated build/test."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"44f01af96e50474fba2df84d95ddf4f7e1d34c29c307830b9efc9057daa6b670"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add phpstan or psalm (or \u0060semgrep --config=auto\u0060, which runs on any language) \u2014 this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$trimmedPathinfo !== $pathinfo \u0026\u0026 preg_match(\u0027#\\{[\\w\\x80-\\xFF]\u002B\\}/?$#\u0027, $route-\u003EgetPath())\u0060 appears character-identically in 2 files \u2014 Matcher/TraceableUrlMatcher.php, Matcher/UrlMatcher.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Matcher/TraceableUrlMatcher.php"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"b17fcef4a2ba8b6e22feeacff67e90579775fae676e5d5449e22081598cc1376"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0027\u0027 !== $staticPrefix \u0026\u0026 !str_starts_with($trimmedPathinfo, $staticPrefix)\u0060 appears character-identically in 2 files \u2014 Matcher/TraceableUrlMatcher.php, Matcher/UrlMatcher.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Matcher/TraceableUrlMatcher.php"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e5ec6db44c461482913fdde21bdc3ed48782ca2982be2c71c9a18fcb8cbd1dd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0027/\u0027 !== $pathinfo \u0026\u0026 !$hasTrailingVar \u0026\u0026 $hasTrailingSlash === ($trimmedPathinfo === $pathinfo)\u0060 appears character-identically in 3 files \u2014 Matcher/Dumper/CompiledUrlMatcherTrait.php, Matcher/TraceableUrlMatcher.php, Matcher/UrlMatcher.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Matcher/Dumper/CompiledUrlMatcherTrait.php"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1539f92bc4b78becb3dbf7cffce4144f6a176357468c69f92e28fad763c082a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0027GET\u0027 === $method \u0026\u0026 $this instanceof RedirectableUrlMatcherInterface\u0060 appears character-identically in 2 files \u2014 Matcher/TraceableUrlMatcher.php, Matcher/UrlMatcher.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Matcher/TraceableUrlMatcher.php"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae6b07ac166157f72d09e1eba43e8700a146acb4551c6d26e48cab63e8c816a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getHostRegex() \u0026\u0026 !preg_match($compiledRoute-\u003EgetHostRegex(), $this-\u003Econtext-\u003EgetHost(), $hostMatches)\u0060 appears character-identically in 2 files \u2014 Matcher/TraceableUrlMatcher.php, Matcher/UrlMatcher.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Matcher/TraceableUrlMatcher.php"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"8217435df0a7702bc05ab3db9d1d97a5eff11d432b47081c51a14a50842e2290"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isset($defaults[\u0027_canonical_route\u0027]) \u0026\u0026 isset($defaults[\u0027_locale\u0027])\u0060 appears character-identically in 2 files \u2014 Generator/CompiledUrlGenerator.php, Generator/UrlGenerator.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Generator/CompiledUrlGenerator.php"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e3639a44d98d9a167b2f0576ccc41b5581e86b0cfebe6cd85ecd8b3c99d65e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Loader/AttributeDirectoryLoader.php"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"72df34bd91415cedf109a36835940ff0d92d88dbf16acbe429c1c0a1e26bc8d6"}},{"ruleId":"X5","level":"note","message":{"text":"PHP static analysis does not check null everywhere: This repository commits no PHPStan or Psalm configuration (\u0060phpstan.neon[.dist]\u0060, \u0060phpstan.dist.neon\u0060, \u0060psalm.xml[.dist]\u0060, or one a composer.json script names with \u0060--configuration\u0060), so nothing checks null: a \u0060?Customer\u0060 reaches \u0060-\u003Ename()\u0060 silently and throws \u0060Error: Call to a member function name() on null\u0060 the first time it is null. If the build passes a level on a command line instead, put it in a committed configuration \u2014 this check reads configuration, and configuration is all it can read."},"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-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-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":"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/"}]}],"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":0,"secretScannerRunsExcluded":0}}}]}