{"$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":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"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":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D32","name":"Data Compliance (PII/GDPR)","shortDescription":{"text":"Data Compliance (PII/GDPR)"},"helpUri":"https://codehealth.canine.dev/dimensions/D32","relationships":[{"target":{"id":"CWE-359","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-312","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-200","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-359","CWE-312","CWE-200"],"owasp":"A01:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"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":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"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":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"C3","name":"Audit Trail","shortDescription":{"text":"Audit Trail"},"helpUri":"https://codehealth.canine.dev/dimensions/C3"},{"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":"DM7","name":"Repository granularity","shortDescription":{"text":"Repository granularity"},"helpUri":"https://codehealth.canine.dev/dimensions/DM7"},{"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":"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":"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":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"P8","name":"Schema migrations","shortDescription":{"text":"Schema migrations"},"helpUri":"https://codehealth.canine.dev/dimensions/P8"},{"id":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"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 (59 lines \u00D7 2): common/Loyalty.Domain.Handlers.Notifications/Venue/CreateVenueNotification.cs:11-69 | common/Loyalty.Domain.Handlers.Notifications/Venue/UpdateVenueNotification.cs:9-67 \u2014 before extracting anything, compare \u0060common/Loyalty.Domain.Handlers.Notifications/Venue/CreateVenueNotification.cs\u0060 and \u0060common/Loyalty.Domain.Handlers.Notifications/Venue/UpdateVenueNotification.cs\u0060 as WHOLE FILES: 95% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/Loyalty.Domain.Handlers.Notifications/Venue/CreateVenueNotification.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"02917468500f269398174da3521caa1ba9c4a97652c6d64e61d175a9196889aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): src/Loyalty.Infrastructure.Handlers/Queries/Orders/GetAllOrdersByVenueIdQueryHandler.cs:47-74 | src/Loyalty.Infrastructure.Handlers/Queries/Orders/GetOrderByIdQueryHandler.cs:45-72 \u2014 before extracting anything, compare \u0060src/Loyalty.Infrastructure.Handlers/Queries/Orders/GetAllOrdersByVenueIdQueryHandler.cs\u0060 and \u0060src/Loyalty.Infrastructure.Handlers/Queries/Orders/GetOrderByIdQueryHandler.cs\u0060 as WHOLE FILES: 83% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Loyalty.Infrastructure.Handlers/Queries/Orders/GetAllOrdersByVenueIdQueryHandler.cs:47\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.Handlers/Queries/Orders/GetAllOrdersByVenueIdQueryHandler.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"782a4a6c39d9ba7cb1f8399d9a6c55b85886b08fb090b7fa4b03187f9bd92e96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): src/Loyalty.Infrastructure.Handlers/Queries/LoyaltyProductGroups/GetLoyaltyProductGroupByIdQueryHandler.cs:54-80 | src/Loyalty.Infrastructure.Handlers/Queries/LoyaltyProductGroups/GetLoyaltyProductGroupsQueryHandler.cs:52-78 \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 \u0060src/Loyalty.Infrastructure.Handlers/Queries/LoyaltyProductGroups/GetLoyaltyProductGroupByIdQueryHandler.cs:54\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.Handlers/Queries/LoyaltyProductGroups/GetLoyaltyProductGroupByIdQueryHandler.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1bbb83d573950095684e8b857a2c5f920c3bc0baec80249435078af7653c3a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): src/Loyalty.Infrastructure.Handlers/Queries/ProductGroups/GetProductGroupByIdQueryHandler.cs:53-80 | src/Loyalty.Infrastructure.Handlers/Queries/ProductGroups/GetProductGroupsByUserIdQueryHandler.cs:53-80 \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 \u0060src/Loyalty.Infrastructure.Handlers/Queries/ProductGroups/GetProductGroupByIdQueryHandler.cs:53\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.Handlers/Queries/ProductGroups/GetProductGroupByIdQueryHandler.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"de8a3bc471e7aa0ff5d327761fc7f24cba81b9e2f675e8693a23a50f6d09c4bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): src/Loyalty.Application.ViewModels/Venue/CreateVenueViewModel.cs:9-31 | src/Loyalty.Application.ViewModels/Venue/UpdateVenueViewModel.cs:9-31 \u2014 before extracting anything, compare \u0060src/Loyalty.Application.ViewModels/Venue/CreateVenueViewModel.cs\u0060 and \u0060src/Loyalty.Application.ViewModels/Venue/UpdateVenueViewModel.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.ViewModels/Venue/CreateVenueViewModel.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"369786143ab3859467e0baa94843b1bb64cf49b5056128df6cc64297e1154a18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): src/Loyalty.Infrastructure.Handlers/Queries/Workers/GetWorkerByEmailQueryHandler.cs:57-77 | src/Loyalty.Infrastructure.Handlers/Queries/Workers/GetWorkerByIdQueryHandler.cs:56-76 | src/Loyalty.Infrastructure.Handlers/Queries/Workers/GetWorkerByPhoneQueryHandler.cs:56-76 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Loyalty.Infrastructure.Handlers/Queries/Workers/GetWorkerByEmailQueryHandler.cs:57\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.Handlers/Queries/Workers/GetWorkerByEmailQueryHandler.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef7e009d2f4c643c0956ce836f6a3b6fadf9481986f22b5d279e0671137aac8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201321 lines \u00D7 2): src/Loyalty.Infrastructure.Firebase.Handlers/Notifications/SetupFirebaseTokenNotificationHandler.cs:34-54 | src/Loyalty.Infrastructure.Firebase.Handlers/Notifications/UpdateWorkerProfileNotificationHandler.cs:22-39 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Loyalty.Infrastructure.Firebase.Handlers/Notifications/SetupFirebaseTokenNotificationHandler.cs:34\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 \u0060notification\u0060 to \u0060SetupFirebaseTokenNotification\u0060 in one and \u0060UpdateWorkerProfileNotification\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":"src/Loyalty.Infrastructure.Firebase.Handlers/Notifications/SetupFirebaseTokenNotificationHandler.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b27753820cc682c1dd52f21653425763b78ae5b9d625fce1201f59c7099a8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/Loyalty.Application.Storage.Dto/Validators/VenueLogoValidator.cs:17-35 | src/Loyalty.Application.Storage.Dto/Validators/VenueNewImageValidator.cs:17-35 \u2014 before extracting anything, compare \u0060src/Loyalty.Application.Storage.Dto/Validators/VenueLogoValidator.cs\u0060 and \u0060src/Loyalty.Application.Storage.Dto/Validators/VenueNewImageValidator.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Storage.Dto/Validators/VenueLogoValidator.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"91eb0b5632b966ae454ec5a249406307159bd5ccba3565582c22effe7a1555f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/Loyalty.Infrastructure.Handlers.Commands/Commands/Venues/CreateVenueCommandHandler.cs:49-68 | src/Loyalty.Infrastructure.Handlers.Commands/Commands/Venues/UpdateVenueCommandHandler.cs:39-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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060CreateVenueCommand\u0060 in one and \u0060UpdateVenueCommand\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":"src/Loyalty.Infrastructure.Handlers.Commands/Commands/Venues/CreateVenueCommandHandler.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a26dfd5ef174645f531d78267f8e445d5cfcbdc684c294149b24782e7d0f64f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/Loyalty.Application.ViewModels/Validators/Venue/CreateVenueValidator.cs:12-29 | src/Loyalty.Application.ViewModels/Validators/Venue/UpdateVenueValidator.cs:14-31 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.ViewModels/Validators/Venue/CreateVenueValidator.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c4b2bd9274d99b5dc2cebb89b6d741ab204ac67ec6939b909c413035a2a353"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/Loyalty.Application.ViewModels/Worker/WorkerViewModel.cs:15-31 | src/Loyalty.Domain.Handlers.Queries/QueryResults/Worker/GetWorkerByIdQueryResult.cs:15-31 \u2014 before extracting anything, compare \u0060src/Loyalty.Application.ViewModels/Worker/WorkerViewModel.cs\u0060 and \u0060src/Loyalty.Domain.Handlers.Queries/QueryResults/Worker/GetWorkerByIdQueryResult.cs\u0060 as WHOLE FILES: 85% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.ViewModels/Worker/WorkerViewModel.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"b91bb13c2f1511970d3d117a52c075b31997002742a44c71aef783c485c06c2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/Loyalty.Application.Storage.Dto/Validators/ProductPhotoValidator.cs:15-32 | src/Loyalty.Application.Storage.Dto/Validators/WorkerPhotoValidator.cs:17-34 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Storage.Dto/Validators/ProductPhotoValidator.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"17cd0841a0e157ef4aa99e87ceb80f111891334bcd34cf515c0f4bb9b991f7aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): common/Loyalty.Domain.Handlers.Notifications/LoyaltyPrograms/CreateLoyaltyProgramNotification.cs:16-32 | common/Loyalty.Domain.Handlers.Notifications/LoyaltyPrograms/UpdateLoyaltyProgramNotification.cs:13-29 \u2014 before extracting anything, compare \u0060common/Loyalty.Domain.Handlers.Notifications/LoyaltyPrograms/CreateLoyaltyProgramNotification.cs\u0060 and \u0060common/Loyalty.Domain.Handlers.Notifications/LoyaltyPrograms/UpdateLoyaltyProgramNotification.cs\u0060 as WHOLE FILES: 85% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/Loyalty.Domain.Handlers.Notifications/LoyaltyPrograms/CreateLoyaltyProgramNotification.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae116e6aebf4c3a66c6359f821d35c97ecc17a4d2af9bcbc5f059796471f8576"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): common/Loyalty.Domain.Handlers.Notifications/Purchases/BurnPurchaseNotification.cs:10-26 | common/Loyalty.Domain.Handlers.Notifications/Purchases/CreatePurchaseNotification.cs:9-25 \u2014 before extracting anything, compare \u0060common/Loyalty.Domain.Handlers.Notifications/Purchases/BurnPurchaseNotification.cs\u0060 and \u0060common/Loyalty.Domain.Handlers.Notifications/Purchases/CreatePurchaseNotification.cs\u0060 as WHOLE FILES: 88% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/Loyalty.Domain.Handlers.Notifications/Purchases/BurnPurchaseNotification.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"d864b1503ba5e2825f723f7bd5f75c1c1b2bde3f488f0d37bfe01bb5dc83b718"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Loyalty.Application.ViewModels/Venue/CreateVenueViewModel.cs:36-49 | src/Loyalty.Application.ViewModels/Venue/UpdateVenueViewModel.cs:33-46 \u2014 before extracting anything, compare \u0060src/Loyalty.Application.ViewModels/Venue/CreateVenueViewModel.cs\u0060 and \u0060src/Loyalty.Application.ViewModels/Venue/UpdateVenueViewModel.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Loyalty.Application.ViewModels/Venue/CreateVenueViewModel.cs:33\u0060 calls \u0060JsonPropertyName\u0060 and \u0060src/Loyalty.Application.ViewModels/Venue/UpdateVenueViewModel.cs:31\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.ViewModels/Venue/CreateVenueViewModel.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"48337cbb7bcca761600117ab0d7b8fe737ff00f3367303682ad6c0d2ccd3b3e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Loyalty.Application.ViewModels/LoyaltyProductGroup/LoyaltyProductGroupGetViewModel.cs:12-25 | src/Loyalty.Application.ViewModels/LoyaltyProductGroup/LoyaltyProductGroupViewModel.cs:8-21 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.ViewModels/LoyaltyProductGroup/LoyaltyProductGroupGetViewModel.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"622e6bcca0f46587d28ce246b88f725e33f7f464c8482639378ebe7ec352bf0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Loyalty.Application.ViewModels/Product/CreateProductViewModel.cs:10-23 | src/Loyalty.Application.ViewModels/Product/UpdateProductViewModel.cs:10-23 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.ViewModels/Product/CreateProductViewModel.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73e7e51fa56fd21143f47d0f3cbc87ef96fd8efe20b497abb9d7e56b68ce7d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): common/Loyalty.Domain.Handlers.Notifications/Products/CreateProductNotification.cs:16-29 | common/Loyalty.Domain.Handlers.Notifications/Products/UpdateProductNotification.cs:13-26 \u2014 before extracting anything, compare \u0060common/Loyalty.Domain.Handlers.Notifications/Products/CreateProductNotification.cs\u0060 and \u0060common/Loyalty.Domain.Handlers.Notifications/Products/UpdateProductNotification.cs\u0060 as WHOLE FILES: 83% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/Loyalty.Domain.Handlers.Notifications/Products/CreateProductNotification.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed5a10821329fa7d88a9a222e8957964686df492d571372f98951732b7bf7d22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/Loyalty.Application.ViewModels/Venue/CreateVenueViewModel.cs:9-19 | src/Loyalty.Application.ViewModels/Venue/UpdateVenueViewModel.cs:9-19 | src/Loyalty.Domain.Handlers.Queries/QueryResults/Venue/GetVenueByIdQueryResult.cs:11-21 \u2014 before extracting anything, compare \u0060src/Loyalty.Application.ViewModels/Venue/CreateVenueViewModel.cs\u0060 and \u0060src/Loyalty.Application.ViewModels/Venue/UpdateVenueViewModel.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.ViewModels/Venue/CreateVenueViewModel.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"e61bab00a63f521b74c87e9ad935916a498e29ea8c4868f7dbca91d89194d086"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/Loyalty.Application.Storage.Dto/Validators/VenueImageValidator.cs:17-26 | src/Loyalty.Application.Storage.Dto/Validators/VenueLogoValidator.cs:17-26 | src/Loyalty.Application.Storage.Dto/Validators/VenueNewImageValidator.cs:17-26 \u2014 before extracting anything, compare \u0060src/Loyalty.Application.Storage.Dto/Validators/VenueLogoValidator.cs\u0060 and \u0060src/Loyalty.Application.Storage.Dto/Validators/VenueNewImageValidator.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Storage.Dto/Validators/VenueImageValidator.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c2475f49552cb64af51994aac238a6c14ccc4a114f670a677fc4adfb91aad7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Loyalty.Domain.Handlers.Queries/QueryResults/Orders/GetOrderByUserIdQueryResult.cs:20-30 | src/Loyalty.Domain.Handlers.Queries/QueryResults/Orders/GetOrderByVenueIdQueryResult.cs:26-36 \u2014 before extracting anything, compare \u0060src/Loyalty.Domain.Handlers.Queries/QueryResults/Orders/GetOrderByUserIdQueryResult.cs\u0060 and \u0060src/Loyalty.Domain.Handlers.Queries/QueryResults/Orders/GetOrderByVenueIdQueryResult.cs\u0060 as WHOLE FILES: 85% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Domain.Handlers.Queries/QueryResults/Orders/GetOrderByUserIdQueryResult.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"855696b9c4e993964710e0278fabd413c657a3fa0915e60c914fb7cae7e60e26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): common/Loyalty.Domain.Handlers.Notifications/Venue/CreateVenueNotification.cs:23-33 | common/Loyalty.Domain.Handlers.Notifications/Venue/UpdateVenueNotification.cs:21-31 | src/Loyalty.Domain.Handlers.Queries/QueryResults/Location/GetLocationQueryResult.cs:7-17 \u2014 before extracting anything, compare \u0060common/Loyalty.Domain.Handlers.Notifications/Venue/CreateVenueNotification.cs\u0060 and \u0060common/Loyalty.Domain.Handlers.Notifications/Venue/UpdateVenueNotification.cs\u0060 as WHOLE FILES: 95% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"common/Loyalty.Domain.Handlers.Notifications/Venue/CreateVenueNotification.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c945530199354f6be722a084d99d55b42b3ffeb7b861bb5dd492378391abb29e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src/Loyalty.Application.Storage.Dto/Validators/VenueImageValidator.cs:32-39 | src/Loyalty.Application.Storage.Dto/Validators/VenueLogoValidator.cs:28-35 | src/Loyalty.Application.Storage.Dto/Validators/VenueNewImageValidator.cs:28-35 \u2014 before extracting anything, compare \u0060src/Loyalty.Application.Storage.Dto/Validators/VenueLogoValidator.cs\u0060 and \u0060src/Loyalty.Application.Storage.Dto/Validators/VenueNewImageValidator.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Loyalty.Application.Storage.Dto/Validators/VenueImageValidator.cs:28\u0060 calls \u0060RuleFor\u0060, \u0060LessThan\u0060, \u0060WithMessage\u0060 and \u0060src/Loyalty.Application.Storage.Dto/Validators/VenueLogoValidator.cs:26\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Storage.Dto/Validators/VenueImageValidator.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded821c789c6b12b739b482f380f4b1f5e27d614d79f050b36f4d97a59a0d0c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/LoyaltyProgram/Http/Write/Admin/VenueApprovePatchFunction.cs:42-50 | src/LoyaltyProgram/Http/Write/Admin/VenueRejectPatchFunction.cs:42-50 \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 \u0060src/LoyaltyProgram/Http/Write/Admin/VenueApprovePatchFunction.cs:42\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/LoyaltyProgram/Http/Write/Admin/VenueApprovePatchFunction.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d718ef8c2e86840d953adbc872e79b185660d30314f8b933886e159e76efefe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/LoyaltyProgram/Http/Write/VenueImages/VenueCreateImageFunction.cs:57-64 | src/LoyaltyProgram/Http/Write/VenueLogo/VenueCreateLogoFunction.cs:57-64 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/LoyaltyProgram/Http/Write/VenueImages/VenueCreateImageFunction.cs:57\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/LoyaltyProgram/Http/Write/VenueImages/VenueCreateImageFunction.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"211ac00d22072e7652ab21f8c76ba320a4ecac78df7b6ba6e7c41771bbb5cb88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Loyalty.Application.ViewModels/Validators/Venue/CreateVenueValidator.cs:35-41 | src/Loyalty.Application.ViewModels/Validators/Venue/UpdateVenueValidator.cs:34-40 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.ViewModels/Validators/Venue/CreateVenueValidator.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a1dbf551f6745bf603b51f487d8d46a2202b734fa2eafe35ab32052c0ecc58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/LoyaltyProgram/Http/Write/Product/ProductImagePatchFunction.cs:57-63 | src/LoyaltyProgram/Http/Write/VenueLogo/VenuePutLogoFunction.cs:56-62 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/LoyaltyProgram/Http/Write/Product/ProductImagePatchFunction.cs:57\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/LoyaltyProgram/Http/Write/Product/ProductImagePatchFunction.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"a41579ec1db2c956c9770ed321d6af710871c4295364ac9f249067cda4802aea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/Loyalty.Application.Venue/LoyaltyVenueAppService.cs:108-112 | src/Loyalty.Application.Venue/WorkerAppService.cs:149-153 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/LoyaltyVenueAppService.cs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4bb4c0609743ac263d183907324f2857ac0740cbcae3604f2368a0c7e81af3"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project LoyaltyProgram: LoyaltyProgram has instability 1.00 with 0 dependents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/LoyaltyProgram/LoyaltyProgram.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a836bf00139a34b889a144bc0afe4f1a1443fa611b2cfe82ce4ad22cb8a679"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project Loyalty.Infrastructure.IoC: Loyalty.Infrastructure.IoC has instability 0.92 with 1 dependents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.IoC/Loyalty.Infrastructure.IoC.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f1de5b5d405cf3d9c1810fab501696b9112108c7279beb358b9e9b4cb70cf55"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project Loyalty.Infrastructure.Handlers.Commands: Loyalty.Infrastructure.Handlers.Commands has instability 0.86 with 1 dependents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.Handlers.Commands/Loyalty.Infrastructure.Handlers.Commands.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8466d928fbaa813ba9f1c2cdae01b9b740e93660d9b66438f88f4ffbf9386fcf"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Loyalty.Domain.Handlers.Contracts: Loyalty.Domain.Handlers.Contracts: abstractness 1.00, instability 1.00, distance 1.00 \u2014 zone of uselessness \u2014 abstract and unstable, so it\u0027s likely unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Domain.Handlers.Contracts/Loyalty.Domain.Handlers.Contracts.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a895795c11b5308836203ffda23e2959ac6928c147842e4ddf989ac52d1dd36f"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Loyalty.Domain.Handlers.Queries: Loyalty.Domain.Handlers.Queries: abstractness 0.00, instability 0.13, distance 0.88 \u2014 zone of pain \u2014 concrete and depended on by 7 project(s), so it\u0027s rigid to change."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Domain.Handlers.Queries/Loyalty.Domain.Handlers.Queries.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a883cf018f3946f2ddfcd9587e9eb766900c0b8f0f4cbec66ab76372e5d985e"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Loyalty.Domain.Handlers.Firebase.Queries: Loyalty.Domain.Handlers.Firebase.Queries: abstractness 0.00, instability 0.20, distance 0.80 \u2014 zone of pain \u2014 concrete and depended on by 4 project(s), so it\u0027s rigid to change."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Domain.Handlers.Firebase.Queries/Loyalty.Domain.Handlers.Firebase.Queries.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d83a55a5c50f1b4d63384f97e228c69ae4c5f1680630f2c3b66da5cba34f8db"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: LoyaltyVenueImageAppService (LCOM4 5): LoyaltyVenueImageAppService\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/LoyaltyVenueImageAppService.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f19fbb7f56c3bd9d2ecf0dac0427164b4e3a3a0ed2da9dc5a1f9bfb17e0efba7"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): ShouldGetOnlyOwnVenues: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/LoyaltyProgram.Tests/Tests/Venue/VenueTests.cs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"a148d4d6d0e3a362b4cc8ee898fc89716ab644faf25b614053d6f45fb02eddaf"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): ShouldGetOnlyNotArchiveVenues: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/LoyaltyProgram.Tests/Tests/Venue/VenueTests.cs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d13bdf1db2791199dae055117797a2f7d9d7094e20043e761a677483c09878"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): ShouldArchiveWorker: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/LoyaltyProgram.Tests/Tests/Venue/WorkerTests.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"29428564d8582eeae91c012cd051dde2fafdf8f6c27d21a084a27e80f7750be8"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/LoyaltyProgram/Startup.cs: src/LoyaltyProgram/Startup.cs changed 15 times in last 90 days and 9 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 1 (its worst body is Startup.Configure at line 23), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201C#153 fixed\u201D; \u201C#153 fixed\u201D; \u201C#153 fixed\u201D; \u201C#153 fixed\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-03-14..2026-06-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-03-14 16:30:00 \u002B03:00\u0027 --until=\u00272026-06-12 16:30:00 \u002B03:00\u0027 --full-history --no-merges -- src/LoyaltyProgram/Startup.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/LoyaltyProgram/Startup.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"d471cc679f9083eeaedb0bbdaffe0fa7c3a8f1692a79d6382eead877af995941"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/LoyaltyProgram/WebJobsStartup.cs: src/LoyaltyProgram/WebJobsStartup.cs changed 10 times in last 90 days and 8 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is WebJobsStartup.Configure at line 20), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CFixes\u201D; \u201CFixes\u201D; \u201CFixes\u201D; \u201CFixes\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-03-14..2026-06-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-03-14 16:30:00 \u002B03:00\u0027 --until=\u00272026-06-12 16:30:00 \u002B03:00\u0027 --full-history --no-merges -- src/LoyaltyProgram/WebJobsStartup.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/LoyaltyProgram/WebJobsStartup.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba552fcf26e6a68e269d339288b844e37e1b536f7106cad81267e7a05a4eb472"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/Loyalty.Common.Shared/Extensions/HttpRequestExtensions.cs: src/Loyalty.Common.Shared/Extensions/HttpRequestExtensions.cs changed 8 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is HttpRequestExtensions.ValidateSecret at line 26), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201C#153 fixed\u201D; \u201C#153 fixed\u201D; \u201C#153 fixed\u201D; \u201C#153 fixed\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-03-14..2026-06-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-03-14 16:30:00 \u002B03:00\u0027 --until=\u00272026-06-12 16:30:00 \u002B03:00\u0027 --full-history --no-merges -- src/Loyalty.Common.Shared/Extensions/HttpRequestExtensions.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Common.Shared/Extensions/HttpRequestExtensions.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d034b9b6bac822f400b79df7f55c3877b284aa0e0c8a18f97beb4deb377da1"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/Loyalty.Application.AutoMapper/AutoMapperProfile.cs: src/Loyalty.Application.AutoMapper/AutoMapperProfile.cs changed 10 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 1 (its worst body is AutoMapperProfile.AutoMapperProfile.ctor at line 38), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CFixed lp\u201D; \u201CFixes\u201D; \u201CFixes\u201D; \u201CFixed orders\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-03-14..2026-06-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-03-14 16:30:00 \u002B03:00\u0027 --until=\u00272026-06-12 16:30:00 \u002B03:00\u0027 --full-history --no-merges -- src/Loyalty.Application.AutoMapper/AutoMapperProfile.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.AutoMapper/AutoMapperProfile.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b70f9963ef21ee0086092ea922a82d53cb364fc151bfb5e429f1e48b27474daa"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/Loyalty.Application.DomainEvents.Handlers/Venues/VenueCreatedDomainEventHandler.cs: src/Loyalty.Application.DomainEvents.Handlers/Venues/VenueCreatedDomainEventHandler.cs changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 2 (its worst body is VenueCreatedDomainEventHandler.Handle at line 33), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201C#153 fixed\u201D; \u201CFixes\u201D; \u201CFixes\u201D; \u201CFixes\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-03-14..2026-06-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-03-14 16:30:00 \u002B03:00\u0027 --until=\u00272026-06-12 16:30:00 \u002B03:00\u0027 --full-history --no-merges -- src/Loyalty.Application.DomainEvents.Handlers/Venues/VenueCreatedDomainEventHandler.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.DomainEvents.Handlers/Venues/VenueCreatedDomainEventHandler.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ec294d30964150737e7137f7ec231aa5fc77eadf98265a9c1b7c280ee4bf67"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/LoyaltyProgram/Storage/OrderChangedNotificationFunction.cs: src/LoyaltyProgram/Storage/OrderChangedNotificationFunction.cs changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is OrderChangedNotificationFunction.Run at line 14), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CFixed lp\u201D; \u201CFixed lp\u201D; \u201CFixes\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-03-14..2026-06-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-03-14 16:30:00 \u002B03:00\u0027 --until=\u00272026-06-12 16:30:00 \u002B03:00\u0027 --full-history --no-merges -- src/LoyaltyProgram/Storage/OrderChangedNotificationFunction.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/LoyaltyProgram/Storage/OrderChangedNotificationFunction.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"3687f2b876d116aebe80457e199dddda1cfe63187a6b7722f4c1c897981f1e17"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/Loyalty.Infrastructure.Commands.Repository/LoyaltyProgramRepository.cs: src/Loyalty.Infrastructure.Commands.Repository/LoyaltyProgramRepository.cs changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is LoyaltyProgramRepository.Update at line 81), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CFixes\u201D; \u201CFixes\u201D; \u201CFixes\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-03-14..2026-06-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-03-14 16:30:00 \u002B03:00\u0027 --until=\u00272026-06-12 16:30:00 \u002B03:00\u0027 --full-history --no-merges -- src/Loyalty.Infrastructure.Commands.Repository/LoyaltyProgramRepository.cs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.Commands.Repository/LoyaltyProgramRepository.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"3679f27a7475cfd87bf6c221c97b35a04d5b911c0fb414466a441802f866bf21"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //todo: comment when scoped fixed \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":"src/Loyalty.Application.DomainEvents.Handlers/ProductGroup/ProductGroupArchivedDomainEventHandler.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60c3865d3e4cad65f2b5913776854b0128b87610cf1a10e5efd1a6dc68f2f9c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //todo: comment when scoped fixed \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":"src/Loyalty.Application.DomainEvents.Handlers/ProductGroup/ProductGroupChangedDomainEventHandler.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bdcdd5084b504216cf3abc444566da320e405d54676219dbd2feb79dbc520af"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //todo: this should be tested \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":"src/Loyalty.Application.Venue/LoyaltyProductGroupAppService.cs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a0045c84b3a1601b6d4f48902ab0cc667c4e072c6e683c431c6d19d98e7a90"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private IMapper mapper \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/OrderAppService.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"12052ff3612b410c61f326c02f5e819c14421ba70a0be5c1dfd27fa5f149bcbb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //todo: put in a common lib as a const. \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":"src/Loyalty.Common.Shared/Extensions/ClaimsPrincipalExtensions.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"505285ede357c374a6c5f4f8ec60da7613408bb1c7c494f93abd1003319d4761"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Aggregates/ProductGroups/ProductGroup.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da9afe3d73a990de271a5852e00c19e50094277c48b2afbb12966992a3c80f1"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/LoyaltyProgram/Startup.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"63983375a0db4ad56c7fb28e43b0ca6f7d6aa12fd997ad709accafcb7e5df5d2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: remove it when"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Domain.Handlers.Firebase.Queries/Commands/User/SetupFirebaseTokenCommand.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec3e367fd34e09930124fdb41636c3178e12cd1978122fde99108257c71487b0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //todo: when named query filter appear: separate archive and tenant filters; \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":"src/Loyalty.Infrastructure.DataAccess/Context/LoyaltyTenantDbContext.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b92a7184fe5dd45b891634cabdf64659b8b7458f6f31a113a5e30efb9433c36"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private IMediator mediator \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.DataAccess/Context/LoyaltyTenantDbContext.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddab29736b4738c14fbd634db7a049436e7d11990153b00e513905016ec67f8c"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 8 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.DataAccess/Context/Scoped/ObjectStore.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48ac7a8a32619ed668f85b15466dad6dc1ad34c13c3a3e194b6dbe75c72c009"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private IHttpContextAccessor accessor \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.Firebase.Handlers/Commands/User/UpdateUserEmailCommandHandler.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc599e04df08d9b56828ee42be4285ffbd5a4dfb37a76a7018a12e3c87f758f"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private IHttpContextAccessor accessor \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.Handlers/Queries/LoyaltyProductGroups/GetLoyaltyProductGroupByIdQueryHandler.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"9694e5a40703736a32f06aeb43410d4d0e95a3fafc79cc9cddc5fe9ba1ccfb34"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private IOptions\u003CVenueSettings\u003E venueOptions \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.Handlers.Commands/Commands/Venues/CreateVenueCommandHandler.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e18adc949c7f82a8ed53b936cd6a8e3bd49eeff51015bdfc691eba0367731e"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILoyaltyTenantDbContext loyaltyTenantDbContext \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.Outbox/EventBusPublishingService.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2a12acb356b59434e9a7accc56926e5297a8b9105530c3c4d1d4985b7d4091"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private LoyaltyVenueAppService service \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/LoyaltyProgram/Http/Write/VenueImages/VenuePutImageFunction.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"47c1b9ec31d8aae7687f335d4e2377bec3fbcc05d7b45de9a1b48a4461dc088e"}},{"ruleId":"D18","level":"note","message":{"text":"Shell project: Loyalty.Domain.Handlers.Notifications: \u0060Loyalty.Domain.Handlers.Notifications\u0060 contributes only 0 significant line(s) \u2014 an empty/placeholder project is structural noise. Remove it or fold its contents into a real project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Domain.Handlers.Notifications/Loyalty.Domain.Handlers.Notifications.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2aa629da074339eedb37eb4a7196d3befa65a5490c6e61f120d86928c9174b6"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060GetByLoyaltyGroupId\u0060 returns an awaitable but lacks the \u0060Async\u0060 suffix its 22 peers carry: 22 of the 24 awaitable methods of project Loyalty.Core.Entities are named with an affix the repository binds to awaitables (22 of 24; unit: awaitable methods of project Loyalty.Core.Entities). Peers: ILoyaltyProgramRepository.GetAsync (src/Loyalty.Core.Entities/Interfaces/Repository/ILoyaltyProgramRepository.cs:11); ILoyaltyProgramRepository.GetByVenueAsync (src/Loyalty.Core.Entities/Interfaces/Repository/ILoyaltyProgramRepository.cs:13); ILoyaltyProgramRepository.AddAsync (src/Loyalty.Core.Entities/Interfaces/Repository/ILoyaltyProgramRepository.cs:19); IOrderRepository.GetAsync (src/Loyalty.Core.Entities/Interfaces/Repository/IOrderRepository.cs:12); IProductGroupRepository.GetAsync (src/Loyalty.Core.Entities/Interfaces/Repository/IProductGroupRepository.cs:10). Rename to \u0060GetByLoyaltyGroupIdAsync\u0060. [rule N4b]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Interfaces/Repository/ILoyaltyProgramRepository.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a70a495950ab71cb87508f23fd92b31390071d0de8926b44254276fdf16279f"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060GetByGroupId\u0060 returns an awaitable but lacks the \u0060Async\u0060 suffix its 22 peers carry: 22 of the 24 awaitable methods of project Loyalty.Core.Entities are named with an affix the repository binds to awaitables (22 of 24; unit: awaitable methods of project Loyalty.Core.Entities). Peers: ILoyaltyProgramRepository.GetAsync (src/Loyalty.Core.Entities/Interfaces/Repository/ILoyaltyProgramRepository.cs:11); ILoyaltyProgramRepository.GetByVenueAsync (src/Loyalty.Core.Entities/Interfaces/Repository/ILoyaltyProgramRepository.cs:13); ILoyaltyProgramRepository.AddAsync (src/Loyalty.Core.Entities/Interfaces/Repository/ILoyaltyProgramRepository.cs:19); IOrderRepository.GetAsync (src/Loyalty.Core.Entities/Interfaces/Repository/IOrderRepository.cs:12); IProductGroupRepository.GetAsync (src/Loyalty.Core.Entities/Interfaces/Repository/IProductGroupRepository.cs:10). Rename to \u0060GetByGroupIdAsync\u0060. [rule N4b]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Interfaces/Repository/ILoyaltyProgramRepository.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72bcab31cb74fcb5a86b647e5bbe968fb79a87e7fd15811716bdba6276412a9"}},{"ruleId":"D32","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":"91e48c46c88164c025338f63ce0ad6b4bc7d9ca2a9ced0235d9b056c22f96484"}},{"ruleId":"D32","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":"a2680a6187a6137b22ba37c7a48684330ba567b5da2530e88e80450c15df01f2"}},{"ruleId":"D32","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":"fe4e5350fe615d1331255e758fff3be3835098ad865dea5fc8a5db85cf516095"}},{"ruleId":"D32","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":"58535225af5313ae46e9d4a843d17ff364ebc9f5f23cd9898d2fd98241d42baa"}},{"ruleId":"D32","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":"e1607fb3a172c5d60ad43fbf46d442f9040ebb02491580ca3b8b601d103a7621"}},{"ruleId":"D32","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":"652b81355e90a64cf75bf0d22b47369f632577f4a7b310af208c95bfcc71d05a"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: CreateVenueViewModel.cs \u2194 UpdateVenueCommandHandler.cs: \u0060src/Loyalty.Application.ViewModels/Venue/CreateVenueViewModel.cs\u0060 (context Loyalty.Application.ViewModels) and \u0060src/Loyalty.Infrastructure.Handlers.Commands/Commands/Venues/UpdateVenueCommandHandler.cs\u0060 (context Loyalty.Infrastructure.Handlers.Commands) sit in DIFFERENT parts of the tree yet change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060dd0fee33\u0060 Added status (at that commit the file was still \u0060src/Loyalty.Infrastructure.Handlers/Commands/Venues/UpdateVenueCommandHandler.cs\u0060); \u0060e50ae1b3\u0060 Updated images (at that commit the files were still \u0060Loyalty.Application.ViewModels/Venue/VenueViewModel.cs\u0060 and \u0060Loyalty.Infrastructure.Handlers/Commands/Venues/UpdateVenueCommandHandler.cs\u0060); \u0060db7199a3\u0060 #5 Updated working hours (at that commit the files were still \u0060Loyalty.Application.ViewModels/Venue/VenueViewModel.cs\u0060 and \u0060Loyalty.Infrastructure.Handlers/Commands/Venues/UpdateVenueCommandHandler.cs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.ViewModels/Venue/CreateVenueViewModel.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df63aea61206840615299dfe1fc55c79c9f70180d2577170416d349f707a12b6"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: CreateVenueViewModel.cs \u2194 GetVenueByIdQueryResult.cs: \u0060src/Loyalty.Application.ViewModels/Venue/CreateVenueViewModel.cs\u0060 (context Loyalty.Application.ViewModels) and \u0060src/Loyalty.Domain.Handlers.Queries/QueryResults/Venue/GetVenueByIdQueryResult.cs\u0060 (context Loyalty.Domain.Handlers.Queries) sit in DIFFERENT parts of the tree yet change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060dd0fee33\u0060 Added status; \u0060e50ae1b3\u0060 Updated images (at that commit the files were still \u0060Loyalty.Application.ViewModels/Venue/VenueViewModel.cs\u0060 and \u0060Loyalty.Domain.Handlers.Queries/QueryResults/Venue/GetVenueByIdQueryResult.cs\u0060); \u0060db7199a3\u0060 #5 Updated working hours (at that commit the files were still \u0060Loyalty.Application.ViewModels/Venue/VenueViewModel.cs\u0060 and \u0060Loyalty.Domain.Handlers.Queries/QueryResults/Venue/GetVenueByIdQueryResult.cs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.ViewModels/Venue/CreateVenueViewModel.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9be1ef73000e65b18851560b9f940db899fcb224a560535d66c10514f5b2dc"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: AutoMapperProfile.cs \u2194 UpdateVenueCommandHandler.cs: \u0060src/Loyalty.Application.AutoMapper/AutoMapperProfile.cs\u0060 (context Loyalty.Application.AutoMapper) and \u0060src/Loyalty.Infrastructure.Handlers.Commands/Commands/Venues/UpdateVenueCommandHandler.cs\u0060 (context Loyalty.Infrastructure.Handlers.Commands) sit in DIFFERENT parts of the tree yet change together 57% of the time (8 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u00608a449383\u0060 Updated (at that commit the file was still \u0060src/Loyalty.Infrastructure.Handlers/Commands/Venues/UpdateVenueCommandHandler.cs\u0060); \u006068208245\u0060 Updated stage (at that commit the file was still \u0060src/Loyalty.Infrastructure.Handlers/Commands/Venues/UpdateVenueCommandHandler.cs\u0060); \u0060dd0fee33\u0060 Added status (at that commit the file was still \u0060src/Loyalty.Infrastructure.Handlers/Commands/Venues/UpdateVenueCommandHandler.cs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.AutoMapper/AutoMapperProfile.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a38733e7bf5d383708325646ded7ad97e79eabe203af51c3cd199fe061fdebe2"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: WorkerAppService.cs \u2194 GetVerificationLinkQueryHandler.cs: \u0060src/Loyalty.Application.Venue/WorkerAppService.cs\u0060 (context Loyalty.Application.Venue) and \u0060src/Loyalty.Infrastructure.Firebase.Handlers/Queries/GetVerificationLinkQueryHandler.cs\u0060 (context Loyalty.Infrastructure.Firebase.Handlers) sit in DIFFERENT parts of the tree yet change together 54% of the time (7 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u006035cbde00\u0060 Fixes; \u0060710a25f6\u0060 Fixes; \u00605bcc8924\u0060 Fixes \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/WorkerAppService.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"974b3d333f2799b3d3d11ad0b3aaf2c9ce1b58d3da634424a4450bd5668bdf76"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: VenueGetFunction.cs \u2192 VenueDeleteFunction.cs, VenuePostFunction.cs, VenuePutFunction.cs: \u0060src/LoyaltyProgram/Http/Read/Venue/VenueGetFunction.cs\u0060 changes together with 3 other files \u2014 \u0060src/LoyaltyProgram/Http/Write/Venue/VenueDeleteFunction.cs\u0060, \u0060src/LoyaltyProgram/Http/Write/Venue/VenuePostFunction.cs\u0060, \u0060src/LoyaltyProgram/Http/Write/Venue/VenuePutFunction.cs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/LoyaltyProgram/Http/Read/Venue/VenueGetFunction.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"422c0f3194946f2aacf758d257001ac540af57054c75db1d7f67abf0fb810bf6"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: VenueGetAllFunction.cs \u2192 VenueGetFunction.cs, VenueDeleteFunction.cs, VenuePostFunction.cs, VenuePutFunction.cs: \u0060src/LoyaltyProgram/Http/Read/Venue/VenueGetAllFunction.cs\u0060 changes together with 4 other files \u2014 \u0060src/LoyaltyProgram/Http/Read/Venue/VenueGetFunction.cs\u0060, \u0060src/LoyaltyProgram/Http/Write/Venue/VenueDeleteFunction.cs\u0060, \u0060src/LoyaltyProgram/Http/Write/Venue/VenuePostFunction.cs\u0060, \u0060src/LoyaltyProgram/Http/Write/Venue/VenuePutFunction.cs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 4 separate couplings, not 4 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 4."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/LoyaltyProgram/Http/Read/Venue/VenueGetAllFunction.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b7894ba2f866e29d52f14f0beb52817dcb5747d65d32e2046eb351f99507dc"}},{"ruleId":"D44","level":"warning","message":{"text":"End-of-life runtime: .NET netcoreapp3.1: src/LoyaltyProgram/LoyaltyProgram.csproj declares .NET netcoreapp3.1 as this project\u0027s target framework, and .NET Core 3.1 LTS, support ended 2022-12-13. An unsupported runtime receives no security patches, so every vulnerability disclosed in it since 2022-12-13 is present and unfixable without moving off it. This is a migration rather than an upgrade: there is no newer release of a runtime that has ended."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/LoyaltyProgram/LoyaltyProgram.csproj"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42214735ebfa40bc16d3581f658c9a44482ab493062612d657af07e40c3e8a4"}},{"ruleId":"D44","level":"warning","message":{"text":"End-of-life runtime: .NET netcoreapp3.1: test/LoyaltyProgram.Tests/LoyaltyProgram.Tests.csproj declares .NET netcoreapp3.1 as this project\u0027s target framework, and .NET Core 3.1 LTS, support ended 2022-12-13. An unsupported runtime receives no security patches, so every vulnerability disclosed in it since 2022-12-13 is present and unfixable without moving off it. This is a migration rather than an upgrade: there is no newer release of a runtime that has ended."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/LoyaltyProgram.Tests/LoyaltyProgram.Tests.csproj"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"7344db820ff4eafed042724b4b63f76ecc0cbf892b52cc4c76e930a8784a7b1d"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: LoyaltyApiContextFactory: \u0060LoyaltyApiContextFactory\u0060 keeps mutable \u0060static\u0060 state \u2014 one slot for the whole process, shared by every thread that reaches the type however its instances are created \u2014 and mutates it outside any lock (configuration; e.g. \u0060configuration\u0060 at line 31). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.DataAccess/LoyaltyApiContextFactory.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"69cfdd40ecf421de4faf5d58c13426e4895a376402f550b18d9c375f827ab8bc"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: ObjectStore: \u0060ObjectStore\u0060 keeps mutable \u0060static\u0060 state \u2014 one slot for the whole process, shared by every thread that reaches the type however its instances are created \u2014 and mutates it outside any lock (ObjectDictionary; e.g. \u0060ObjectDictionary\u0060 at line 17). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.DataAccess/Context/Scoped/ObjectStore.cs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"f076f843a57b069241e6db6fa5426288e9ad683704063d156237efc3fd89996b"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: IntegrationApiContextFactory: \u0060IntegrationApiContextFactory\u0060 keeps mutable \u0060static\u0060 state \u2014 one slot for the whole process, shared by every thread that reaches the type however its instances are created \u2014 and mutates it outside any lock (configuration; e.g. \u0060configuration\u0060 at line 29). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.Events.DataAccess/IntegrationApiContextFactory.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c0d83ccd8a2b4a1a17d496e1443a14fc0b4d7c69e2696f82998454c9a2bebe5"}},{"ruleId":"AX3","level":"error","message":{"text":"Namespace dependency cycle: The namespaces Loyalty.Core.Entities.Aggregates.LoyaltyPrograms \u2194 Loyalty.Core.Entities.Aggregates.ProductGroups \u2194 Loyalty.Core.Entities.Aggregates.Products \u2194 Loyalty.Core.Entities.Aggregates.Venues depend on each other. The lightest dependency in the cycle is Loyalty.Core.Entities.Aggregates.ProductGroups \u2192 Loyalty.Core.Entities.Aggregates.Venues (Loyalty.Core.Entities.Aggregates.ProductGroups.ProductGroup \u2192 Loyalty.Core.Entities.Aggregates.Venues.Venue, 1 type pair(s)); cut that one first, e.g. by moving the shared type to a namespace both can use or inverting it behind an interface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Aggregates/ProductGroups/ProductGroup.cs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb3b994d927e7dbe7b20b25895e8587df7c40181d93cd622afa3a05d8ad5fd5"}},{"ruleId":"AX3","level":"error","message":{"text":"Namespace dependency cycle: The namespaces Loyalty.Core.Entities.Aggregates.Orders \u2194 Loyalty.Core.Entities.Aggregates.Orders.Status.Abstract depend on each other. The lightest dependency in the cycle is Loyalty.Core.Entities.Aggregates.Orders \u2192 Loyalty.Core.Entities.Aggregates.Orders.Status.Abstract (Loyalty.Core.Entities.Aggregates.Orders.Order \u2192 Loyalty.Core.Entities.Aggregates.Orders.Status.Abstract.OrderStatusEnumeration, 1 type pair(s)); cut that one first, e.g. by moving the shared type to a namespace both can use or inverting it behind an interface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Aggregates/Orders/Order.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"9126c91f9f9349330b712144f157c84008f438332c4c5b473637375516667ea3"}},{"ruleId":"C3","level":"note","message":{"text":"Partial audit-trail evidence: An audit mechanism is present, but the trail is not yet complete \u2014 missing: an immutable audit-log / audit-trail type to write to, [Audited] per-entity coverage."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"274a04e524f3228d241c99316455563739cb06cfd10a01e446d00b8a14956083"}},{"ruleId":"DM1","level":"error","message":{"text":"Aggregate holds a reference to another aggregate: LoyaltyProductGroup.LoyaltyProgram: \u0060LoyaltyProductGroup\u0060 references the aggregate root \u0060LoyaltyProgram\u0060 directly (via \u0060LoyaltyProgram\u0060) \u2014 hold its \u0060LoyaltyProgramId\u0060 instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Aggregates/LoyaltyPrograms/LoyaltyProductGroup.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"df25720af1d21874b8bfafe945148b839573f421efe0f51c3ca1b89b2ca89e48"}},{"ruleId":"DM1","level":"error","message":{"text":"Aggregate holds a reference to another aggregate: LoyaltyProgram.loyaltyProductGroups: \u0060LoyaltyProgram\u0060 references the aggregate root \u0060LoyaltyProductGroup\u0060 directly (via \u0060loyaltyProductGroups\u0060) \u2014 hold its \u0060LoyaltyProductGroupId\u0060 instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Aggregates/LoyaltyPrograms/LoyaltyProgram.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e0b071cba5f03fd75f9a28eacee13d8c4d3b014e195f9ddc939b10d1d80ea7a"}},{"ruleId":"DM1","level":"error","message":{"text":"Aggregate holds a reference to another aggregate: LoyaltyProgram.LoyaltyProductGroups: \u0060LoyaltyProgram\u0060 references the aggregate root \u0060LoyaltyProductGroup\u0060 directly (via \u0060LoyaltyProductGroups\u0060) \u2014 hold its \u0060LoyaltyProductGroupId\u0060 instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Aggregates/LoyaltyPrograms/LoyaltyProgram.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b1ce4f45ad47ee72d7d37edebd4c1f9746b6f31846b461fe6105b51658ec72"}},{"ruleId":"DM1","level":"error","message":{"text":"Aggregate holds a reference to another aggregate: ProductGroup.OwnerVenue: \u0060ProductGroup\u0060 references the aggregate root \u0060Venue\u0060 directly (via \u0060OwnerVenue\u0060) \u2014 hold its \u0060VenueId\u0060 instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Aggregates/ProductGroups/ProductGroup.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed1dbd8b934247c3eb011f06825f2991afea5425c519658087d765233fac8cf"}},{"ruleId":"DM1","level":"error","message":{"text":"Aggregate holds a reference to another aggregate: Venue.LoyaltyPrograms: \u0060Venue\u0060 references the aggregate root \u0060LoyaltyProgram\u0060 directly (via \u0060LoyaltyPrograms\u0060) \u2014 hold its \u0060LoyaltyProgramId\u0060 instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Aggregates/Venues/Venue.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"b58119e0e78b8f2bf9caffd9cdfd2cb0896f9c8c8c2142ea0de7d93b5c4265b2"}},{"ruleId":"DM1","level":"error","message":{"text":"Aggregate holds a reference to another aggregate: Venue.ProductGroups: \u0060Venue\u0060 references the aggregate root \u0060ProductGroup\u0060 directly (via \u0060ProductGroups\u0060) \u2014 hold its \u0060ProductGroupId\u0060 instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Aggregates/Venues/Venue.cs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"624566e6bf438eb37693a02e46e75622882a9ffdc8cf6c500454dc09605fe9b8"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: LoyaltyProgram: \u0060LoyaltyProgram\u0060\u0027s public constructor takes \u0060name\u0060, \u0060description\u0060, \u0060venueId\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060LoyaltyProgram\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Aggregates/LoyaltyPrograms/LoyaltyProgram.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"0afd444149b58ae2d36491bc91616648e9cf7797fdcd2c5446965cd7ed9f743d"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: OrderItem: \u0060OrderItem\u0060\u0027s public constructor takes \u0060id\u0060, \u0060amount\u0060, \u0060productId\u0060, \u0060orderId\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060OrderItem\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Aggregates/Orders/OrderItem.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5085d1b14244dddc748620651dc78b0d32d7a5261b956b9d11a37462aa5acc9"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: ProductGroup: \u0060ProductGroup\u0060\u0027s public constructor takes \u0060venueId\u0060, \u0060name\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060ProductGroup\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Aggregates/ProductGroups/ProductGroup.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"197d8da3cc068e98cbd7883a044f32be7f3c92a8abb49c9d993c8fffe85c14a6"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Product: \u0060Product\u0060\u0027s public constructor takes \u0060name\u0060, \u0060price\u0060, \u0060description\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Product\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Aggregates/Products/Product.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d15f7fe36308dfaa59a6445372af72982c4964b86817bf34e154e221df666dc5"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: Venue: \u0060Venue\u0060\u0027s public constructor takes \u0060name\u0060, \u0060ownerId\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060Venue\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Aggregates/Venues/Venue.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"397246b3751e1697808590a6772f02ec83a78c6aa391875f49c9044ee9f87cf8"}},{"ruleId":"DM11","level":"warning","message":{"text":"Constructible in an invalid state: VenueWorker: \u0060VenueWorker\u0060\u0027s public constructor takes \u0060venueId\u0060, \u0060workerId\u0060, \u0060positionName\u0060 as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for \u0060throw\u0060, \u0060Guard.\u0060, \u0060Ensure.\u0060, \u0060ArgumentNullException\u0060, \u0060ArgumentException\u0060, \u0060CheckRule\u0060, \u0060Requires.\u0060 or an \u0060\u2026Exception.ThrowIf\u2026(\u0060 helper, and so was any method of this type it calls \u2014 a guard reached further than that is not seen. A static factory beside it was NOT counted: while this constructor is public a caller can skip the factory. If the constructor validates in a way this search misses, this row is wrong. If it does not, a caller can build a \u0060VenueWorker\u0060 that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a \u0060Create\u0060 that can refuse."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Aggregates/Workers/VenueWorker.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"17127b69891a858eb719140e2ef8767c2c9676492ad1bbb7e3847ddf486c8a04"}},{"ruleId":"DM12","level":"warning","message":{"text":"Domain type reads the wall clock: PurchaseBurnedEventHandler: \u0060PurchaseBurnedEventHandler\u0060 reads \u0060DateTime.Now\u0060 inside \u0060Handle\u0060. The rule this feeds is not a function of its inputs: it cannot be tested at the instant that matters without moving the machine clock, and two reads inside one operation can observe different times. Pass the instant in as a parameter, or inject \u0060TimeProvider\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.DomainEvents.Handlers/Purchases/PurchaseBurnedEventHandler.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a7d1497dfde530c160990fbb18fee9416e0d7b281d71a3cf363c980b6d1201"}},{"ruleId":"DM12","level":"warning","message":{"text":"Domain type reads the wall clock: PurchaseMadeEventHandler: \u0060PurchaseMadeEventHandler\u0060 reads \u0060DateTime.Now\u0060 inside \u0060Handle\u0060. The rule this feeds is not a function of its inputs: it cannot be tested at the instant that matters without moving the machine clock, and two reads inside one operation can observe different times. Pass the instant in as a parameter, or inject \u0060TimeProvider\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.DomainEvents.Handlers/Purchases/PurchaseMadeEventHandler.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb7ce060f3bfebb0556d9694fff2eeee077df3e6c237d4e09b76db9ac6c3ce8"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: LoyaltyProductGroup.LoyaltyProgramId: \u0060LoyaltyProductGroup.LoyaltyProgramId\u0060 is a raw \u0060Int64\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Int64\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Aggregates/LoyaltyPrograms/LoyaltyProductGroup.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd77e6b382df14526017bac23def3fa32913aa322c38588bd10452c2df23b66"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: LoyaltyProductGroup.ProductGroupId: \u0060LoyaltyProductGroup.ProductGroupId\u0060 is a raw \u0060Int64\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Int64\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Aggregates/LoyaltyPrograms/LoyaltyProductGroup.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ffa5c48f44f0050195ed6bd649ae02eee39957415547b340dfdd4a41c9bc28"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: LoyaltyProductGroup.TenantId: \u0060LoyaltyProductGroup.TenantId\u0060 is a raw \u0060Int64\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Int64\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Aggregates/LoyaltyPrograms/LoyaltyProductGroup.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce424436374f9e321aed8a98042ce59f12e6046bbc95b8bf806adf9ee0504820"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: LoyaltyProgram.VenueId: \u0060LoyaltyProgram.VenueId\u0060 is a raw \u0060Int64\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Int64\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Aggregates/LoyaltyPrograms/LoyaltyProgram.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c43675705be6f8f73c0c3845b00008a7fcc2bc918a90deb8b27318f1128c96"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: LoyaltyProgram.TenantId: \u0060LoyaltyProgram.TenantId\u0060 is a raw \u0060Int64\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Int64\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Aggregates/LoyaltyPrograms/LoyaltyProgram.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be990fc188b7e2a9f5082842a01283637036cae899115c9e0358f441f2734d1"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: Order.TenantId: \u0060Order.TenantId\u0060 is a raw \u0060Int64\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Int64\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Aggregates/Orders/Order.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f32d71dbc2176d7c27072a159f5268aa2ff09a838714187f95148324bcddafd"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: Order.VenueId: \u0060Order.VenueId\u0060 is a raw \u0060Int64\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Int64\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Aggregates/Orders/Order.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"beccd95696bca1bc9244d32f32a88f0696cdd945658ddaaa7b396ae17e9064c9"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: OrderItem.TenantId: \u0060OrderItem.TenantId\u0060 is a raw \u0060Int64\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Int64\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Aggregates/Orders/OrderItem.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8278c503707c546a70d63c889d0560830ca83fd2c15be7ee53510c371081c142"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: OrderItem.ProductId: \u0060OrderItem.ProductId\u0060 is a raw \u0060Int64\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Int64\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Aggregates/Orders/OrderItem.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e88abd1691ebcfe7e2ea667ffb9a973e6e720642293b41d3c27bf62666f8243"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: OrderItem.OrderId: \u0060OrderItem.OrderId\u0060 is a raw \u0060Int64\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Int64\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Aggregates/Orders/OrderItem.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c35b8bae767b4c087eb3a2594d50207d49e3f77d73b03f377ce489460f74616"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: ProductGroup.VenueId: \u0060ProductGroup.VenueId\u0060 is a raw \u0060Int64\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Int64\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Aggregates/ProductGroups/ProductGroup.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee67fe3e4f45559101ac0ac16e7d3f3741d67c5bf38fe4c2031115c4dfb315f"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: ProductGroup.TenantId: \u0060ProductGroup.TenantId\u0060 is a raw \u0060Int64\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Int64\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Aggregates/ProductGroups/ProductGroup.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"13bf7dff0af2aa895bf42b8be8f68d2dd6b6d15200bce57005046e50a3628a1f"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: Product.ProductGroupId: \u0060Product.ProductGroupId\u0060 is a raw \u0060Int64\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Int64\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Aggregates/Products/Product.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f23f1bc3f0fa290a5de933504a521af1c55e00131aa0b923533cab9811b6d9f"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: Product.VenueId: \u0060Product.VenueId\u0060 is a raw \u0060Int64\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Int64\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Aggregates/Products/Product.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"6924a0070bf79799c769882d0abe3db8247f0e917a067338bab849950bbf37f8"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: Product.TenantId: \u0060Product.TenantId\u0060 is a raw \u0060Int64\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Int64\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Aggregates/Products/Product.cs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf03fb5034facb4e1cabda103aa3963aedc92b190177f84d5a65e34796f6948"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: Purchase.LoyaltyProductGroupId: \u0060Purchase.LoyaltyProductGroupId\u0060 is a raw \u0060Int64\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Int64\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Aggregates/Purchases/Purchase.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"f826215ffbeab379e68fc38f348076442827e48281f9b4f50c8ecb6b1b3fbc1f"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: Purchase.VenueId: \u0060Purchase.VenueId\u0060 is a raw \u0060Int64\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Int64\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Aggregates/Purchases/Purchase.cs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e500ad3a2b868fe49d705a8b42c4ee44d6ebf698962027ead7c0510408baea"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: Purchase.ProductId: \u0060Purchase.ProductId\u0060 is a raw \u0060Int64\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Int64\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Aggregates/Purchases/Purchase.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"362826fd790a487fa34ea78774182f151a8ba98efc126b30e895aef371b9c28d"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: Purchase.UserId: \u0060Purchase.UserId\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Aggregates/Purchases/Purchase.cs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1545f1584592a5284cb057cc7d9a8703271601041e658550347eac32d4784eb"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: Purchase.TenantId: \u0060Purchase.TenantId\u0060 is a raw \u0060Int64\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Int64\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Aggregates/Purchases/Purchase.cs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f4cd8c0b167aa2cc7d2b59af2dc00db9740586a1f7bd687c525bdd401793b17"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: Venue.OwnerId: \u0060Venue.OwnerId\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Aggregates/Venues/Venue.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd16b0e86e5e4f8bdd6dd0bcecae5dd6eee51871de5ab69aa6237aa26a5ed6e"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: Venue.ParentId: \u0060Venue.ParentId\u0060 is a raw \u0060Int64\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Int64\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Aggregates/Venues/Venue.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"48fffbe12ac4284c4e161348d0513a5add6a63b487294735ea087133e1327579"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: Venue.TenantId: \u0060Venue.TenantId\u0060 is a raw \u0060Int64\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Int64\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Aggregates/Venues/Venue.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d2aee904f8c12802b32396736ac3da856a7e25d4d2058ed9adfdad1b9eaea3"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: VenueWorker.VenueId: \u0060VenueWorker.VenueId\u0060 is a raw \u0060Int64\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Int64\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Aggregates/Workers/VenueWorker.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b14536c050a3729ed44140128ce215349553eec8f7e2ab903b4c4ebf198f4d7"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: VenueWorker.WorkerId: \u0060VenueWorker.WorkerId\u0060 is a raw \u0060Int64\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Int64\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Aggregates/Workers/VenueWorker.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"b54ff1e8fa2ab6f4a90ccb5b957a71e1b2dcd1119683444ff788a0a7fd60e0a1"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: VenueWorker.TenantId: \u0060VenueWorker.TenantId\u0060 is a raw \u0060Int64\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Int64\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Aggregates/Workers/VenueWorker.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bbb905fe9deafa32cd504b8ac828d07adf2a93683ffb0583fcbac53352ca479"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: Worker.WorkerId: \u0060Worker.WorkerId\u0060 is a raw \u0060String\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060String\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Aggregates/Workers/Worker.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"b744fb987fb23865a3d3ca49b93224efec1eff180f779a57fe2ca9ef6b9d731a"}},{"ruleId":"DM2","level":"note","message":{"text":"Primitive id on a domain type: TenantEntity.TenantId: \u0060TenantEntity.TenantId\u0060 is a raw \u0060Int64\u0060 \u2014 give it a strongly-typed id: a dedicated single-field type wrapping the \u0060Int64\u0060, in whatever form your language spells that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Base/TenantEntity.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ef038e8c6083ddd212a199fba44b7c8cde92f1463c5c90f23a23b16e90d63f"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: OrderItem: \u0060OrderItem\u0060 is an aggregate/entity with 7 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Aggregates/Orders/OrderItem.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d3af3d36a1d18ab3a98ab5358c8ee51ce8201e5ea28a02ad5771ad91de8336"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: Purchase: \u0060Purchase\u0060 is an aggregate/entity with 6 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Aggregates/Purchases/Purchase.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc61d9ddbb35736f178d04c01293b897bd8e4ea20905fdff4d68cacb250aa621"}},{"ruleId":"DM4","level":"warning","message":{"text":"Anemic entity: VenueWorker: \u0060VenueWorker\u0060 is an aggregate/entity with 5 data propert(ies) but no state-changing behaviour (only data and queries) \u2014 the business logic lives in a service."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Aggregates/Workers/VenueWorker.cs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fbe3042ac9966aa2c1864921b77b1137dd0584fc2c81820f47a1f31e9fa4fd8"}},{"ruleId":"DM5","level":"note","message":{"text":"Mutable entity: Order: \u0060Order\u0060 exposes publicly writable state (Id)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Aggregates/Orders/Order.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa49bc7fe51d07494b46c09e3bd193efae186bb6b31465a1eb6bd0d9ff36a1c"}},{"ruleId":"DM5","level":"note","message":{"text":"Mutable entity: OrderItem: \u0060OrderItem\u0060 exposes publicly writable state (Id)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Aggregates/Orders/OrderItem.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e5ce319041747d0765f60b358257f87583c66e937ce60c04174235695847a1"}},{"ruleId":"DM5","level":"note","message":{"text":"Mutable entity: ProductGroup: \u0060ProductGroup\u0060 exposes publicly writable state (OwnerVenue)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Aggregates/ProductGroups/ProductGroup.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"51378f94a374ca096ad9567a30a51cda50ecb879ef45bb425211442a36453d4f"}},{"ruleId":"DM5","level":"note","message":{"text":"Mutable entity: Venue: \u0060Venue\u0060 exposes publicly writable state (Images, LoyaltyPrograms, ProductGroups)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Aggregates/Venues/Venue.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"5152b6c717629f7b08eb0b6604fb9705145305556464104363863f8b9b8fb82c"}},{"ruleId":"DM5","level":"note","message":{"text":"Mutable entity: AuditableEntity: \u0060AuditableEntity\u0060 exposes publicly writable state (CreatedBy, ModifiedBy, Modified, Created)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Core.Entities/Base/AuditableEntity.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c72db01ec775f039259804c205168cf6a47a9b8b0b2da6d203c0aaec68905c7"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain depends on infrastructure: Loyalty.Domain.Handlers.Firebase.Queries: The domain project \u0060Loyalty.Domain.Handlers.Firebase.Queries\u0060 references \u0060System.Data.SqlClient\u0060 \u2014 a persistence dependency; the domain should own a port and let an infrastructure project reference it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Domain.Handlers.Firebase.Queries/Loyalty.Domain.Handlers.Firebase.Queries.csproj"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b2e55c658edc6965d7ddaedde64128585f85895ebd4c4bb8fdd7b4d9b53b64"}},{"ruleId":"ED5","level":"warning","message":{"text":"Non-idempotent mutation: LoyaltyProductGroups.CreateLoyaltyProductGroupCommandHandler.Handle: \u0060LoyaltyProductGroups.CreateLoyaltyProductGroupCommandHandler.Handle\u0060 mutates persistent state (a repository write) and appends to \u0060loyaltyProductGroups\u0060 (line 71) in \u0060LoyaltyProgram.AddLoyaltyGroup\u0060, so a re-run applies it again. A retry or at-least-once redelivery runs it again \u2014 add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.Handlers.Commands/Commands/LoyaltyProductGroups/CreateLoyaltyProductGroupCommandHandler.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"7764e17ba668b5aca913c73de215ed388d3e099effdcc6052e395bce5cb18e16"}},{"ruleId":"ED5","level":"warning","message":{"text":"Non-idempotent mutation: LoyaltyPrograms.CreateLoyaltyProgramCommandHandler.Handle: \u0060LoyaltyPrograms.CreateLoyaltyProgramCommandHandler.Handle\u0060 mutates persistent state (a repository write) and inserts a new \u0060LoyaltyProgram\u0060 with no identity assigned (the store or its constructor generates a new one) (line 34), so a re-run inserts another one. A retry or at-least-once redelivery runs it again \u2014 add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.Handlers.Commands/Commands/LoyaltyPrograms/CreateLoyaltyProgramCommandHandler.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd9fbb1b845a743c917770dd45839a0859889ef688b58adc1ed8492638f4879b"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.DataAccess/Context/EmptyMediator.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a52f23dbbab6fa2b884303d1d2f9e2a2d7409fc5f5e733b4a3a7a3266a1975"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.DataAccess/Context/EmptyMediator.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3248884f51bf06e5b61bc23196644146bb6864dae31397c9b0f676882958a9d"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.DataAccess/Context/EmptyMediator.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9766612e11db7dc81c2314a6fe928c3bfaa717e7a206307911605e3e0f42761"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.DataAccess/Context/EmptyMediator.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7585b6b9155b507c27401dfb41a3db8b332afd33c60546b72540aae177cf0c7b"}},{"ruleId":"IC1","level":"warning","message":{"text":"Skeleton type \u2014 most members are unfinished: \u0060EmptyMediator\u0060 has 4 unfinished members out of 4 declared members (methods, properties, indexers and events, whether or not each carries a body) \u2014 a scaffolded type that was never implemented."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.DataAccess/Context/EmptyMediator.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"98daf99a18edeb16b4838ef41128ec47045d92741a1c07d83a6259839266d365"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060Send\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.DataAccess/Context/EmptyMediator.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9e19d3cd95c0bc112a98dfa9617e0dbc096562aa07ee41c9132a10c8c19960d"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060Send\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.DataAccess/Context/EmptyMediator.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"34bf8cf4bb8b4bbff94075f6650c78fbb65ebe696778afcad022edcca84c5193"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060Publish\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.DataAccess/Context/EmptyMediator.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7489feb38a2508d5e0691b996a4e3164be2c06be51d07028d899bba35c29b24"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060Publish\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.DataAccess/Context/EmptyMediator.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"0694cb63821cc727b70c4f7c1123b2acd2e236547d12b0f3430bca6c3176474f"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060Handle\u0060 is declared \u0060async\u0060 but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop \u0060async\u0060 or do the real async work."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.Handlers/Queries/Purchases/GetClientActivePurchasesQueryHandler.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"9585b23a23181065e0a713179124bc6a30e03d599bdb741957c3c67ae70ed8b5"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060Run\u0060 is declared \u0060async\u0060 but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop \u0060async\u0060 or do the real async work."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/LoyaltyProgram/Http/Read/Ping/LoaderIoFunction.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e165374a92f24143c70cfa223010d0c2d8ae013480b015009f0634b0ee331b"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.DataAccess/Context/Scoped/ObjectStore.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2e44150aecdbb7294ab76d5b2f913fdb71352102318fbb2967e0efdfb723a19"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/LoyaltyProgram/Http/Write/VenueImages/VenueCreateImageFunction.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb2995dd3756d85531b327adcbb46057bdfa8ed7fd5b3aff54d1c262c9bb9cc"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/LoyaltyProgram/Startup.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb86bc3aa517cd0cb2204333a19b2e5a79ecaa6f6f78518123a75c88cdeb724"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P10","level":"note","message":{"text":"Large public API surface: 68/68 types (100%) are public. For a library, every public type is a stability contract \u2014 make internal-by-default and expose only the intended API."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ed2ba843444ae377c17142f58f714e281e4bd3f183ab100ee1fbef389875d3e6"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060new HttpClient()\u0060 builds an outbound HTTP client and nothing bounds it: no timeout is set on it and no retry or resilience policy wraps its calls in the type that owns it. This codebase ships libraries/tools rather than a service it operates, so the failure lands as a hung caller \u2014 a build step, a CLI run, a UI thread \u2014 with no way out."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.Firebase.Handlers/Queries/GetClientInfoFirebaseQueryHandler.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"4641adffd597b7cb332a088e21d58dfdc19fce49f94146c5e6b339ddc8c44116"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060new HttpClient()\u0060 builds an outbound HTTP client and nothing bounds it: no timeout is set on it and no retry or resilience policy wraps its calls in the type that owns it. This codebase ships libraries/tools rather than a service it operates, so the failure lands as a hung caller \u2014 a build step, a CLI run, a UI thread \u2014 with no way out."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/LoyaltyProgram/Storage/SmsByInviteFunction.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e18d9077bb58c45823523c32f8598151e3e6ed777b5905b9ea40706e1a1cba"}},{"ruleId":"PF1","level":"note","message":{"text":"No performance benchmarks: No benchmark suite was found by the two searches this check runs. FIRST, a BenchmarkDotNet package reference in any project file \u2014 every project the workspace loaded, plus a walk of project files on disk that never loaded, because a benchmark suite is exactly the project a partial load drops. SECOND, a script harness: a file whose name contains \u0060benchmark\u0060 and ends \u0060.py\u0060, \u0060.sh\u0060, \u0060.ps1\u0060, \u0060.bash\u0060, \u0060.rb\u0060, \u0060.js\u0060 or \u0060.mjs\u0060, credited ONLY when this repository\u0027s CI text also mentions benchmarks \u2014 a harness no pipeline runs is read as a fixture, deliberately. Neither search can see a benchmark suite in another ecosystem\u0027s idiom (a Go \u0060testing.B\u0060 file, a JMH or criterion project, a pytest-benchmark run), so this is \u0027no benchmark found by those two searches\u0027, not a verdict that the repository has none. Where code is performance-sensitive, a benchmark guards against silent regressions \u2014 but it\u0027s a bonus here, not a deduction."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fd90d18ee3bb127e8033d41e8efe4e131487a6d794a5730a72c56105ef7485ea"}},{"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":"X1","level":"warning","message":{"text":"Blocking \u0060FileStream.Read\u0060 inside an \u0060async\u0060 method: \u0060FileStream.Read\u0060 blocks the thread on I/O while \u0060FileStream.ReadAsync\u0060 exists to wait without one \u2014 inside a method that is already \u0060async\u0060, await the twin."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/LoyaltyVenueImageAppService.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"04263fdf44cf05776ebc8ef7b2e8c560490253b44ceca7e29c17203dd64c28ed"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!String.IsNullOrEmpty(logo) \u0026\u0026 !String.IsNullOrEmpty(imageStorageSettings.Value.CDN) \u0026\u0026 !String.IsNullOrEmpty(imageStorageSettings.Value.Sto\u2026\u0060 appears character-identically in 2 files \u2014 src/Loyalty.Application.Venue/LoyaltyVenueAppService.cs, src/Loyalty.Application.Venue/WorkerAppService.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/LoyaltyVenueAppService.cs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f2131528391605113659b5689e540c5a35bb35c32195944226b4444a8fcc6ea"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!String.IsNullOrEmpty(request.NewEmail) \u0026\u0026 !request.IsEmailVerified\u0060 appears character-identically in 2 files \u2014 src/Loyalty.Infrastructure.Firebase.Handlers/Commands/User/UpdateUserEmailCommandHandler.cs, src/Loyalty.Infrastructure.Firebase.Handlers/Queries/GetVerificationLinkQueryHandler.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.Firebase.Handlers/Commands/User/UpdateUserEmailCommandHandler.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc370e9f8099829b79859d9a47be81df5b1823957457e2da59e839f87f89f13c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060groupEntry.IsAvailableForOrder \u0026\u0026 (product?.IsAvailableForOrder ?? false)\u0060 appears character-identically in 2 files \u2014 src/Loyalty.Infrastructure.Handlers/Queries/ProductGroups/GetProductGroupByIdQueryHandler.cs, src/Loyalty.Infrastructure.Handlers/Queries/ProductGroups/GetProductGroupsByUserIdQueryHandler.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.Handlers/Queries/ProductGroups/GetProductGroupByIdQueryHandler.cs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a7880b8f7d8e5f58b2f929b92ab6d111f87c106794e902875941e3550b99e3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060x.Day \u003E= 0 \u0026\u0026 x.Day \u003C 7 \u0026\u0026 x.To \u003C= 24 * 60\u0060 appears character-identically in 2 files \u2014 src/Loyalty.Application.ViewModels/Validators/Venue/CreateVenueValidator.cs, src/Loyalty.Application.ViewModels/Validators/Venue/UpdateVenueValidator.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.ViewModels/Validators/Venue/CreateVenueValidator.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1fe9f33b02163c394a2593751adc796de544b9c51002c3ee6ac5c225751f678"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async methods take a CancellationToken: Only 114/220 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: Run: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/LoyaltyProgram/Http/Read/Code/PurchaseGetActiveByCodeFunction.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"416f5e30412316d8ef264c252812bc93fb8ad975f6e09bd83491eb82e7fae572"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Run: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/LoyaltyProgram/Http/Read/VenueImages/VenueGetImagesFunction.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fae87568d041d72f6c3a8c79436c43e76d90b12c8ad729523d06724dee05b60"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Run: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/LoyaltyProgram/Http/Write/Product/ProductImagePatchFunction.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"8391c29d30c03c08781e68278543402e34aff72158e415b5cfba79b81ce316c5"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Run: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/LoyaltyProgram/Http/Write/ProductGroup/ProductGroupPostFunction.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a477b5f53d6a81326415f3166b7ae450e54624839c6ab8ae8d45b00d07b7445"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Run: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/LoyaltyProgram/Http/Write/ProductGroup/ProductGroupPutFunction.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"45aa78e405b3f2d7fe839a823018790791bfbd8bf75a8e147d05afd4b39071f3"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Run: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/LoyaltyProgram/Http/Write/UserProfile/UserProfilePatchLogoFunction.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ceaf032a097fbf504d5fd2b01f7904de286ebcc627bc5baea0d792c9dbab98f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Run: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/LoyaltyProgram/Http/Write/Venue/VenuePostFunction.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ad1d8785c88065533285bd799b02d6ecd0d7a4c6fd136e3bbb92cf119efe119"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Run: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/LoyaltyProgram/Http/Write/Venue/VenuePutFunction.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"abda74817f2dfe27a438b1e43a3afd1c5f35ac4440f2ab13a6571a4c3fa6e7ca"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Run: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/LoyaltyProgram/Http/Write/VenueImages/VenueCreateImageFunction.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9dba26b4902931211536457317bd744728e0cfd9c477d9a7184d4d0da6e729"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Run: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/LoyaltyProgram/Http/Write/VenueImages/VenueDeleteImageFunction.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"33eca0a254ea8279af010f3a2ba7afef1542091bcd8df7717f9b4e9bf337768d"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Run: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/LoyaltyProgram/Http/Write/VenueLogo/VenueCreateLogoFunction.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"df11a2d0a555c807defedfa5e857ca7df90df9c813cde421fa3e50f507f9ff9b"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Run: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/LoyaltyProgram/Http/Write/VenueLogo/VenueDeleteLogoFunction.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"e57487d13648160282f293034f51efa2f3058bae2ce0a4f4d831d5b80ca832db"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Run: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/LoyaltyProgram/Http/Write/VenueLogo/VenuePutLogoFunction.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e4f0cc97f07f8244da51ca27ee2954b841292b0b992dab4be7f0109f4df2422"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Run: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/LoyaltyProgram/Http/Write/Worker/WorkerPutFunction.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b613661bc54c2124d3c0282b438567af0634759b1e1c20760b7b43a8878ca5"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ProcessClientCode: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/LoyaltyProgram/ServiceBus/ClientEventsFunction.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba029e97b73bffb393ec98b6cb940e3be32ccc06f12103852ca8690f3468a636"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: CreateOrder: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/LoyaltyProgram/ServiceBus/ClientEventsFunction.cs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"df791bfcdda7810fccba0e12e6e8c80498e26523c342d46e4a7d25df566881eb"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: PatchOrder: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/LoyaltyProgram/ServiceBus/ClientEventsFunction.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a9f06343f18f015b836c54d972b1c3b0f53ab93354fc6577ccc4b03c116683"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Run: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/LoyaltyProgram/Storage/NewOrderArrivedNotificationFunction.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f30dbb9f82acf111302c0de8c43523add2774142b2dd973a45ecb51864e39cd"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Run: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/LoyaltyProgram/Storage/OrderChangedNotificationFunction.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb63846ec1ea9581ef49cdd039669b4b738f02a4015799c0546dc7824041efa"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Run: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/LoyaltyProgram/Storage/OrderDeclinedNotificationFunction.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"8217e86434207105be8c6cac3d5375f9fbc4c224aa842d6c656298ee404c39ad"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Run: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/LoyaltyProgram/Storage/PurchaseNotificationFunction.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef8dce6b2271cd38e698615576658d4dbbd1b590dbb8278ae86028a9a433098d"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Run: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/LoyaltyProgram/Storage/SmsByInviteFunction.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"db922895001a95480e004b3b52d5c3e5efcd83e546d3ceef3739558c38bc728f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Get: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/ClientInfoAppService.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4acf714eb3be70f5d9416ef3eebf5c4f4047b74253f6955e3cd676d97ed5eb7"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetByCode: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/CodeAppService.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"2019687e77edc0d10f979ea00cca519cde182b46c69d2bfad141170e5f5a59dc"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Get: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/LoyaltyProductGroupAppService.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d4426fd9ca8e1347e5c22b786d8c3d02aea4a9a448cbc42edfb908b39e8e5e"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetAll: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/LoyaltyProductGroupAppService.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f31bfc0e7595d925979c14d4a24d14e1898c7e55a0ba45161126da778ca3a9f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Create: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/LoyaltyProductGroupAppService.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"7599e0a182d469f6cd5ff7df998a012d5633dcd0c0f413643261ee9c19509b35"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Update: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/LoyaltyProductGroupAppService.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"fffbafdb47f4dead1bf8289272509fc2bd62aed6b6fc3a13b74bc6ac2f1b679c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Archive: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/LoyaltyProductGroupAppService.cs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"04468cfbb98e724c429daf6587ea44133072df4be338af24117289436db67335"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Get: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/LoyaltyProgramAppService.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a1f437090675bd250da9e85a9f671266004755e1749f94e26680f04b804c84"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Get: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/LoyaltyProgramAppService.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4edbbebe7985dc7c9eb01faefc03e8d83eb6ed3bd483f720ab8cfca6d57d041"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Get: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/LoyaltyProgramAppService.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac1b9e794900861fdbcff922cb7f13f279c527ecaa31a461b3ab91af7f0ebad9"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Create: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/LoyaltyProgramAppService.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e6abe3ac3f00a7331b83445ceaa4b0946b5ae4b5796b65d8441de4ba376443"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Update: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/LoyaltyProgramAppService.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"778d96610e1b9fe87d555920d515fcf18de531427720ba8830a67c93bd19de4d"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Archive: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/LoyaltyProgramAppService.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"bac6c46e1dbe8ae948220ece44e38d2c9c1fb61aae4fbb4ccbe0d3ba3eb2f09a"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Get: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/LoyaltySignupAppService.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf4c3b82c30291860f175e2ed6efdc6c54246a584dce15331b551750e713607a"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Get: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/LoyaltyVenueAppService.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"297def105c379f7aaf2766a771f68ad249eeff47d3bb5c951b22237d486464ee"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Get: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/LoyaltyVenueAppService.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"800b1bfed114be9dc66ee5f7b87bbe35503b6cb20a74774538d545914c8d462b"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetAllVenuesForAdmin: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/LoyaltyVenueAppService.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c38643eda4f8b8a04ef316e8749f144d67ae076b73584eab62a5ae3e552e88"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Create: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/LoyaltyVenueAppService.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"6afb00d743ff3f67bf7da5305bc7c3edce92e3a1d9582d2ad137ca9c544b3442"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: AcceptOrders: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/LoyaltyVenueAppService.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd2bc976035682db3636285f469ee33b7bc7796aa3f790196dc2995c191ac3d1"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: DeclineOrders: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/LoyaltyVenueAppService.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a55149bfdfb02d016f55cfaeafd811c60f82964b6b15b1929a270b895bd079f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Patch: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/LoyaltyVenueAppService.cs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"f40eaa7c81d7232dec63c8761fb66e6ff34125fdbcb3285f712ca21a17fb4d1c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: PatchLogo: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/LoyaltyVenueAppService.cs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede8ee88868005d5bc52636347c8c582a03cc345ec9e9afcddffcc341bfb3f38"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Archive: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/LoyaltyVenueAppService.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28a6e8c6d1c05b0b5896c480a3b038e95dd01223501f15c94ab5e33ab808898"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Approve: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/LoyaltyVenueAppService.cs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"44adffee054e3c6ac68cc08043e74d1b194a87fcf9345a00b74a277307fa840d"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Reject: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/LoyaltyVenueAppService.cs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea34bf307c747341d3932407634d463eba12c0f2a2e1da3c6936b2c8b53dd0c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Update: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/LoyaltyVenueAppService.cs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f382f30bebf744b3accd5412edbaa63ff7124d2dc3ab4652879ded8f786b830"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ConvertImage: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/LoyaltyVenueImageAppService.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a65d6d3ede5247ea282ed8491e757bee5be394b6e37d6134c8475b9122edbf"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetImageOrNullAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/LoyaltyVenueImageAppService.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"210ffb71250ec94cf04ab6145431f9ca9cb93d64c6f5507293c03f07e43d5eae"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetImageOrNullAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/LoyaltyVenueImageAppService.cs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d018ae76726eaa934c45a94604fae5c8eb402cc41df4ae871b3d4356f0bec3"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetImages: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/LoyaltyVenueImageAppService.cs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"315fcfebb6aabf1d2d5f856af379130e1ad0ded9771b3ebae86154fe301b7440"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetCount: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/LoyaltyVenueImageAppService.cs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1770452cb0f136b4e0bdac85c15bc802367e0cbe4839c0fdd2c8e894153f95c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetBlobForImageAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/LoyaltyVenueImageAppService.cs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ccf0851bb84d5392c669aae3cc6bf587c66aeaa89bcc2985e0d382610c6475d"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Get: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/OrderAppService.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5f20856b6949bc8174e0b0512af3de77541ab61780464f6cc5bb1fd0ee3f49"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetAll: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/OrderAppService.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ef5bf3ce68c3ae3afadf63e2ea11f27e58049463f222a04f427e828d1f4a41"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: PatchStatus: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/OrderAppService.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef2fe08b4e0f786fbae1c79bb100e52fc70e235bb14d3ec8d8e6d81cad36a95"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Get: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/ProductAppService.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4fadf213987005e00433991d65991e3e097635f69a68690c6f5602855f9cc6d"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetAll: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/ProductAppService.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d0dc2871bb80821a2671e601a8b628f1c9cd55be7ebcda34a3c03f3390f55c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Create: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/ProductAppService.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a7be112589d083acba3b1c95f03cb96a964ba6b7a0d9fdecd4121b552b5d60"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Update: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/ProductAppService.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"45664cf3b1b315049cdc5816d675e178565e99751c9a8497c3ea9ac25ea46d1e"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Patch: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/ProductAppService.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c392064947655b577c1a597101406f083abf6e29b22821e90826380db6ad7c0"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: PatchImages: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/ProductAppService.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"714c7994ea66e33b30c37874ed2d79f1632652e21751195fc603f44a3d1eed14"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Archive: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/ProductAppService.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a3e0fbb5ab9e95a0864621ee695e5262c1a5cc3be29a9d438878fbe6986cad"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Get: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/ProductGroupAppService.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a784b4f1c9c20464698bb03172e4e3e4f67817d8c2942983b66b3f718962d0e"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Get: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/ProductGroupAppService.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"628d1646c7b4aa24892ad84293971ec4aa5119608d55de421fafc15ae4178e5c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Create: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/ProductGroupAppService.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"255947ffb870e97b1c3d7837708a3544607a6b383ad20dcbb7abf51d9c96c3f8"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Update: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/ProductGroupAppService.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff9255fbf653b89bd23fc36f22834b9299b5c10d8f244d4cb788ec1559b6cb68"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Patch: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/ProductGroupAppService.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17e17af61ad7bf0299a0d3b10753ef1db6731e700c04ca97031ac929762a319"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Archive: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/ProductGroupAppService.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"0540ff280b0a60516744c5d9a7000f6be16cf11713a9fdd886117a183e2012af"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetActivePurchases: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/PurchaseAppService.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2afa05cbdb0c231b0f504548221edfd16239c6b305e6a6365a56d248c003128"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Purchase: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/PurchaseAppService.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a28b8c0133fee006a633bd44a221c3593eb4f2368faefb020dd29b94d50330"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: CreateAndBurn: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/PurchaseAppService.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"b54db703f1e16a95fed12fa10ee1225912176cf1670a98020db648a5fe1acc57"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Burn: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/PurchaseAppService.cs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae06f38e0e97b798c2a7e4456b3be79cf9f5b44661f0d78a435d31b722885e9"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Rate: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/RateUserAppService.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"74192a1ab3432b00ff915745f196c05d419f86275ca48bd45e78f3d5ef6f6db5"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: StartSignup: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/SignupAppService.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"14fe1779a8036c5586a2d26e318847eefdd339379b7b25b3085fe6de58b2f143"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetProfile: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/WorkerAppService.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82176c9e3c01a7e03dacec43c680e19a7c40d42b8e0e0e5c54d72ee4be24d8a"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Get: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/WorkerAppService.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"73353528fc84d628f145d1406733e75d7bca0b16ba66f9a7a624229c644867ec"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Get: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/WorkerAppService.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7709153219f5840fb4ffc4af3259d6cbe2663eadf52960e60f665c2b685b44f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Invite: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/WorkerAppService.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd93b8670d89f87639d9cd153a05fd677b5f55ecf347a8d7bc095b03fa72f27d"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: UpdateInvited: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/WorkerAppService.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"f27bb17f5bb46c6dd760a52c68faa3ebc674731ccfc51b14b9bfcb8ab8eb93f2"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: UpdateProfile: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/WorkerAppService.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bcaa3979352124a64d828b051cb6e2d52fca575fe491cc9ee480fd6e38d7c2c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: SetupEmail: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/WorkerAppService.cs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef0012dd791ad2fe07289d310ccffce1ab4e826fbe05e969f850a3f1079e055"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Archive: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/WorkerAppService.cs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"441a923953dabbda9b3d53efd036b3647157c7e43bd46f342c3faef64e637cdf"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: PatchPhoto: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/WorkerAppService.cs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"353f7c5f12e0409360e14f1787b8eb8ce69f02c72b3801606a8fa8ff9a0495f1"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: BeginTransactionAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.DataAccess/Context/TransactionalContext.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"051567161f91dcebb6d1e3b5cb7b40fcb0cc74718430016be4ddc9b63270341d"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: CommitTransactionAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.DataAccess/Context/TransactionalContext.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1dffe23878afb9253d0095cfea59ce7087a2d027f2ba7d69f9cc3076f6e358"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: DispatchDomainEventsAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.DataAccess/MediatorExtension.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"05565b7147bf7096536aeed530660d9bcb75f5c5cdbb309e61df4233f7653824"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetJsonBody: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Storage.Dto/Validators/Extensions/HttpRequestValidationExtensions.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4aa4b26464faa37a4313d7e485c4b0560af2cf692d744264c7ca674cd43d048"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetJsonBody: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Storage.Dto/Validators/Extensions/HttpRequestValidationExtensions.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c67bdf543d21618ef382fc9523fa265085eed4d87b3ec6e31bd241801d3fcf4"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetAuthTokenAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.Firebase.Handlers/Queries/GetClientInfoFirebaseQueryHandler.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb020bc447652a9ee7847d2e9e437e24af11cc17a691f563184c72bbdaea722"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ThrowIfUserDoesNotExist: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.Firebase.Handlers/Queries/GetClientInfoFirebaseQueryHandler.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"6289744ffafe090bd45af5c28772c4314dfbaec1c8a3620ccd24736033c67fbf"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: AddAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.Commands.Repository/LoyaltyProgramRepository.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"33110ce2dbf759e7cef5ea35467f7268bee9cde57a0c2b6ac14539a4bc6a16cf"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: AddAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.Commands.Repository/ProductGroupRepository.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40a5bcde59273998f844ef41e7e87dc197360a0f8445ba6dca79d3ef1abc172"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: AddAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.Commands.Repository/ProductRepository.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a1159d1e00f4e9bda9d499a16862cf5c6b91cc799a2302a222fb3c751709ce"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: AddAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.Commands.Repository/PurchaseRepository.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf21e9956506eecc23b48a131a1e2b08f48595afb74d0cd2aeb6f9c2048bed91"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: AddAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.Commands.Repository/VenueRepository.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"0320769ebe60a3d433f9bf80fc57c4036017ef892b1885d6088a40e9a7e5bc2f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: AddAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.Commands.Repository/WorkerRepository.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"624da06fec218ae79705b49dc1320be14c28854962943bf531a2cd00fa9fc5fd"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: PersistEventAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.Outbox/EventBusPublishingService.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5944f5faa5207d9bfe939ac86ea1ebd7653dc578472db276f191621d652e733"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: PublishEventsAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.Outbox/EventBusPublishingService.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c3f589efe4d8db314e390277050edd91ac71328c8eae3c04508231ac2a5e99"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: SaveEventAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.Outbox/LoggingIntegrationEventService.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f317ef2b3e8cab233b4b090f47efba248827bfe5d6ea29465bf675be48c99ce"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: RetrieveNotProcessedEvents: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.Outbox/LoggingIntegrationEventService.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ef8172df7e668767eef2d44a1e4b1b4c15f15347108abe7f49ea068b6e3950"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: RetrieveNotProcessedEvents: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.Outbox/PersistentIntegrationEventService.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f1119449d8f9209f3dd48f25d86f83cca43d8c746c06604f3d7a1c46966605e"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: SaveEventAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.Outbox/PersistentIntegrationEventService.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c397bc9fdda73323362b19e0ebd945cdba1ac73f95d9232342879fcb484afd"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: UpdateEventStatus: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.Outbox/PersistentIntegrationEventService.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fded655954d1233d4683352f4558d86bf3c0b78a4ce20c822586986daba7c35"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: SetupInvitedWorkerAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.Handlers.Commands/Commands/Workers/CreateWorkerCommandHandler.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd6b4dd988567edf3c249c59ad82b8b04755a756b597676af10972497adbb2a6"}},{"ruleId":"X2","level":"note","message":{"text":"Some async methods drop the CancellationToken they accept: 10 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 CancellationToken: Handle: Accepts a CancellationToken and never uses it, while it calls something that takes one \u2014 so a caller who cancels still waits for that work. Pass the token on (or, where the work must outlive the caller, start it without awaiting it so the choice is visible)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.Handlers/Queries/Code/GetUserInfoByCodeQueryHandler.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf8f5a88559b3c12b5aac5cd00b3e9e51bd809502848e24eeb2dcb4f974c08eb"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method drops its CancellationToken: Handle: Accepts a CancellationToken and never uses it, while it calls something that takes one \u2014 so a caller who cancels still waits for that work. Pass the token on (or, where the work must outlive the caller, start it without awaiting it so the choice is visible)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.Handlers/Queries/Venues/GetVenueByIdQueryHandler.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd9ca50bbf6f00f9c97ed0cf29266f49573cd558fa45fb082a1ae1d7818e7fa"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method drops its CancellationToken: Handle: Accepts a CancellationToken and never uses it, while it calls something that takes one \u2014 so a caller who cancels still waits for that work. Pass the token on (or, where the work must outlive the caller, start it without awaiting it so the choice is visible)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.Handlers/Queries/Venues/GetVenuesForAdminQueryHandler.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c90ec04809296ca4a203426b9d2587eb80443fa5b2013849e6b9e7a4484d55"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method drops its CancellationToken: Handle: Accepts a CancellationToken and never uses it, while it calls something that takes one \u2014 so a caller who cancels still waits for that work. Pass the token on (or, where the work must outlive the caller, start it without awaiting it so the choice is visible)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.Handlers/Queries/Venues/GetVenuesQueryHandler.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f80c4414c0ceefd5ed309fdb28338c3526b10855808dd889402068d147ba4e4c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method drops its CancellationToken: Handle: Accepts a CancellationToken and never uses it, while it calls something that takes one \u2014 so a caller who cancels still waits for that work. Pass the token on (or, where the work must outlive the caller, start it without awaiting it so the choice is visible)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.Handlers/Queries/Workers/GetWorkersByUserIdQueryHandler.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"59cf7bf8f389c8242809e29ef74b7f713bbf7976b48b86c4fd6ff99f602193ca"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method drops its CancellationToken: Handle: Accepts a CancellationToken and never uses it, while it calls something that takes one \u2014 so a caller who cancels still waits for that work. Pass the token on (or, where the work must outlive the caller, start it without awaiting it so the choice is visible)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.Handlers.Notifications/Output/Notification/NotificationHandler.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ecee9aa762cab8bc9bc096878f682e9d29002f98596a455202f9ed321da87e7"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method drops its CancellationToken: Handle: Accepts a CancellationToken and never uses it, while it calls something that takes one \u2014 so a caller who cancels still waits for that work. Pass the token on (or, where the work must outlive the caller, start it without awaiting it so the choice is visible)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.Handlers.Notifications/Output/Notification/UserNotificationHandler.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"492d91113a88d6ca35c3b8f03d66b9bec37b6e052cd1d6b6150c5ba12f67cb1b"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method drops its CancellationToken: Handle: Accepts a CancellationToken and never uses it, while it calls something that takes one \u2014 so a caller who cancels still waits for that work. Pass the token on (or, where the work must outlive the caller, start it without awaiting it so the choice is visible)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.Firebase.Handlers/Commands/User/SetupFirebaseTokenCommandHandler.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9033f43e170764acbaa2820596d28ed56da36fc8b940ea24c09f592f54ba7c2"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method drops its CancellationToken: Handle: Accepts a CancellationToken and never uses it, while it calls something that takes one \u2014 so a caller who cancels still waits for that work. Pass the token on (or, where the work must outlive the caller, start it without awaiting it so the choice is visible)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.Firebase.Handlers/Queries/GetClientInfoFirebaseQueryHandler.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e834a37d9f2632c49ace9e2f802cd29b6612fdfc27e5d0bb3c4972b9bb2596d8"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method drops its CancellationToken: Handle: Accepts a CancellationToken and never uses it, while it calls something that takes one \u2014 so a caller who cancels still waits for that work. Pass the token on (or, where the work must outlive the caller, start it without awaiting it so the choice is visible)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.Handlers.Commands/Pipelines/TransactionBehaviour.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"17319d613af05a6f5cc42d33395bb4504e024425b881e163c727aaad2fecafc6"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 28 rejects \u0060code\u0060 and line 30 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060String.IsNullOrEmpty(code)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060code\u0060, and on that path \u0060code\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows this case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 (or \u0060ArgumentOutOfRangeException\u0060 for a bound) for what the condition actually tests, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Venue/CodeAppService.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b34f54bffcf15d5ae5747e6195fdf263fdec1a40804d3c91712baec861b029"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.ViewModels/Validators/PhoneValidator.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"6308b228c8b900252c80dee7b8f3b97f3f5cdcd961456db4f578dcc3ae0889f4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Storage.Dto/Validators/Interface/ImageValidator.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e36edd9664e2428e73c6baf69edaa56ce879b643ea7283cf352c7f1ca85410"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Storage.Dto/Validators/Interface/ImageValidator.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48c5bd85e6181c72c715235a9fc478744a8a5da833f7a7c72212f0edb39e47c"}},{"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":"src/LoyaltyProgram/Http/Write/VenueImages/VenueCreateImageFunction.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"934305daef5949ce8fa5ddae9674cdbf3ba9f8b4a17278a4a6515b2d77550c34"}},{"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":"src/LoyaltyProgram/Http/Write/VenueImages/VenuePutImageFunction.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"24663b4495c0741d3e68f756544bc5669db6470a23b8d79b0eed2c49cbcb8f7b"}},{"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":"src/LoyaltyProgram/Http/Write/VenueLogo/VenueCreateLogoFunction.cs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"560c02ae6a366cb498730f2b95becea755d2d2b61f0c4e28cffbdc58fc2080ed"}},{"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":"src/LoyaltyProgram/SendGrid/SendEmailConfirmationLinkFunction.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc71114e93a87336ecd628c16f8594c2ef7983cdeb58e3bb40d37cd3a4d1de5f"}},{"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":"src/LoyaltyProgram/SendGrid/SendEmailConfirmationLinkFunction.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a61655b1cc607cbb42eb18a5de9cabef216fe79d47a327bd83b682913f5eb43"}},{"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":"src/LoyaltyProgram/ServiceBus/ClientEventsFunction.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d7f100ccd0a440390dda4a042ae05f9aa4fc713ba9ca68fbd00b422ac4ebd3"}},{"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":"src/LoyaltyProgram/Storage/SmsByInviteFunction.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bfca3456636456e607900725ac7cc0ad68e5edbbe2cf8d4322117a8ba2cb3a0"}},{"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":"src/LoyaltyProgram/Timer/SelfWarmer.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"69bb68ba3ce2e1d4209526fed06fa90b440cdeb5a295c89c3878240447854fa5"}},{"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":"src/Loyalty.Infrastructure.Firebase.Handlers/Queries/GetVerificationLinkQueryHandler.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24e0ed90fce5c2bc9babca107b59456099fa1b214cc692ccfb1043eb5a60a17"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060data\u0060: line 26 writes \u0060data?.VenueComment\u0060, which says \u0060data\u0060 can be null, but line 22 then dereferences it directly as \u0060data.ChangedStatus\u0060 with no null test between them and no guard around it. If the \u0060?.\u0060 is right, that dereference throws NullReferenceException on the input it was written for; if \u0060data\u0060 truly cannot be null here, the \u0060?.\u0060 is misleading. Settle it one way \u2014 test \u0060data\u0060 once before the first use and handle the null case, or drop the \u0060?.\u0060 \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/LoyaltyProgram/Storage/OrderChangedNotificationFunction.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"7298d7aba1890f229a1d67915b705102a1ef03f9139855356de4bc5573db9769"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060request\u0060: line 35 writes \u0060request?.Id\u0060, which says \u0060request\u0060 can be null, but line 24 then dereferences it directly as \u0060request.Id\u0060 with no null test between them and no guard around it. If the \u0060?.\u0060 is right, that dereference throws NullReferenceException on the input it was written for; if \u0060request\u0060 truly cannot be null here, the \u0060?.\u0060 is misleading. Settle it one way \u2014 test \u0060request\u0060 once before the first use and handle the null case, or drop the \u0060?.\u0060 \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.Handlers.Commands/Commands/LoyaltyProductGroups/ArchiveLoyaltyProductGroupCommandHandler.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"e454f4e9b9f89eec0ab482d4d81640b4236e0766e73783a642c7df5395d5b265"}},{"ruleId":"X5","level":"note","message":{"text":"Nullable reference types not enabled everywhere: 0/28 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"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060WrapAsync\u0060 swallows \u0060AuthenticationException\u0060 into \u0060return new UnauthorizedResult();\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.IoC/HandlerWrapper.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f27c03eba2f1f9e091c52c111015e910333dc72336521029f3005561775a6e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060Wrap\u0060 swallows \u0060AuthenticationException\u0060 into \u0060return new UnauthorizedResult();\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Infrastructure.IoC/HandlerWrapper.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3fabef61a6eb7d4536fde493458af69577b1c55e60bcf9016a246066a8c5e8"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060IsImageValid\u0060 swallows every exception and sets \u0060isValid = false;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Storage.Dto/Validators/Interface/ImageValidator.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a2d2939b8b932c6ea712c14620ac72e4df4a23d97943a2ada28c4e64fe01ec0"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060ValidateWidthAndHeight\u0060 swallows every exception and sets \u0060isValid = false;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Loyalty.Application.Storage.Dto/Validators/Interface/ImageValidator.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"32fb8c2d7b24a39344310d1704eee59e00bd34cf9aed285fee7d5544c2d377e0"}}],"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-200","guid":"b0ce3b1d-7a29-fe50-8aab-9aba899d2988","name":"Exposure of Sensitive Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Sensitive Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/200.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-312","guid":"96724ece-b0b2-a45c-83f9-0869fa3f6bea","name":"Cleartext Storage of Sensitive Information","shortDescription":{"text":"Cleartext Storage of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/312.html"},{"id":"CWE-359","guid":"b7dfe5b0-0351-645b-a311-b936102c2929","name":"Exposure of Private Personal Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Private Personal Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/359.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-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"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/"}]}],"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":6,"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."]}]}