{"$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":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"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":"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":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"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":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"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":"CallResolver.getClassNames (cyclomatic 34): CallResolver.getClassNames has cyclomatic complexity 34 (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":"Extractor/Visitor/CallResolver.php"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e3f1f85e4f43fc927972f101ba045b3ac87a05369c08e2436243f6e6fae023"}},{"ruleId":"D1","level":"warning","message":{"text":"TranslationDebugCommand.execute (cyclomatic 33): TranslationDebugCommand.execute 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":"Command/TranslationDebugCommand.php"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"48abda66f21f148b83abc99739121b2f7aa4c7ab6902e68cf6b2f3c352b233d2"}},{"ruleId":"D1","level":"warning","message":{"text":"TranslationExtractCommand.execute (cyclomatic 31): TranslationExtractCommand.execute has cyclomatic complexity 31 (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":"Command/TranslationExtractCommand.php"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"d636f9de3407cd92a89a6840c0e1b4ec86240c3bee2076ee27125720b3ddb1aa"}},{"ruleId":"D1","level":"warning","message":{"text":"HtmlTranslator.buildWrapper (cyclomatic 22): HtmlTranslator.buildWrapper has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"HtmlTranslator.php"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e33c79b75bc3d9fc7fcf53b110464cd862cbb0c110e4bf00b967dace4cfd83e"}},{"ruleId":"D1","level":"warning","message":{"text":"AbstractVisitor.getStringValues (cyclomatic 21): AbstractVisitor.getStringValues 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":"Extractor/Visitor/AbstractVisitor.php"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"810fb362d0e032197ce96ebfe916321f6cf8cd5416d76501981762ec33b6db6c"}},{"ruleId":"D1","level":"warning","message":{"text":"XliffUpdateSourcesCommand.execute (cyclomatic 17): XliffUpdateSourcesCommand.execute has cyclomatic complexity 17 (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":"Command/XliffUpdateSourcesCommand.php"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd81cc635d1d3d43cb064f9cf8a9f687bf5a9a3682140cce28d567538e1a35b2"}},{"ruleId":"D1","level":"warning","message":{"text":"XliffFileLoader.extractXliff1 (cyclomatic 17): XliffFileLoader.extractXliff1 has cyclomatic complexity 17 (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/XliffFileLoader.php"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"9387af44d434eb8712a44559d29322cd276f78ddff87986c850138e1b8e92783"}},{"ruleId":"D1","level":"warning","message":{"text":"XliffFileLoader.collectPgsText (cyclomatic 17): XliffFileLoader.collectPgsText has cyclomatic complexity 17 (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/XliffFileLoader.php"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f310448f9ff2a37c48d19fc9280e62b78948edf5f05cdbd7253bb41b791acea"}},{"ruleId":"D1","level":"warning","message":{"text":"TranslatorPass.process (cyclomatic 16): TranslatorPass.process 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":"DependencyInjection/TranslatorPass.php"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a98a3d667aaf32c2742e1267ce4c5a8863394842a68c32a5a843e47a7c526d"}},{"ruleId":"D1","level":"warning","message":{"text":"XliffFileDumper.dumpXliff2 (cyclomatic 16): XliffFileDumper.dumpXliff2 has cyclomatic complexity 16 (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":"Dumper/XliffFileDumper.php"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"72fb7685a61fb1673d96a67636ae80a217be73771b8b4f1e20f7c6e92b8c9170"}},{"ruleId":"D1","level":"warning","message":{"text":"ConstraintVisitor.leaveNode (cyclomatic 16): ConstraintVisitor.leaveNode 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":"Extractor/Visitor/ConstraintVisitor.php"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"818a929d859a3867f28d5be1257bf51f93761de1eb223cb9c83f1a5aa318f575"}},{"ruleId":"D1","level":"warning","message":{"text":"VariableResolver.isBranch (cyclomatic 16): VariableResolver.isBranch has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Extractor/Visitor/VariableResolver.php"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"99cb18019262e6aeb6d3cf1635a3638ae1931b152ccc95a99709abd5f53df5f7"}},{"ruleId":"D1","level":"warning","message":{"text":"PoFileLoader.loadResource (cyclomatic 16): PoFileLoader.loadResource 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/PoFileLoader.php"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"642e24e951da9caa1586a1cd815e97013edd3d7065898dedd2fa6508d2f7d98d"}},{"ruleId":"D1","level":"warning","message":{"text":"XliffFileLoader.extractXliff2 (cyclomatic 16): XliffFileLoader.extractXliff2 has cyclomatic complexity 16 (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/XliffFileLoader.php"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"46944284c5364e0d2fced7b76a077cb8771f50837a4f9f44885484bab9ec11fa"}},{"ruleId":"D1","level":"warning","message":{"text":"PseudoLocalizationTranslator.expand (cyclomatic 16): PseudoLocalizationTranslator.expand 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":"PseudoLocalizationTranslator.php"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"946b21d0b9503d9d22bf54b4e2b2b3ea8a1468a28df6a03dcd2033b5f084f8e8"}},{"ruleId":"D1","level":"warning","message":{"text":"TranslationBundle.loadExtension (cyclomatic 16): TranslationBundle.loadExtension has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TranslationBundle.php"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c1fa966c0d1c0871abcd79fd0aa77becb033303b9fab20c290397624ae07666"}},{"ruleId":"D2","level":"warning","message":{"text":"TranslationDebugCommand.execute (cognitive 65): TranslationDebugCommand.execute has cognitive complexity 65 (threshold 15). Drivers by points: if/else 13 (35 pts), loops 6 (12 pts), ternaries 4 (10 pts), boolean chains 6, error handling 1 (2 pts) (nesting depth added 35). 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":"Command/TranslationDebugCommand.php"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d764944890d6c92ac8daa3688753953ac5735275c85bca3e488feefb914442"}},{"ruleId":"D2","level":"warning","message":{"text":"TranslationExtractCommand.execute (cognitive 53): TranslationExtractCommand.execute has cognitive complexity 53 (threshold 15). Drivers by points: if/else 21 (35 pts), ternaries 6 (11 pts), loops 2 (4 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Command/TranslationExtractCommand.php"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"de82f8ef0aa5ed976fa07d8b8ad06a27387efa21f5a37e140f531e0930ee19cc"}},{"ruleId":"D2","level":"warning","message":{"text":"CallResolver.getClassNames (cognitive 50): CallResolver.getClassNames has cognitive complexity 50 (threshold 15). Drivers by points: if/else 10 (14 pts), ternaries 5 (11 pts), loops 5 (10 pts), boolean chains 7, error handling 2 (6 pts), match/switch 1 (2 pts) (nesting depth added 20). 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":"Extractor/Visitor/CallResolver.php"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b2f5bb0cd1f73b72d005f76b90a5e3c5a6560487628f5ea2f9500f909f41f6"}},{"ruleId":"D2","level":"warning","message":{"text":"XliffFileLoader.extractXliff2 (cognitive 40): XliffFileLoader.extractXliff2 has cognitive complexity 40 (threshold 15). Drivers by points: loops 7 (21 pts), if/else 4 (11 pts), ternaries 3 (7 pts), boolean chains 1 (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/XliffFileLoader.php"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"d64ead4d1928ac29213ffe6d2a1d0eb68373581991b96cdf06732ed54ec20777"}},{"ruleId":"D2","level":"warning","message":{"text":"XliffUpdateSourcesCommand.execute (cognitive 39): XliffUpdateSourcesCommand.execute has cognitive complexity 39 (threshold 15). Drivers by points: if/else 9 (24 pts), loops 4 (10 pts), ternaries 2 (4 pts), boolean chains 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Command/XliffUpdateSourcesCommand.php"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3127409b512471e01b82decd4a85f2aa36a43b0de52d7bcd057937dd40d3040"}},{"ruleId":"D2","level":"warning","message":{"text":"XliffFileLoader.extractXliff1 (cognitive 35): XliffFileLoader.extractXliff1 has cognitive complexity 35 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 4 (9 pts), ternaries 3 (7 pts), boolean chains 4 (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":"Loader/XliffFileLoader.php"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"323078d223d84b3c81d929fe6157c3f5951cdb2558c2ebdfc8c2366487642526"}},{"ruleId":"D2","level":"warning","message":{"text":"HtmlTranslator.buildWrapper (cognitive 34): HtmlTranslator.buildWrapper has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (22 pts), boolean chains 9, loops 2 (3 pts) (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":"HtmlTranslator.php"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b26aba41427769582bd0e7a11ee8bf2ef35558b0da82e1467d7f09807091f9"}},{"ruleId":"D2","level":"warning","message":{"text":"XliffFileDumper.dumpXliff2 (cognitive 32): XliffFileDumper.dumpXliff2 has cognitive complexity 32 (threshold 15). Drivers by points: loops 6 (16 pts), if/else 7 (11 pts), ternaries 2 (4 pts), boolean chains 1 (nesting depth added 16). 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":"Dumper/XliffFileDumper.php"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d483405b8e0674ed26887cc86094f5d386038d3ec473b7ad191755f1295dff0"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractVisitor.getStringValues (cognitive 32): AbstractVisitor.getStringValues has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (16 pts), loops 3 (6 pts), ternaries 2 (6 pts), boolean chains 2, error handling 1 (2 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":"Extractor/Visitor/AbstractVisitor.php"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"114774cf0431c39ade88e8e1d9591cd9b1dbdc256a2fb1c589cc0e42fc010b0f"}},{"ruleId":"D2","level":"warning","message":{"text":"XliffFileDumper.dumpXliff1 (cognitive 30): XliffFileDumper.dumpXliff1 has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 5 (10 pts), ternaries 1 (2 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":"Dumper/XliffFileDumper.php"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"931d4d981ebdbee837684c916be901bb2366b8f160991b93e86166f24bb56706"}},{"ruleId":"D2","level":"warning","message":{"text":"XliffFileLoader.collectPgsText (cognitive 28): XliffFileLoader.collectPgsText has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (22 pts), boolean chains 5, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Loader/XliffFileLoader.php"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b5c12c880a82db6620a94780c78f60ff34ba47bf3f86f8d9c32e5341a6fdaf"}},{"ruleId":"D2","level":"warning","message":{"text":"PseudoLocalizationTranslator.expand (cognitive 28): PseudoLocalizationTranslator.expand has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 4 (6 pts), ternaries 2 (6 pts) (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":"PseudoLocalizationTranslator.php"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b59175308b817814a2f8ed8f88cd8fe985c9d248d0a354a6b7bac5d9e0e7e05"}},{"ruleId":"D2","level":"warning","message":{"text":"TargetOperation.processDomain (cognitive 25): TargetOperation.processDomain has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (15 pts), ternaries 2 (6 pts), loops 4 (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":"Catalogue/TargetOperation.php"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ca11c0ef7df8f4c20ce43250f6c9496b9d6bc2b5dbcba17404b4dba8f9f10d"}},{"ruleId":"D2","level":"warning","message":{"text":"ConstraintVisitor.leaveNode (cognitive 25): ConstraintVisitor.leaveNode has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (19 pts), loops 3 (4 pts), boolean chains 1, ternaries 1 (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":"Extractor/Visitor/ConstraintVisitor.php"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eecb6ad515370a6e26960b604f668d2a4d77088c4cfcd1867cbbc6b284c101c"}},{"ruleId":"D2","level":"warning","message":{"text":"TranslatorPass.process (cognitive 24): TranslatorPass.process has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 4 (8 pts), boolean chains 1 (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":"DependencyInjection/TranslatorPass.php"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2358d8e23d6201a5e2dbcc2d8dd72e9d71223ac7ef0676176fb9c7e2444d8bb"}},{"ruleId":"D2","level":"warning","message":{"text":"PoFileDumper.formatCatalogue (cognitive 23): PoFileDumper.formatCatalogue has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 2 (4 pts), ternaries 2 (4 pts), boolean chains 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":"Dumper/PoFileDumper.php"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c9324bff0fbd856517d6f19be98184ac9316c436e6ada401693a02bbdabb0d6"}},{"ruleId":"D2","level":"warning","message":{"text":"TranslationExtractCommand.sortCatalogue (cognitive 22): TranslationExtractCommand.sortCatalogue has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 4 (8 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":"Command/TranslationExtractCommand.php"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"6594202378e10fea7e9cf27cbd0e53af8e6715730e6b1f2cec6790c847fcc907"}},{"ruleId":"D2","level":"warning","message":{"text":"TranslationLintCommand.execute (cognitive 22): TranslationLintCommand.execute has cognitive complexity 22 (threshold 15). Drivers by points: loops 6 (15 pts), error handling 1 (4 pts), if/else 2, ternaries 1 (nesting depth added 12). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Command/TranslationLintCommand.php"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"be71f6c789c14c5cd91f853330de19326749913310bebb7e1bb7e3a8cc7ad4ef"}},{"ruleId":"D2","level":"warning","message":{"text":"XliffLintCommand.displayTxt (cognitive 22): XliffLintCommand.displayTxt has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 6 (16 pts), if/else 3 (4 pts), boolean chains 1, loops 1 (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":"Command/XliffLintCommand.php"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1ec05a698ae413e770cb1dc7131e0d2c97f103b16836d07f24c7dfc8966bc92"}},{"ruleId":"D2","level":"warning","message":{"text":"TranslatorPathsPass.processValue (cognitive 22): TranslatorPathsPass.processValue has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (8 pts) (nesting depth added 14). 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":"DependencyInjection/TranslatorPathsPass.php"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b1d838010fd4fbf3911dad2ac4eef7243ef20b4b8ea5eedd4a6d4590b814df"}},{"ruleId":"D2","level":"warning","message":{"text":"PoFileLoader.loadResource (cognitive 22): PoFileLoader.loadResource has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (15 pts), ternaries 2 (6 pts), loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Loader/PoFileLoader.php"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd9116bcec3d00d6f2136b04de23d1f40152907a48b9ffca0516e67d2d450568"}},{"ruleId":"D2","level":"warning","message":{"text":"TransMethodVisitor.leaveNode (cognitive 21): TransMethodVisitor.leaveNode has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 4 (7 pts), if/else 4 (5 pts), loops 2 (5 pts), boolean chains 4 (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":"Extractor/Visitor/TransMethodVisitor.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e6e4cb4cf29724cb2fcccda8507a5ea8efe6e866f3ec0e3a55a11539a2ce2c"}},{"ruleId":"D2","level":"warning","message":{"text":"LocaleFallbackProvider.computeFallbackLocales (cognitive 21): LocaleFallbackProvider.computeFallbackLocales has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 3 (9 pts), loops 2 (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":"LocaleFallbackProvider.php"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"63adb91f263f137e4772d0a8379a78f6f6a4dd7ed4340f0413a45250111e3749"}},{"ruleId":"D2","level":"warning","message":{"text":"translation-status.printTable (cognitive 21): translation-status.printTable has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 3 (7 pts), boolean chains 3 (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":"Resources/bin/translation-status.php"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"842abbe76e955d07bc6b30e28444b51e8bd3b34d34ddf2aa116a06d171147184"}},{"ruleId":"D2","level":"warning","message":{"text":"MergeOperation.processDomain (cognitive 20): MergeOperation.processDomain has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (11 pts), ternaries 2 (5 pts), loops 4 (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":"Catalogue/MergeOperation.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a12842b195b2042530f7a10bd2085d1bccb3c833b47d8d7779739cda58e4efa8"}},{"ruleId":"D2","level":"warning","message":{"text":"TranslationBundle.loadExtension (cognitive 20): TranslationBundle.loadExtension has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (11 pts), loops 5 (8 pts), ternaries 1 (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TranslationBundle.php"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a81b0c104845aa305ba99f1543c8f9a9aac89e3c9a338f64d44afefaa93fafd"}},{"ruleId":"D2","level":"warning","message":{"text":"Translator.trans (cognitive 20): Translator.trans has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 4, loops 3 (4 pts) (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":"Translator.php"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"7422c2bc9a78002c661dbeb07e8771002b3e169fa834514c174d3b90a1cb9c01"}},{"ruleId":"D2","level":"warning","message":{"text":"TranslatorPathsPass.process (cognitive 18): TranslatorPathsPass.process has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 3 (5 pts), ternaries 1 (2 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":"DependencyInjection/TranslatorPathsPass.php"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"58750ae9708e1001ca076c4ff3eef09221a47d01761a736508e57a36bbee811e"}},{"ruleId":"D2","level":"warning","message":{"text":"MoFileLoader.loadResource (cognitive 17): MoFileLoader.loadResource has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 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":"Loader/MoFileLoader.php"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"598fa8d82d8455c33f8b6a6bd2682e709fe5d618b43af730ca3feae8a1867da1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): Catalogue/MergeOperation.php:29-67 | Catalogue/TargetOperation.php:30-81 \u2014 These two members are one piece of code written twice and then edited apart: 39 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":"Catalogue/MergeOperation.php"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb7994017e51f1ac08b9fc9afe87496d9f050a6047f9acd556a377243587db9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): Loader/IcuDatFileLoader.php:28-58 | Loader/IcuResFileLoader.php:28-58 \u2014 These two members are one piece of code written twice and then edited apart: 31 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":"Loader/IcuDatFileLoader.php"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2a903ec5ccb67142b49665050d864490e76ade43f687563f5eb22b26940f88"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): Extractor/Visitor/TransMethodVisitor.php:34-60 | Extractor/Visitor/TranslatableMessageVisitor.php:35-63 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Extractor/Visitor/TransMethodVisitor.php"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e5a7fd0afff6d3a28510545e42406970f061046a79ee974dc384e0120fe5e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): TranslatorBag.php:54-74 | TranslatorBag.php:79-100 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TranslatorBag.php"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"caf50122e399eaeb0f46e341e46c0a777773c18bcbb10abd6add490e3693f414"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): Catalogue/AbstractOperation.php:97-105 | Catalogue/AbstractOperation.php:110-118 | Catalogue/AbstractOperation.php:123-131 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 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":"Catalogue/AbstractOperation.php"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4a3f18760596a71faa1e89028a8957b21f3b1f64e273cfa43eb2fcf7aa088c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): DependencyInjection/DataCollectorTranslatorPass.php:25-34 | DependencyInjection/TranslationLintCommandPass.php:23-31 | DependencyInjection/TranslationUpdateCommandPass.php:21-29 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 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":"DependencyInjection/DataCollectorTranslatorPass.php"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"6befff5d3e84badf30b5ea8ec001a98a45654cdc5587ab021d80c34e2de14be5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): Command/TranslationExtractCommand.php:435-444 | Command/TranslationDebugCommand.php:336-343 \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":"Command/TranslationExtractCommand.php"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8275798f27250ec0c79882b5c6c0b2afbdc7a8b77a2baba8bffe8c2a3856bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): DataCollectorTranslator.php:42-45 | LoggingTranslator.php:31-34 \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":"DataCollectorTranslator.php"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"14cd9c1a816b2182bcbc6ea50c140c3d5af3adece1b4fb5094bdafffc8362624"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201329 lines \u00D7 2): Catalogue/MergeOperation.php:29-48 | Catalogue/TargetOperation.php:30-58 \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 \u0060Catalogue/MergeOperation.php:29\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, \u0060Catalogue/TargetOperation.php:59\u0060 calls \u0060has\u0060 and \u0060Catalogue/MergeOperation.php:49\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":"Catalogue/MergeOperation.php"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4666b831c5fdb6adcf0dd1bed307366ca074b4504f14e98c71be0aea5018a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): Command/TranslationExtractCommand.php:354-382 | Command/TranslationTrait.php:47-75 \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":"Command/TranslationExtractCommand.php"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"27adc8ef51505475b452d93b401e843754525c7b850c352c1d4e8d6161d6b20c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): Loader/IcuDatFileLoader.php:38-58 | Loader/IcuResFileLoader.php:38-58 \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":"Loader/IcuDatFileLoader.php"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a12c7673cab49896818ae7ef40d3061bd53085a8839aeadcb3db844707dc140"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Command/TranslationDebugCommand.php:251-263 | Command/TranslationExtractCommand.php:300-312 \u2014 before extracting anything, compare \u0060Command/TranslationDebugCommand.php\u0060 and \u0060Command/TranslationExtractCommand.php\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 52 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 \u0060Command/TranslationDebugCommand.php:251\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":"Command/TranslationDebugCommand.php"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"152c804e9f5d4374c8b2a6b3a69dad4881967c50ea9c48932869c72434e1610a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Extractor/Visitor/TransMethodVisitor.php:45-57 | Extractor/Visitor/TranslatableMessageVisitor.php:49-61 \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":"Extractor/Visitor/TransMethodVisitor.php"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"137a4bc261468279698d29629acb0bd45fe117278c49aa49fd991c08368d614b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): Loader/MoFileLoader.php:78-90 | Loader/MoFileLoader.php:94-105 \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/MoFileLoader.php:78\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/MoFileLoader.php"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a73d1e1e966c6cc6ebdde66ba5069ddcdce023a55eee362b71b23b9d5bea9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Loader/XliffFileLoader.php:239-251 | Loader/XliffFileLoader.php:277-289 \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":"Loader/XliffFileLoader.php"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"df52d31e3e6805e5a9aa2fcf58c425f4db72f8ee19a7c7ed827c97d558b3a3cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Command/TranslationDebugCommand.php:131-142 | Command/TranslationExtractCommand.php:161-172 \u2014 before extracting anything, compare \u0060Command/TranslationDebugCommand.php\u0060 and \u0060Command/TranslationExtractCommand.php\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 52 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 \u0060Command/TranslationDebugCommand.php:131\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, \u0060Command/TranslationExtractCommand.php:173\u0060 calls \u0060getName\u0060 and \u0060Command/TranslationDebugCommand.php:143\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":"Command/TranslationDebugCommand.php"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7af808b56c2c7b9eeec0ca9016f120a7d8d2042121132b64f2ec84ab1130de7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): Command/TranslationDebugCommand.php:143-153 | Command/TranslationExtractCommand.php:174-185 \u2014 before extracting anything, compare \u0060Command/TranslationDebugCommand.php\u0060 and \u0060Command/TranslationExtractCommand.php\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 52 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 \u0060Command/TranslationDebugCommand.php:143\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, \u0060Command/TranslationExtractCommand.php:173\u0060 calls \u0060getName\u0060 and \u0060Command/TranslationDebugCommand.php:142\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":"Command/TranslationDebugCommand.php"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee1704fc506eae7faa5097ec9616881717886ca4ece7ab158596cc8c0fb482c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): Command/TranslationExtractCommand.php:370-380 | Command/TranslationExtractCommand.php:413-423 | Command/TranslationTrait.php:63-73 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Command/TranslationExtractCommand.php"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbdd74c0e7dc46ac695f96ebd8129531c101eed569cd68f1b36b60b422cde40c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): Loader/FileLoader.php:26-34 | Loader/QtFileLoader.php:34-42 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060Loader/QtFileLoader.php:30\u0060 calls \u0060class_exists\u0060, \u0060RuntimeException\u0060 and \u0060Loader/FileLoader.php:25\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Loader/FileLoader.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d8154dc63be06724479b68bdddde54615327d8eb5eec9bc20bf4565a215f382"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Dumper/XliffFileDumper.php:102-108 | Dumper/XliffFileDumper.php:210-216 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060Dumper/XliffFileDumper.php:109\u0060 calls \u0060getMetadata\u0060 and \u0060Dumper/XliffFileDumper.php:217\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":"Dumper/XliffFileDumper.php"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3f6777ddf3085f61663a7bc97a85649b2ea9abe4b0a08aa512f5c5652e9f6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): Catalogue/MergeOperation.php:57-67 | Catalogue/TargetOperation.php:71-81 \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":"Catalogue/MergeOperation.php"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb82798921b981d14db14828b39ffb8c96ab8399a58e6b9297a87d9e25a88311"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): Command/TranslationDebugCommand.php:348-355 | Command/TranslationExtractCommand.php:470-477 \u2014 before extracting anything, compare \u0060Command/TranslationDebugCommand.php\u0060 and \u0060Command/TranslationExtractCommand.php\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Command/TranslationDebugCommand.php"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d335eea80277dd6894963ec31a276b60b9ebe5f14e463fa7ac259deb981328e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Command/TranslationDebugCommand.php:395-401 | Command/TranslationExtractCommand.php:492-498 \u2014 before extracting anything, compare \u0060Command/TranslationDebugCommand.php\u0060 and \u0060Command/TranslationExtractCommand.php\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Command/TranslationDebugCommand.php"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"d92d44ca1e529f79e8da6080cc96b5d45d32b3f098372846514d2d89106f3a40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): DataCollectorTranslator.php:79-83 | LoggingTranslator.php:65-69 \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":"DataCollectorTranslator.php"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d9cb0fc2d3df8238a976a20e0d7976e28a31ecbb7a342237f388bd693ae92ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): DataCollectorTranslator.php:88-92 | LoggingTranslator.php:74-78 | PseudoLocalizationTranslator.php:139-143 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. The 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":"DataCollectorTranslator.php"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcbcbdea98339243dabd2d2df6fb2032a45722d7b11dc419a470dab81a070090"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): Command/TranslationPullCommand.php:80-111 | Command/TranslationPushCommand.php:73-106 \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":"Command/TranslationPullCommand.php"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"506e1910ee7781747dd1ad109fb2ba9d8fe48334e00b8e45012a1241de1e6aae"}},{"ruleId":"D5","level":"error","message":{"text":"Circular dependency: (root) \u2192 Catalogue \u2192 (root) (one cycle inside a mutually-dependent group of 15 modules)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TranslatorBag.php"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"0454c5bb04ddc26688a7174c66e469f05c8fdc1cb98efab88ba3ffacdc1b6cb8"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project Command: Command has instability 0.89 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dff99277b1281789a33bcecffb1fcb2da2d577016644f6acc0714d64d448ed22"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project Resources: Resources has instability 0.92 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"22e76bab719a2802b4ff6788a226aeb823ea3e67f90a22b8f56ec8e7dd463b97"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: CacheWarmer: CacheWarmer: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"614a117b6a556d4b65e3573a714f8c96e1ff16580ffc82fff6578627e0c6ffa3"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Util: Util: abstractness 0.00, instability 0.25, distance 0.75 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"069c6b69e4780d5cbffe7844760ec3b3d1685566fa44eba69df29b3bbc634e79"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Exception: Exception: abstractness 0.18, instability 0.08, distance 0.73 \u2014 zone of pain \u2014 concrete and depended on by 11 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"35c45f357beec2d37833a79e4b09acb2e7bb6bc48cab81fde9315496687c555b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testValidateLocalePassesForValidLocales: 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/LocaleFallbackProviderTest.php"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"49a243c95048bc319eaf0b2feb387976cb92ffc941ee681d5e1c47f67c530f70"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testSetFallbackValidLocales: 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/TranslatorTest.php"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e10bce91b9953a773c53bb576d12e8793a187ce1302bd73f8c4868a8f02f799"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testAddResourceValidLocales: 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/TranslatorTest.php"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"c684f2ad03453b681c6522fc89e84b49e1bb4d931e87421d498e56f6955952e2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: TranslationBundle.php: TranslationBundle.php changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in TranslationBundle.loadExtension at line 155. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 13:56:42 \u002B01:00\u0027 --until=\u00272026-11-16 13:56:42 \u002B01:00\u0027 --full-history --no-merges -- TranslationBundle.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":"TranslationBundle.php"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27155d8329820f1174386473f3a8651972378660cac555efb335ba1b7c257d1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Loader/XliffFileLoader.php: Loader/XliffFileLoader.php changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in XliffFileLoader.extractXliff2 at line 189. 1 of those changes was a fix/bug commit, and the other 4 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 13:56:42 \u002B01:00\u0027 --until=\u00272026-11-16 13:56:42 \u002B01:00\u0027 --full-history --no-merges -- Loader/XliffFileLoader.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/XliffFileLoader.php"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d51e0e19879753c11790d93cf7e24776b54c5a776513bdcdabecff8cc38131f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: Extractor/Visitor/AbstractVisitor.php: Extractor/Visitor/AbstractVisitor.php changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in AbstractVisitor.getStringValues at line 108. 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-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 13:56:42 \u002B01:00\u0027 --until=\u00272026-11-16 13:56:42 \u002B01:00\u0027 --full-history --no-merges -- Extractor/Visitor/AbstractVisitor.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":"Extractor/Visitor/AbstractVisitor.php"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df5b8fd7642a758d3d86ec494a672941f6eba0bcbdcbe9071ec5d331d049b3b"}},{"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: Command/TranslationExtractCommand.php, TranslationBundle.php, Command/TranslationDebugCommand.php, Resources/config/translation_providers.php, Formatter/IntlFormatter.php. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bfb28f8176ae10f67d8c4ebfc36c57a92e7a5bc9ab84f0240cf50166042ca1b2"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 3 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 (10 single-owned of 46 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; 46 of the 114 production source files in this repository met that bar). They are anonymized user #2 (2 file(s)), anonymized user #3 (2 file(s)), anonymized user #4 (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: Extractor/Visitor/AbstractVisitor.php, Extractor/PhpAstExtractor.php, Loader/PoFileLoader.php, DataCollector/TranslationDataCollector.php, HtmlTranslator.php."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 13 of 46 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; 46 of the 114 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: Command/TranslationPullCommand.php, Loader/MoFileLoader.php, Util/ArrayConverter.php, Catalogue/TargetOperation.php, MessageCatalogueInterface.php, TranslatorBag.php, Provider/Dsn.php, Dumper/IcuResFileDumper.php (and 5 more). 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":"Command/TranslationPullCommand.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"543beed534df6f0773ee1356abb5b57ff755eef1a9eb79311a3d85dc5d205011"}},{"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/MoFileLoader.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe8cff659a8a7cb0ce3295012715bce120fcb7e0916acbf624564ae5aba0a0aa"}},{"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":"Util/ArrayConverter.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08675ea6092dd676fedaa7b644d07aca835022d46347e64a5c04592c25b99413"}},{"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":"Catalogue/TargetOperation.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c9c77f291afd061b0422bc9b327197b8ed099a9de4598edcc8090536b9a24a"}},{"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":"MessageCatalogueInterface.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"906379ab9f2a2ca1577ef6ec61d8977c29b71c2992df1294edc735111251135e"}},{"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":"TranslatorBag.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c3fb9a6b0c8b51bea7215433e9e10794b42d865cacfa0599e8b1fceed4f6f5"}},{"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":"Provider/Dsn.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d0865b0d11824ad1abc48c1cf49ba5fb83c1b7a69f86230e1f7558b0e3d012"}},{"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":"Dumper/IcuResFileDumper.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64de5c20c96fd1d5642bad05ffe25e9e00bcafe3b1027cd5ee01f2521b0cb4f4"}},{"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/IcuResFileLoader.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"387a29a91be21bbcca4715b29a928562b3a815d2462b717b7c63cc8111ced6cc"}},{"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":"Extractor/Visitor/ConstraintVisitor.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b75881ec4dc2bcf08238f17332fdb17970d1517c4afa41039abfda39b03f5af"}},{"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/QtFileLoader.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45afa2fec63ea460f77447a5bd87860c61e5285f55e51a2e79b1a5bf4926d15a"}},{"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":"LocaleFallbackProvider.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e094320726aedea2ce9c39e0221657b8409abd0bb9da4bb1c4dd098aaad927"}},{"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":"Catalogue/MergeOperation.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b1ab7176760663006809d08fb35047d759e5c219fd0926760547ef5653109f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: DataCollectorTranslator.php \u2194 LoggingTranslator.php: \u0060DataCollectorTranslator.php\u0060 and \u0060LoggingTranslator.php\u0060 change together 61% of the time (20 of the 33 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 20 shared commits counted here, the most recent 3 are \u0060ba0bc436\u0060 [Translation] Extract locale fallback computation into a dedicated class; \u0060a50ed69a\u0060 Fix multiple CS errors; \u0060ded8c04e\u0060 Add missing return types to magic methods \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"DataCollectorTranslator.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29fe71c36a55c941bdb347d9d62b065f40f3c34ced629e28f01106be0fc5b01f"}},{"ruleId":"AX3","level":"error","message":{"text":"Project dependency cycle: The projects (root) \u2192 Catalogue \u2192 (root) (one cycle inside a mutually-dependent group of 15 projects) form a reference cycle. Cyclic dependencies prevent independent build/test/deploy, blur ownership, and tend to grow into a big ball of mud. Break the cycle by extracting the shared types into a separate project both can reference."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"TranslatorBag.php"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"5242f5711342011d457230fd09bfc3115b1b4144192151840db57bd6e8a3b54e"}},{"ruleId":"M1","level":"note","message":{"text":"Thin README: The root README is 88 words, against a bar of 120. Of the three newcomer-critical sections this check looks for by heading, in the README and in the repository documents it links, it found no a build/run or getting-started section, no a testing section, no an architecture or project-map section. Sections are matched on HEADING text only, so material written under a heading this check does not recognise \u2014 or with no heading at all \u2014 is not seen and this row may understate what the document covers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88b11295dc6ac6146c259ace6043143959f96dc98628f8c8578b6c5f95b8149"}},{"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 17 application file(s) sit at the repository root beside the build and tooling files (\u0060CatalogueMetadataAwareInterface.php\u0060, \u0060DataCollectorTranslator.php\u0060, \u0060HtmlTranslator.php\u0060, \u0060IdentityTranslator.php\u0060, \u0060LocaleFallbackProvider.php\u0060 and 12 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: \u0060translator instanceof Translator || method_exists($this-\u003Etranslator, \u0027getFallbackLocales\u0027)\u0060 appears character-identically in 2 files \u2014 DataCollectorTranslator.php, LoggingTranslator.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":"DataCollectorTranslator.php"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"024f2adbf69e21349297d59027d4022b10924a2dbce3fe39903a6803257340d9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060translator instanceof Translator || method_exists($this-\u003Etranslator, \u0027getGlobalParameters\u0027)\u0060 appears character-identically in 3 files \u2014 DataCollectorTranslator.php, LoggingTranslator.php, PseudoLocalizationTranslator.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":"DataCollectorTranslator.php"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"e644a0f2c291d8f7c1c5a031dc80590dea29dea64022b5ba5ecbddafdd4d824d"}},{"ruleId":"X19","level":"warning","message":{"text":"Process-global state is restored only on the happy path: \u0060getParts\u0060 changes state that belongs to the whole PROCESS and changes it back at the end of the same body \u2014 libxml\u0027s internal-error mode (changed at line 154, put back at line 160) \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":"PseudoLocalizationTranslator.php"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"3565a58d2ef56f6d543c701f61b9301c98174ed562117dcd0cb6dab09393dae1"}},{"ruleId":"X19","level":"warning","message":{"text":"Process-global state is restored only on the happy path: \u0060validateSchema\u0060 changes state that belongs to the whole PROCESS and changes it back at the end of the same body \u2014 libxml\u0027s internal-error mode (changed at line 62, put back at line 82) \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":"Util/XliffUtils.php"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"11086859cd3144531a3e5d551e03a729e90e4a3c05b05fdf3eb0f35c39a0587a"}},{"ruleId":"X19","level":"warning","message":{"text":"Process-global state is restored only on the happy path: \u0060load\u0060 changes state that belongs to the whole PROCESS and changes it back at the end of the same body \u2014 libxml\u0027s internal-error mode (changed at line 50, put back at line 76) \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":"Loader/QtFileLoader.php"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"badb67fec71c78a96568ccffef130cc77335ac793a48505122cebc499c439602"}},{"ruleId":"X19","level":"warning","message":{"text":"Process-global state is restored only on the happy path: \u0060validate\u0060 changes state that belongs to the whole PROCESS and changes it back at the end of the same body \u2014 libxml\u0027s internal-error mode (changed at line 124, put back at line 155) \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":"Command/XliffLintCommand.php"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"74fc9e159e314c7a2a6c18cd5123a7f57f3b39d4ca72f78fd5499f1049420cb4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"LocaleSwitcher.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bdc3a3a31e829d7e1a91eb8315826c1d4805f153b3ddc23ba887a370c21be9a"}},{"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/IcuDatFileLoader.php"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b04f8728ddcd932031a05370f3bf6c22e40aee245cb4c67d16df323b9c1675"}},{"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/IcuResFileLoader.php"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce986f5dd1d8289866bd1990d660cd9ada34e4d580674333dd14c98e1087311"}},{"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}}}]}