{"$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":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"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":"D18","name":"Solution Shape","shortDescription":{"text":"Solution Shape"},"helpUri":"https://codehealth.canine.dev/dimensions/D18"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"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":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D39","name":"IL Efficiency","shortDescription":{"text":"IL Efficiency"},"helpUri":"https://codehealth.canine.dev/dimensions/D39"},{"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":"AX1","name":"Captive dependencies","shortDescription":{"text":"Captive dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/AX1"},{"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":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"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":"C4","name":"Data Retention","shortDescription":{"text":"Data Retention"},"helpUri":"https://codehealth.canine.dev/dimensions/C4"},{"id":"DM1","name":"Aggregate boundaries","shortDescription":{"text":"Aggregate boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/DM1"},{"id":"DM10","name":"One transaction, one aggregate","shortDescription":{"text":"One transaction, one aggregate"},"helpUri":"https://codehealth.canine.dev/dimensions/DM10"},{"id":"DM11","name":"Constructible invalid state","shortDescription":{"text":"Constructible invalid state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM11"},{"id":"DM12","name":"Ambient inputs in the domain","shortDescription":{"text":"Ambient inputs in the domain"},"helpUri":"https://codehealth.canine.dev/dimensions/DM12"},{"id":"DM2","name":"Strongly-typed ids","shortDescription":{"text":"Strongly-typed ids"},"helpUri":"https://codehealth.canine.dev/dimensions/DM2"},{"id":"DM4","name":"Rich vs anemic model","shortDescription":{"text":"Rich vs anemic model"},"helpUri":"https://codehealth.canine.dev/dimensions/DM4"},{"id":"DM5","name":"Encapsulated state","shortDescription":{"text":"Encapsulated state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM5"},{"id":"DM6","name":"Domain \u2194 infrastructure boundary","shortDescription":{"text":"Domain \u2194 infrastructure boundary"},"helpUri":"https://codehealth.canine.dev/dimensions/DM6"},{"id":"DM9","name":"Scattered domain decisions","shortDescription":{"text":"Scattered domain decisions"},"helpUri":"https://codehealth.canine.dev/dimensions/DM9"},{"id":"ED1","name":"Handler temporal coupling","shortDescription":{"text":"Handler temporal coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/ED1"},{"id":"ED2","name":"Event/command shape","shortDescription":{"text":"Event/command shape"},"helpUri":"https://codehealth.canine.dev/dimensions/ED2"},{"id":"ED3","name":"Event naming","shortDescription":{"text":"Event naming"},"helpUri":"https://codehealth.canine.dev/dimensions/ED3"},{"id":"ED4","name":"Outbox / dual-write","shortDescription":{"text":"Outbox / dual-write"},"helpUri":"https://codehealth.canine.dev/dimensions/ED4"},{"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":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"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":"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":"P8","name":"Schema migrations","shortDescription":{"text":"Schema migrations"},"helpUri":"https://codehealth.canine.dev/dimensions/P8"},{"id":"P9","name":"Domain vs controller coverage","shortDescription":{"text":"Domain vs controller coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/P9"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"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":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): foodtruacker.Application/BoundedContexts/UserAccountManagement/Commands/AdminAccountChangePasswordCommand.cs:38-58 | foodtruacker.Application/BoundedContexts/UserAccountManagement/Commands/CustomerAccountChangePasswordCommand.cs:38-58 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060foodtruacker.Application/BoundedContexts/UserAccountManagement/Commands/AdminAccountChangePasswordCommand.cs:38\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060command\u0060 to \u0060AdminAccountChangePasswordCommand\u0060 in one and \u0060CustomerAccountChangePasswordCommand\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Application/BoundedContexts/UserAccountManagement/Commands/AdminAccountChangePasswordCommand.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e38fa7b3e1f7587dc17120909e98462279c2b42e17802c1106b4663f298b6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): foodtruacker.Application/BoundedContexts/UserAccountManagement/Commands/AdminAccountChangeEmailCommand.cs:39-53 | foodtruacker.Application/BoundedContexts/UserAccountManagement/Commands/CustomerAccountChangeEmailCommand.cs:39-53 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060foodtruacker.Application/BoundedContexts/UserAccountManagement/Commands/AdminAccountChangeEmailCommand.cs:39\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060command\u0060 to \u0060AdminAccountChangeEmailCommand\u0060 in one and \u0060CustomerAccountChangeEmailCommand\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Application/BoundedContexts/UserAccountManagement/Commands/AdminAccountChangeEmailCommand.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f3c86b1b1956151642705bd6fa85f37328c9cfef34ae2e42fee3b4aeb8509e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): foodtruacker.Application/BoundedContexts/UserAccountManagement/Commands/AdminAccountCreateCommand.cs:42-57 | foodtruacker.Application/BoundedContexts/UserAccountManagement/Commands/CustomerAccountCreateCommand.cs:41-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060foodtruacker.Application/BoundedContexts/UserAccountManagement/Commands/AdminAccountCreateCommand.cs:42\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060command\u0060 to \u0060AdminAccountCreateCommand\u0060 in one and \u0060CustomerAccountCreateCommand\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Application/BoundedContexts/UserAccountManagement/Commands/AdminAccountCreateCommand.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a0566ba4807addbc6386b091645ff4e6610a39fb2afbe8b028b4b187e83f5b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: foodtruacker.SharedKernel/DomainEvent.cs: 40.0% line coverage (6/15)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.SharedKernel/DomainEvent.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"065b350b3efaf1fef40cd0a19a6442ff223bd2b860b2413686e759d3c5b63d4c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: foodtruacker.SharedKernel/ValueObject.cs: 0.0% line coverage (0/21)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.SharedKernel/ValueObject.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d258453aab72e8cc3449fbe8e7adcf838e03aea3a63ed23b9c2dcffd56746289"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: foodtruacker.Domain/BoundedContexts/TourPricingManagement/Events/TourStopPricingModelCreatedEvent.cs: 0.0% line coverage (0/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Domain/BoundedContexts/TourPricingManagement/Events/TourStopPricingModelCreatedEvent.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b232659ecd8bbee8745dc73dad857f5939de62a5c1d80b9242274a90881ec292"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: foodtruacker.Domain/BoundedContexts/TourPricingManagement/Aggregates/TourStopPricingModel.cs: 0.0% line coverage (0/20)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Domain/BoundedContexts/TourPricingManagement/Aggregates/TourStopPricingModel.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6610fb430e28276e11d90c4e7e2daea0c7f7d9a47b87ed0b51c33beadd1dc4ef"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: foodtruacker.Application/Results/CommandResult.cs: 29.4% line coverage (10/34)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Application/Results/CommandResult.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e885d4641f2cc8c17f21ca2dbc431cd6af17b586a1a6303467fbe3eda9729ba3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: foodtruacker.Application/Pipelines/AppMetricsBehaviour.cs: 0.0% line coverage (0/11)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Application/Pipelines/AppMetricsBehaviour.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f032d2c927673fdc16f15d7ebc1901376d8f4400c39fb67f8e1c83c106f848"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: foodtruacker.Application/Pipelines/LoggingBehaviour.cs: 0.0% line coverage (0/12)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Application/Pipelines/LoggingBehaviour.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb194d93429eeaa13cb4358d5557ea3d280ce2f3c7473bf12153a9c152114d2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: foodtruacker.Application/BoundedContexts/UserAccountManagement/Queries/GetAdminInfoQuery.cs: 0.0% line coverage (0/12)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Application/BoundedContexts/UserAccountManagement/Queries/GetAdminInfoQuery.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2453f17910c710cf6d3d98e704e7c59d860379caf1f738e5b1f40cca2b3ae52e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: foodtruacker.Application/BoundedContexts/UserAccountManagement/Queries/GetAllCustomerInfosQuery.cs: 0.0% line coverage (0/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Application/BoundedContexts/UserAccountManagement/Queries/GetAllCustomerInfosQuery.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b65822a9a1444495096d27772c5a5cb15678d760ae946d2729345e9c29d6f6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: foodtruacker.Application/BoundedContexts/UserAccountManagement/Queries/GetCustomerInfoQuery.cs: 0.0% line coverage (0/12)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Application/BoundedContexts/UserAccountManagement/Queries/GetCustomerInfoQuery.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"065d701625216555a65d98baafcb9f747051dde30006e35a625bb29bae156a05"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: foodtruacker.Application/BoundedContexts/UserAccountManagement/Projections/AdminAccountChangedEmailProjection.cs: 0.0% line coverage (0/14)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Application/BoundedContexts/UserAccountManagement/Projections/AdminAccountChangedEmailProjection.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba5a6ddb71439f493d96e7753155a4f854d7f9e52a00be36d99bee976bcce6c7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: foodtruacker.Application/BoundedContexts/UserAccountManagement/Projections/AdminAccountChangedPasswordProjection.cs: 0.0% line coverage (0/19)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Application/BoundedContexts/UserAccountManagement/Projections/AdminAccountChangedPasswordProjection.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb076cf606a4428920459d02a733fd1860b594787538ae6274dbe05bff70073"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: foodtruacker.Application/BoundedContexts/UserAccountManagement/Projections/AdminAccountVerifiedProjection.cs: 0.0% line coverage (0/23)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Application/BoundedContexts/UserAccountManagement/Projections/AdminAccountVerifiedProjection.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e2231ed258f43e5d2d834d6c6318d2447d71322d00153d68aaad1f877f43f4d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: foodtruacker.Application/BoundedContexts/UserAccountManagement/Projections/CustomerAccountChangedEmailProjection.cs: 0.0% line coverage (0/14)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Application/BoundedContexts/UserAccountManagement/Projections/CustomerAccountChangedEmailProjection.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1974f301fcd97ae87653c118bc0b85cf4b0d2e9e61688b8258c2e2f9c9ef59"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: foodtruacker.Application/BoundedContexts/UserAccountManagement/Projections/CustomerAccountChangedPasswordProjection.cs: 0.0% line coverage (0/19)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Application/BoundedContexts/UserAccountManagement/Projections/CustomerAccountChangedPasswordProjection.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b79a5d0e40ed8a5a74747404c0d856142ef94765b427f42172d0de5fa9ca91c1"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: foodtruacker.Application/BoundedContexts/UserAccountManagement/Projections/CustomerAccountVerifiedProjection.cs: 0.0% line coverage (0/23)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Application/BoundedContexts/UserAccountManagement/Projections/CustomerAccountVerifiedProjection.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f643dc182882248a86b514448149bd2861298bc888a5f04825696aadb29974"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: foodtruacker.Application/BoundedContexts/UserAccountManagement/Projections/UserAccountCreatedProjection.cs: 0.0% line coverage (0/10)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Application/BoundedContexts/UserAccountManagement/Projections/UserAccountCreatedProjection.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd352054d845ebf45e1eeba3834d90758f112a9d0e31cfb099bea423132107b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: foodtruacker.Application/BoundedContexts/UserAccountManagement/EventHandlers/UserAccountSendEmailVerificationToken.cs: 0.0% line coverage (0/37)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Application/BoundedContexts/UserAccountManagement/EventHandlers/UserAccountSendEmailVerificationToken.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a62ccfda75b1875e06bb3067c916acbdc01c7d2b2685697710691917ce8a976f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: foodtruacker.Application/BoundedContexts/TourPricingManagement/Commands/TourStopPricingModelCreateCommand.cs: 0.0% line coverage (0/16)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Application/BoundedContexts/TourPricingManagement/Commands/TourStopPricingModelCreateCommand.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c1bab4df79506ef679bf865e5da05a7e11b59395a56b4cb3c2d60cf587d3fca"}},{"ruleId":"D8","level":"warning","message":{"text":"No test project references foodtruacker.API: No test project in this repository references foodtruacker.API (20 production source file(s)), so \u0060dotnet test\u0060 never loads it and no coverage tool can measure it \u2014 its code is absent from the 54.4% above rather than counted at zero. This is the whole assembly, not a gap within one: add a test project that references it (or a ProjectReference from an existing suite) and its coverage starts being measured."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Framework/API/foodtruacker.API.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c4a38f22f2e319468052a416805fa920f83c374eae72b31585b38218182d2b"}},{"ruleId":"D8","level":"warning","message":{"text":"CRAP 30: ValueObject.OperatorDeclaration: Cyclomatic 5 with 0.0% file coverage \u2014 too complex for how untested it is (CRAP = CC\u00B2\u00B7(1\u2212cov)\u00B3 \u002B CC; \u226530 needs tests or simplification)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.SharedKernel/ValueObject.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"82457154b75690bd5a3789a96f5f973945fca00f0300f2f518bca72ca4c92634"}},{"ruleId":"D9","level":"note","message":{"text":"No tests found: No test suite could be collected \u2014 no discoverable tests to count. If this repository does test, wiring the suite to a framework a runner can collect (xUnit, NUnit or MSTest) is what makes it countable here; a pipeline step that invokes a runner is not evidence on its own, because a runner over an empty suite passes. Tests written as plain executables or shell/PowerShell harnesses are not collectible this way and are not scored here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c9bf64cbb5a4ae13d6bcd01fa3bc8d2879d860c73bc67f176ee3c2cecb8adce3"}},{"ruleId":"D12","level":"note","message":{"text":"Outdated: Swashbuckle.AspNetCore: Swashbuckle.AspNetCore 7.1.0 \u2192 10.3.1 available (referenced by foodtruacker.API)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Framework/API/foodtruacker.API.csproj"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3dbf1d1cc00282c928f0e6ceb55724b3d0ced62df0910367d0944f302478ecd"}},{"ruleId":"D12","level":"note","message":{"text":"Outdated: Swashbuckle.AspNetCore.Swagger: Swashbuckle.AspNetCore.Swagger 7.1.0 \u2192 10.3.1 available (referenced by foodtruacker.API)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Framework/API/foodtruacker.API.csproj"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ae883557791f72b656622413e21ec544aa509d093481b2f8d5466e137b7f38"}},{"ruleId":"D12","level":"note","message":{"text":"Outdated: coverlet.collector: coverlet.collector 6.0.2 \u2192 10.1.0 available (referenced by foodtruacker.AcceptanceTests)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.AcceptanceTests/foodtruacker.AcceptanceTests.csproj"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f2d79a567d3888f6cc9ed172edb23db531472a269f9359de7726e160cd3c88"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: xunit: xunit 2.9.2 \u2014 Legacy \u2014 the publisher\u0027s replacement is \u0060xunit.v3\u0060; that is the next major line under a new package id, so the move is a breaking rename rather than a version bump \u2014 budget for API changes in the code that uses it, not only the reference swap."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.AcceptanceTests/foodtruacker.AcceptanceTests.csproj"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37c8c0e8046c9e8358e976373216abfb78e9fdef63ed53d3edcaa7d2238edcd"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: Microsoft.AspNetCore.Http.Abstractions: Microsoft.AspNetCore.Http.Abstractions 2.2.0 \u2014 Other,Legacy"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Framework/EmailService/foodtruacker.EmailService.csproj"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab239d92a1ed0e780896b6b47df6648aa988d7c5c2e552fd20a0b8d4943c6f81"}},{"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":"400f16b8b769ea5b95e609f76a740dd74946f9d0c169bbffacc3c2cf6984844a"},"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":"D17","level":"warning","message":{"text":"TodoComment: //TODO: Implement as BusinessRule \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":"foodtruacker.Domain/BoundedContexts/UserAccountManagement/Aggregates/Customer.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab976018a4eff09a2dd54f1d838ff17b8810b47a4cd839d54fb0ba6a015a6ce"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: Implementing email service \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":"foodtruacker.Framework/EmailService/Services/DemoEmailService.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"83fa6588ea0da16899136daa80eb6889bd6705dc072308bd24e91a4cb938b99e"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: PricingModelNotFound: NamedType PricingModelNotFound \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including foodtruacker.Domain, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Domain/BoundedContexts/TourPricingManagement/Exceptions/PricingModelNotFound.cs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb85f4fff6a5299cacbca386432939206afe89cec22198096accd97d08cde859"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: ConfirmIsEqual: Method ConfirmIsEqual \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including foodtruacker.Domain, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Domain/BoundedContexts/UserAccountManagement/ValueObjects/EmailAddress.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b9872932a2c1c28a074a0129bce22f1b38fddfdaaca7bb5672d15a85975bd7c"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: DeleteAsync: Method DeleteAsync \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including foodtruacker.QueryRepository, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Framework/QueryRepository/Repository/IProjectionRepository.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dda8c002b72c20ebcef914a1954b035f5fcad38bef36ac8468128d77a745a22"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: When_changing_an_admins_email_address: NamedType When_changing_an_admins_email_address \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including foodtruacker.AcceptanceTests, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.AcceptanceTests/BoundedContexts/UserAccountManagement/When_changing_an_admins_email_address.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff63877e70f8a7a1466d124ab689162e6749bb0a75fe8c74c062256b7e39de1"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: When_changing_an_admins_password: NamedType When_changing_an_admins_password \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including foodtruacker.AcceptanceTests, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.AcceptanceTests/BoundedContexts/UserAccountManagement/When_changing_an_admins_password.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"fed035bb4dc1c5fcc8f2e0bdeb08a33dcc659b18196e2b583e2354cb004f2d40"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: When_changing_a_customers_email_address: NamedType When_changing_a_customers_email_address \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including foodtruacker.AcceptanceTests, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.AcceptanceTests/BoundedContexts/UserAccountManagement/When_changing_a_customers_email_address.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8803433842a2280c1c833b085f4e3411a59888a960a937da7f35902242fa2f"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: When_changing_a_customers_password: NamedType When_changing_a_customers_password \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including foodtruacker.AcceptanceTests, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.AcceptanceTests/BoundedContexts/UserAccountManagement/When_changing_a_customers_password.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3ea4eb6f7edd1e3a462eb61ef4bbb16a85a2ea32056d3a1ddc8a1e5b9d4d0b"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: When_registering_a_new_admin: NamedType When_registering_a_new_admin \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including foodtruacker.AcceptanceTests, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.AcceptanceTests/BoundedContexts/UserAccountManagement/When_registering_a_new_admin.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47374144189054848e78e7a0a0fca1a91da569d23715f91a055504c35635fa7"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: When_registering_a_new_Customer: NamedType When_registering_a_new_Customer \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including foodtruacker.AcceptanceTests, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.AcceptanceTests/BoundedContexts/UserAccountManagement/When_registering_a_new_customer.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b5851a093f29a80dd36e944076c14aec7d09f493a89994adfd6ab1a73b38fe6"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: When_verifying_an_admin: NamedType When_verifying_an_admin \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including foodtruacker.AcceptanceTests, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.AcceptanceTests/BoundedContexts/UserAccountManagement/When_verifying_an_admin.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa119249cbe84a5165c0863edb2b3bcf4581d0ee3fcec5de1d6bac2527d55cc"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: When_verifying_a_customer: NamedType When_verifying_a_customer \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including foodtruacker.AcceptanceTests, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.AcceptanceTests/BoundedContexts/UserAccountManagement/When_verifying_a_customer.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"183f7fba590df602c01006aba1f2613cfd836021751a78587c6565f6ac077bb0"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: GenerateChangeEmailValidationToken: Method GenerateChangeEmailValidationToken \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including foodtruacker.Authentication, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Framework/Authentication/Repository/IAuthenticationRepository.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"72bc7b67d5fbf2710de3940bc6ab11eb2a1d7b8549b7c3a8f86869f5838aa771"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: UserExists: Method UserExists \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including foodtruacker.Authentication, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Framework/Authentication/Repository/IAuthenticationRepository.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8f33b61b73a43324f475807dc62494fb66be43497ee7c1013c5c7a48724169"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: IsCurrentPassword: Method IsCurrentPassword \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including foodtruacker.Authentication, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Framework/Authentication/Repository/IAuthenticationRepository.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a3cfc4acb75b6ac2462fe5fc8fd0d373e926ff6ac453effbbd784421253fca"}},{"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":"D28","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":"f33d1c0368ee7e1fac2b5ef7e1aaaf32289f0d1980f2b1e3d99ccc4af80bd6b8"},"taxa":[{"id":"CWE-540","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":"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":"8f877360d21fb23178905a3f5ecb21b6276efce8b9e4cf6f0345a5a308b36a03"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","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":"535c841a79fa99ee910e3d9375e11ec02a2f8b10cd3cb316706fed34aaa88a27"},"properties":{"dependency":{"package":"Snappier","version":"1.0.0","advisory":"[GHSA redacted]","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"00cb4b303392f15d10a6e6cba03898c053b2eca5b8ace5790990d10c0d0ab63f"},"properties":{"dependency":{"package":"SharpCompress","version":"0.30.1","advisory":"[GHSA redacted]","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"c2a842bbecb2a29dc7ce843c101610a5a4da5b2b913768c017200d0a322534bc"},"properties":{"dependency":{"package":"MySqlConnector","version":"2.3.5","advisory":"[GHSA redacted]","reachability":{"kind":"unknown"}}}},{"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":"a842d686a688a6711493753d54de5cf8bc312b00c7bf638b011096f935260974"},"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":"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":"3e42ca22582b33a56021fd29970cff12870ee8c7ea2bf4c4781801e7e4dcdcee"},"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":"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":"bc9c0d91b1ec42d42f8c3d8c8fede5a0b3542ab0bb1d277bdcbd9de4f72730ae"}},{"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":"46355522fdc01975b7b03b83d01ad7dbfff15e899d9962eedb862de913347d3d"},"taxa":[{"id":"CWE-1104","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":"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":"40e9349c662fdc44e184bf542ae2bf7bcce384ba437d454a7eee6cb055798722"},"taxa":[{"id":"CWE-1104","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":"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":"d25bb9f6099d0e3654121981d96297b86effd00660365ca1d0baf6fbc6ec0121"},"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":"31065a052074944bb6052d7caae258cfe0b8a421309c1f9468da82bd3b585805"},"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":"f849759669bc159600a91d134ea097c0147063cb3cf9adb8906222e6a5beb212"}},{"ruleId":"AX8","level":"error","message":{"text":"Production project references a test package: foodtruacker.API \u2192 Moq: \u0060foodtruacker.API\u0060 ships in a production host and references \u0060Moq\u0060, a package that exists only to test. It puts a test framework, double or assertion library into the shipped product. Move the code that uses it into a test project, or replace it with production code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Framework/API/foodtruacker.API.csproj"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b666ce643667689ee9780caa1be9e54f78e51f8c4769aabc2d3372346f2105a5"}},{"ruleId":"AX8","level":"error","message":{"text":"Production project references a test package: foodtruacker.Application \u2192 Moq: \u0060foodtruacker.Application\u0060 ships in a production host and references \u0060Moq\u0060, a package that exists only to test. It puts a test framework, double or assertion library into the shipped product. Move the code that uses it into a test project, or replace it with production code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Application/foodtruacker.Application.csproj"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"db02dbe9214aac122af6d651052fe62856df66a7f1d8c4102ebf6cb3b4fc3b1c"}},{"ruleId":"AX8","level":"error","message":{"text":"Production project references a test package: foodtruacker.EventSourcingRepository \u2192 Moq: \u0060foodtruacker.EventSourcingRepository\u0060 ships in a production host and references \u0060Moq\u0060, a package that exists only to test. It puts a test framework, double or assertion library into the shipped product. Move the code that uses it into a test project, or replace it with production code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Framework/EventsourcingRepository/foodtruacker.EventSourcingRepository.csproj"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd067e4e8c5f66b4dc6cf383d978abcfb4fae4089e9dd6f3a7ce268408dbd8fa"}},{"ruleId":"AX8","level":"error","message":{"text":"Production project references a test package: foodtruacker.QueryRepository \u2192 Moq: \u0060foodtruacker.QueryRepository\u0060 ships in a production host and references \u0060Moq\u0060, a package that exists only to test. It puts a test framework, double or assertion library into the shipped product. Move the code that uses it into a test project, or replace it with production code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Framework/QueryRepository/foodtruacker.QueryRepository.csproj"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb1d8b5847d61cffcef9e2dce71eb216c3b8d20891e6508a95a96f21dbc5290"}},{"ruleId":"AX8","level":"error","message":{"text":"Production project references a test package: foodtruacker.SharedKernel \u2192 Moq: \u0060foodtruacker.SharedKernel\u0060 ships in a production host and references \u0060Moq\u0060, a package that exists only to test. It puts a test framework, double or assertion library into the shipped product. Move the code that uses it into a test project, or replace it with production code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.SharedKernel/foodtruacker.SharedKernel.csproj"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"d56e62cfdac6807c2d1c2c8e05504e48c21f885f8799733c9cbfdb636a07ce08"}},{"ruleId":"C4","level":"note","message":{"text":"Partial data-retention evidence: A retention mechanism is present, but the data-lifecycle is not yet complete \u2014 missing: a scheduled purge / cleanup job (PurgeOlderThan / CleanupJob), a documented retention period / data-expiry."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e6c843eccaff7ffcfe5241125b74768c2364055ab6678b12b10d47f44086afa4"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: AggregateRoot.AggregateId: \u0060AggregateRoot.AggregateId\u0060 is a raw \u0060Guid\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Guid\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.SharedKernel/AggregateRoot.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd73a9ac8a8d2dae6de93094445cb49ce0f9f9bd82359b0fa263dce211bef6cc"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: DomainEvent.EventId: \u0060DomainEvent.EventId\u0060 is a raw \u0060Guid\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Guid\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.SharedKernel/DomainEvent.cs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"a448b2c756f6e7478715da46344e7afcd8d2092d447027812e60b59f231e1423"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: DomainEvent.AggregateId: \u0060DomainEvent.AggregateId\u0060 is a raw \u0060Guid\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Guid\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.SharedKernel/DomainEvent.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f183c5b3b43ca10c91bae9e5681e15456c89618324a4789808ac113c5f5752"}},{"ruleId":"ES2","level":"error","message":{"text":"Mutable event: DomainEvent: This persisted event exposes settable or mutable-collection member(s) (AggregateVersion) \u2014 an event is an immutable historical fact. A public setter, or a List/array/dictionary behind an init-only member, lets stored history be rewritten after the fact. Use \u0060{ get; init; }\u0060 (records) or readonly fields, and IReadOnlyList\u003CT\u003E/ImmutableArray\u003CT\u003E for collections."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.SharedKernel/DomainEvent.cs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"5074555994d9a458d8ae6e5a20e27ab3161b2b76d87475b20b0328fd4ba38200"}},{"ruleId":"ES2","level":"error","message":{"text":"Mutable event: IDomainEvent: This persisted event exposes settable or mutable-collection member(s) (AggregateVersion) \u2014 an event is an immutable historical fact. A public setter, or a List/array/dictionary behind an init-only member, lets stored history be rewritten after the fact. Use \u0060{ get; init; }\u0060 (records) or readonly fields, and IReadOnlyList\u003CT\u003E/ImmutableArray\u003CT\u003E for collections."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.SharedKernel/IDomainEvent.cs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ddf5047704ca9ca3432b0c179a41cc42773f2f525dbea4ffc22beff56b54703"}},{"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":"M3","level":"note","message":{"text":"No src/ separation: Production code isn\u0027t grouped under a src/ folder \u2014 it\u0027s spread across several top-level directories, so there\u0027s no one place that says \u0027this is the product\u0027."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fdf7f5b24e313364d10170a5c2542959902fe0d26ed70edef3eaa10ec5bcdb1d"}},{"ruleId":"M3","level":"note","message":{"text":"No tests/ separation: Tests aren\u0027t grouped in a dedicated test folder \u2014 the test surface isn\u0027t separable from production code at a glance."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"999e0c784909c76b6346a705ee63961fe363ed1cd6a94e3f80e2ebe7820ccd5d"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: README.md names .NET 5, but the projects target .NET 9. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85864071a30ab325207b0475304e4f6aa1b79c8e2996b50e4173a6d35a328ea"}},{"ruleId":"P1","level":"warning","message":{"text":"No CI pipeline: No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, \u2026) \u2014 changes aren\u0027t gated by an automated build/test."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"44f01af96e50474fba2df84d95ddf4f7e1d34c29c307830b9efc9057daa6b670"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s csharp pack, or a .NET security analyzer package (or \u0060semgrep --config=auto\u0060, which runs on any language) \u2014 this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060foodtruacker.AcceptanceTests/foodtruacker.AcceptanceTests.csproj\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":"foodtruacker.AcceptanceTests/foodtruacker.AcceptanceTests.csproj"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"15de26d18cfa10dbab432a61180a1dd91519ba841f1b2e154e0dfda3746b0909"}},{"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":"S1","level":"error","message":{"text":"Password hashing without a KDF: \u0060admin.Password != command.CurrentPassword\u0060 checks a password against the stored one in plaintext, so the store holds the password itself and whoever reads it holds every account. Store a salted KDF hash (PBKDF2/scrypt/Argon2/bcrypt) and verify by deriving again."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Application/BoundedContexts/UserAccountManagement/Commands/AdminAccountChangePasswordCommand.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"af86da948cfd2baf9340136a025fcc37af5f8873529c318b4be70488f4919f0c"}},{"ruleId":"S1","level":"error","message":{"text":"Password hashing without a KDF: \u0060customer.Password != command.CurrentPassword\u0060 checks a password against the stored one in plaintext, so the store holds the password itself and whoever reads it holds every account. Store a salted KDF hash (PBKDF2/scrypt/Argon2/bcrypt) and verify by deriving again."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Application/BoundedContexts/UserAccountManagement/Commands/CustomerAccountChangePasswordCommand.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ac39fabef7c7787b51d363d94c6350f815d3272ff23ac6ea5fb777408c5ede"}},{"ruleId":"S1","level":"note","message":{"text":"OIDC metadata fetched over HTTP: \u0060RequireHttpsMetadata = false\u0060 allows the OIDC discovery doc to be fetched over plain HTTP. Safe for loopback-only fetches (Aspire / on-host); risky for any other path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Framework/API/Extensions/AuthServicesExtensions.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59b3a8e3e9228dd8b2e9d6417b69656afbee49c38a8f0e0cf2e1f587ade5463"}},{"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 configured \u2014 defense in depth, even when a reverse proxy could set them. (\u22122.0 on this card.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd19c680309417e132c0be93c2002123f0664b42afe6172b1319da65a6a57ba7"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: This web host\u0027s pipeline is composed here and adds no security response header (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, a frame policy) to what it serves."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Framework/API/Program.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d2ebf9f4cb1a3606d0200f5a41c9180b719ad4c0424024f5ecb1127359832b"}},{"ruleId":"SC1","level":"warning","message":{"text":"NuGet dependencies are not locked: No packages.lock.json and no central package management \u2014 restores aren\u0027t reproducible or pinned (SSDF PW.4.4). Enable \u003CRestorePackagesWithLockFile\u003Etrue\u003C/RestorePackagesWithLockFile\u003E (commit the lockfile) or adopt Directory.Packages.props. Advisory \u2014 never scored."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0a97b4f69ccac509400ece7eedefb06d3ede0522cd4d8bcb5c068bea719545a6"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async methods take a CancellationToken: Only 26/47 async methods accept a CancellationToken, so in-flight work can\u0027t be stopped early when the caller gives up \u2014 whatever ends it in your host (shutdown signal, timeout, abandoned request, user cancel). Thread a token through the call chain and honour it at each await and loop; where a method genuinely cannot be interrupted, omitting it is a deliberate choice \u2014 judge against your hosting model."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bf623a92fb752b336427856888a9b386c434e686662a2cdc1bba21832c0a048c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: RegisterAdmin: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Framework/API/Controllers/AdministrationController.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc2fa5b6a69dd2e8b44788a945f0a58079a28ecf93917ca3ae05de130bc5598"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetAdminInfo: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Framework/API/Controllers/AdministrationController.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"42684ed4386992b8a2dae094ab2f3fb918d49e7533caccf503418d2eefa3e469"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ChangeEmail: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Framework/API/Controllers/AdministrationController.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa3f27f8576f068d72a363aac905d1559b23c54eb31291f141e33485900f54c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ChangePassword: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Framework/API/Controllers/AdministrationController.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46bebbb7052f95abc327de5f46353cf4bb23678b69741c72b0df03542f9cf10"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: VerifyEmailAddress: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Framework/API/Controllers/AuthenticationController.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c37a6cd17d767fab39fbaf9b90a26fa12b7c6fc0aa3c548ad9c3a39115bfcc4"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetAllCustomersInfo: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Framework/API/Controllers/CustomersController.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d64a785d2bfb14e4e2e5ef9a77bdd671e984adeb233a55d59b77d5daa5557ef"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetCustomerInfo: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Framework/API/Controllers/CustomersController.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb4373af3099dbce874470c94d2b21f02825b564b85615173cb1ca5d319ec5e"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: RegisterCustomer: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Framework/API/Controllers/CustomersController.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4020fce87a304baa549999489150e244856d174e0383cee78b034717834d0ac"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ChangeEmail: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Framework/API/Controllers/CustomersController.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"2245f579299f62dc11529a2390ec733d327bac3e24a60f5b7055e3aea9f4b6ef"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ChangePassword: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Framework/API/Controllers/CustomersController.cs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"72fc926a14628b00e941abcaf3f9ade6fd1aab70d41ca95e23563a9e26ce882c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: FindAllAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Framework/QueryRepository/Repository/MongoDbRepository.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad8c865d275d4ef8c3896969e2845b783e76cfd37060152ccb3a16603282d9c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: FindAllAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Framework/QueryRepository/Repository/MongoDbRepository.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"e443bcadb30b0c35243cea165ee596f310e477c5938372de95a2892260f8c28a"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: FindByIdAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Framework/QueryRepository/Repository/MongoDbRepository.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"48a255e2cc3a0f224112527599e7d6ab53e9a5ca050c6ae09cefeeaebfecc021"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: InsertAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Framework/QueryRepository/Repository/MongoDbRepository.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"405d228fdf18e6a177f12c446d90ab46844fadf1abc3184d2875a11b0127993a"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: UpdateAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Framework/QueryRepository/Repository/MongoDbRepository.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec64f66213686a31e022c169279f926e2b97517da6f1ac275ed57013f8c1e58"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: DeleteAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Framework/QueryRepository/Repository/MongoDbRepository.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"64af317ad626d7be264541028ef2739d8e77514fa577f1d91502a9a966b17caf"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: AppendEventAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Framework/EventsourcingRepository/Client/EventStoreDbClient.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"67b2cdd82fff9cea561073569389af6af747f3725e7947a5ca573c461d9fa796"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ReadEventsAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Framework/EventsourcingRepository/Client/EventStoreDbClient.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e9e1380fb828b7b287aefd5bd98676bf51969589310febaf5702580f692219"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: FindByIdAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Framework/EventsourcingRepository/Repository/EventSourcingRepository.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae71e12a574f25c9d6755a12d5e8d59cd7198a700a296868687a1566576960d9"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: SaveAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Framework/EventsourcingRepository/Repository/EventSourcingRepository.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a8d41c5e86368e92de7eedab027d0c59f180a40f521023be09fd4f991776a45"}},{"ruleId":"X2","level":"note","message":{"text":"Some async methods drop the CancellationToken they accept: 1 async method(s) await work their caller\u0027s cancellation cannot reach: a CancellationToken they hold (a parameter, or the one a framework-fixed signature carries) is never passed on, or the call is handed CancellationToken.None, default or an already-cancelled token. Forward the caller\u0027s token to that call."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f8177554a7c46f307acf08de5582ac728351c2d85898ccd976c050435dc4a114"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method drops its ambient CancellationToken: InvokeAsync: Its signature is fixed by the framework, and the token it carries (\u0060httpContext.RequestAborted\u0060) reaches none of the calls here that take one \u2014 so an aborted request or a stopping host still waits for that work. Pass \u0060httpContext.RequestAborted\u0060 to them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Framework/API/Middleware/ExceptionMiddleware.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8aa4f174758ee14d3fc66dbd4d97d77df8499a1e43851e7e9618501543a8dd7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Framework/API/Middleware/ExceptionMiddleware.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaaadafbe80ad69c45dd47a9c1c61a4a303c82e984a514dd598419accbd173fa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Application/Pipelines/AppMetricsBehaviour.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ffba3b8d2d395142943a12dff579c82face0f43617f0c70b943b0adda19f72f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Application/Pipelines/LoggingBehaviour.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b23a2c7b8ccea4b1b9d2e99f1d577d4ca2f19da3535dc5da0755fb1529ce84"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Application/Pipelines/LoggingBehaviour.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00fec8f9b0270d4ab9bc7406887304c00d7310c76cc44757c974dbc0d58e95e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"foodtruacker.Framework/EmailService/Services/DemoEmailService.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69de744705e8ecd2a77837852d0d8973a73dabef694b653a0b4da1432d17225"}},{"ruleId":"X5","level":"note","message":{"text":"Nullable reference types not enabled everywhere: 0/8 NRT-eligible project(s) enable \u003CNullable\u003Eenable\u003C/Nullable\u003E (projects targeting a pre-C#-8 framework are excluded \u2014 NRTs aren\u0027t available there). NRTs catch a whole class of null-deref bugs at compile time."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"80b24de9378624a0ce4846d60457395befcaec8e109ea81d289a370c9f7bfd5d"}}],"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-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-209","guid":"da28ecd2-f5c1-7852-ac41-a93b2d668c73","name":"Generation of Error Message Containing Sensitive Information","shortDescription":{"text":"Generation of Error Message Containing Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/209.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-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-540","guid":"1a9db5db-e5bb-ae5d-935a-d1b4e9ee080b","name":"Inclusion of Sensitive Information in Source Code","shortDescription":{"text":"Inclusion of Sensitive Information in Source Code"},"helpUri":"https://cwe.mitre.org/data/definitions/540.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-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"id":"A10:2025","guid":"9ca3ab55-ca61-fd5e-b9ab-3dad2efa59d0","name":"Mishandling of Exceptional Conditions","shortDescription":{"text":"Mishandling of Exceptional Conditions"},"helpUri":"https://top10.owasp.org/2025/A10_2025-Mishandling_of_Exceptional_Conditions/"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":15,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}