{"$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":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"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":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AC7","name":"A11y enforcement","shortDescription":{"text":"A11y enforcement"},"helpUri":"https://codehealth.canine.dev/dimensions/AC7"},{"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":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"C1","name":"Data Protection","shortDescription":{"text":"Data Protection"},"helpUri":"https://codehealth.canine.dev/dimensions/C1"},{"id":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"id":"DM1","name":"Aggregate boundaries","shortDescription":{"text":"Aggregate boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/DM1"},{"id":"DM2","name":"Strongly-typed ids","shortDescription":{"text":"Strongly-typed ids"},"helpUri":"https://codehealth.canine.dev/dimensions/DM2"},{"id":"DM4","name":"Rich vs anemic domain model","shortDescription":{"text":"Rich vs anemic domain model"},"helpUri":"https://codehealth.canine.dev/dimensions/DM4"},{"id":"DM6","name":"Domain \u2194 infrastructure boundary","shortDescription":{"text":"Domain \u2194 infrastructure boundary"},"helpUri":"https://codehealth.canine.dev/dimensions/DM6"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"ES1","name":"Fold determinism","shortDescription":{"text":"Fold determinism"},"helpUri":"https://codehealth.canine.dev/dimensions/ES1"},{"id":"ES2","name":"Immutable events","shortDescription":{"text":"Immutable events"},"helpUri":"https://codehealth.canine.dev/dimensions/ES2"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P8","name":"Schema migrations","shortDescription":{"text":"Schema migrations"},"helpUri":"https://codehealth.canine.dev/dimensions/P8"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"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":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"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":"RallyPointBuilding.RallyPointBuilding (cyclomatic 88): RallyPointBuilding.RallyPointBuilding has cyclomatic complexity 88 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 63 belong to 22 function items inside it that branch. 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":"frontend/src/components/buildings/RallyPointBuilding.tsx"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"db42a5c527656afbfca05829ec7e23dabf49ce84434bdb8e1879e98b9b7aa244"}},{"ruleId":"D1","level":"warning","message":{"text":"VillageAggregate::apply_fact_at (cyclomatic 63): VillageAggregate::apply_fact_at has cyclomatic complexity 63 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_app/villages/aggregate.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba89be8f92485078feaba844cfe5bd935d223a99e21ce544ab974d01c23b4a2"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App (cyclomatic 45): App.App has cyclomatic complexity 45 (threshold 15). Most of this is not in the body itself: 9 of the 45 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 128, invalidateVisibleGameState, a function literal at line 96, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/app/App.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bced6af35e184b6661b7fe4f6f94deda687c1c74a3529970400df7ad6adb21b"}},{"ruleId":"D1","level":"warning","message":{"text":"parabellum_web::api::buildings::building_detail (cyclomatic 43): parabellum_web::api::buildings::building_detail has cyclomatic complexity 43 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_web/api/buildings.rs"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"10563b7c4d6d5a8944466a6f0a20c370c3206dba23f331940533b6925a4c7451"}},{"ruleId":"D1","level":"warning","message":{"text":"MapPage.MapPage (cyclomatic 43): MapPage.MapPage has cyclomatic complexity 43 (threshold 15). Most of this is not in the body itself: 11 of the 43 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 279, a function literal at line 355, a function literal at line 176, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/MapPage.tsx"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18f8cdff3bb0931d4e9af32fbdd0fa5960132ba9840accc7e1327e95b130036"}},{"ruleId":"D1","level":"warning","message":{"text":"MapFieldPage.MapFieldPage (cyclomatic 40): MapFieldPage.MapFieldPage has cyclomatic complexity 40 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. 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":"frontend/src/pages/MapFieldPage.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8db6d77491866ba7bf461c4255565fa181c506d6591f7ba4ec0913e5952dac"}},{"ruleId":"D1","level":"warning","message":{"text":"BuildingPage.BuildingPage (cyclomatic 32): BuildingPage.BuildingPage has cyclomatic complexity 32 (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":"frontend/src/pages/BuildingPage.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"98999d128c345af4340536fba5e1785e8f441976a0467e397e00d966d81be981"}},{"ruleId":"D1","level":"warning","message":{"text":"MarketplaceBuilding.MarketplaceBuilding (cyclomatic 31): MarketplaceBuilding.MarketplaceBuilding has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 8 of the 31 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 380, 439, 194, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/MarketplaceBuilding.tsx"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f29f1a6775c2c30a67c4d17118619e905d60832a5d483ac5d400ec44884c82a"}},{"ruleId":"D1","level":"warning","message":{"text":"parabellum_infra::es::workflows::battles::build_attack_outcome (cyclomatic 29): parabellum_infra::es::workflows::battles::build_attack_outcome has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_infra/es/workflows/battles.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0834ae890491098758797957168019bbbe0bdf9caeddd82aa7bcdde84b889a"}},{"ruleId":"D1","level":"warning","message":{"text":"parabellum_game::models::map::generate_new_map (cyclomatic 26): parabellum_game::models::map::generate_new_map has cyclomatic complexity 26 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_game/models/map.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf4744eb1b225184c678e053c979988020727bae6088cb4ebdd7dec2efce214b"}},{"ruleId":"D1","level":"warning","message":{"text":"buildingCards.EmptySlotBuilding (cyclomatic 22): buildingCards.EmptySlotBuilding has cyclomatic complexity 22 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 10 belong to 2 function items inside it that branch. 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":"frontend/src/components/buildings/buildingCards.tsx"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"319b383f88ec0f8c39db411f0812aa585359ec9d7b87fa7ba70d0220571c9125"}},{"ruleId":"D1","level":"warning","message":{"text":"router.parseRouteParts (cyclomatic 22): router.parseRouteParts has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/lib/router.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"4196d96387544320ca4e3ed181fb1091d65fd115377d7d0c935e5f6e992818a6"}},{"ruleId":"D1","level":"warning","message":{"text":"MainBuilding.MainBuilding (cyclomatic 21): MainBuilding.MainBuilding has cyclomatic complexity 21 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 6 belong to 4 function literals inside it that branch. 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":"frontend/src/components/buildings/MainBuilding.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"0711590784be8897311447ff4e685a1b0f1384fee1d058e8c40a1820890ef1f1"}},{"ruleId":"D1","level":"warning","message":{"text":"buildingCards.buildingUpgradeValue (cyclomatic 21): buildingCards.buildingUpgradeValue has cyclomatic complexity 21 (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":"frontend/src/components/buildings/buildingCards.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"c26adace2325277195527a8877e3a6ac0baeb4c3026159299c548f2f6351a33b"}},{"ruleId":"D1","level":"warning","message":{"text":"Battle::calculate_battle (cyclomatic 20): Battle::calculate_battle has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_game/battle.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"911a8ef95fbef704b7c1f1b2e19bf5b4f191f698e63a2ca0018b4018e1d95a6e"}},{"ruleId":"D1","level":"warning","message":{"text":"ReportsPage.BattleReportDetail (cyclomatic 20): ReportsPage.BattleReportDetail has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/ReportsPage.tsx"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac5e4b1ed01086f5013ea21846a8a55a3b1532d27cb508427083f8feee5e769a"}},{"ruleId":"D1","level":"warning","message":{"text":"ArmyTable.ArmyTable (cyclomatic 18): ArmyTable.ArmyTable has cyclomatic complexity 18 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. 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":"frontend/src/components/ArmyTable.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a949d8dce82bfba4e83062c4f7bf1dcbda35b6f65d700666ce2b0ef63e9a623"}},{"ruleId":"D1","level":"warning","message":{"text":"VillageMap.VillageMap (cyclomatic 17): VillageMap.VillageMap has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 7 of the 17 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 149, 129, 172, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/VillageMap.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e85b487474dc6bdd6cd62607524db206b1ca7d295b39cc0037b87deb9448ce"}},{"ruleId":"D1","level":"warning","message":{"text":"HeroMansionBuilding.HeroMansionBuilding (cyclomatic 17): HeroMansionBuilding.HeroMansionBuilding has cyclomatic complexity 17 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. 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":"frontend/src/components/buildings/HeroMansionBuilding.tsx"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"b837fcb946e6f73d94c8488dedc8bd97893fa6999087ba73b765f259a630377f"}},{"ruleId":"D1","level":"warning","message":{"text":"buildingCards.QueuedConstructionUpgrade (cyclomatic 17): buildingCards.QueuedConstructionUpgrade has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"frontend/src/components/buildings/buildingCards.tsx"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f55a772f3508390091a44dfdca8966eaadb875a90c8947a0d61514e426c4cb"}},{"ruleId":"D2","level":"warning","message":{"text":"RallyPointBuilding.RallyPointBuilding (cognitive 164): RallyPointBuilding.RallyPointBuilding has cognitive complexity 164 (threshold 15). Drivers by points: ternaries 42 (106 pts), boolean chains 24, error handling 7 (20 pts), if/else 8 (14 pts) (nesting depth added 83). Of this number, 37 points are the body\u0027s own statements and 127 belong to 22 function items inside it that branch. 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":"frontend/src/components/buildings/RallyPointBuilding.tsx"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"661bd648328f21c9f077d9b76636a3608c37865ce631144c38e6f59388aedd80"}},{"ruleId":"D2","level":"warning","message":{"text":"MapFieldPage.MapFieldPage (cognitive 63): MapFieldPage.MapFieldPage has cognitive complexity 63 (threshold 15). Drivers by points: ternaries 26 (50 pts), boolean chains 8, error handling 2 (5 pts) (nesting depth added 27). Of this number, 58 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. 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":"frontend/src/pages/MapFieldPage.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"64098ed2f56c3020bd5eaaa1ce32dc1682ef4cf0ee982f4ec5044ad272d89166"}},{"ruleId":"D2","level":"warning","message":{"text":"parabellum_infra::es::workflows::battles::build_attack_outcome (cognitive 52): parabellum_infra::es::workflows::battles::build_attack_outcome has cognitive complexity 52 (threshold 15). Drivers by points: if/else 22 (33 pts), loops 4 (8 pts), boolean chains 6, match/switch 2 (5 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_infra/es/workflows/battles.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b2ccea4b9d6bed4b93cb759ac6f650f7d3e8cc88f4ec43a715610e9f2af04c"}},{"ruleId":"D2","level":"warning","message":{"text":"parabellum_web::api::buildings::building_detail (cognitive 49): parabellum_web::api::buildings::building_detail has cognitive complexity 49 (threshold 15). Drivers by points: if/else 17 (31 pts), match/switch 7 (17 pts), boolean chains 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_web/api/buildings.rs"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d11991a8eb1f8ca008038334427872717ffbf7f872d488727dac569b51a082"}},{"ruleId":"D2","level":"warning","message":{"text":"MapPage.MapPage (cognitive 48): MapPage.MapPage has cognitive complexity 48 (threshold 15). Drivers by points: ternaries 16 (23 pts), boolean chains 12, if/else 9 (10 pts), loops 2 (3 pts) (nesting depth added 9). Most of this is not in the body itself: 12 of the 48 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 279, a function literal at line 355, a function literal at line 176, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/MapPage.tsx"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"2013df78678045afe34e6917dc0ba4b71d9ff81fb56de4e1560e045b6155aba5"}},{"ruleId":"D2","level":"warning","message":{"text":"App.App (cognitive 39): App.App has cognitive complexity 39 (threshold 15). Drivers by points: if/else 12 (14 pts), ternaries 6 (11 pts), boolean chains 8, error handling 3 (5 pts), match/switch 1 (nesting depth added 9). Most of this is not in the body itself: 10 of the 39 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 128, invalidateVisibleGameState, a function literal at line 96, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/app/App.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"f457a656afe6d343615707dbefc51c89e1b24a79413c3f9533a17956f3a32632"}},{"ruleId":"D2","level":"warning","message":{"text":"MarketplaceBuilding.MarketplaceBuilding (cognitive 34): MarketplaceBuilding.MarketplaceBuilding has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 15 (18 pts), boolean chains 7, if/else 5, error handling 3 (4 pts) (nesting depth added 4). Most of this is not in the body itself: 8 of the 34 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 380, 439, 194, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/MarketplaceBuilding.tsx"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e4cdf04545d4daffe91656041ef1823e32829abcaa5498d4f8a252fe937e054"}},{"ruleId":"D2","level":"warning","message":{"text":"BuildingPage.BuildingPage (cognitive 32): BuildingPage.BuildingPage has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 18 (22 pts), boolean chains 10 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/BuildingPage.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"facd93356b170fb2899f16d10515291bb7c7faad4df7caeb9b441d8384f1ea88"}},{"ruleId":"D2","level":"warning","message":{"text":"Battle::calculate_battle (cognitive 27): Battle::calculate_battle has cognitive complexity 27 (threshold 15). Drivers by points: if/else 18 (21 pts), boolean chains 4, loops 1, match/switch 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_game/battle.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b726b91fbe00041d481564ae12282cc4ca25621fe6b10035419abcb828a4264"}},{"ruleId":"D2","level":"warning","message":{"text":"MainBuilding.MainBuilding (cognitive 27): MainBuilding.MainBuilding has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 11 (17 pts), if/else 3 (6 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 10). Of this number, 15 points are the body\u0027s own statements and 12 belong to 4 function literals inside it that branch. 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":"frontend/src/components/buildings/MainBuilding.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"7901b837167b1ee0d3f7c46c1d07d7a2543a26a3cb16195b80fa98c5e7b44f10"}},{"ruleId":"D2","level":"warning","message":{"text":"router.parseRouteParts (cognitive 26): router.parseRouteParts has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 5, ternaries 2 (4 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/lib/router.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"74fef32402804dd83e2afbcd3d607cec5d4a529c8df7aa450198df9b3dd2688b"}},{"ruleId":"D2","level":"warning","message":{"text":"ReportsPage.BattleReportDetail (cognitive 26): ReportsPage.BattleReportDetail has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 16 (24 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/ReportsPage.tsx"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd21723d1ae7a90e1d651b55a14d820282a888fc95a275c0a0ad3dc7370d258"}},{"ruleId":"D2","level":"warning","message":{"text":"VillageMap.VillageMap (cognitive 22): VillageMap.VillageMap has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 12 (18 pts), boolean chains 4 (nesting depth added 6). Most of this is not in the body itself: 9 of the 22 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 149, 129, 172, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/VillageMap.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3f955c29eb180966afcb1688297dbe91b7fa5811a4792769597ec19cffcff3"}},{"ruleId":"D2","level":"warning","message":{"text":"buildingCards.EmptySlotBuilding (cognitive 22): buildingCards.EmptySlotBuilding has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 12 (13 pts), boolean chains 4, if/else 3, error handling 1 (2 pts) (nesting depth added 2). Of this number, 12 points are the body\u0027s own statements and 10 belong to 2 function items inside it that branch. 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":"frontend/src/components/buildings/buildingCards.tsx"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"e42b5d3888bdc16c8b6d0821bc1c746757f69c40cf96790a1a4b4ec9735cd656"}},{"ruleId":"D2","level":"warning","message":{"text":"Village::validate_building_construction (cognitive 21): Village::validate_building_construction has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_game/models/village.rs"},"region":{"startLine":1225}}}],"partialFingerprints":{"codehealthFindingId/v1":"c803d60fc8fc0e839e260930204a2d774dfd3dbee8e9b4fec30af939ead07c58"}},{"ruleId":"D2","level":"warning","message":{"text":"parabellum_infra::adapters::cqrs_errors::map_cqrs_error (cognitive 21): parabellum_infra::adapters::cqrs_errors::map_cqrs_error has cognitive complexity 21 (threshold 15). Drivers by points: match/switch 11 (21 pts) (nesting depth added 10). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_infra/adapters/cqrs_errors.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa8a27e99e3ed304da80a48cd71a3dd3b3aba7924b698846464ceb1bd0cf6bc"}},{"ruleId":"D2","level":"warning","message":{"text":"Layout.Layout (cognitive 21): Layout.Layout has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 10 (18 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/Layout.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef62d32af363b76d0e2b623640607dc62c6147ffd17257d4070cff2fe1be13a"}},{"ruleId":"D2","level":"warning","message":{"text":"buildingCards.QueuedConstructionUpgrade (cognitive 21): buildingCards.QueuedConstructionUpgrade has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 8 (15 pts), boolean chains 3, error handling 1 (2 pts), if/else 1 (nesting depth added 8). Of this number, 19 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"frontend/src/components/buildings/buildingCards.tsx"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1048d8f60b7efbaaa9ef3bb7bf70a78d85d83a03f09f5f89f4224ba5bbcfeef"}},{"ruleId":"D2","level":"warning","message":{"text":"parabellum_infra::seed::run_seed (cognitive 20): parabellum_infra::seed::run_seed has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_infra/seed/mod.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d5cf37c5ac777dd12cac919956ef25c5a3a09112e1038bd138da51ec6ea712"}},{"ruleId":"D2","level":"warning","message":{"text":"parabellum_web::api::buildings::smithy_options_for_village (cognitive 20): parabellum_web::api::buildings::smithy_options_for_village has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 3, match/switch 1 (3 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_web/api/buildings.rs"},"region":{"startLine":1648}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2e84cfa6e415c6f468bc02b9b892a61b11c165dcb6fe5bb2dd70f40cf53ae0"}},{"ruleId":"D2","level":"warning","message":{"text":"ArmyTable.ArmyTable (cognitive 20): ArmyTable.ArmyTable has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 13 (17 pts), boolean chains 2, if/else 1 (nesting depth added 4). Of this number, 14 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/ArmyTable.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"0562af2f2bf7027788df2e7c861e886abba3d40fd464c6b7739d0891d5cc663e"}},{"ruleId":"D2","level":"warning","message":{"text":"buildingCards.buildingUpgradeValue (cognitive 20): buildingCards.buildingUpgradeValue has cognitive complexity 20 (threshold 15). Drivers by points: if/else 19, boolean chains 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/buildingCards.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"30117590360a4f2b936118b70982c0c5e534a50939c889ca1435a0c7c89825fe"}},{"ruleId":"D2","level":"warning","message":{"text":"Village::apply_battle_report (cognitive 19): Village::apply_battle_report has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 4, loops 2 (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":"parabellum_game/models/village.rs"},"region":{"startLine":1020}}}],"partialFingerprints":{"codehealthFindingId/v1":"5adcfee53feae30ba63a550b995bc9a24a2c781532e631e5891828ec3e086a8b"}},{"ruleId":"D2","level":"warning","message":{"text":"parabellum_infra::seed::resolve_village_from_template (cognitive 18): parabellum_infra::seed::resolve_village_from_template has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (12 pts), loops 3 (6 pts) (nesting depth added 5). 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":"parabellum_infra/seed/mod.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8947fcd416ec7b4a52151cf84d3db7496300a6426573b16385697635c506a47"}},{"ruleId":"D2","level":"warning","message":{"text":"HeroMansionBuilding.HeroMansionBuilding (cognitive 18): HeroMansionBuilding.HeroMansionBuilding has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 7 (11 pts), if/else 4, boolean chains 3 (nesting depth added 4). Of this number, 16 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. 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":"frontend/src/components/buildings/HeroMansionBuilding.tsx"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"e072a5e02c7df2d1248e6cb61d29bdccd730021df422ddb9da01481fcf2106be"}},{"ruleId":"D2","level":"warning","message":{"text":"buildingCards.UpgradeBuilding (cognitive 18): buildingCards.UpgradeBuilding has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 8 (15 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 8). Of this number, 16 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"frontend/src/components/buildings/buildingCards.tsx"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a92534c42f90c6219364706f47000d96656417dc0cb181d071841febba58dcb"}},{"ruleId":"D2","level":"warning","message":{"text":"MapPage.tileVisual (cognitive 18): MapPage.tileVisual has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 7 (15 pts), if/else 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/MapPage.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e7b3efbed009bd2707ae777bc507db3a6a142e4dce1429a44225421896f081c"}},{"ruleId":"D2","level":"warning","message":{"text":"VillageAggregate::apply_fact_at (cognitive 17): VillageAggregate::apply_fact_at has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 1 (2 pts), boolean chains 1, match/switch 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":"parabellum_app/villages/aggregate.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"b516fb0b0b417dec76301a61177c5784827fda14fa1ac0164373898b78dea7a1"}},{"ruleId":"D2","level":"warning","message":{"text":"ReplayService::run_full_replay (cognitive 17): ReplayService::run_full_replay has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2 (3 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":"parabellum_infra/es/replay/runner.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa52a92a79e1574a6cbd827c8b33221a93bc4949d01f9112e0caff96f798bae"}},{"ruleId":"D2","level":"warning","message":{"text":"parabellum_infra::es::repositories::scheduled_actions::queries::apply_scheduled_action_filter (cognitive 16): parabellum_infra::es::repositories::scheduled_actions::queries::apply_scheduled_action_filter has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), loops 3 (7 pts) (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_infra/es/repositories/scheduled_actions/queries.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d94abb530d2a2a7ad10d954a99668b106cfd9e8f192d96998b4019bfac926b"}},{"ruleId":"D2","level":"warning","message":{"text":"TrapperBuilding.TrapperBuilding (cognitive 16): TrapperBuilding.TrapperBuilding has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 8 (10 pts), boolean chains 4, error handling 1, if/else 1 (nesting depth added 2). Of this number, 11 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/TrapperBuilding.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"4470e19b8d1bc9337d4965c6b1df2ed9d9d525e3ec9b953bd9370ab42b257ea7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: parabellum_web::api::buildings::building_detail: FunctionTooLong \u2014 parabellum_web::api::buildings::building_detail runs 574 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 474 over it, 5.74\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_web/api/buildings.rs"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb61ea4c5447ab3b86fc155f607da29056cf78391bdf2ae72735ffda975171d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RallyPointBuilding.RallyPointBuilding: FunctionTooLong \u2014 RallyPointBuilding runs 496 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 396 over it, 4.96\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/RallyPointBuilding.tsx"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"f97a4303e07498b546f1ab270d83e0fdd04b554ab43874d713ba26db7463479e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MapPage.MapPage: FunctionTooLong \u2014 MapPage runs 350 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 250 over it, 3.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/MapPage.tsx"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b186b55b3ca960ccc43682341257b229d9573f4722dfc98880e88d43adc82c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: HomePage.HomePage: FunctionTooLong \u2014 HomePage runs 316 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 216 over it, 3.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/HomePage.tsx"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59544dceb84a8af54f98e8eb282ee1805f1a80bec0aa80a5adec9e78de79f07"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VillageAggregate.apply_fact_at: MethodTooLong \u2014 apply_fact_at runs 316 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 216 over it, 3.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_app/villages/aggregate.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"a950da1cb7a0a5323c12a1063671c6d7d8f699ab55d775c34c612919fb5c0ee0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: models/smithy.rs: FileTooLong \u2014 1533 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1033 over it, 3.07\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_game/models/smithy.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c05d2d28d1a941dd56aa929f043ee5878e909f3feaf9b0f6f848d1ae68261337"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Village: TooManyMethods \u2014 87 methods. The bar is 30 methods; this is 57 over it, 2.90\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_game/models/village.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca8fdc02b8de5242d18284ad365b6da20f82a26fb61200ff17cc2d3a6d1da0d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/buildings.rs: FileTooLong \u2014 1416 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 916 over it, 2.83\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_web/api/buildings.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b4be96a097dbe3b6e428f0e2dca91ee972511c093b1c617674547df4f6cddc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MarketplaceBuilding.MarketplaceBuilding: FunctionTooLong \u2014 MarketplaceBuilding runs 278 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 178 over it, 2.78\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/MarketplaceBuilding.tsx"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"6246d5e8b20628b330231d7da8e1b411f01d5fba7eca2ae7917956248e96396d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GameApplication: TooManyMethods \u2014 83 methods. The bar is 30 methods; this is 53 over it, 2.77\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_app/application/game.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"4069b1412cf99df53aedc588e9e74671513f8d8f49d5e76bb605e5c4faf56706"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: models/buildings.rs: FileTooLong \u2014 1351 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 851 over it, 2.70\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_game/models/buildings.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f91f61929b78a0c648d40fb6f7b7eb4c7d6d51be546c5e2f005cf3d7a8c5cef"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: VillageProjector: TooManyMethods \u2014 72 methods, declared across 14 files: village_projector/training.rs (10), armies/reinforcements.rs (8), armies/returns.rs (8), village_projector/heroes.rs (7), \u002B10 more file(s). The bar is 30 methods; this is 42 over it, 2.40\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_infra/es/consumers/village_projector.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"676068c6b7bedd32d2c593ab37c96c05507d9f4830339554f044c06a4d13bb05"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: HeroMansionBuilding.HeroMansionBuilding: FunctionTooLong \u2014 HeroMansionBuilding runs 240 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 140 over it, 2.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/HeroMansionBuilding.tsx"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6447ea6e7e37403356da944c9d64ccd87db27a6a02c48eff0729be4423d732d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: parabellum_infra::es::workflows::battles::build_attack_outcome: FunctionTooLong \u2014 parabellum_infra::es::workflows::battles::build_attack_outcome runs 236 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 136 over it, 2.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_infra/es/workflows/battles.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7dd61c3513a1475863494ffae85e25bfdcff56ace860cb83e24dfef7f58bfd8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/actions.rs: FileTooLong \u2014 1152 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 34 free functions. The bar is 500 significant lines; this is 652 over it, 2.30\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_web/api/actions.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94df2a0079c613cd643d8ac8bacb7b10011c15700e68cbcc40191e8f7a8c35d6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: VillageEsService: TooManyMethods \u2014 69 methods, declared across 13 files: village_service/commands.rs (29), queries/movements.rs (7), village_service/marketplace_commands.rs (5), queries/reports.rs (5), \u002B9 more file(s). The bar is 30 methods; this is 39 over it, 2.30\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_infra/es/village_service/mod.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f3a00789f90ff0c25b43d38f934a45ef33070699770b65529d04871cf71c7e3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: models/village.rs: FileTooLong \u2014 1083 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 79% of them inside a single declaration: Village (2 blocks, 104-1489). The bar is 500 significant lines; this is 583 over it, 2.17\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_game/models/village.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88a880093ebf457d7835c86d0d393b259f19b21a07071e6f1d4e089dc1d21a91"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Village: ClassTooLong \u2014 860 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 87 methods, 2 blocks, lines 104-1489. The bar is 400 significant lines; this is 460 over it, 2.15\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_game/models/village.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecdb4c9da36bf7016d5a8b4f8ab8825f41a7fcbffc61d001bb2576176e4cf549"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MapFieldPage.MapFieldPage: FunctionTooLong \u2014 MapFieldPage runs 215 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 115 over it, 2.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/MapFieldPage.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ececbc6149ec93f78ae9c3965db9c1f1a8df3d78e4309a9466abd3137ba9f83"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: App.App: FunctionTooLong \u2014 App runs 212 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 112 over it, 2.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/app/App.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"1615bf92cfcd9cbc6f71da082aca8638e7cf69fc15219a415426b5ff7d926294"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Battle.calculate_battle: MethodTooLong \u2014 calculate_battle runs 212 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 112 over it, 2.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_game/battle.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"d990e88217857fc2d2b9bb54a3b0cadf070ab408c51dfc3be7481bd6fb85fc34"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: parabellum_types/tribe.rs: FileTooLong \u2014 1028 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 528 over it, 2.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_types/tribe.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"922dbd82b73720bcd981fc6bb82ae6bdb0bc8cb1a4163b1db6ca679f94bc8ed6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: VillageEsAdapter: ClassTooLong \u2014 657 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 28 blocks, lines 36-867. The bar is 400 significant lines; this is 257 over it, 1.64\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_infra/adapters/village_es_adapter.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"704b6fee8d6f843d5b29e96be256f4b37b70a10ad8bb7d9786eb52fbf7b7de85"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ReportsPage.BattleReportDetail: FunctionTooLong \u2014 BattleReportDetail runs 163 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 63 over it, 1.63\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/ReportsPage.tsx"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"5186a2238ec9c01ad9bfc5ada074260830d3e29bb0935c05e42b1bf889572cc3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: buildings/RallyPointBuilding.tsx: FileTooLong \u2014 759 significant lines (blank, comment-only and punctuation-only lines excluded), about 65% of them inside a single declaration: RallyPointBuilding (321-876). The bar is 500 significant lines; this is 259 over it, 1.52\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/RallyPointBuilding.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d46dad2e497d2eb43c5089edefb6038eca886d33d29196381c6f73cb2cd4f47"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: VillageState: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.50\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_app/villages/state.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ab6e6512f110851316d8e96d1d0a11bca98b694e4b28111a684f93310a6cb6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: parabellum_infra::seed::run_seed: FunctionTooLong \u2014 parabellum_infra::seed::run_seed runs 146 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_infra/seed/mod.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"0202738e3ac2a20836acc892d9a89354001ac975e9bd50dbfbc55e81cb8b6823"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: VillageMap.VillageMap: FunctionTooLong \u2014 VillageMap runs 145 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/VillageMap.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17ccc906cfc8f2a2a2181776eec87a001bb6d3d856fc69fb1d192be1d44c56e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: parabellum_game::models::map::generate_new_map: FunctionTooLong \u2014 parabellum_game::models::map::generate_new_map runs 144 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_game/models/map.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fcb0645d6781bd5c5bf391ef48d3186b093fdf22b5690bfdd1ee863b7a2d213"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: adapters/village_es_adapter.rs: FileTooLong \u2014 710 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 93% of them inside a single declaration: VillageEsAdapter (28 blocks, 36-867). The bar is 500 significant lines; this is 210 over it, 1.42\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_infra/adapters/village_es_adapter.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14fd71565ea8b18eb9212d70fdb8a3d52743348855afe49bd43bc98bb0fc3a99"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: VillageState: ClassTooLong \u2014 531 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 45 methods, 3 blocks, lines 29-753. The bar is 400 significant lines; this is 131 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_app/villages/state.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90d2517ca6cb01630b937c2855aef7c1871705202f8a3168411fca9598d2915"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: VillageEvent: ClassTooLong \u2014 528 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 0 methods, 2 blocks, lines 29-638. The bar is 400 significant lines; this is 128 over it, 1.32\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_app/villages/events.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"6246e125fccd2f4b7c8531e908ad7f1341c1baf2eb93c29ea959650b490bee9a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MainBuilding.MainBuilding: FunctionTooLong \u2014 MainBuilding runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/MainBuilding.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"3978effc1d555d2aa12af57ee7527f2007a1bac87b081c4b914dc5137931d28f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ResourcesPage.ResourcesPage: FunctionTooLong \u2014 ResourcesPage runs 129 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/ResourcesPage.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b303c628710dca5a9093499a59e85a7498aa7710f57b03ab961681aef30dc03"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RallyPointBuilding: ClassTooLong \u2014 496 significant lines (blank, comment-only and punctuation-only lines excluded), 13 methods. The bar is 400 significant lines; this is 96 over it, 1.24\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/RallyPointBuilding.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef92f2007d0cc774727fca6789d36f6be5c038e675d376ca6d8e606e9bc75ab"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/ReportsPage.tsx: FileTooLong \u2014 620 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 120 over it, 1.24\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/ReportsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7b89b59a4e744b51725ae28675bfd03e8b767f0fb59d7c10e07b04b58f1d80"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GameApplication: ClassTooLong \u2014 492 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 83 methods, 3 blocks, lines 70-737. The bar is 400 significant lines; this is 92 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_app/application/game.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69e43dfe12cbbb462b1d104de7c5719b3c18547445ca686f3d214084ae7f460"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/game.rs: FileTooLong \u2014 588 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 88 over it, 1.18\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_web/api/game.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e8c686be756125f8b364248383f747229f2057963698d472eaf6b296ce0366"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: villages/state.rs: FileTooLong \u2014 581 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 91% of them inside a single declaration: VillageState (3 blocks, 29-753). The bar is 500 significant lines; this is 81 over it, 1.16\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_app/villages/state.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a3788aaa9df4502949f8ec10147114e85e825b531e892fe9e0928eacf48911"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Layout.Layout: FunctionTooLong \u2014 Layout runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/Layout.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4d9498441059dfebff206f48c2e23558a3dc94834ca186c608a79545ba019b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: VillageService: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_app/villages/cqrs_command_service.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade4aebd0c01c596418dacab7d541d7c1a0b91ed58f5394cceb846738dafd9a0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: buildings/buildingCards.tsx: FileTooLong \u2014 548 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 48 over it, 1.10\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/buildingCards.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6ff4d1f2341d3540bd76300ad56833d82739fd279b4d27410cf3c909a913fd1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: villages/events.rs: FileTooLong \u2014 547 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 97% of them inside a single declaration: VillageEvent (2 blocks, 29-638). The bar is 500 significant lines; this is 47 over it, 1.09\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_app/villages/events.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaea9a14066bd73c0c5257042861bdec2293593b4c6442dabeb3c6d55566fe93"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: application/game.rs: FileTooLong \u2014 541 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 91% of them inside a single declaration: GameApplication (3 blocks, 70-737). The bar is 500 significant lines; this is 41 over it, 1.08\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_app/application/game.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7eb2d097100432c828ebb915a234f3fbebc09b5d888854f141ff338a5f83c73"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: seed/mod.rs: FileTooLong \u2014 541 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 41 over it, 1.08\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_infra/seed/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c535fc24e35080f9e23bcd6f85c008b195c868430cf0e9c11aa94fbe59156b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buildingCards.EmptySlotBuilding: FunctionTooLong \u2014 EmptySlotBuilding runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/buildingCards.tsx"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef8adc1ca2487e1ba45b9aaa40e55eb04bf70878d2657c9c7ba40cf597c0b4e9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BuildingPage.BuildingPage: FunctionTooLong \u2014 BuildingPage runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/BuildingPage.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"2455c3786cb7dad5c0021e632d927bfc3548745d76d0f37706e5d36d2f750d71"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/dto.rs: FileTooLong \u2014 531 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 31 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_web/api/dto.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db1588c3163cba0c0cb3c04b69fff6bca922e0ec5d7e86ac08c8d356ad42fb4e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: parabellum_web::api::buildings::training_options_for_group: FunctionTooLong \u2014 parabellum_web::api::buildings::training_options_for_group runs 104 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_web/api/buildings.rs"},"region":{"startLine":1371}}}],"partialFingerprints":{"codehealthFindingId/v1":"8394b05ecdf5255660056765ac271bce6039f9a2d95f2d9823f56ccded5f8044"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: parabellum_web::api::game::map_field: FunctionTooLong \u2014 parabellum_web::api::game::map_field runs 104 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_web/api/game.rs"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"752d3730602784ec8e523620c48a0d1d37ebde6a3b19c9d76da1f1068a1cf42b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: parabellum_game/battle.rs: FileTooLong \u2014 512 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 12 over it, 1.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_game/battle.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"008d0cdd91ff66160a47dc6a9a25646184525feeab03052fe35758413a10f943"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): parabellum_web/api/buildings/rally_cards.rs:153-174 | parabellum_web/api/buildings/rally_cards.rs:179-199 | parabellum_web/api/buildings/rally_cards.rs:204-224 | parabellum_web/api/buildings/rally_cards.rs:230-251 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_web/api/buildings/rally_cards.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"1533f4844b17adb441d2798052eb9e7844c976c8cf787203e77b7dd80ad2a504"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): parabellum_app/villages/use_cases/reinforcements.rs:69-98 | parabellum_app/villages/use_cases/reinforcements.rs:120-149 \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":"parabellum_app/villages/use_cases/reinforcements.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"2809257b615af9f49a70eac3948617c3d95b1876d57314f06544ff4ac8fb426b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): parabellum_app/villages/commands/assign_hero_points.rs:24-43 | parabellum_app/villages/commands/reset_hero_points.rs:19-38 | parabellum_app/villages/commands/set_hero_resource_focus.rs:20-39 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_app/villages/commands/assign_hero_points.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd12f738ed4455f6c0eb3ad10cf90fd689057d7efd3ae4f9b8d92c2af0c34a1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201320 lines \u00D7 2): parabellum_web/api/auth.rs:125-141 | parabellum_web/api/auth.rs:216-235 \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":"parabellum_web/api/auth.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4140eb6dfa94d654b52a2c38e2260462ec999881ff55081cd2a75fa25893e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 5): parabellum_web/api/buildings.rs:585-599 | parabellum_web/api/buildings.rs:782-796 | parabellum_web/api/buildings.rs:827-841 | parabellum_web/api/buildings.rs:908-922 | parabellum_web/api/buildings.rs:1082-1096 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_web/api/buildings.rs"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"62004d86fa225078a6bee21c69a44bae593b4b2a38e3ad43fea03a418337df89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): parabellum_infra/identity/repositories/user_repository.rs:61-75 | parabellum_infra/identity/service.rs:198-211 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_infra/identity/repositories/user_repository.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"0391df3ae71792b0d1ddf56b09928c2c5b3e2537120500129381749b2e1aa39a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): parabellum_web/api/buildings.rs:653-667 | parabellum_web/api/buildings.rs:733-747 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_web/api/buildings.rs"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea1897686202f1c7f82c29dcde44b56b9788cfa85218e63ffc93fed1569fd4df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): parabellum_web/api/buildings.rs:1398-1412 | parabellum_web/api/buildings.rs:1413-1427 \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":"parabellum_web/api/buildings.rs"},"region":{"startLine":1398}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e9fd7a45fb4a71599c0ac11393d1b8a35998ad03cf5e5d4aaa9e7bc1bd66614"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): parabellum_app/identity/use_cases.rs:272-284 | parabellum_infra/seed/mod.rs:507-519 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_app/identity/use_cases.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbe9221d6ea9304a8f413d460dece3394fb20c8d1bf8cd54de8e816520d968bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): parabellum_infra/es/consumers/report_projector.rs:139-151 | parabellum_infra/es/consumers/village_projector/armies.rs:117-129 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_infra/es/consumers/report_projector.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2a5f651b7091dcf0dc8f0392aa0c115f6154c169473d30e0ea69053f1d21ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): parabellum_infra/es/consumers/village_projector/armies/returns.rs:123-135 | parabellum_infra/es/consumers/village_projector/armies/returns.rs:253-265 \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":"parabellum_infra/es/consumers/village_projector/armies/returns.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"23bc76b0e6fb08ccbdb40e9087c9c7abf23e423fc57fc618c2628c156525574e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): parabellum_web/api/actions.rs:1146-1157 | parabellum_web/api/actions.rs:1403-1414 \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":"parabellum_web/api/actions.rs"},"region":{"startLine":1146}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b60f9c14ec6d8d5cf74e29aa2cfd31a5ac10c8c69e037d58bf63274afc2bcf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): parabellum_web/api/buildings/rally_cards.rs:208-219 | parabellum_web/api/buildings/rally_cards.rs:235-246 \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":"parabellum_web/api/buildings/rally_cards.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d70973cd2182379a572c88d2a1c432c94e81cee625a42731e7bf4ae33d65660"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 4): parabellum_web/api/buildings/rally_cards.rs:155-165 | parabellum_web/api/buildings/rally_cards.rs:181-190 | parabellum_web/api/buildings/rally_cards.rs:206-215 | parabellum_web/api/buildings/rally_cards.rs:232-242 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_web/api/buildings/rally_cards.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e5d4e40d26fbec4e8ed306d8f7692ae14f0df5ff2326393e2d0ead8a204f366"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): parabellum_infra/es/repositories/marketplace_offers/mod.rs:79-89 | parabellum_infra/es/repositories/village_movements/mod.rs:37-47 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_infra/es/repositories/marketplace_offers/mod.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf091907bb5ce78fbb4b88d3cee99290bf1200cb776664dfa09529c4ad8b9c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): parabellum_infra/es/workflows/movements.rs:222-232 | parabellum_infra/es/workflows/movements.rs:323-333 \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":"parabellum_infra/es/workflows/movements.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"2342aa39cedb90fbf6a04ced97414171879f6192d93aaef21c976524ff9ab562"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): parabellum_web/api/actions.rs:1202-1212 | parabellum_web/api/actions.rs:1232-1242 \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":"parabellum_web/api/actions.rs"},"region":{"startLine":1202}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1eb30d2bf5284369b7e4e8aa6ab1ce2403280097182b8c4a4fb2d7799059a37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): parabellum_app/villages/commands/resolve_attack_battle.rs:34-43 | parabellum_app/villages/commands/resolve_scout_battle.rs:29-38 \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":"parabellum_app/villages/commands/resolve_attack_battle.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e4ed4acec6beee0643dcbb3439175f571fd6bff8d0acd6125a3a8a8a0962ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): parabellum_game/models/army.rs:152-160 | parabellum_game/models/army.rs:174-183 \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":"parabellum_game/models/army.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d6c8ea92128b983fcb67e260187dab02cd39218a1b1eb1a82cf58e72074bcb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): parabellum_infra/es/village_service/queries/movements.rs:269-278 | parabellum_infra/es/village_service/queries/movements.rs:280-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":"parabellum_infra/es/village_service/queries/movements.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdfb0d568e3fc1166e09e5311f01e5cedf8afed2d1cca988e2da99b6172edbe8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): parabellum_app/villages/aggregate.rs:165-173 | parabellum_app/villages/aggregate.rs:178-186 \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":"parabellum_app/villages/aggregate.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6c4d9d9a2798321a32b035984c93ce259e5be24dfeb647340caae694ed7f95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): parabellum_infra/es/workflows/foundation.rs:158-164 | parabellum_infra/seed/mod.rs:539-545 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_infra/es/workflows/foundation.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c457509da51fe16b93c471d4a536f9d2d820f37c17588681476cf64c6b1b510"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): parabellum_infra/es/consumers/report_projector/battle.rs:148-153 | parabellum_infra/es/consumers/report_projector/battle.rs:240-245 \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":"parabellum_infra/es/consumers/report_projector/battle.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea5c8e06db1bf55f07bc64c7016e6a192cd98347ac8ac0db6f193d7879e49f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): parabellum_app/identity/use_cases.rs:246-252 | parabellum_infra/seed/mod.rs:425-431 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_app/identity/use_cases.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"d598d4bc0e6fd7c6aa2193b8fc821a3ae88e94116433d770aee34438657057b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): parabellum_app/villages/commands/resolve_attack_battle.rs:56-65 | parabellum_app/villages/commands/resolve_scout_battle.rs:47-56 \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":"parabellum_app/villages/commands/resolve_attack_battle.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a2e1c0305e15c772eee6abd1c4acda2ee2348f710786c476dff2ecc3daaf19e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): parabellum_app/villages/use_cases/marketplace.rs:204-212 | parabellum_app/villages/use_cases/reinforcements.rs:251-259 \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":"parabellum_app/villages/use_cases/marketplace.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b0812b909c1f7493213ad8eca36c015d2ed84a9283fc3611dcacfe42ef0456a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): parabellum_infra/es/consumers/report_projector.rs:253-258 | parabellum_infra/es/consumers/village_projector.rs:153-158 \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":"parabellum_infra/es/consumers/report_projector.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dbf33dee95a630c90e19a5dced5f6323cd88e4a05edfad81c7cdc26b1055666"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): parabellum_infra/identity/repositories/player_repository.rs:71-82 | parabellum_infra/identity/service.rs:241-251 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_infra/identity/repositories/player_repository.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ce7f15228e25c6b11542dfce40a8753abc558b0aa7fecc181a7a524b8e84b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): parabellum_infra/identity/repositories/player_repository.rs:84-95 | parabellum_infra/identity/service.rs:229-239 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_infra/identity/repositories/player_repository.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"686e2e08a378c741116c4a7c7ff3276a6c6d6896188a1ae4c958f48c90b8d1e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): parabellum_infra/map/repository.rs:373-383 | parabellum_web/api/game.rs:741-752 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_infra/map/repository.rs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"30799b4c1d6e8ea39b9cad82c94023feeb02d3a87aacdb7a1a9d8a624232567b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): parabellum_app/villages/projection_repositories/armies.rs:110-122 | parabellum_infra/es/repositories/armies/mod.rs:254-266 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_app/villages/projection_repositories/armies.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"b161e0dda14b029d205b0b4ed58bfadd7185e290aa7a97b2e84f42310731004d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): parabellum_infra/es/consumers/report_projector/marketplace.rs:21-29 | parabellum_infra/es/consumers/report_projector/reinforcements.rs:21-29 \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":"parabellum_infra/es/consumers/report_projector/marketplace.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"23690dc674f6ad537a8f78277b7dea58959db2ed92358e0083bee1675428362e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): parabellum_infra/es/repositories/armies/mod.rs:90-97 | parabellum_infra/es/repositories/armies/mod.rs:103-110 | parabellum_infra/es/repositories/heroes/mod.rs:48-55 \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":"parabellum_infra/es/repositories/armies/mod.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"23fc03f4c29630b392bc25ffb8a1ca04cc875452855ed9b20980b926b0a703f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): parabellum_infra/es/repositories/armies/mod.rs:162-169 | parabellum_infra/es/repositories/heroes/mod.rs:35-42 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_infra/es/repositories/armies/mod.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13159dd7b4f57b725b8738fe9279ddc6b045d7c2e2da0823dad24fa61fea341"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): parabellum_infra/es/workflows/buildings.rs:26-42 | parabellum_infra/es/workflows/training.rs:23-39 \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":"parabellum_infra/es/workflows/buildings.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5cc85071132165f38db32b1a7069e0d696dc8bd87281d99d19d4c04a981ae0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): parabellum_app/villages/state.rs:578-588 | parabellum_app/villages/state.rs:646-656 \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":"parabellum_app/villages/state.rs"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f0c65e6e159bd5d6a97ec57213e853aa8ea02d994a570ef6448dedce48d7f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): parabellum_infra/es/repositories/armies/queries.rs:120-129 | parabellum_infra/es/repositories/marketplace_offers/queries.rs:18-27 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_infra/es/repositories/armies/queries.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"bab70a90a98db6d8f5e350e60ea957eb9815d7ef446a47e01befe51974f0b3f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): parabellum_web/api/auth.rs:391-396 | parabellum_web/api/helpers.rs:77-82 \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":"parabellum_web/api/auth.rs"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca6d4355f3084e679b0782ea8a0effda4a61ab78c89db72154becab47551ba1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): parabellum_infra/identity/service.rs:138-143 | parabellum_infra/identity/service.rs:144-149 \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":"parabellum_infra/identity/service.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ca26a61945ce0ec956ea939399c68270e01e59d6a584d0f2724392760edc9b"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: parabellum_types: parabellum_types: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 5 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5ca76baa67e30acb80deb9767675fed23e522f9bb1d9017fcd7be3532878262c"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: parabellum_game: parabellum_game: abstractness 0.00, instability 0.20, distance 0.80 \u2014 zone of pain \u2014 concrete and depended on by 4 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f76f73710d1d8bc14b9ef23771b0389a7cb3fb024820e2901fc011a065e40b6e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PostgresArmyRepository (LCOM4 6): PostgresArmyRepository\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_infra/es/repositories/armies/mod.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe5beee2871855859b79fa3ce3f6dae5a34b271a4e481cf158d3674cf7911c2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PostgresScheduledActionRepository (LCOM4 4): PostgresScheduledActionRepository\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_infra/es/repositories/scheduled_actions/mod.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"5efcf262456c4cd4b3d2712e6c0717a24241d4a567ac20e059c6c2162c13c82a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AuthTokenService (LCOM4 4): AuthTokenService\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_web/auth_tokens.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f344f2aa061432ed02c286c6fd4694ba9a978a7c5725a3b3742d1b8f0881418"}},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d40cfeadfa48026ed6cc0f3115dd95f0204785869b23dbe1ab640bbe432cf49d"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/src/components/buildings/RallyPointBuilding.tsx: frontend/src/components/buildings/RallyPointBuilding.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 88 in RallyPointBuilding.RallyPointBuilding at line 321. 2 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-27..2026-09-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-27 20:07:44 \u002B02:00\u0027 --until=\u00272026-09-25 20:07:44 \u002B02:00\u0027 --full-history --no-merges -- frontend/src/components/buildings/RallyPointBuilding.tsx\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":"frontend/src/components/buildings/RallyPointBuilding.tsx"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"446c6dd5262cbb341ed898725050515e57a42cbf7d06b54245fad6a3ef8d073f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: parabellum_web/api/buildings.rs: parabellum_web/api/buildings.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in parabellum_web::api::buildings::building_detail at line 485. 3 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-27..2026-09-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-27 20:07:44 \u002B02:00\u0027 --until=\u00272026-09-25 20:07:44 \u002B02:00\u0027 --full-history --no-merges -- parabellum_web/api/buildings.rs\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":"parabellum_web/api/buildings.rs"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdbb23eb7a7175263b391c48be11ef8405e950ddcb0d4b299d7a20d7ff417c67"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: parabellum_game/models/village.rs: parabellum_game/models/village.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in Village::refresh_derived_state at line 1303. 2 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-27..2026-09-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-27 20:07:44 \u002B02:00\u0027 --until=\u00272026-09-25 20:07:44 \u002B02:00\u0027 --full-history --no-merges -- parabellum_game/models/village.rs\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":"parabellum_game/models/village.rs"},"region":{"startLine":1303}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ffbccada2c9da2ff5969302045300450902c448239fa4d19fbf152097c837dd"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: parabellum_infra/es/village_service/mod.rs: parabellum_infra/es/village_service/mod.rs changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 1 (its worst body is VillageEsService::pool at line 61), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CFixes (#51)\u201D; \u201Cmore cleanup and fixes\u201D; \u201Cwip: cleanup parabellum_infra \u002B several fixes\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-27..2026-09-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-27 20:07:44 \u002B02:00\u0027 --until=\u00272026-09-25 20:07:44 \u002B02:00\u0027 --full-history --no-merges -- parabellum_infra/es/village_service/mod.rs\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":"parabellum_infra/es/village_service/mod.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d2dc3741222c8d46a658c2c28b7980ce14537fb6d3c4b25567a85b5a49b9b10"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: parabellum_infra/es/village_service/scheduler.rs: parabellum_infra/es/village_service/scheduler.rs changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is parabellum_infra::es::village_service::scheduler::execute_action at line 124), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CFixes (#51)\u201D; \u201Cmore cleanup and fixes\u201D; \u201Cwip: cleanup parabellum_infra \u002B several fixes\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-27..2026-09-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-27 20:07:44 \u002B02:00\u0027 --until=\u00272026-09-25 20:07:44 \u002B02:00\u0027 --full-history --no-merges -- parabellum_infra/es/village_service/scheduler.rs\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":"parabellum_infra/es/village_service/scheduler.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe0f311f9740e3b70e8dc993a03e1a7da502cef5682cd82654e4773cca861ee"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: simplified, original formula is more complex \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_game/battle.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"55915490449a40d31964bcf7a7cd28bc579b7729c661caa0ef29a5ff4f128b9a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: fix catapult targets (none, random, 1 or 2) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_game/battle.rs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d0bf159c3e4bec3e70892291f180e5e5d7635978ae6f3b7046553c18406f23"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: calculate loyalty \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_game/battle.rs"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"1683c69ceaa94a0fc9a8a9150ec94df0ad6579fa2cff8fc46aeee8592d752dfe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: calculate loyalty \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_game/battle.rs"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b8ecbd229f1569768402c757648dd75aa5fcb975d610b5883088d64f9141dbb"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: artifacts and construction plans deserve another category \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_game/models/buildings.rs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a4b9348083d6456465374490bdf68f5999bf60f415c09265742de92e45f504"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: fix with asserts \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_game/models/map.rs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"682a852c43712e0c04e469a463b8290e40c030baa75c2ab050b67d565d2c2afd"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: either fix the method return value or this method one. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_game/models/village.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6d535bc7f1bb91453b03caa974cf6177531207d67ebd55ecd97b9120c544bd"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: assume wall slot_id is always 19 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_game/models/village.rs"},"region":{"startLine":1057}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a73f9c0ffb544e83f256b76eb45e6ba6181b15044fc22df65c1dadb0eb24c03"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement starvation logic (kill troops, etc.) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_game/models/village.rs"},"region":{"startLine":1420}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b20d5909501f7c9eb8afcbde224b93ce1ddccc7b8bb32d6636f0bab6bf8129"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 3 of 7 project(s) overshoot their size bounds, lowering Project Cohesion to 2.5/10. The most over is \u0060parabellum_app\u0060 (18076 LoC, 283 module-visible types across 16 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"613343d1b752f35745826fe8d15b453cf20383607c0f92f58d6658c1e8f77558"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"adedf6702b4730eccbe6a3cfb63e4df53882dae2e67e3d51e788026fa3810e77"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"efbafa7de65b48b98d05026d637bc390664f20ab6782acd6c68d58c791299d39"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"482e3b19efd040fb2215efbc5e65f5b9996234817368c5a9198eb89910e46231"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"03dd66c30d51a0744d9be259c1b4dd6ed9f7490059bbec37c446f988192df751"},"taxa":[{"id":"CWE-269","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"653c63e34889454b9928bd8f72d58b875ff7254c36a4f477609d38075089e91c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"44116960ee0931e379df0a6a724581789a82f1a458a25ed411ef3faa97fa3e89"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e4da5bfabcdb25c77eb8c29c9b300bc86607cf84bcfc1dada0208202e58e4979"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6387166b309e79e05523f5a0346b3d22748fa8ba2adacbd37b2380ed51c49f93"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a96a8c6c962d3e4fcf8573c76f679e28e01072b5dfffc76e8cc0c08bc2f066fc"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1205a5147b111139500e097428a8374237ca8795e23b86d002fc0fdf5f1568d5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8d4a0f1929f34b20b8bc2f8f7e48197ce3f563d331ee6b6e6fd51b8cfc75a0db"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7573696c7617026fe16fde62b4c3d666f9846a9cbab5bbbc29621c3cbeb85deb"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b308e0e5ecf56f5ecbccc6e6c975377184f14111e1841c906f8008075f913fbf"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1fc29653a74ecb5c6e4d40ae62183c63201b5b7576b3fa625c32ff4b77b3a56c"},"taxa":[{"id":"CWE-913","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c0417fe2fb5d324d8310de13c84561953888e1b18b8b04f3d5b1f123b54e2137"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6115e1080b97573dff61b3d8d5b2bbf186d5d76f76707948303753c9b3ef0300"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b18514e348be7b837909df44a30b57445d5ab990a2e23b8a8956cd294ff3f41c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e05152efc48d2a8db1165754dc9557195848baef659f80f553ee0ad34a255fdb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1397a42d1a15fc0348def6d291a2eae97b8f460496366d67209804c64f9ddf9a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"476176a40f7dde5968156df41a3ad51fabec36db7b9ad2c78af7fdee298fccfb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1f51a163f26d94ce6b6f473117dde579d091c8cbf9e59810475c94d9fc921120"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: army.rs \u2194 common.rs: \u0060parabellum_game/models/army.rs\u0060 (context parabellum_game) and \u0060parabellum_types/common.rs\u0060 (context parabellum_types) sit in DIFFERENT parts of the tree yet change together 58% of the time (7 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u006013aa6bec\u0060 refactor tribe into standalone module (at that commit the files were still \u0060src/game/models/army.rs\u0060 and \u0060src/game/models/common.rs\u0060); \u00605eb7220c\u0060 add more test (at that commit the files were still \u0060src/game/models/army.rs\u0060 and \u0060src/game/models/common.rs\u0060); \u00603544afcb\u0060 improve battle results and loot calculation (at that commit the files were still \u0060src/game/models/army.rs\u0060 and \u0060src/game/models/common.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_game/models/army.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef48b75f5346115b306b23ae642f9470708059b558ab2102b62ebd3b3fd70a6"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90ef8645d5d250a2cdd6c4ddecf434c2439a3eaf0b71b0b76b3e93b4d1bb9e49"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"da63b9780d6b7ce3cfb9c3b59feffde8c1e1503735984bc1030989ffa3eb0aa9"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/VillageRenameInline.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b6f245df06ececc6d857ebc5d57b5d0b2a62ca4662eee39a62ecc24eb493e56"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/HomePage.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ce655d81879f8cf498dd3200aa3cfbc583b3e741a52826009bbe168e4ba3f4"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/MapPage.tsx"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"61486ee8ddfa62f5dd95cd56319cb8729cfe6b599ac1fcb7377bc4ab07a84cd1"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/MapPage.tsx"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b7bc517edd003ee49f0aadde581b1f7cf8836033c92134900944e216388ecf"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/MapPage.tsx"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"f84e8f02b78cde9172303004d0bbe349730aa30a88b9db44ea4c7d5161d359de"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .nav-icon with \u0060cursor: pointer\u0060, so this \u003Cdiv\u003E is a control \u2014 but it has no role, no tabIndex={0} and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/Layout.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaab0eb8a956573357a10e2b3f40f8cc6f40e8f0ed8e3661d7569a11f029e9b2"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .resource-city-center with \u0060cursor: pointer\u0060, so this \u003Cg\u003E is a control \u2014 but it has no role, no tabIndex={0} and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/ResourceFieldsMap.tsx"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d958223c413043333be4736ed544d825a3189c57e43cd5eba83ee5411f3cfe"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .village-radar-zone with \u0060cursor: pointer\u0060, so this \u003Cpath\u003E is a control \u2014 but it has no role, no tabIndex={0} and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/VillageMap.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e82be1ead884cd8a69e013ab074443b8eeb2fe59e28f706d51013aad8d3fb8"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .village-node-group with \u0060cursor: pointer\u0060, so this \u003Cg\u003E is a control \u2014 but it has no role, no tabIndex={0} and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/VillageMap.tsx"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"80ee70c0a1ecf791b4018b9c198f2c92c5551c78846bb9528040e7dec6a58a16"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cg\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/MapPage.tsx"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"938b8887265bdbdc384d73c1fa8cc0dd90b82e22c21a227c1bc3e995d6bacb4b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (2.6:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/Layout.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"9253f998baf7c9285f6caa385209157aa0b83390898fa468ddb164507dff12fc"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (2.6:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/RallyPointBuilding.tsx"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f581535e86fc42ae1f1bcb63d89cd3206913fd443171dd9d38e9abe5d6ea64"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cbutton\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/HomePage.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"88425a7fa99fae39ce479e1f8c858712833d51f6182a25327809ff95001099b0"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (3.0:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/HomePage.tsx"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d831d17507f977ab88c931d6baaee86cc4acf4557bc624ef5b2093908fa9ef"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (3.0:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/HomePage.tsx"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1db44dfb5749f1e20db90f9c724a6b170369431c849544ea11d3519829a8083"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (3.0:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/HomePage.tsx"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e666c83fc592762d4acdf252b6096e1869ca4dca9e5c1e88b60fae60167334"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (4.3:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/HomePage.tsx"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ded5b832ada1d4fd89a5d907a76496c2d1355a5d13cd83e8132938d6e3bed5"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (4.3:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/HomePage.tsx"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"95187a2052555dfcd51093dd567b08c9a566ce5bfc9fc9f1f72bfd0077251a52"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (4.3:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/HomePage.tsx"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"5881c859a74a35dc77ca217ff9b11045e43d7eb2b11bd641e4b7345ab024f14d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (4.3:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/HomePage.tsx"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"55eb4f4bc84a2583ee2fb073b139d3f9620a1e79ffbab46a0d243d8b301cbbe3"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (4.3:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/HomePage.tsx"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"6410173663bcc22a83e91425945cb0450d929d762ca22fc782f31b023c2d3fe2"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (4.3:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/HomePage.tsx"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c8446ccd3199f7dda6750a6164843230e1a2fc0570c87d0249ac42fe64c211"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/MapPage.tsx"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"580a062a192534a3dcb730f9c10b81cfa36ce2a8fd544da4c22d7e23d9a16f67"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/MapPage.tsx"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b533a9a61792e2f3608b54bf3dd1e7971772fd037f958f616cea895c31fe721"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (2.5:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/StatsPage.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c9aa9b561233f3d424bfab0c8885dc14d2c8778711336920f85764220d777e0"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (2.5:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/StatsPage.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b94581a18f3b2e870e4bd611b15fae165702d919b3d39c9806c3e411ea60d67"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.village-svg-container\u0060 moves (\u0060transition: transform 0.3s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/css/style.css"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b68d8539fe0a5db0a330676f74a2c761c14af7bd91389da6799cbfd1d978fd"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.village-node-group\u0060 moves (\u0060transition: transform 0.1s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/css/style.css"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"d81e8f75ad261da958aa6134f2cfd8b188abf5c508b53688e269fd414384c916"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.resource-hex-group use\u0060 moves (\u0060transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275)\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/css/style.css"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f1a7256656bca9cfb94ce938431a253b39d45414e265bca1ff5df9b562270ab"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.resource-city-center circle\u0060 moves (\u0060transition: transform 0.2s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/css/style.css"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"87b5ff8eabba9c79b0b098a7bf68938fe6de940a0a7a3da2a3dd4314fea798df"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.hex-group use\u0060 moves (\u0060transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275)\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/css/style.css"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"b45080bde32bfe1bce72ae9edb2ec5aa9d744772211753521988992b2203e9e4"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.city-center circle\u0060 moves (\u0060transition: transform 0.2s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/css/style.css"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"46cb3a0e59fb45b319b115eb5a9dd6c920ccc3734fa055b3aa6dfa7222921855"}},{"ruleId":"AC7","level":"warning","message":{"text":"Accessibility enforcement below the top rung: No accessibility enforcement found \u2014 no a11y linter (an accessibility check that can read your UI \u2014 no component framework was detected and your pages are rendered by server-side templates, which neither the JSX/Vue ESLint plugins nor the HTML-template linters can parse; run axe/pa11y over the rendered pages, or assert the accessibility invariants over that rendered HTML in the test suite you already have) and no axe/pa11y/Lighthouse in tests or CI. Start by running that check over your rendered pages in CI. What was searched, so you can tell an absence from a miss: the 40 markup file(s) this pass actually assessed, the linter configuration checked in beside them, and this repository\u0027s test and CI files \u2014 matched by name against the accessibility checkers this dimension carries. An audit run outside the repository, a hosted scanner, or a check whose name is not one of those, is not seen here."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46019b86eff5ddad9db289e6802ac158899e980df54c34f67722442787ead62"}},{"ruleId":"C2","level":"note","message":{"text":"No named authorization policies: Authorization IS enforced here (by route guards, auth middleware or checks that refuse a caller) \u2014 this is NOT a claim that endpoints are unprotected. What\u0027s missing is a NAMED rule set: who may do what is encoded inline where it is checked, so the rules can\u0027t be listed, reviewed or tested apart from the code that applies them. Recommendation, not a defect."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b048fdf3fa524ac68c7874fdfcdb4c49d5f010013f2cb22a0bd84cb12ceb951f"}},{"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":"P10","level":"note","message":{"text":"Large public API surface: 497/579 types (86%) declared in the published library are public. For a library, every public type is a stability contract \u2014 keep implementation types off the surface and expose only the intended API."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ed2ba843444ae377c17142f58f714e281e4bd3f183ab100ee1fbef389875d3e6"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add cargo-audit / cargo-deny (or clippy) (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 2806 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/ci.yml"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060package.json\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b237f7efe841e3a95b381b232502a3a473094adeb069a11eaca8ca533fb1c34"}},{"ruleId":"P4","level":"note","message":{"text":"No rollback/health safety: Deployment is orchestrated by compose, but no service declares a \u0060healthcheck:\u0060 and nothing pins a previous image to fall back to \u2014 the runtime can tell that the container is up, not that it is serving, so a bad release is harder to detect and reverse."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"db6bab8a28a2145f47e5a4e6683cda39d2ba0296c723238e8057da979ae1c706"}},{"ruleId":"P5","level":"warning","message":{"text":"No DR/backup evidence: A persistence guard (data volume / purge-protection) was found, but no backup, geo-recovery or RTO/RPO controls were evidenced \u2014 a volume that survives a container recreate is not a tested restore from catastrophic loss."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5daabb38c90b07af65b8738cf94ce884e90a7d8fef810d341de5c186188c8fe0"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 4 sibling directories (5 clone groups): 5 duplicated blocks under frontend/src/ have copies in at least two of the sibling directories app, components, pages, query \u2014 2 of them are reported below, and 3 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 5 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 5 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 5 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/MainBuilding.tsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7687d83d38befc2bcbd45a2230c0bae08cbcb1c868a752133a3b9f2fecb72ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (122 matched lines \u00D7 2 locations): frontend/src/components/buildings/buildingCards.tsx:126 \u00B7 frontend/src/components/buildings/buildingCards.tsx:340 \u2014 the two spans are one implementation copied and then locally edited \u2014 871 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/buildingCards.tsx"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb1ce70745b3565134781a6d44647e06729690c7f66e9e26d3adb7f9f1be63b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (57 matched lines \u00D7 2 locations): frontend/src/components/buildings/buildingCards.tsx:518 \u00B7 frontend/src/components/buildings/buildingCards.tsx:584 \u2014 the two spans are one implementation copied and then locally edited \u2014 385 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/buildingCards.tsx"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"605dff31c04308df8c73b6f44981b32135d14055258208c618f8b51f8f89a071"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (47 matched lines \u00D7 2 locations): frontend/src/components/ResourceFieldsMap.tsx:25 \u00B7 frontend/src/components/VillageMap.tsx:27 \u2014 the two spans are one implementation copied and then locally edited \u2014 197 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/ResourceFieldsMap.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be9726e8d57d892069bf970dc584bd5fa728c40315847e3ee9b15e9b3dd4d48"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2 locations): frontend/src/components/buildings/AcademyBuilding.tsx:28 \u00B7 frontend/src/components/buildings/SmithyBuilding.tsx:30 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/AcademyBuilding.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0d0db012173a55cd871d997d1938f43792e662fff9e215670a48e9475566574"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (34 matched lines \u00D7 2 locations): frontend/src/pages/LoginPage.tsx:12 \u00B7 frontend/src/pages/RegisterPage.tsx:23 \u2014 the two spans are one implementation copied and then locally edited \u2014 178 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/LoginPage.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"651ee31832817af505ff50638176b1ca187590d4b2cde24aebc452be84807a78"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): frontend/src/components/buildings/MarketplaceBuilding.tsx:319 \u00B7 frontend/src/components/buildings/MarketplaceBuilding.tsx:348 \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":"frontend/src/components/buildings/MarketplaceBuilding.tsx"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"b77dcc4c6f64f51730b2ec1db3f73c77145cfb56c84768c85a22d51644a8d6e4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): frontend/src/components/buildings/RallyPointBuilding.tsx:745 \u00B7 frontend/src/components/buildings/RallyPointBuilding.tsx:772 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/RallyPointBuilding.tsx"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"23dab3374de1793878ac2cff8f3b4198a9b1245ea4ae2d2fa16af0b55106443d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): frontend/src/pages/HomePage.tsx:194 \u00B7 frontend/src/pages/HomePage.tsx:276 \u2014 all 2 copies are in the same file, and the CITED SPAN is a DECLARATION HEADER \u2014 the name, parameter list with its constraints and defaults, and base-type clause of a declaration \u2014 rather than statements inside a body. A header cannot be lifted into a helper: there is no expression position for a call to stand in, and the copies are frequently required to match, because one declaration passes its parameters straight through to the other. So the move is not extraction. Give the repeated pieces names \u2014 factor a long constraint or base-type expression into one named type both declarations refer to \u2014 and where the headers must stay identical, derive one from the other (a shared base declaration, or a single alias that spells the parameter set once) so that changing it once changes both. Where the language offers neither, treat the two as a pair that must be edited together: they drift apart the first time only one of them is changed, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/HomePage.tsx"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"1076518d1771f045a2b7e72d112c711815fff7da1c00d2f690a63237bb8bf972"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): frontend/src/query/mutations.ts:211 \u00B7 frontend/src/query/mutations.ts:259 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/query/mutations.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"4539106498cd7fec24988f905a7cceb577481760605125544b471acce4de8a24"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): frontend/src/components/buildings/TrainingBuilding.tsx:8 \u00B7 frontend/src/components/buildings/TrapperBuilding.tsx:50 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/TrainingBuilding.tsx"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"96190541e14185477dc6d1fc3824f1272aede4bdd8cb681e74f4ad5792a7cfcd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): frontend/src/components/QueueList.tsx:10 \u00B7 frontend/src/components/buildings/MainBuilding.tsx:16 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/QueueList.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"9368d6ca8cfa3734da98eed420b779a2245022b8abcbc81e30c91fe159ee85b6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): frontend/src/pages/ReportsPage.tsx:390 \u00B7 frontend/src/pages/ReportsPage.tsx:545 \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":"frontend/src/pages/ReportsPage.tsx"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"306e773f78c9c1d8b0cac2a1f9c28bc93b3b461df4d48e32841af28f00c9422a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): frontend/src/app/App.tsx:208 \u00B7 frontend/src/app/App.tsx:226 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/app/App.tsx"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f15e00b629d4a48b7404adee39eeeaa3a10a1b86a28dda3e43209d28bb5fd1b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): frontend/src/pages/ResourcesPage.tsx:129 \u00B7 frontend/src/pages/VillagePage.tsx:25 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a DECLARATION HEADER \u2014 the name, parameter list with its constraints and defaults, and base-type clause of a declaration \u2014 rather than statements inside a body. A header cannot be lifted into a helper: there is no expression position for a call to stand in, and the copies are frequently required to match, because one declaration passes its parameters straight through to the other. So the move is not extraction. Give the repeated pieces names \u2014 factor a long constraint or base-type expression into one named type both declarations refer to \u2014 and where the headers must stay identical, derive one from the other (a shared base declaration, or a single alias that spells the parameter set once) so that changing it once changes both. Where the language offers neither, treat the two as a pair that must be edited together: they drift apart the first time only one of them is changed, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/ResourcesPage.tsx"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"38490e66a66312e28ecacbab78fbd4793f4ddf74fd3618e5e5a49b0722c356c3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): frontend/src/components/buildings/MarketplaceBuilding.tsx:89 \u00B7 frontend/src/components/buildings/MarketplaceBuilding.tsx:425 \u2014 all 2 copies are in the same file, and the CITED SPAN is a DECLARATION HEADER \u2014 the name, parameter list with its constraints and defaults, and base-type clause of a declaration \u2014 rather than statements inside a body. A header cannot be lifted into a helper: there is no expression position for a call to stand in, and the copies are frequently required to match, because one declaration passes its parameters straight through to the other. So the move is not extraction. Give the repeated pieces names \u2014 factor a long constraint or base-type expression into one named type both declarations refer to \u2014 and where the headers must stay identical, derive one from the other (a shared base declaration, or a single alias that spells the parameter set once) so that changing it once changes both. Where the language offers neither, treat the two as a pair that must be edited together: they drift apart the first time only one of them is changed, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/MarketplaceBuilding.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e2a57ecdeeaabab939e87cf47af97dc4737a71601c9d449671c61268c5646ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 5 locations): frontend/src/query/mutations.ts:90 \u00B7 frontend/src/query/mutations.ts:130 \u00B7 frontend/src/query/mutations.ts:146 \u00B7 frontend/src/query/mutations.ts:162 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/query/mutations.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dcf8c6a4c196fd09db29394736ba60227c17ae81305fd28a81f72334de2aafc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4 locations): frontend/src/query/mutations.ts:130 \u00B7 frontend/src/query/mutations.ts:146 \u00B7 frontend/src/query/mutations.ts:162 \u00B7 frontend/src/query/mutations.ts:178 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/query/mutations.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae782c4c09185c9838470c28ed12201396232104871786666bc93085641009bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): frontend/src/auth/useAuthSession.ts:32 \u00B7 frontend/src/auth/useAuthSession.ts:51 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/auth/useAuthSession.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"30bc3fb8da5191058425394853f1b867cc1dabff53079d8546c1a333d7c0fc7f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): frontend/src/lib/api.ts:368 \u00B7 frontend/src/lib/api.ts:382 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/lib/api.ts"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ad506a4c10a6983bd0d07e425b8a0b64a066d15eeca004db443ef124fc98ef9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): frontend/src/pages/MapFieldPage.tsx:143 \u00B7 frontend/src/pages/MapFieldPage.tsx:159 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/MapFieldPage.tsx"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c187d6379c62971b93452b13d2d21b5c8d64b250e8b74e4bbfc7a9bfd20ba4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): frontend/src/components/buildings/MarketplaceBuilding.tsx:259 \u00B7 frontend/src/components/buildings/RallyPointBuilding.tsx:517 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a DECLARATION HEADER \u2014 the name, parameter list with its constraints and defaults, and base-type clause of a declaration \u2014 rather than statements inside a body. A header cannot be lifted into a helper: there is no expression position for a call to stand in, and the copies are frequently required to match, because one declaration passes its parameters straight through to the other. So the move is not extraction. Give the repeated pieces names \u2014 factor a long constraint or base-type expression into one named type both declarations refer to \u2014 and where the headers must stay identical, derive one from the other (a shared base declaration, or a single alias that spells the parameter set once) so that changing it once changes both. Where the language offers neither, treat the two as a pair that must be edited together: they drift apart the first time only one of them is changed, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/MarketplaceBuilding.tsx"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aea23a731cc8494d6e50d305d0ccc1e9c33dc1e6f5e55cbb861605bd80b9118"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): frontend/src/pages/ReportsPage.tsx:213 \u00B7 frontend/src/pages/ReportsPage.tsx:228 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/ReportsPage.tsx"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ac1a1e3c0027df02a937247dfcd9bd33b54612a90137f3cdb884c5b12fbd27"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): frontend/src/components/buildings/RallyPointBuilding.tsx:116 \u00B7 frontend/src/components/buildings/TrapperBuilding.tsx:34 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/RallyPointBuilding.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0adbed7c5fb4436231ca178601227ec8490f443050fe4e541333a3ec366042"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): frontend/src/components/buildings/RallyPointBuilding.tsx:579 \u00B7 frontend/src/components/buildings/RallyPointBuilding.tsx:601 \u2014 all 2 copies are in the same file, and the CITED SPAN is a DECLARATION HEADER \u2014 the name, parameter list with its constraints and defaults, and base-type clause of a declaration \u2014 rather than statements inside a body. A header cannot be lifted into a helper: there is no expression position for a call to stand in, and the copies are frequently required to match, because one declaration passes its parameters straight through to the other. So the move is not extraction. Give the repeated pieces names \u2014 factor a long constraint or base-type expression into one named type both declarations refer to \u2014 and where the headers must stay identical, derive one from the other (a shared base declaration, or a single alias that spells the parameter set once) so that changing it once changes both. Where the language offers neither, treat the two as a pair that must be edited together: they drift apart the first time only one of them is changed, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/RallyPointBuilding.tsx"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a435780dcb1a040897ecff2e1915822c30b2d5f4b30d11dc082a14799982e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): frontend/src/components/buildings/buildingCards.tsx:279 \u00B7 frontend/src/components/buildings/buildingCards.tsx:557 \u00B7 frontend/src/components/buildings/buildingCards.tsx:628 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/buildingCards.tsx"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9399c65de34a02cdd58d5ee613715429b58422ef6e1f81cd8f4c96c8c7494e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): frontend/src/pages/MapFieldPage.tsx:131 \u00B7 frontend/src/pages/MapFieldPage.tsx:143 \u00B7 frontend/src/pages/MapFieldPage.tsx:159 \u2014 all 3 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/MapFieldPage.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"261e433a5d412a0774ad8fbd29a511904f006eb201d16973e587c8a388535748"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): frontend/src/query/mutations.ts:54 \u00B7 frontend/src/query/mutations.ts:218 \u00B7 frontend/src/query/mutations.ts:266 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/query/mutations.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea74728e6510485205323f2dca870099f769836890f4ea63089acfab119c8cd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): frontend/src/query/mutations.ts:100 \u00B7 frontend/src/query/mutations.ts:188 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/query/mutations.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce994742b4753d17617d1a6d9ed2cbe05987f80909d9c096c906d2d32a2401e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): frontend/src/components/buildings/MarketplaceBuilding.tsx:188 \u00B7 frontend/src/components/buildings/RallyPointBuilding.tsx:354 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/MarketplaceBuilding.tsx"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"72477f9a78139464aae180df16a8dfb4b2b5b23607b4c30484fbbefb060a84d9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): frontend/src/pages/ReportsPage.tsx:551 \u00B7 frontend/src/pages/ReportsPage.tsx:600 \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":"frontend/src/pages/ReportsPage.tsx"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4f0f7fa1310eb643328392b07720cebd33e01f56f827e3506b6341e998983a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): frontend/src/lib/api.ts:470 \u00B7 frontend/src/lib/api.ts:479 \u00B7 frontend/src/lib/api.ts:499 \u2014 all 3 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/lib/api.ts"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c9f1ebd7b45224eeca6542e60dda0a959853b1be4e0c637cd29b2e9a952c773"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): frontend/src/pages/MapPage.tsx:225 \u00B7 frontend/src/pages/MapPage.tsx:430 \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":"frontend/src/pages/MapPage.tsx"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"9571ff6d9901920174fdf71fdfe711498e784a31e6dbc6a8fd01a44327209892"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6 locations): frontend/src/query/mutations.ts:278 \u00B7 frontend/src/query/mutations.ts:288 \u00B7 frontend/src/query/mutations.ts:298 \u00B7 frontend/src/query/mutations.ts:308 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/query/mutations.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"071105ae57e5198201d3adbfea69c5a171127485920f428463075ac29edc28d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): frontend/src/components/buildings/HeroMansionBuilding.tsx:63 \u00B7 frontend/src/components/buildings/HeroMansionBuilding.tsx:74 \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":"frontend/src/components/buildings/HeroMansionBuilding.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"d80685cf47810eb2eeee2bff40ad74a414ab1be9629edaefe3ba8951e60d5236"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): frontend/src/components/buildings/MarketplaceBuilding.tsx:217 \u00B7 frontend/src/components/buildings/MarketplaceBuilding.tsx:226 \u2014 all 2 copies are in the same file, and the CITED SPAN is a DECLARATION HEADER \u2014 the name, parameter list with its constraints and defaults, and base-type clause of a declaration \u2014 rather than statements inside a body. A header cannot be lifted into a helper: there is no expression position for a call to stand in, and the copies are frequently required to match, because one declaration passes its parameters straight through to the other. So the move is not extraction. Give the repeated pieces names \u2014 factor a long constraint or base-type expression into one named type both declarations refer to \u2014 and where the headers must stay identical, derive one from the other (a shared base declaration, or a single alias that spells the parameter set once) so that changing it once changes both. Where the language offers neither, treat the two as a pair that must be edited together: they drift apart the first time only one of them is changed, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/MarketplaceBuilding.tsx"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"253c22923895448568f1dd290d7f90a42382d805cf3116810479c28f8ee5423e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): frontend/src/components/buildings/RallyPointBuilding.tsx:328 \u00B7 frontend/src/pages/BuildingPage.tsx:32 \u2014 the two spans are one implementation copied and then locally edited \u2014 66 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/RallyPointBuilding.tsx"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"40bc8ab8504d9cd8cc4fe7ffb5dc53207a2b7bd2950057a32c581af8fc46d28f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): frontend/src/live/useLiveResources.ts:24 \u00B7 frontend/src/live/useLiveResources.ts:32 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/live/useLiveResources.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c402a504be0b9404b4b20e6f67d576dfc5cbdd60f5e64c68142c0c27ea25f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): frontend/src/pages/PlayerPage.tsx:13 \u00B7 frontend/src/pages/StatsPage.tsx:26 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a DECLARATION HEADER \u2014 the name, parameter list with its constraints and defaults, and base-type clause of a declaration \u2014 rather than statements inside a body. A header cannot be lifted into a helper: there is no expression position for a call to stand in, and the copies are frequently required to match, because one declaration passes its parameters straight through to the other. So the move is not extraction. Give the repeated pieces names \u2014 factor a long constraint or base-type expression into one named type both declarations refer to \u2014 and where the headers must stay identical, derive one from the other (a shared base declaration, or a single alias that spells the parameter set once) so that changing it once changes both. Where the language offers neither, treat the two as a pair that must be edited together: they drift apart the first time only one of them is changed, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/PlayerPage.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29569a062207b9da8d13b83da04e3c6e458f31f0d832364d3f7d2ed628a91d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): frontend/src/components/buildings/RallyPointBuilding.tsx:24 \u00B7 frontend/src/components/buildings/TrapperBuilding.tsx:42 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/RallyPointBuilding.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78d904015dcd2356d931838f8ca3ee533be6d25060ff83f563d9d7c18637738"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 12 locations): frontend/src/lib/api.ts:301 \u00B7 frontend/src/lib/api.ts:333 \u00B7 frontend/src/lib/api.ts:349 \u00B7 frontend/src/lib/api.ts:361 \u00B7 \u002B8 more site(s) not listed \u2014 all 12 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/lib/api.ts"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e765841513200e7c8499c31f129b0c2c005938b663d171c9a59c4c40b25d982"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): frontend/src/pages/ReportsPage.tsx:543 \u00B7 frontend/src/pages/ReportsPage.tsx:593 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/ReportsPage.tsx"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"88be236211dd8e9a3d42ebf06951b52248915315daf593c21dc3278a6a68be5d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): frontend/src/components/buildings/MarketplaceBuilding.tsx:65 \u00B7 frontend/src/components/buildings/RallyPointBuilding.tsx:116 \u00B7 frontend/src/components/buildings/TrapperBuilding.tsx:34 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/MarketplaceBuilding.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc42f5db95fd07b1300f82bb916fb5e5d618217e585f3319ae2498194b97e949"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6 locations): frontend/src/lib/api.ts:283 \u00B7 frontend/src/lib/api.ts:307 \u00B7 frontend/src/lib/api.ts:339 \u00B7 frontend/src/lib/api.ts:355 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/lib/api.ts"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbdd5b40edb8e0a95280e3665de717ae83ef3291bb443dc9c4cec5ab7bd2d7a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): frontend/src/lib/api.ts:416 \u00B7 frontend/src/lib/api.ts:422 \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":"frontend/src/lib/api.ts"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd6e75d6bbfbead3c6db849c10f664d1cc71e784588117b831fc06188ef646c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): frontend/src/app/App.tsx:71 \u00B7 frontend/src/query/mutations.ts:10 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/app/App.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"0159103983813dc4f8054bbd9fd3ce90002e17b764c5d716b32a24e8a07fb349"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): frontend/src/components/buildings/MarketplaceBuilding.tsx:60 \u00B7 frontend/src/components/buildings/RallyPointBuilding.tsx:104 \u00B7 frontend/src/components/buildings/TrapperBuilding.tsx:22 \u00B7 frontend/src/components/buildings/buildingCards.tsx:33 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is a DECLARATION HEADER \u2014 the name, parameter list with its constraints and defaults, and base-type clause of a declaration \u2014 rather than statements inside a body. A header cannot be lifted into a helper: there is no expression position for a call to stand in, and the copies are frequently required to match, because one declaration passes its parameters straight through to the other. So the move is not extraction. Give the repeated pieces names \u2014 factor a long constraint or base-type expression into one named type both declarations refer to \u2014 and where the headers must stay identical, derive one from the other (a shared base declaration, or a single alias that spells the parameter set once) so that changing it once changes both. Where the language offers neither, treat the two as a pair that must be edited together: they drift apart the first time only one of them is changed, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/MarketplaceBuilding.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"c566f4624dcdb2334879ce4ea3473b13611afef3dbf694b321b9a2bf6705dc04"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): frontend/src/pages/ReportsPage.tsx:630 \u00B7 frontend/src/pages/ReportsPage.tsx:713 \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":"frontend/src/pages/ReportsPage.tsx"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a2e42d5a41d2f4a57cf29b5c60807f78d223d80c34df05aa6afec1b9b15b8b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MapFieldPage (cyclomatic 40, cognitive 36): MapFieldPage has cyclomatic complexity 40 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/MapFieldPage.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac01e478b4a9210c2b348a5e19683cfb13f4e16786c32b94eb36675f573683d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BuildingPage (cyclomatic 34, cognitive 30): BuildingPage has cyclomatic complexity 34 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/BuildingPage.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb22e88fb37530a7ffdff2133690c4b6e2b2d3f927c6a78123ac61204a7e1dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BattleReportDetail (cyclomatic 29, cognitive 27): BattleReportDetail has cyclomatic complexity 29 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/ReportsPage.tsx"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"6170ab4af909b3949ba1e3a4a046e76b77b18b68d2bc0bd4841ba9fa7eb32d5c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 26): (anonymous) has cyclomatic complexity 27 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/RallyPointBuilding.tsx"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d673d39a11483a4b53a4d34d1bfe7b7538aaaefdf036025f84d7d24cc93d61"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RallyPointBuilding (cyclomatic 27, cognitive 23): RallyPointBuilding has cyclomatic complexity 27 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/RallyPointBuilding.tsx"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f7b9a1c0f9095fd9b6a253ec2938055ba8149edd095dbd07a14a39db65c1c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseRouteParts (cyclomatic 25, cognitive 29): parseRouteParts has cyclomatic complexity 25 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/lib/router.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"451d5c0fc75e0bd7b3affa84517741b2bd8933ce0dc5408b6c288b1555cea53a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildingUpgradeValue (cyclomatic 21, cognitive 20): buildingUpgradeValue has cyclomatic complexity 21 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/buildingCards.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f3d29a6c23222c1c45ba3567194f25feb8322b34a4e27cf16bd3d89360cdcd5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 13): (anonymous) has cyclomatic complexity 21 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/app/App.tsx"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec80fd767b3eb0883efe70d6c9fcb80199b7db9cad871e41b35d141ee93aabf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Layout (cyclomatic 20, cognitive 18): Layout has cyclomatic complexity 20 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/Layout.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f8fdc41616b10c18f01c7f441fa1c9d71466d4d52d13166058ccfe4e5451b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function HeroMansionBuilding (cyclomatic 17, cognitive 14): HeroMansionBuilding has cyclomatic complexity 17 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/HeroMansionBuilding.tsx"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"493c0dcd1b0f08ab047918f5d6e46ec1a1d71b34eb24d2928387a1e9761aac47"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MainBuilding (cyclomatic 17, cognitive 13): MainBuilding has cyclomatic complexity 17 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/MainBuilding.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"c86fc8b6d7a35d8eeffbf4803a01ded7a42e05dea8e3056f487736d8d7a6c974"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MapPage (cyclomatic 16, cognitive 15): MapPage has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/MapPage.tsx"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b23478d5cfd4debe0de8ec61e1a7f5f9f9f10a8f9c33549d854f2d22b923b1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function QueuedConstructionUpgrade (cyclomatic 16, cognitive 12): QueuedConstructionUpgrade has cyclomatic complexity 16 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/buildingCards.tsx"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee05d414b43b03c7bb871bbdb579cbb7db634b8fdd86770516e437cf49c464b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 12): (anonymous) has cyclomatic complexity 15 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/MapPage.tsx"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"e155ba41de0e6bd0a7b438249f6fce98da287e2fcd671a14d04fe49091107963"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function oasisIconUrls (cyclomatic 15, cognitive 11): oasisIconUrls has cyclomatic complexity 15 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/MapPage.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"44d86b51fc1ccec38cfcbd2d6003aa08cb6a13a20b2220e3436af5366067c363"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 13): (anonymous) has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/MarketplaceBuilding.tsx"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"13501c361d3b857260767b702cd74a0784f02b7817628ac0c5075e92e4d98ca8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EmptySlotBuilding (cyclomatic 14, cognitive 13): EmptySlotBuilding has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/buildingCards.tsx"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d4fda44b612a9c0400acacf20267dabbd38a8f1a3ad196e2e5f6612a629431"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ArmyTable (cyclomatic 14, cognitive 12): ArmyTable has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/ArmyTable.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a5eef07bf23889c860787c97e1307fc9e2a0dceccce708986d4f98a2e7d7cf5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tileVisual (cyclomatic 13, cognitive 17): tileVisual has cyclomatic complexity 13 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/MapPage.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a21d0bdfbf3ddbc91164473aac7c78c531f979bd55d53106bfd13c9bc0033a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reportSubject (cyclomatic 13, cognitive 13): reportSubject has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/ReportsPage.tsx"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d9cce2f1d91127c037ed4b91ca17376ec6c7ea32b992b5f7a605e530be3243"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/buildings/RallyPointBuilding.tsx: 844 lines of code: frontend/src/components/buildings/RallyPointBuilding.tsx has 844 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/RallyPointBuilding.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85234902e433a6fbcc6f1c5fb32c2f662d5674451c07651eb2571a3619170ae0"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/pages/ReportsPage.tsx: 712 lines of code: frontend/src/pages/ReportsPage.tsx has 712 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/ReportsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf14c0edfbddc34d81cca874f1c97f3ce2abbcc8ebefa8c621ebd5948fe38f08"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/buildings/buildingCards.tsx: 619 lines of code: frontend/src/components/buildings/buildingCards.tsx has 619 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/buildingCards.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"150182c3c87cd96b53c633ce50935f885314e7fa48af90e3155b8ff12ef80446"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/lib/api.ts: 495 lines of code: frontend/src/lib/api.ts has 495 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/lib/api.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c5be7b026a0264fac6045221f8835c5e43eaf362172bb0da92972a5268672f"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/pages/MapPage.tsx: 495 lines of code: frontend/src/pages/MapPage.tsx has 495 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/MapPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b3e3c0e73774a5ffc0640f2e17ca1d50452fd824dab91a9f8452c646e8f2b2"}},{"ruleId":"R3","level":"warning","message":{"text":"frontend/src/components/buildings/MarketplaceBuilding.tsx: 457 lines of code: frontend/src/components/buildings/MarketplaceBuilding.tsx has 457 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/MarketplaceBuilding.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6d2b5caf4e564037cbdb89add97dcf57b365d013ef6d05045e27bc4d53c27f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/RallyPointBuilding.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a17630f94a30bc3fd0b2582a5381edd03c19770eac125d109e77bcd69f77f9"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/ReportsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"584d6d210850adde377ce0aff9e72d7343ca826b888bb34ead7209380710f45e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/buildingCards.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f6f4baaaf0873c6b6ad56fbe4b633d1356d0197c852ebac9edc1afaf4aeac9"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/MapPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60d545d736cd026224a143b1b0e52fde70a92415204defd0265855c001e9d30c"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/MarketplaceBuilding.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38973cbf5326b6f138b9e2bea8b9f4d5d054af719013fcd4ba664aafb292e54"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/HeroMansionBuilding.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"984b108cc8468de5b2fe110ae44e6a47f5edd2e1c910f611eb4146a8c993c08a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/app/App.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4179f2253f9420d521884aa5aa576fa6f5e31b46839ae9f155366b65f9b680a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/query/mutations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8770d071ec69bfeed3c9cb5522c1bd9b742e742b6f64f5d72c06400bfa31f5"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/HomePage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ca48eedc090987c6230a3a463d536a22fc8adbe2ebeb4e07dc97e085665748"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/ResourcesPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d89dd9cab11d0c4d9e4cfa855ba7f0eaae31f0fd891e3d9234290cfb60422c34"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/lib/labels.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a485a23dad9ad73ee0a30ba328ab93ea0ac68d072d514c036dc44b3dcf9d406"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/VillageMap.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d5d4c4e530b5b68bcd4f121bfdde77d6f43b5b9582bfa8dcefb74fea5d12aa"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/MapFieldPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e649b7d7bfedc50c8c555ebca8866c45b6dd0ca9d99b8cd96b7e64870adf86"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/TrapperBuilding.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff24913ace6945aa7439e017dffe242aed66252a1c5d359270568a6a2cbaa2a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/MainBuilding.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf428520b3253d43ff355f7d05dd250c192ef65e09f3c65a2b6aa141e928a915"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/Layout.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08e2a1ea791ca75e5f73c9ae09efeeb1407491f4d4ed77859e028aa769080622"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/ui.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a94684aa33e49259d24838ee2b81a68e9e026dd910e3754db699ffb9ee1eec2"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/ResourceFieldsMap.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"400198881486e6b94da285b0fcdbaf7ebb7db1cd0bb063917ff157d2cff00233"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/BuildingPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"047cf2934e8e6a0b8ce9b3d74dac682285e499256de7c7a9412de168bb5dd471"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/RegisterPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c251540f40aec6da1d858f07a302c6748a71b9ce9162d8536bbd223b11048b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/TrainingBuilding.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a57be1becd01a16edc6ef71be6dbf28e9840b4569a453c7bdd36663321a0e1a8"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/lib/router.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65306b3c6d2d498e7818b4006ef2b0260eac33c1b8b161e8e41fc04182a540bf"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/QueueList.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a49f4e7af69f2be73402894f28862f0b480eca349c288c9bdb7ecff0d60f329"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/auth/useAuthSession.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2efa7fc17c85f0d02b591bf6764944fc83b980f091694eb24ed3f90e769f691"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/ArmyTable.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f248099e089a710e0129c3bcba2263187f3c81762bee8a4b5fed3409b8c49af"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/UnitSprite.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"288495516cc5bae46f7ddc899783dc240ad7e8e21329ca2bbfc5ba1d78f17247"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/VillageRenameInline.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c4350add8e5a84453ea00e5f902ef107655f5a33e71a9ba8e245097ecddd516"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/VillageHeader.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e82b14c242f6adebf1db29483d6a5749aebbaaa0b390a98e178aefb72756b086"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/AcademyBuilding.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be1736dd74cb5b67a4c8fb027ff56088b1c42d1912b5001f047480208b9d158"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/BuildingSprite.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a28b2ce877a3dc97852731e2d69ab6d34e6981085357881982ec41877db3c62"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/query/hooks.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76b4272148db99a418619d3ec3b6405e57e6766414ab458a8447a2bc150ea9a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/ExpansionBuilding.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9e99864b60a5c5a331c0cc939caa6b40931b8acbd003076ddc235c3c95686b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/StatsPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f22479e4a8b12ae9eb52c26d7d65d7973dcbd91757986082c036e2d9231bdf"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/live/useCountdown.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfeb500bd948c698181e93fd30ab32738590ea715fae449835b14c47ef96faf7"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/SmithyBuilding.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97988fcfdaf3bba8ff72020bf8170ce55f879d71c27f0bda443ee7f7f93f23c8"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/live/useGlobalTimer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09bb919f1edcabf964c331eda9506667f3fc7c4a27944b5e1fb13b024ab4bccc"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/ResourceSprite.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79790edeced8e13f0d41aaeed358766e06c8562554ca1be0dba1b616b3456cdf"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/LoginPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd52a9c83e39a1bc24962c69a800df46af31ea3fdff2bcef1525f3cc21c3d86"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/live/useLiveResources.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2d83fe528713adf24eab24d9313311e619d446d9e82d4db575d2d7ac2d863f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/VillagePage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1368c743fe5eab3312ed8a3914557f3ea554489c0c872126a556e80ccaf2047f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/pages/PlayerPage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b13046798bd349c27423bd8dc7c35bbb959a956c4be14f36bcc5ce78babdaab2"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/Link.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b86ea77022bffcf9f9423729b1fc7c331aba9a1b4756e68c6e83942e94255fd"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/state/appStore.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c4a95903c769b4149491d1903450c0f4d013b7cc247b1eef274c5f226df6015"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/lib/time.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be4316291a5f97b53257b80c8fe9561cd8a83ed8c57e2581c013e1da2e902096"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/live/useServerClock.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"acce740020e97984d1d0a41bb408441d204e9cdda6148329e42bb06f13c9d4af"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/query/client.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65003b1a2477b1d34778a09c159a0a5029fb7b796b143b04af8770971ba4e90b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/query/options.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9616d0333f8111b9a698430e57acb28d42b831360b5550f7fe2f31689e8e04d6"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/main.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"607d579fa60dcd8658f05471f5d913ea8f65a79cf231f2a66b2f02a839810aa4"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/CapitalBadge.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf2e236dfc71a73bb9f5188ce4e56a99aef202a363de74e65453188d9f23cc8"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/buildings/buildingShared.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e91a81258e32b9fb943a29eea2067be7cb9a2749917899329850c16788cb033d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/Loading.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42178617cbf0384c13fb39de1dda00a5007441aabfc0b7e8f3be0a15edb16e7f"}},{"ruleId":"R6","level":"warning","message":{"text":"No lint script: test \u2713 \u00B7 lint \u2717 \u00B7 typecheck \u2713 \u2014 read from this repository\u0027s package.json scripts and corroborated against its CI workflows. A script counts when its name or command matches the step: \u0060test\u0060 for the suite, \u0060lint\u0060 or \u0060prettier\u0060 for linting, \u0060typecheck\u0060/\u0060type-check\u0060/\u0060tsc\u0060 for type checking. \u2717 therefore means no script or CI step under those names was found, NOT that the step is absent from your pipeline \u2014 a task invoked by a runner this check does not read, or named something else entirely, is not seen and is worth confirming before acting on a cross. A \u2713 means the wiring is DECLARED \u2014 a script or CI step under those names exists. It is not a statement that the step passes, or that it runs at all: nothing here installs a dependency or executes a suite."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bc8e67e81453cf5399dd04786d18b232180426b135169175fee670bdd83ccb03"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1 LoC): no import path from any entry point (1 application, 1 tooling, 1 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/components/VillageSidebar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93505cbf2963b1c55bdccf03f685b76a1390fa07e07df26da743ee551996b70b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027useSessionQuery\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/query/hooks.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a3e5b3b79712bc116cedb9fb5f93f6f1a91793acae3b888ddb4304ebca4a075"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027@tanstack/query-core\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/src/query/client.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"60638ba1db3e49a45bc4d758da7c38b03f3ee0fb7f28c4ec8de22671e32cb1a3"}},{"ruleId":"S1","level":"note","message":{"text":"No app-layer HTTPS enforcement detected: This repository starts an HTTP server and nothing in its Rust source or committed \u0060Rocket.toml\u0060 secures the transport: no TLS served (actix-web \u0060bind_rustls\u0060/\u0060bind_openssl\u0060, axum-server \u0060bind_rustls\u0060 with a \u0060RustlsConfig\u0060, tonic \u0060ServerTlsConfig\u0060, a \u0060TlsAcceptor\u0060, Rocket\u0027s \u0060[default.tls]\u0060), no \u0060Strict-Transport-Security\u0060 header, no \u0060X-Forwarded-Proto\u0060 read from a TLS-terminating proxy \u2014 so its traffic may cross the network in clear text. (\u22122.0 on this card.) The server: \u0060axum::serve(\u0060 (parabellum_web/http.rs:173)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8697c7a8b4c37084f15e81b8ec84d4cf62954730be74a0816d39b2127a21fd9b"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, \u2026) is set on a response this repository\u0027s Rust server sends \u2014 defense in depth, even when a proxy could set them. (\u22122.0 on this card.) The server: \u0060axum::serve(\u0060 (parabellum_web/http.rs:173)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd19c680309417e132c0be93c2002123f0664b42afe6172b1319da65a6a57ba7"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd699919aa591b262d8f4a07a70eed2e90d52ddb856cc6e42aa98540126b06b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(e.target as HTMLInputElement).value || \u00220\u0022\u0060 appears character-identically in 2 files \u2014 frontend/src/components/buildings/MarketplaceBuilding.tsx, frontend/src/components/buildings/RallyPointBuilding.tsx. 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":"frontend/src/components/buildings/MarketplaceBuilding.tsx"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"04bfd124d0b492c7e8f895715d36a376e47ee5664cdfea1cbd8cf4c4a09ad999"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(event.currentTarget as HTMLInputElement).value || \u00220\u0022\u0060 appears character-identically in 2 files \u2014 frontend/src/components/buildings/RallyPointBuilding.tsx, frontend/src/components/buildings/TrapperBuilding.tsx. 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":"frontend/src/components/buildings/RallyPointBuilding.tsx"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b3f3ecdb5a9ce66bd7ea74ae3c52a01d70416e0ed7b122594618974a4bc346c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.defaultPrevented || event.button !== 0 || event.metaKey || event.ctrlKey || event.shiftKey || event.altKey\u0060 appears character-identically in 3 files \u2014 frontend/src/components/Link.tsx, frontend/src/components/ResourceFieldsMap.tsx, frontend/src/components/VillageMap.tsx. 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":"frontend/src/components/Link.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b77704762a47ac13987b8496d262a955f4519c16ca8d621c24a7cf2a41c47d"}},{"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":"frontend/src/pages/LoginPage.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c90449fdcbfe66563b3c507d35f749886def46dbd77aec637b7bf35a78fcc45"}},{"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":"frontend/src/pages/RegisterPage.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd162c4b1ece0845de5b5a549530fc2dc76d36adb2994b16d4593bbefa808618"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 43 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_web/session.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cce2156948c7c26af917060e389466c125e7875688e26a90c12757ca08f59bb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 52 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_web/session.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f30f98ae19c9d220c649102f69299b8a8e749df7a76dd8f7b3047107a812b49"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 77 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_web/session.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b9b18e5d49851a27b63f8accbf577f3938fe3defbd5aa907ff8e65ccbf4a62b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 96 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_web/session.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d943903e9e601908aec16ca0da84d5e3d77906dccdcb735ced7d56db952b75"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 103 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_infra/es/consumers/village_projector/armies.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"30896a2c3073b9acea38ec746557dec1b372b677c6a690cf52f8724d3c05ba87"}},{"ruleId":"X5","level":"note","message":{"text":"Null assertions (\u0060!\u0060) reduce the strict null checking score: ~1.4 \u0060!\u0060 null assertions per 1k TypeScript source lines \u2014 14 assertion(s) across the 9981 source line(s) of the 55 TypeScript file(s) read, which is the only code the operator asserts anything in (a \u0060!\u0060 in a \u0060.js\u0060 file is not this operator and was not counted, and one in a file whose null checking is off silences nothing). Densest: frontend/src/components/buildings/RallyPointBuilding.tsx (11), frontend/src/main.tsx (1), frontend/src/pages/MapFieldPage.tsx (1). Each one tells the compiler to trust the author about null, suppressing the very diagnostic \u0060strictNullChecks\u0060 exists to produce."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"edb251d0f8dd1deb75ff6fa12d145c3d5c948a70b0aaf8da052107c857335979"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060missing_building_requirements\u0060 turns every \u0060Err\u0060 into \u0060vec![]\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_app/villages/policies/building_preview.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29917133ca0df6e5cdc58eebf443f856a14bad2174ae8883e0c6808f3494b27"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060asset_tags\u0060 turns every \u0060Err\u0060 into \u0060\u0022\u003C!-- frontend manifest not found; run bun run build:release --\u003E\u0022.to_string()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"parabellum_web/web/spa.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"d112c904b20baa0d0fcdd47ada1d6dcfc95eb7818c70f93286834df9d5712c1a"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1329","guid":"f70f1c3f-4ccf-cb5e-bdd3-03ba4868d36d","name":"Reliance on Component That is Not Updateable","shortDescription":{"text":"Reliance on Component That is Not Updateable"},"helpUri":"https://cwe.mitre.org/data/definitions/1329.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-269","guid":"70e1f5f6-81e5-4e5a-ba40-b541c3a346e2","name":"Improper Privilege Management","shortDescription":{"text":"Improper Privilege Management"},"helpUri":"https://cwe.mitre.org/data/definitions/269.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-913","guid":"062167e8-5db3-0857-a865-a1fc4aad34bc","name":"CWE-913","shortDescription":{"text":"CWE-913"},"helpUri":"https://cwe.mitre.org/data/definitions/913.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":30,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}