Executive summary
richardchanjr90-cpu/ddd-by-example scores 55 out of 100 and is rated Adequate, while five of its eight lenses score higher still: Event-Driven at 100, Architecture at 84 and Production Readiness at 72, all rated Exemplary, and Security and Compliance at 76 and Performance at 70, both rated Strong. Watchdog judged it as a template, sample or demo, meant to be read or copied, so the dimensions about building, releasing and running a product don't apply, and its lenses are rated against a lower bar. The score itself is worked out as for any repository.
The score is lower than those five because the weakest lens counts most, and here that is Maturity, which scores 50 and is rated Adequate. Its Documentation accuracy dimension scores 0 out of 10, and until that reaches 4, Maturity can't be rated higher than Adequate. The first actions are to resolve the 1 redundant comment finding(s) in Comment Value and to resolve the 7 WriteOnlyPrivateField finding(s) in Explicit Debt. The weakest lenses score close to each other, so improving any of them moves the score.
23 findings are critical: seven in Explicit Debt, six in Aggregate boundaries, four in Change Coupling, three in Test Quality, two in Project dependency cycles and one in Domain ↔ infrastructure boundary.
Watchdog couldn't measure Dependency Hygiene, Dependency Vulnerabilities and IL Efficiency in this code, so those dimensions are left out of the score. The product code is 18,562 lines, which would take an estimated 0.2 person-years, around €26,000, to rebuild.
The weakest lenses score close to each other, so improving any of them moves the score.
New since the last survey: 7 findings
- Data Compliance (PII/GDPR) · REDACTED
- Data Compliance (PII/GDPR) · REDACTED
- Data Compliance (PII/GDPR) · REDACTED
- Data Compliance (PII/GDPR) · REDACTED
- Change Coupling · Boundary-crossing change coupling: CreateVenueViewModel.cs ↔ GetVenueByIdQueryResult.cs src/Loyalty.Application.ViewModels/Venue/CreateVenueViewModel.cs
- Async correctness · Blocking `FileStream.Read` inside an `async` method src/Loyalty.Application.Venue/LoyaltyVenueImageAppService.cs
- Domain ↔ infrastructure boundary · Domain depends on infrastructure: Loyalty.Domain.Handlers.Firebase.Queries src/Loyalty.Domain.Handlers.Firebase.Queries/Loyalty.Domain.Handlers.Firebase.Queries.csproj
Fixed since the last survey: 8 findings
- Repository granularity · Repository for a non-root entity: LoyaltyProgramRepository → LoyaltyProgram src/Loyalty.Infrastructure.Commands.Repository/LoyaltyProgramRepository.cs
- Repository granularity · Repository for a non-root entity: OrderRepository → Order src/Loyalty.Infrastructure.Commands.Repository/OrderRepository.cs
- Repository granularity · Repository for a non-root entity: ProductGroupRepository → ProductGroup src/Loyalty.Infrastructure.Commands.Repository/ProductGroupRepository.cs
- Repository granularity · Repository for a non-root entity: ProductRepository → Product src/Loyalty.Infrastructure.Commands.Repository/ProductRepository.cs
- Repository granularity · Repository for a non-root entity: PurchaseRepository → Purchase src/Loyalty.Infrastructure.Commands.Repository/PurchaseRepository.cs
- Repository granularity · Repository for a non-root entity: VenueAdminRepository → Venue src/Loyalty.Infrastructure.Commands.Repository/VenueAdminRepository.cs
- Repository granularity · Repository for a non-root entity: WorkerRepository → Worker src/Loyalty.Infrastructure.Commands.Repository/WorkerRepository.cs
- Async & latency hygiene · Awaits without ConfigureAwait(false)
Rebuild cost: about €26,000 · Estimate
| Cost to rebuild | €8,900 to €44,000, for 148 to 462 hours of work, about 0.2 person-years for one engineer |
|---|---|
| Difficulty of the problem | High, judged from the kind of software and how it is built. Code that solves a harder problem, such as payments or medical bookings, costs more per line to write. |
| Quality factor | ×0.8 at a score of 55. Better code takes more work to write, so the factor is ×1.0 at a score of 70, lower below it and higher above it. |
| Size | Small: 18,562 lines of product code, of which 58% is declarations and boilerplate, 31% straight logic and 12% logic with branches |
Top priorities
Diagnosis: what the measurements show together
Architecture — module dependency graph
Architecture: which parts of the code depend on which
| uses → | 1 Application.Storage.Dto | 2 Application.Storage.Dto.Orders | 3 Application.ViewModels.ProductGroup | 4 Common.Shared.Settings | 5 Core.Contracts | 6 Core.Entities.Base.Interface | 7 Core.Entities.SeedWork | 8 Core.Entities.SeedWork.Interfaces | 9 Core.Outbox.Entities | 10 Core.Outbox.Entities.Services | 11 Domain.Handlers.Notifications.Base | 12 Domain.Handlers.Queries.Commands.Venue | 13 Domain.Handlers.Queries.QueryResults.Orders | 14 Domain.Handlers.Queries.QueryResults.ProductGroup | 15 Domain.Handlers.Queries.QueryResults.Venue | 16 Infrastructure.Handlers | 17 Application.ViewModels.LoyaltyProductGroup | 18 Application.ViewModels.Purchase | 19 Core.Entities.Aggregates.Orders.Status.Abstract | 20 Core.Entities.Base | 21 Domain.Handlers.Queries.QueryResults.LoyaltyProductGroup | 22 Infrastructure.Events.DataAccess.Context.Interface | 23 Infrastructure.Firebase.Handlers.Queries | 24 Application.Venue | 25 Core.Entities.Aggregates.Products | 26 Core.Entities.Aggregates.Purchases | 27 Core.Entities.Aggregates.Workers | 28 Infrastructure.Events.DataAccess.Context | 29 Core.Entities.Aggregates.Orders | 30 Core.Entities.Aggregates.Venues | 31 Core.Entities.Aggregates.ProductGroups | 32 Core.Entities.Aggregates.LoyaltyPrograms | 33 Core.Entities.Events.Products | 34 Core.Entities.Interfaces.Repository | 35 Infrastructure.DataAccess.Context.Interface | 36 Infrastructure.DataAccess.EntityConfigurations | 37 Application.DomainEvents.Handlers.Venues | 38 Infrastructure.Commands.Repository | 39 Infrastructure.DataAccess.Context | 40 Infrastructure.Outbox |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 Application.Storage.Dto | ||||||||||||||||||||||||||||||||||||||||
| 2 Application.Storage.Dto.Orders | ||||||||||||||||||||||||||||||||||||||||
| 3 Application.ViewModels.ProductGroup | ||||||||||||||||||||||||||||||||||||||||
| 4 Common.Shared.Settings | ||||||||||||||||||||||||||||||||||||||||
| 5 Core.Contracts | ||||||||||||||||||||||||||||||||||||||||
| 6 Core.Entities.Base.Interface | ||||||||||||||||||||||||||||||||||||||||
| 7 Core.Entities.SeedWork | ||||||||||||||||||||||||||||||||||||||||
| 8 Core.Entities.SeedWork.Interfaces | ||||||||||||||||||||||||||||||||||||||||
| 9 Core.Outbox.Entities | ||||||||||||||||||||||||||||||||||||||||
| 10 Core.Outbox.Entities.Services | ||||||||||||||||||||||||||||||||||||||||
| 11 Domain.Handlers.Notifications.Base | ||||||||||||||||||||||||||||||||||||||||
| 12 Domain.Handlers.Queries.Commands.Venue | ||||||||||||||||||||||||||||||||||||||||
| 13 Domain.Handlers.Queries.QueryResults.Orders | ||||||||||||||||||||||||||||||||||||||||
| 14 Domain.Handlers.Queries.QueryResults.ProductGroup | ||||||||||||||||||||||||||||||||||||||||
| 15 Domain.Handlers.Queries.QueryResults.Venue | ||||||||||||||||||||||||||||||||||||||||
| 16 Infrastructure.Handlers | ||||||||||||||||||||||||||||||||||||||||
| 17 Application.ViewModels.LoyaltyProductGroup | 1 | |||||||||||||||||||||||||||||||||||||||
| 18 Application.ViewModels.Purchase | 1 | |||||||||||||||||||||||||||||||||||||||
| 19 Core.Entities.Aggregates.Orders.Status.Abstract | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 20 Core.Entities.Base | 2 | 1 | ||||||||||||||||||||||||||||||||||||||
| 21 Domain.Handlers.Queries.QueryResults.LoyaltyProductGroup | 1 | |||||||||||||||||||||||||||||||||||||||
| 22 Infrastructure.Events.DataAccess.Context.Interface | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 23 Infrastructure.Firebase.Handlers.Queries | 1 | |||||||||||||||||||||||||||||||||||||||
| 24 Application.Venue | 1 | 2 | 1 | 1 | 1 | 2 | 4 | |||||||||||||||||||||||||||||||||
| 25 Core.Entities.Aggregates.Products | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 26 Core.Entities.Aggregates.Purchases | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 27 Core.Entities.Aggregates.Workers | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 28 Infrastructure.Events.DataAccess.Context | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 29 Core.Entities.Aggregates.Orders | 1 | 1 | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||
| 30 Core.Entities.Aggregates.Venues | 1 | 1 | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||
| 31 Core.Entities.Aggregates.ProductGroups | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 32 Core.Entities.Aggregates.LoyaltyPrograms | 1 | 1 | 2 | 2 | ||||||||||||||||||||||||||||||||||||
| 33 Core.Entities.Events.Products | 5 | 1 | ||||||||||||||||||||||||||||||||||||||
| 34 Core.Entities.Interfaces.Repository | 8 | 1 | 1 | 2 | 1 | 2 | 1 | 2 | ||||||||||||||||||||||||||||||||
| 35 Infrastructure.DataAccess.Context.Interface | 1 | 1 | 1 | 1 | 1 | 2 | 2 | 1 | 1 | 2 | ||||||||||||||||||||||||||||||
| 36 Infrastructure.DataAccess.EntityConfigurations | 1 | 1 | 2 | 2 | 1 | 1 | 3 | |||||||||||||||||||||||||||||||||
| 37 Application.DomainEvents.Handlers.Venues | 7 | 2 | ||||||||||||||||||||||||||||||||||||||
| 38 Infrastructure.Commands.Repository | 8 | 1 | 1 | 2 | 1 | 2 | 1 | 2 | 8 | 8 | ||||||||||||||||||||||||||||||
| 39 Infrastructure.DataAccess.Context | 1 | 1 | 1 | 1 | 2 | 2 | 1 | 1 | 2 | 2 | ||||||||||||||||||||||||||||||
| 40 Infrastructure.Outbox | 2 | 1 | 1 | 3 |
17→3 Application.ViewModels.LoyaltyProductGroup uses Application.ViewModels.ProductGroup✕
- Connections
- 1 pair of types, where a type in Application.ViewModels.LoyaltyProductGroup uses a type in Application.ViewModels.ProductGroup.
- The types involved
Loyalty.Application.ViewModels.LoyaltyProductGroup.LoyaltyProductGroupGetViewModel→Loyalty.Application.ViewModels.ProductGroup.ProductGroupViewModel
- Direction
- Application.ViewModels.LoyaltyProductGroup uses Application.ViewModels.ProductGroup, so a change to Application.ViewModels.ProductGroup can break Application.ViewModels.LoyaltyProductGroup, while a change to Application.ViewModels.LoyaltyProductGroup can't break Application.ViewModels.ProductGroup.
- Position
- Below the diagonal: Application.ViewModels.LoyaltyProductGroup uses a module listed above it, which is the healthy direction.
18→13 Application.ViewModels.Purchase uses Domain.Handlers.Queries.QueryResults.Orders✕
- Connections
- 1 pair of types, where a type in Application.ViewModels.Purchase uses a type in Domain.Handlers.Queries.QueryResults.Orders.
- The types involved
Loyalty.Application.ViewModels.Purchase.ClientInfoPurchasesViewModel→Loyalty.Domain.Handlers.Queries.QueryResults.Orders.GetOrderByUserIdQueryResult
- Direction
- Application.ViewModels.Purchase uses Domain.Handlers.Queries.QueryResults.Orders, so a change to Domain.Handlers.Queries.QueryResults.Orders can break Application.ViewModels.Purchase, while a change to Application.ViewModels.Purchase can't break Domain.Handlers.Queries.QueryResults.Orders.
- Position
- Below the diagonal: Application.ViewModels.Purchase uses a module listed above it, which is the healthy direction.
19→7 Core.Entities.Aggregates.Orders.Status.Abstract uses Core.Entities.SeedWork✕
- Connections
- 1 pair of types, where a type in Core.Entities.Aggregates.Orders.Status.Abstract uses a type in Core.Entities.SeedWork.
- The types involved
Loyalty.Core.Entities.Aggregates.Orders.Status.Abstract.OrderStatusEnumeration→Loyalty.Core.Entities.SeedWork.Enumeration
- Direction
- Core.Entities.Aggregates.Orders.Status.Abstract uses Core.Entities.SeedWork, so a change to Core.Entities.SeedWork can break Core.Entities.Aggregates.Orders.Status.Abstract, while a change to Core.Entities.Aggregates.Orders.Status.Abstract can't break Core.Entities.SeedWork.
- Position
- Below the diagonal: Core.Entities.Aggregates.Orders.Status.Abstract uses a module listed above it, which is the healthy direction.
19→29 Core.Entities.Aggregates.Orders.Status.Abstract uses Core.Entities.Aggregates.Orders part of a loop✕
- Connections
- 1 pair of types, where a type in Core.Entities.Aggregates.Orders.Status.Abstract uses a type in Core.Entities.Aggregates.Orders.
- The types involved
Loyalty.Core.Entities.Aggregates.Orders.Status.Abstract.OrderStatusEnumeration→Loyalty.Core.Entities.Aggregates.Orders.Order
- Direction
- Core.Entities.Aggregates.Orders.Status.Abstract uses Core.Entities.Aggregates.Orders, so a change to Core.Entities.Aggregates.Orders can break Core.Entities.Aggregates.Orders.Status.Abstract, while a change to Core.Entities.Aggregates.Orders.Status.Abstract can't break Core.Entities.Aggregates.Orders.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
20→6 Core.Entities.Base uses Core.Entities.Base.Interface✕
- Connections
- 2 pairs of types, where a type in Core.Entities.Base uses a type in Core.Entities.Base.Interface.
- The types involved
Loyalty.Core.Entities.Base.AuditableEntity→Loyalty.Core.Entities.Base.Interface.IAuditableEntityLoyalty.Core.Entities.Base.TenantEntity→Loyalty.Core.Entities.Base.Interface.ITenantEntity
- Direction
- Core.Entities.Base uses Core.Entities.Base.Interface, so a change to Core.Entities.Base.Interface can break Core.Entities.Base, while a change to Core.Entities.Base can't break Core.Entities.Base.Interface.
- Position
- Below the diagonal: Core.Entities.Base uses a module listed above it, which is the healthy direction.
20→7 Core.Entities.Base uses Core.Entities.SeedWork✕
- Connections
- 1 pair of types, where a type in Core.Entities.Base uses a type in Core.Entities.SeedWork.
- The types involved
Loyalty.Core.Entities.Base.AuditableEntity→Loyalty.Core.Entities.SeedWork.Entity
- Direction
- Core.Entities.Base uses Core.Entities.SeedWork, so a change to Core.Entities.SeedWork can break Core.Entities.Base, while a change to Core.Entities.Base can't break Core.Entities.SeedWork.
- Position
- Below the diagonal: Core.Entities.Base uses a module listed above it, which is the healthy direction.
21→14 Domain.Handlers.Queries.QueryResults.LoyaltyProductGroup uses Domain.Handlers.Queries.QueryResults.ProductGroup✕
- Connections
- 1 pair of types, where a type in Domain.Handlers.Queries.QueryResults.LoyaltyProductGroup uses a type in Domain.Handlers.Queries.QueryResults.ProductGroup.
- The types involved
Loyalty.Domain.Handlers.Queries.QueryResults.LoyaltyProductGroup.GetLoyaltyProductGroupByIdQueryResult→Loyalty.Domain.Handlers.Queries.QueryResults.ProductGroup.GetProductGroupByIdQueryResult
- Direction
- Domain.Handlers.Queries.QueryResults.LoyaltyProductGroup uses Domain.Handlers.Queries.QueryResults.ProductGroup, so a change to Domain.Handlers.Queries.QueryResults.ProductGroup can break Domain.Handlers.Queries.QueryResults.LoyaltyProductGroup, while a change to Domain.Handlers.Queries.QueryResults.LoyaltyProductGroup can't break Domain.Handlers.Queries.QueryResults.ProductGroup.
- Position
- Below the diagonal: Domain.Handlers.Queries.QueryResults.LoyaltyProductGroup uses a module listed above it, which is the healthy direction.
22→5 Infrastructure.Events.DataAccess.Context.Interface uses Core.Contracts✕
- Connections
- 1 pair of types, where a type in Infrastructure.Events.DataAccess.Context.Interface uses a type in Core.Contracts.
- The types involved
Loyalty.Infrastructure.Events.DataAccess.Context.Interface.IIntegrationEventsContext→Loyalty.Core.Contracts.IDbContext
- Direction
- Infrastructure.Events.DataAccess.Context.Interface uses Core.Contracts, so a change to Core.Contracts can break Infrastructure.Events.DataAccess.Context.Interface, while a change to Infrastructure.Events.DataAccess.Context.Interface can't break Core.Contracts.
- Position
- Below the diagonal: Infrastructure.Events.DataAccess.Context.Interface uses a module listed above it, which is the healthy direction.
22→9 Infrastructure.Events.DataAccess.Context.Interface uses Core.Outbox.Entities✕
- Connections
- 1 pair of types, where a type in Infrastructure.Events.DataAccess.Context.Interface uses a type in Core.Outbox.Entities.
- The types involved
Loyalty.Infrastructure.Events.DataAccess.Context.Interface.IIntegrationEventsContext→Loyalty.Core.Outbox.Entities.IntegrationEventLogEntry
- Direction
- Infrastructure.Events.DataAccess.Context.Interface uses Core.Outbox.Entities, so a change to Core.Outbox.Entities can break Infrastructure.Events.DataAccess.Context.Interface, while a change to Infrastructure.Events.DataAccess.Context.Interface can't break Core.Outbox.Entities.
- Position
- Below the diagonal: Infrastructure.Events.DataAccess.Context.Interface uses a module listed above it, which is the healthy direction.
23→4 Infrastructure.Firebase.Handlers.Queries uses Common.Shared.Settings✕
- Connections
- 1 pair of types, where a type in Infrastructure.Firebase.Handlers.Queries uses a type in Common.Shared.Settings.
- The types involved
Loyalty.Infrastructure.Firebase.Handlers.Queries.GetVerificationLinkQueryHandler→Loyalty.Common.Shared.Settings.EmailSettings
- Direction
- Infrastructure.Firebase.Handlers.Queries uses Common.Shared.Settings, so a change to Common.Shared.Settings can break Infrastructure.Firebase.Handlers.Queries, while a change to Infrastructure.Firebase.Handlers.Queries can't break Common.Shared.Settings.
- Position
- Below the diagonal: Infrastructure.Firebase.Handlers.Queries uses a module listed above it, which is the healthy direction.
24→1 Application.Venue uses Application.Storage.Dto✕
- Connections
- 1 pair of types, where a type in Application.Venue uses a type in Application.Storage.Dto.
- The types involved
Loyalty.Application.Venue.LoyaltyVenueImageAppService→Loyalty.Application.Storage.Dto.VenueNewBlobImageDto
- Direction
- Application.Venue uses Application.Storage.Dto, so a change to Application.Storage.Dto can break Application.Venue, while a change to Application.Venue can't break Application.Storage.Dto.
- Position
- Below the diagonal: Application.Venue uses a module listed above it, which is the healthy direction.
24→3 Application.Venue uses Application.ViewModels.ProductGroup✕
- Connections
- 2 pairs of types, where a type in Application.Venue uses a type in Application.ViewModels.ProductGroup.
- The types involved
Loyalty.Application.Venue.ProductGroupAppService→Loyalty.Application.ViewModels.ProductGroup.ProductGroupPatchViewModelLoyalty.Application.Venue.ProductGroupAppService→Loyalty.Application.ViewModels.ProductGroup.ProductGroupViewModel
- Direction
- Application.Venue uses Application.ViewModels.ProductGroup, so a change to Application.ViewModels.ProductGroup can break Application.Venue, while a change to Application.Venue can't break Application.ViewModels.ProductGroup.
- Position
- Below the diagonal: Application.Venue uses a module listed above it, which is the healthy direction.
24→13 Application.Venue uses Domain.Handlers.Queries.QueryResults.Orders✕
- Connections
- 1 pair of types, where a type in Application.Venue uses a type in Domain.Handlers.Queries.QueryResults.Orders.
- The types involved
Loyalty.Application.Venue.OrderAppService→Loyalty.Domain.Handlers.Queries.QueryResults.Orders.GetOrderByVenueIdQueryResult
- Direction
- Application.Venue uses Domain.Handlers.Queries.QueryResults.Orders, so a change to Domain.Handlers.Queries.QueryResults.Orders can break Application.Venue, while a change to Application.Venue can't break Domain.Handlers.Queries.QueryResults.Orders.
- Position
- Below the diagonal: Application.Venue uses a module listed above it, which is the healthy direction.
24→14 Application.Venue uses Domain.Handlers.Queries.QueryResults.ProductGroup✕
- Connections
- 1 pair of types, where a type in Application.Venue uses a type in Domain.Handlers.Queries.QueryResults.ProductGroup.
- The types involved
Loyalty.Application.Venue.ProductGroupAppService→Loyalty.Domain.Handlers.Queries.QueryResults.ProductGroup.GetProductGroupByIdQueryResult
- Direction
- Application.Venue uses Domain.Handlers.Queries.QueryResults.ProductGroup, so a change to Domain.Handlers.Queries.QueryResults.ProductGroup can break Application.Venue, while a change to Application.Venue can't break Domain.Handlers.Queries.QueryResults.ProductGroup.
- Position
- Below the diagonal: Application.Venue uses a module listed above it, which is the healthy direction.
24→15 Application.Venue uses Domain.Handlers.Queries.QueryResults.Venue✕
- Connections
- 1 pair of types, where a type in Application.Venue uses a type in Domain.Handlers.Queries.QueryResults.Venue.
- The types involved
Loyalty.Application.Venue.LoyaltyVenueAppService→Loyalty.Domain.Handlers.Queries.QueryResults.Venue.GetVenueByIdQueryResult
- Direction
- Application.Venue uses Domain.Handlers.Queries.QueryResults.Venue, so a change to Domain.Handlers.Queries.QueryResults.Venue can break Application.Venue, while a change to Application.Venue can't break Domain.Handlers.Queries.QueryResults.Venue.
- Position
- Below the diagonal: Application.Venue uses a module listed above it, which is the healthy direction.
24→17 Application.Venue uses Application.ViewModels.LoyaltyProductGroup✕
- Connections
- 2 pairs of types, where a type in Application.Venue uses a type in Application.ViewModels.LoyaltyProductGroup.
- The types involved
Loyalty.Application.Venue.LoyaltyProductGroupAppService→Loyalty.Application.ViewModels.LoyaltyProductGroup.LoyaltyProductGroupGetViewModelLoyalty.Application.Venue.LoyaltyProductGroupAppService→Loyalty.Application.ViewModels.LoyaltyProductGroup.LoyaltyProductGroupViewModel
- Direction
- Application.Venue uses Application.ViewModels.LoyaltyProductGroup, so a change to Application.ViewModels.LoyaltyProductGroup can break Application.Venue, while a change to Application.Venue can't break Application.ViewModels.LoyaltyProductGroup.
- Position
- Below the diagonal: Application.Venue uses a module listed above it, which is the healthy direction.
24→18 Application.Venue uses Application.ViewModels.Purchase✕
- Connections
- 4 pairs of types, where a type in Application.Venue uses a type in Application.ViewModels.Purchase.
- The types involved
Loyalty.Application.Venue.CodeAppService→Loyalty.Application.ViewModels.Purchase.ClientInfoPurchasesViewModelLoyalty.Application.Venue.PurchaseAppService→Loyalty.Application.ViewModels.Purchase.ClientInfoPurchasesViewModelLoyalty.Application.Venue.PurchaseAppService→Loyalty.Application.ViewModels.Purchase.PurchaseAndBurnViewModelLoyalty.Application.Venue.PurchaseAppService→Loyalty.Application.ViewModels.Purchase.PurchaseViewModel
- Direction
- Application.Venue uses Application.ViewModels.Purchase, so a change to Application.ViewModels.Purchase can break Application.Venue, while a change to Application.Venue can't break Application.ViewModels.Purchase.
- Position
- Below the diagonal: Application.Venue uses a module listed above it, which is the healthy direction.
25→8 Core.Entities.Aggregates.Products uses Core.Entities.SeedWork.Interfaces✕
- Connections
- 1 pair of types, where a type in Core.Entities.Aggregates.Products uses a type in Core.Entities.SeedWork.Interfaces.
- The types involved
Loyalty.Core.Entities.Aggregates.Products.Product→Loyalty.Core.Entities.SeedWork.Interfaces.IAggregateRoot
- Direction
- Core.Entities.Aggregates.Products uses Core.Entities.SeedWork.Interfaces, so a change to Core.Entities.SeedWork.Interfaces can break Core.Entities.Aggregates.Products, while a change to Core.Entities.Aggregates.Products can't break Core.Entities.SeedWork.Interfaces.
- Position
- Below the diagonal: Core.Entities.Aggregates.Products uses a module listed above it, which is the healthy direction.
25→20 Core.Entities.Aggregates.Products uses Core.Entities.Base✕
- Connections
- 1 pair of types, where a type in Core.Entities.Aggregates.Products uses a type in Core.Entities.Base.
- The types involved
Loyalty.Core.Entities.Aggregates.Products.Product→Loyalty.Core.Entities.Base.TenantEntity
- Direction
- Core.Entities.Aggregates.Products uses Core.Entities.Base, so a change to Core.Entities.Base can break Core.Entities.Aggregates.Products, while a change to Core.Entities.Aggregates.Products can't break Core.Entities.Base.
- Position
- Below the diagonal: Core.Entities.Aggregates.Products uses a module listed above it, which is the healthy direction.
25→31 Core.Entities.Aggregates.Products uses Core.Entities.Aggregates.ProductGroups part of a loop✕
- Connections
- 1 pair of types, where a type in Core.Entities.Aggregates.Products uses a type in Core.Entities.Aggregates.ProductGroups.
- The types involved
Loyalty.Core.Entities.Aggregates.Products.Product→Loyalty.Core.Entities.Aggregates.ProductGroups.ProductGroup
- Direction
- Core.Entities.Aggregates.Products uses Core.Entities.Aggregates.ProductGroups, so a change to Core.Entities.Aggregates.ProductGroups can break Core.Entities.Aggregates.Products, while a change to Core.Entities.Aggregates.Products can't break Core.Entities.Aggregates.ProductGroups.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
26→8 Core.Entities.Aggregates.Purchases uses Core.Entities.SeedWork.Interfaces✕
- Connections
- 1 pair of types, where a type in Core.Entities.Aggregates.Purchases uses a type in Core.Entities.SeedWork.Interfaces.
- The types involved
Loyalty.Core.Entities.Aggregates.Purchases.Purchase→Loyalty.Core.Entities.SeedWork.Interfaces.IAggregateRoot
- Direction
- Core.Entities.Aggregates.Purchases uses Core.Entities.SeedWork.Interfaces, so a change to Core.Entities.SeedWork.Interfaces can break Core.Entities.Aggregates.Purchases, while a change to Core.Entities.Aggregates.Purchases can't break Core.Entities.SeedWork.Interfaces.
- Position
- Below the diagonal: Core.Entities.Aggregates.Purchases uses a module listed above it, which is the healthy direction.
26→20 Core.Entities.Aggregates.Purchases uses Core.Entities.Base✕
- Connections
- 1 pair of types, where a type in Core.Entities.Aggregates.Purchases uses a type in Core.Entities.Base.
- The types involved
Loyalty.Core.Entities.Aggregates.Purchases.Purchase→Loyalty.Core.Entities.Base.TenantEntity
- Direction
- Core.Entities.Aggregates.Purchases uses Core.Entities.Base, so a change to Core.Entities.Base can break Core.Entities.Aggregates.Purchases, while a change to Core.Entities.Aggregates.Purchases can't break Core.Entities.Base.
- Position
- Below the diagonal: Core.Entities.Aggregates.Purchases uses a module listed above it, which is the healthy direction.
27→6 Core.Entities.Aggregates.Workers uses Core.Entities.Base.Interface✕
- Connections
- 1 pair of types, where a type in Core.Entities.Aggregates.Workers uses a type in Core.Entities.Base.Interface.
- The types involved
Loyalty.Core.Entities.Aggregates.Workers.VenueWorker→Loyalty.Core.Entities.Base.Interface.ITenantEntity
- Direction
- Core.Entities.Aggregates.Workers uses Core.Entities.Base.Interface, so a change to Core.Entities.Base.Interface can break Core.Entities.Aggregates.Workers, while a change to Core.Entities.Aggregates.Workers can't break Core.Entities.Base.Interface.
- Position
- Below the diagonal: Core.Entities.Aggregates.Workers uses a module listed above it, which is the healthy direction.
27→7 Core.Entities.Aggregates.Workers uses Core.Entities.SeedWork✕
- Connections
- 1 pair of types, where a type in Core.Entities.Aggregates.Workers uses a type in Core.Entities.SeedWork.
- The types involved
Loyalty.Core.Entities.Aggregates.Workers.VenueWorker→Loyalty.Core.Entities.SeedWork.Entity
- Direction
- Core.Entities.Aggregates.Workers uses Core.Entities.SeedWork, so a change to Core.Entities.SeedWork can break Core.Entities.Aggregates.Workers, while a change to Core.Entities.Aggregates.Workers can't break Core.Entities.SeedWork.
- Position
- Below the diagonal: Core.Entities.Aggregates.Workers uses a module listed above it, which is the healthy direction.
27→8 Core.Entities.Aggregates.Workers uses Core.Entities.SeedWork.Interfaces✕
- Connections
- 1 pair of types, where a type in Core.Entities.Aggregates.Workers uses a type in Core.Entities.SeedWork.Interfaces.
- The types involved
Loyalty.Core.Entities.Aggregates.Workers.Worker→Loyalty.Core.Entities.SeedWork.Interfaces.IAggregateRoot
- Direction
- Core.Entities.Aggregates.Workers uses Core.Entities.SeedWork.Interfaces, so a change to Core.Entities.SeedWork.Interfaces can break Core.Entities.Aggregates.Workers, while a change to Core.Entities.Aggregates.Workers can't break Core.Entities.SeedWork.Interfaces.
- Position
- Below the diagonal: Core.Entities.Aggregates.Workers uses a module listed above it, which is the healthy direction.
27→20 Core.Entities.Aggregates.Workers uses Core.Entities.Base✕
- Connections
- 1 pair of types, where a type in Core.Entities.Aggregates.Workers uses a type in Core.Entities.Base.
- The types involved
Loyalty.Core.Entities.Aggregates.Workers.Worker→Loyalty.Core.Entities.Base.AuditableEntity
- Direction
- Core.Entities.Aggregates.Workers uses Core.Entities.Base, so a change to Core.Entities.Base can break Core.Entities.Aggregates.Workers, while a change to Core.Entities.Aggregates.Workers can't break Core.Entities.Base.
- Position
- Below the diagonal: Core.Entities.Aggregates.Workers uses a module listed above it, which is the healthy direction.
28→9 Infrastructure.Events.DataAccess.Context uses Core.Outbox.Entities✕
- Connections
- 1 pair of types, where a type in Infrastructure.Events.DataAccess.Context uses a type in Core.Outbox.Entities.
- The types involved
Loyalty.Infrastructure.Events.DataAccess.Context.IntegrationEventsContext→Loyalty.Core.Outbox.Entities.IntegrationEventLogEntry
- Direction
- Infrastructure.Events.DataAccess.Context uses Core.Outbox.Entities, so a change to Core.Outbox.Entities can break Infrastructure.Events.DataAccess.Context, while a change to Infrastructure.Events.DataAccess.Context can't break Core.Outbox.Entities.
- Position
- Below the diagonal: Infrastructure.Events.DataAccess.Context uses a module listed above it, which is the healthy direction.
28→22 Infrastructure.Events.DataAccess.Context uses Infrastructure.Events.DataAccess.Context.Interface✕
- Connections
- 1 pair of types, where a type in Infrastructure.Events.DataAccess.Context uses a type in Infrastructure.Events.DataAccess.Context.Interface.
- The types involved
Loyalty.Infrastructure.Events.DataAccess.Context.IntegrationEventsContext→Loyalty.Infrastructure.Events.DataAccess.Context.Interface.IIntegrationEventsContext
- Direction
- Infrastructure.Events.DataAccess.Context uses Infrastructure.Events.DataAccess.Context.Interface, so a change to Infrastructure.Events.DataAccess.Context.Interface can break Infrastructure.Events.DataAccess.Context, while a change to Infrastructure.Events.DataAccess.Context can't break Infrastructure.Events.DataAccess.Context.Interface.
- Position
- Below the diagonal: Infrastructure.Events.DataAccess.Context uses a module listed above it, which is the healthy direction.
29→6 Core.Entities.Aggregates.Orders uses Core.Entities.Base.Interface✕
- Connections
- 1 pair of types, where a type in Core.Entities.Aggregates.Orders uses a type in Core.Entities.Base.Interface.
- The types involved
Loyalty.Core.Entities.Aggregates.Orders.OrderItem→Loyalty.Core.Entities.Base.Interface.ITenantEntity
- Direction
- Core.Entities.Aggregates.Orders uses Core.Entities.Base.Interface, so a change to Core.Entities.Base.Interface can break Core.Entities.Aggregates.Orders, while a change to Core.Entities.Aggregates.Orders can't break Core.Entities.Base.Interface.
- Position
- Below the diagonal: Core.Entities.Aggregates.Orders uses a module listed above it, which is the healthy direction.
29→7 Core.Entities.Aggregates.Orders uses Core.Entities.SeedWork✕
- Connections
- 1 pair of types, where a type in Core.Entities.Aggregates.Orders uses a type in Core.Entities.SeedWork.
- The types involved
Loyalty.Core.Entities.Aggregates.Orders.OrderItem→Loyalty.Core.Entities.SeedWork.Entity
- Direction
- Core.Entities.Aggregates.Orders uses Core.Entities.SeedWork, so a change to Core.Entities.SeedWork can break Core.Entities.Aggregates.Orders, while a change to Core.Entities.Aggregates.Orders can't break Core.Entities.SeedWork.
- Position
- Below the diagonal: Core.Entities.Aggregates.Orders uses a module listed above it, which is the healthy direction.
29→8 Core.Entities.Aggregates.Orders uses Core.Entities.SeedWork.Interfaces✕
- Connections
- 1 pair of types, where a type in Core.Entities.Aggregates.Orders uses a type in Core.Entities.SeedWork.Interfaces.
- The types involved
Loyalty.Core.Entities.Aggregates.Orders.Order→Loyalty.Core.Entities.SeedWork.Interfaces.IAggregateRoot
- Direction
- Core.Entities.Aggregates.Orders uses Core.Entities.SeedWork.Interfaces, so a change to Core.Entities.SeedWork.Interfaces can break Core.Entities.Aggregates.Orders, while a change to Core.Entities.Aggregates.Orders can't break Core.Entities.SeedWork.Interfaces.
- Position
- Below the diagonal: Core.Entities.Aggregates.Orders uses a module listed above it, which is the healthy direction.
29→19 Core.Entities.Aggregates.Orders uses Core.Entities.Aggregates.Orders.Status.Abstract✕
- Connections
- 1 pair of types, where a type in Core.Entities.Aggregates.Orders uses a type in Core.Entities.Aggregates.Orders.Status.Abstract.
- The types involved
Loyalty.Core.Entities.Aggregates.Orders.Order→Loyalty.Core.Entities.Aggregates.Orders.Status.Abstract.OrderStatusEnumeration
- Direction
- Core.Entities.Aggregates.Orders uses Core.Entities.Aggregates.Orders.Status.Abstract, so a change to Core.Entities.Aggregates.Orders.Status.Abstract can break Core.Entities.Aggregates.Orders, while a change to Core.Entities.Aggregates.Orders can't break Core.Entities.Aggregates.Orders.Status.Abstract.
- Position
- Below the diagonal: Core.Entities.Aggregates.Orders uses a module listed above it, which is the healthy direction.
29→20 Core.Entities.Aggregates.Orders uses Core.Entities.Base✕
- Connections
- 1 pair of types, where a type in Core.Entities.Aggregates.Orders uses a type in Core.Entities.Base.
- The types involved
Loyalty.Core.Entities.Aggregates.Orders.Order→Loyalty.Core.Entities.Base.TenantEntity
- Direction
- Core.Entities.Aggregates.Orders uses Core.Entities.Base, so a change to Core.Entities.Base can break Core.Entities.Aggregates.Orders, while a change to Core.Entities.Aggregates.Orders can't break Core.Entities.Base.
- Position
- Below the diagonal: Core.Entities.Aggregates.Orders uses a module listed above it, which is the healthy direction.
29→25 Core.Entities.Aggregates.Orders uses Core.Entities.Aggregates.Products✕
- Connections
- 1 pair of types, where a type in Core.Entities.Aggregates.Orders uses a type in Core.Entities.Aggregates.Products.
- The types involved
Loyalty.Core.Entities.Aggregates.Orders.OrderItem→Loyalty.Core.Entities.Aggregates.Products.Product
- Direction
- Core.Entities.Aggregates.Orders uses Core.Entities.Aggregates.Products, so a change to Core.Entities.Aggregates.Products can break Core.Entities.Aggregates.Orders, while a change to Core.Entities.Aggregates.Orders can't break Core.Entities.Aggregates.Products.
- Position
- Below the diagonal: Core.Entities.Aggregates.Orders uses a module listed above it, which is the healthy direction.
30→8 Core.Entities.Aggregates.Venues uses Core.Entities.SeedWork.Interfaces✕
- Connections
- 1 pair of types, where a type in Core.Entities.Aggregates.Venues uses a type in Core.Entities.SeedWork.Interfaces.
- The types involved
Loyalty.Core.Entities.Aggregates.Venues.Venue→Loyalty.Core.Entities.SeedWork.Interfaces.IAggregateRoot
- Direction
- Core.Entities.Aggregates.Venues uses Core.Entities.SeedWork.Interfaces, so a change to Core.Entities.SeedWork.Interfaces can break Core.Entities.Aggregates.Venues, while a change to Core.Entities.Aggregates.Venues can't break Core.Entities.SeedWork.Interfaces.
- Position
- Below the diagonal: Core.Entities.Aggregates.Venues uses a module listed above it, which is the healthy direction.
30→20 Core.Entities.Aggregates.Venues uses Core.Entities.Base✕
- Connections
- 1 pair of types, where a type in Core.Entities.Aggregates.Venues uses a type in Core.Entities.Base.
- The types involved
Loyalty.Core.Entities.Aggregates.Venues.Venue→Loyalty.Core.Entities.Base.TenantEntity
- Direction
- Core.Entities.Aggregates.Venues uses Core.Entities.Base, so a change to Core.Entities.Base can break Core.Entities.Aggregates.Venues, while a change to Core.Entities.Aggregates.Venues can't break Core.Entities.Base.
- Position
- Below the diagonal: Core.Entities.Aggregates.Venues uses a module listed above it, which is the healthy direction.
30→25 Core.Entities.Aggregates.Venues uses Core.Entities.Aggregates.Products✕
- Connections
- 1 pair of types, where a type in Core.Entities.Aggregates.Venues uses a type in Core.Entities.Aggregates.Products.
- The types involved
Loyalty.Core.Entities.Aggregates.Venues.Venue→Loyalty.Core.Entities.Aggregates.Products.Product
- Direction
- Core.Entities.Aggregates.Venues uses Core.Entities.Aggregates.Products, so a change to Core.Entities.Aggregates.Products can break Core.Entities.Aggregates.Venues, while a change to Core.Entities.Aggregates.Venues can't break Core.Entities.Aggregates.Products.
- Position
- Below the diagonal: Core.Entities.Aggregates.Venues uses a module listed above it, which is the healthy direction.
30→31 Core.Entities.Aggregates.Venues uses Core.Entities.Aggregates.ProductGroups part of a loop✕
- Connections
- 1 pair of types, where a type in Core.Entities.Aggregates.Venues uses a type in Core.Entities.Aggregates.ProductGroups.
- The types involved
Loyalty.Core.Entities.Aggregates.Venues.Venue→Loyalty.Core.Entities.Aggregates.ProductGroups.ProductGroup
- Direction
- Core.Entities.Aggregates.Venues uses Core.Entities.Aggregates.ProductGroups, so a change to Core.Entities.Aggregates.ProductGroups can break Core.Entities.Aggregates.Venues, while a change to Core.Entities.Aggregates.Venues can't break Core.Entities.Aggregates.ProductGroups.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
30→32 Core.Entities.Aggregates.Venues uses Core.Entities.Aggregates.LoyaltyPrograms part of a loop✕
- Connections
- 1 pair of types, where a type in Core.Entities.Aggregates.Venues uses a type in Core.Entities.Aggregates.LoyaltyPrograms.
- The types involved
Loyalty.Core.Entities.Aggregates.Venues.Venue→Loyalty.Core.Entities.Aggregates.LoyaltyPrograms.LoyaltyProgram
- Direction
- Core.Entities.Aggregates.Venues uses Core.Entities.Aggregates.LoyaltyPrograms, so a change to Core.Entities.Aggregates.LoyaltyPrograms can break Core.Entities.Aggregates.Venues, while a change to Core.Entities.Aggregates.Venues can't break Core.Entities.Aggregates.LoyaltyPrograms.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
31→8 Core.Entities.Aggregates.ProductGroups uses Core.Entities.SeedWork.Interfaces✕
- Connections
- 1 pair of types, where a type in Core.Entities.Aggregates.ProductGroups uses a type in Core.Entities.SeedWork.Interfaces.
- The types involved
Loyalty.Core.Entities.Aggregates.ProductGroups.ProductGroup→Loyalty.Core.Entities.SeedWork.Interfaces.IAggregateRoot
- Direction
- Core.Entities.Aggregates.ProductGroups uses Core.Entities.SeedWork.Interfaces, so a change to Core.Entities.SeedWork.Interfaces can break Core.Entities.Aggregates.ProductGroups, while a change to Core.Entities.Aggregates.ProductGroups can't break Core.Entities.SeedWork.Interfaces.
- Position
- Below the diagonal: Core.Entities.Aggregates.ProductGroups uses a module listed above it, which is the healthy direction.
31→20 Core.Entities.Aggregates.ProductGroups uses Core.Entities.Base✕
- Connections
- 1 pair of types, where a type in Core.Entities.Aggregates.ProductGroups uses a type in Core.Entities.Base.
- The types involved
Loyalty.Core.Entities.Aggregates.ProductGroups.ProductGroup→Loyalty.Core.Entities.Base.TenantEntity
- Direction
- Core.Entities.Aggregates.ProductGroups uses Core.Entities.Base, so a change to Core.Entities.Base can break Core.Entities.Aggregates.ProductGroups, while a change to Core.Entities.Aggregates.ProductGroups can't break Core.Entities.Base.
- Position
- Below the diagonal: Core.Entities.Aggregates.ProductGroups uses a module listed above it, which is the healthy direction.
31→30 Core.Entities.Aggregates.ProductGroups uses Core.Entities.Aggregates.Venues✕
- Connections
- 1 pair of types, where a type in Core.Entities.Aggregates.ProductGroups uses a type in Core.Entities.Aggregates.Venues.
- The types involved
Loyalty.Core.Entities.Aggregates.ProductGroups.ProductGroup→Loyalty.Core.Entities.Aggregates.Venues.Venue
- Direction
- Core.Entities.Aggregates.ProductGroups uses Core.Entities.Aggregates.Venues, so a change to Core.Entities.Aggregates.Venues can break Core.Entities.Aggregates.ProductGroups, while a change to Core.Entities.Aggregates.ProductGroups can't break Core.Entities.Aggregates.Venues.
- Position
- Below the diagonal: Core.Entities.Aggregates.ProductGroups uses a module listed above it, which is the healthy direction.
32→7 Core.Entities.Aggregates.LoyaltyPrograms uses Core.Entities.SeedWork✕
- Connections
- 1 pair of types, where a type in Core.Entities.Aggregates.LoyaltyPrograms uses a type in Core.Entities.SeedWork.
- The types involved
Loyalty.Core.Entities.Aggregates.LoyaltyPrograms.LoyaltyGroupRule→Loyalty.Core.Entities.SeedWork.ValueObject
- Direction
- Core.Entities.Aggregates.LoyaltyPrograms uses Core.Entities.SeedWork, so a change to Core.Entities.SeedWork can break Core.Entities.Aggregates.LoyaltyPrograms, while a change to Core.Entities.Aggregates.LoyaltyPrograms can't break Core.Entities.SeedWork.
- Position
- Below the diagonal: Core.Entities.Aggregates.LoyaltyPrograms uses a module listed above it, which is the healthy direction.
32→8 Core.Entities.Aggregates.LoyaltyPrograms uses Core.Entities.SeedWork.Interfaces✕
- Connections
- 1 pair of types, where a type in Core.Entities.Aggregates.LoyaltyPrograms uses a type in Core.Entities.SeedWork.Interfaces.
- The types involved
Loyalty.Core.Entities.Aggregates.LoyaltyPrograms.LoyaltyProgram→Loyalty.Core.Entities.SeedWork.Interfaces.IAggregateRoot
- Direction
- Core.Entities.Aggregates.LoyaltyPrograms uses Core.Entities.SeedWork.Interfaces, so a change to Core.Entities.SeedWork.Interfaces can break Core.Entities.Aggregates.LoyaltyPrograms, while a change to Core.Entities.Aggregates.LoyaltyPrograms can't break Core.Entities.SeedWork.Interfaces.
- Position
- Below the diagonal: Core.Entities.Aggregates.LoyaltyPrograms uses a module listed above it, which is the healthy direction.
32→20 Core.Entities.Aggregates.LoyaltyPrograms uses Core.Entities.Base✕
- Connections
- 2 pairs of types, where a type in Core.Entities.Aggregates.LoyaltyPrograms uses a type in Core.Entities.Base.
- The types involved
Loyalty.Core.Entities.Aggregates.LoyaltyPrograms.LoyaltyProductGroup→Loyalty.Core.Entities.Base.TenantEntityLoyalty.Core.Entities.Aggregates.LoyaltyPrograms.LoyaltyProgram→Loyalty.Core.Entities.Base.TenantEntity
- Direction
- Core.Entities.Aggregates.LoyaltyPrograms uses Core.Entities.Base, so a change to Core.Entities.Base can break Core.Entities.Aggregates.LoyaltyPrograms, while a change to Core.Entities.Aggregates.LoyaltyPrograms can't break Core.Entities.Base.
- Position
- Below the diagonal: Core.Entities.Aggregates.LoyaltyPrograms uses a module listed above it, which is the healthy direction.
32→31 Core.Entities.Aggregates.LoyaltyPrograms uses Core.Entities.Aggregates.ProductGroups✕
- Connections
- 2 pairs of types, where a type in Core.Entities.Aggregates.LoyaltyPrograms uses a type in Core.Entities.Aggregates.ProductGroups.
- The types involved
Loyalty.Core.Entities.Aggregates.LoyaltyPrograms.LoyaltyProductGroup→Loyalty.Core.Entities.Aggregates.ProductGroups.ProductGroupLoyalty.Core.Entities.Aggregates.LoyaltyPrograms.LoyaltyProgram→Loyalty.Core.Entities.Aggregates.ProductGroups.ProductGroup
- Direction
- Core.Entities.Aggregates.LoyaltyPrograms uses Core.Entities.Aggregates.ProductGroups, so a change to Core.Entities.Aggregates.ProductGroups can break Core.Entities.Aggregates.LoyaltyPrograms, while a change to Core.Entities.Aggregates.LoyaltyPrograms can't break Core.Entities.Aggregates.ProductGroups.
- Position
- Below the diagonal: Core.Entities.Aggregates.LoyaltyPrograms uses a module listed above it, which is the healthy direction.
33→25 Core.Entities.Events.Products uses Core.Entities.Aggregates.Products✕
- Connections
- 5 pairs of types, where a type in Core.Entities.Events.Products uses a type in Core.Entities.Aggregates.Products.
- The types involved
Loyalty.Core.Entities.Events.Products.ProductArchivedDomainEvent→Loyalty.Core.Entities.Aggregates.Products.ProductLoyalty.Core.Entities.Events.Products.ProductAvailabilityChangedDomainEvent→Loyalty.Core.Entities.Aggregates.Products.ProductLoyalty.Core.Entities.Events.Products.ProductChangedImageDomainEvent→Loyalty.Core.Entities.Aggregates.Products.ProductLoyalty.Core.Entities.Events.Products.ProductCreatedDomainEvent→Loyalty.Core.Entities.Aggregates.Products.ProductLoyalty.Core.Entities.Events.Products.ProductUpdatedDomainEvent→Loyalty.Core.Entities.Aggregates.Products.Product
- Direction
- Core.Entities.Events.Products uses Core.Entities.Aggregates.Products, so a change to Core.Entities.Aggregates.Products can break Core.Entities.Events.Products, while a change to Core.Entities.Events.Products can't break Core.Entities.Aggregates.Products.
- Position
- Below the diagonal: Core.Entities.Events.Products uses a module listed above it, which is the healthy direction.
33→31 Core.Entities.Events.Products uses Core.Entities.Aggregates.ProductGroups✕
- Connections
- 1 pair of types, where a type in Core.Entities.Events.Products uses a type in Core.Entities.Aggregates.ProductGroups.
- The types involved
Loyalty.Core.Entities.Events.Products.ProductCreatedDomainEvent→Loyalty.Core.Entities.Aggregates.ProductGroups.ProductGroup
- Direction
- Core.Entities.Events.Products uses Core.Entities.Aggregates.ProductGroups, so a change to Core.Entities.Aggregates.ProductGroups can break Core.Entities.Events.Products, while a change to Core.Entities.Events.Products can't break Core.Entities.Aggregates.ProductGroups.
- Position
- Below the diagonal: Core.Entities.Events.Products uses a module listed above it, which is the healthy direction.
34→8 Core.Entities.Interfaces.Repository uses Core.Entities.SeedWork.Interfaces✕
- Connections
- 8 pairs of types, where a type in Core.Entities.Interfaces.Repository uses a type in Core.Entities.SeedWork.Interfaces.
- The types involved
Loyalty.Core.Entities.Interfaces.Repository.ILoyaltyProgramRepository→Loyalty.Core.Entities.SeedWork.Interfaces.IRepositoryLoyalty.Core.Entities.Interfaces.Repository.IOrderRepository→Loyalty.Core.Entities.SeedWork.Interfaces.IRepositoryLoyalty.Core.Entities.Interfaces.Repository.IProductGroupRepository→Loyalty.Core.Entities.SeedWork.Interfaces.IRepositoryLoyalty.Core.Entities.Interfaces.Repository.IProductRepository→Loyalty.Core.Entities.SeedWork.Interfaces.IRepositoryLoyalty.Core.Entities.Interfaces.Repository.IPurchaseRepository→Loyalty.Core.Entities.SeedWork.Interfaces.IRepositoryLoyalty.Core.Entities.Interfaces.Repository.IVenueAdminRepository→Loyalty.Core.Entities.SeedWork.Interfaces.IRepositoryLoyalty.Core.Entities.Interfaces.Repository.IVenueRepository→Loyalty.Core.Entities.SeedWork.Interfaces.IRepositoryLoyalty.Core.Entities.Interfaces.Repository.IWorkerRepository→Loyalty.Core.Entities.SeedWork.Interfaces.IRepository
- Direction
- Core.Entities.Interfaces.Repository uses Core.Entities.SeedWork.Interfaces, so a change to Core.Entities.SeedWork.Interfaces can break Core.Entities.Interfaces.Repository, while a change to Core.Entities.Interfaces.Repository can't break Core.Entities.SeedWork.Interfaces.
- Position
- Below the diagonal: Core.Entities.Interfaces.Repository uses a module listed above it, which is the healthy direction.
34→25 Core.Entities.Interfaces.Repository uses Core.Entities.Aggregates.Products✕
- Connections
- 1 pair of types, where a type in Core.Entities.Interfaces.Repository uses a type in Core.Entities.Aggregates.Products.
- The types involved
Loyalty.Core.Entities.Interfaces.Repository.IProductRepository→Loyalty.Core.Entities.Aggregates.Products.Product
- Direction
- Core.Entities.Interfaces.Repository uses Core.Entities.Aggregates.Products, so a change to Core.Entities.Aggregates.Products can break Core.Entities.Interfaces.Repository, while a change to Core.Entities.Interfaces.Repository can't break Core.Entities.Aggregates.Products.
- Position
- Below the diagonal: Core.Entities.Interfaces.Repository uses a module listed above it, which is the healthy direction.
34→26 Core.Entities.Interfaces.Repository uses Core.Entities.Aggregates.Purchases✕
- Connections
- 1 pair of types, where a type in Core.Entities.Interfaces.Repository uses a type in Core.Entities.Aggregates.Purchases.
- The types involved
Loyalty.Core.Entities.Interfaces.Repository.IPurchaseRepository→Loyalty.Core.Entities.Aggregates.Purchases.Purchase
- Direction
- Core.Entities.Interfaces.Repository uses Core.Entities.Aggregates.Purchases, so a change to Core.Entities.Aggregates.Purchases can break Core.Entities.Interfaces.Repository, while a change to Core.Entities.Interfaces.Repository can't break Core.Entities.Aggregates.Purchases.
- Position
- Below the diagonal: Core.Entities.Interfaces.Repository uses a module listed above it, which is the healthy direction.
34→27 Core.Entities.Interfaces.Repository uses Core.Entities.Aggregates.Workers✕
- Connections
- 2 pairs of types, where a type in Core.Entities.Interfaces.Repository uses a type in Core.Entities.Aggregates.Workers.
- The types involved
Loyalty.Core.Entities.Interfaces.Repository.IWorkerRepository→Loyalty.Core.Entities.Aggregates.Workers.VenueWorkerLoyalty.Core.Entities.Interfaces.Repository.IWorkerRepository→Loyalty.Core.Entities.Aggregates.Workers.Worker
- Direction
- Core.Entities.Interfaces.Repository uses Core.Entities.Aggregates.Workers, so a change to Core.Entities.Aggregates.Workers can break Core.Entities.Interfaces.Repository, while a change to Core.Entities.Interfaces.Repository can't break Core.Entities.Aggregates.Workers.
- Position
- Below the diagonal: Core.Entities.Interfaces.Repository uses a module listed above it, which is the healthy direction.
34→29 Core.Entities.Interfaces.Repository uses Core.Entities.Aggregates.Orders✕
- Connections
- 1 pair of types, where a type in Core.Entities.Interfaces.Repository uses a type in Core.Entities.Aggregates.Orders.
- The types involved
Loyalty.Core.Entities.Interfaces.Repository.IOrderRepository→Loyalty.Core.Entities.Aggregates.Orders.Order
- Direction
- Core.Entities.Interfaces.Repository uses Core.Entities.Aggregates.Orders, so a change to Core.Entities.Aggregates.Orders can break Core.Entities.Interfaces.Repository, while a change to Core.Entities.Interfaces.Repository can't break Core.Entities.Aggregates.Orders.
- Position
- Below the diagonal: Core.Entities.Interfaces.Repository uses a module listed above it, which is the healthy direction.
34→30 Core.Entities.Interfaces.Repository uses Core.Entities.Aggregates.Venues✕
- Connections
- 2 pairs of types, where a type in Core.Entities.Interfaces.Repository uses a type in Core.Entities.Aggregates.Venues.
- The types involved
Loyalty.Core.Entities.Interfaces.Repository.IVenueAdminRepository→Loyalty.Core.Entities.Aggregates.Venues.VenueLoyalty.Core.Entities.Interfaces.Repository.IVenueRepository→Loyalty.Core.Entities.Aggregates.Venues.Venue
- Direction
- Core.Entities.Interfaces.Repository uses Core.Entities.Aggregates.Venues, so a change to Core.Entities.Aggregates.Venues can break Core.Entities.Interfaces.Repository, while a change to Core.Entities.Interfaces.Repository can't break Core.Entities.Aggregates.Venues.
- Position
- Below the diagonal: Core.Entities.Interfaces.Repository uses a module listed above it, which is the healthy direction.
34→31 Core.Entities.Interfaces.Repository uses Core.Entities.Aggregates.ProductGroups✕
- Connections
- 1 pair of types, where a type in Core.Entities.Interfaces.Repository uses a type in Core.Entities.Aggregates.ProductGroups.
- The types involved
Loyalty.Core.Entities.Interfaces.Repository.IProductGroupRepository→Loyalty.Core.Entities.Aggregates.ProductGroups.ProductGroup
- Direction
- Core.Entities.Interfaces.Repository uses Core.Entities.Aggregates.ProductGroups, so a change to Core.Entities.Aggregates.ProductGroups can break Core.Entities.Interfaces.Repository, while a change to Core.Entities.Interfaces.Repository can't break Core.Entities.Aggregates.ProductGroups.
- Position
- Below the diagonal: Core.Entities.Interfaces.Repository uses a module listed above it, which is the healthy direction.
34→32 Core.Entities.Interfaces.Repository uses Core.Entities.Aggregates.LoyaltyPrograms✕
- Connections
- 2 pairs of types, where a type in Core.Entities.Interfaces.Repository uses a type in Core.Entities.Aggregates.LoyaltyPrograms.
- The types involved
Loyalty.Core.Entities.Interfaces.Repository.ILoyaltyProgramRepository→Loyalty.Core.Entities.Aggregates.LoyaltyPrograms.LoyaltyProductGroupLoyalty.Core.Entities.Interfaces.Repository.ILoyaltyProgramRepository→Loyalty.Core.Entities.Aggregates.LoyaltyPrograms.LoyaltyProgram
- Direction
- Core.Entities.Interfaces.Repository uses Core.Entities.Aggregates.LoyaltyPrograms, so a change to Core.Entities.Aggregates.LoyaltyPrograms can break Core.Entities.Interfaces.Repository, while a change to Core.Entities.Interfaces.Repository can't break Core.Entities.Aggregates.LoyaltyPrograms.
- Position
- Below the diagonal: Core.Entities.Interfaces.Repository uses a module listed above it, which is the healthy direction.
35→5 Infrastructure.DataAccess.Context.Interface uses Core.Contracts✕
- Connections
- 1 pair of types, where a type in Infrastructure.DataAccess.Context.Interface uses a type in Core.Contracts.
- The types involved
Loyalty.Infrastructure.DataAccess.Context.Interface.ILoyaltyDbContext→Loyalty.Core.Contracts.IDbContext
- Direction
- Infrastructure.DataAccess.Context.Interface uses Core.Contracts, so a change to Core.Contracts can break Infrastructure.DataAccess.Context.Interface, while a change to Infrastructure.DataAccess.Context.Interface can't break Core.Contracts.
- Position
- Below the diagonal: Infrastructure.DataAccess.Context.Interface uses a module listed above it, which is the healthy direction.
35→7 Infrastructure.DataAccess.Context.Interface uses Core.Entities.SeedWork✕
- Connections
- 1 pair of types, where a type in Infrastructure.DataAccess.Context.Interface uses a type in Core.Entities.SeedWork.
- The types involved
Loyalty.Infrastructure.DataAccess.Context.Interface.ILoyaltyTenantDbContext→Loyalty.Core.Entities.SeedWork.Entity
- Direction
- Infrastructure.DataAccess.Context.Interface uses Core.Entities.SeedWork, so a change to Core.Entities.SeedWork can break Infrastructure.DataAccess.Context.Interface, while a change to Infrastructure.DataAccess.Context.Interface can't break Core.Entities.SeedWork.
- Position
- Below the diagonal: Infrastructure.DataAccess.Context.Interface uses a module listed above it, which is the healthy direction.
35→8 Infrastructure.DataAccess.Context.Interface uses Core.Entities.SeedWork.Interfaces✕
- Connections
- 1 pair of types, where a type in Infrastructure.DataAccess.Context.Interface uses a type in Core.Entities.SeedWork.Interfaces.
- The types involved
Loyalty.Infrastructure.DataAccess.Context.Interface.ILoyaltyDbContext→Loyalty.Core.Entities.SeedWork.Interfaces.IUnitOfWork
- Direction
- Infrastructure.DataAccess.Context.Interface uses Core.Entities.SeedWork.Interfaces, so a change to Core.Entities.SeedWork.Interfaces can break Infrastructure.DataAccess.Context.Interface, while a change to Infrastructure.DataAccess.Context.Interface can't break Core.Entities.SeedWork.Interfaces.
- Position
- Below the diagonal: Infrastructure.DataAccess.Context.Interface uses a module listed above it, which is the healthy direction.
35→25 Infrastructure.DataAccess.Context.Interface uses Core.Entities.Aggregates.Products✕
- Connections
- 1 pair of types, where a type in Infrastructure.DataAccess.Context.Interface uses a type in Core.Entities.Aggregates.Products.
- The types involved
Loyalty.Infrastructure.DataAccess.Context.Interface.ILoyaltyDbContext→Loyalty.Core.Entities.Aggregates.Products.Product
- Direction
- Infrastructure.DataAccess.Context.Interface uses Core.Entities.Aggregates.Products, so a change to Core.Entities.Aggregates.Products can break Infrastructure.DataAccess.Context.Interface, while a change to Infrastructure.DataAccess.Context.Interface can't break Core.Entities.Aggregates.Products.
- Position
- Below the diagonal: Infrastructure.DataAccess.Context.Interface uses a module listed above it, which is the healthy direction.
35→26 Infrastructure.DataAccess.Context.Interface uses Core.Entities.Aggregates.Purchases✕
- Connections
- 1 pair of types, where a type in Infrastructure.DataAccess.Context.Interface uses a type in Core.Entities.Aggregates.Purchases.
- The types involved
Loyalty.Infrastructure.DataAccess.Context.Interface.ILoyaltyDbContext→Loyalty.Core.Entities.Aggregates.Purchases.Purchase
- Direction
- Infrastructure.DataAccess.Context.Interface uses Core.Entities.Aggregates.Purchases, so a change to Core.Entities.Aggregates.Purchases can break Infrastructure.DataAccess.Context.Interface, while a change to Infrastructure.DataAccess.Context.Interface can't break Core.Entities.Aggregates.Purchases.
- Position
- Below the diagonal: Infrastructure.DataAccess.Context.Interface uses a module listed above it, which is the healthy direction.
35→27 Infrastructure.DataAccess.Context.Interface uses Core.Entities.Aggregates.Workers✕
- Connections
- 2 pairs of types, where a type in Infrastructure.DataAccess.Context.Interface uses a type in Core.Entities.Aggregates.Workers.
- The types involved
Loyalty.Infrastructure.DataAccess.Context.Interface.ILoyaltyDbContext→Loyalty.Core.Entities.Aggregates.Workers.VenueWorkerLoyalty.Infrastructure.DataAccess.Context.Interface.ILoyaltyDbContext→Loyalty.Core.Entities.Aggregates.Workers.Worker
- Direction
- Infrastructure.DataAccess.Context.Interface uses Core.Entities.Aggregates.Workers, so a change to Core.Entities.Aggregates.Workers can break Infrastructure.DataAccess.Context.Interface, while a change to Infrastructure.DataAccess.Context.Interface can't break Core.Entities.Aggregates.Workers.
- Position
- Below the diagonal: Infrastructure.DataAccess.Context.Interface uses a module listed above it, which is the healthy direction.
35→29 Infrastructure.DataAccess.Context.Interface uses Core.Entities.Aggregates.Orders✕
- Connections
- 2 pairs of types, where a type in Infrastructure.DataAccess.Context.Interface uses a type in Core.Entities.Aggregates.Orders.
- The types involved
Loyalty.Infrastructure.DataAccess.Context.Interface.ILoyaltyDbContext→Loyalty.Core.Entities.Aggregates.Orders.OrderLoyalty.Infrastructure.DataAccess.Context.Interface.ILoyaltyDbContext→Loyalty.Core.Entities.Aggregates.Orders.OrderItem
- Direction
- Infrastructure.DataAccess.Context.Interface uses Core.Entities.Aggregates.Orders, so a change to Core.Entities.Aggregates.Orders can break Infrastructure.DataAccess.Context.Interface, while a change to Infrastructure.DataAccess.Context.Interface can't break Core.Entities.Aggregates.Orders.
- Position
- Below the diagonal: Infrastructure.DataAccess.Context.Interface uses a module listed above it, which is the healthy direction.
35→30 Infrastructure.DataAccess.Context.Interface uses Core.Entities.Aggregates.Venues✕
- Connections
- 1 pair of types, where a type in Infrastructure.DataAccess.Context.Interface uses a type in Core.Entities.Aggregates.Venues.
- The types involved
Loyalty.Infrastructure.DataAccess.Context.Interface.ILoyaltyDbContext→Loyalty.Core.Entities.Aggregates.Venues.Venue
- Direction
- Infrastructure.DataAccess.Context.Interface uses Core.Entities.Aggregates.Venues, so a change to Core.Entities.Aggregates.Venues can break Infrastructure.DataAccess.Context.Interface, while a change to Infrastructure.DataAccess.Context.Interface can't break Core.Entities.Aggregates.Venues.
- Position
- Below the diagonal: Infrastructure.DataAccess.Context.Interface uses a module listed above it, which is the healthy direction.
35→31 Infrastructure.DataAccess.Context.Interface uses Core.Entities.Aggregates.ProductGroups✕
- Connections
- 1 pair of types, where a type in Infrastructure.DataAccess.Context.Interface uses a type in Core.Entities.Aggregates.ProductGroups.
- The types involved
Loyalty.Infrastructure.DataAccess.Context.Interface.ILoyaltyDbContext→Loyalty.Core.Entities.Aggregates.ProductGroups.ProductGroup
- Direction
- Infrastructure.DataAccess.Context.Interface uses Core.Entities.Aggregates.ProductGroups, so a change to Core.Entities.Aggregates.ProductGroups can break Infrastructure.DataAccess.Context.Interface, while a change to Infrastructure.DataAccess.Context.Interface can't break Core.Entities.Aggregates.ProductGroups.
- Position
- Below the diagonal: Infrastructure.DataAccess.Context.Interface uses a module listed above it, which is the healthy direction.
35→32 Infrastructure.DataAccess.Context.Interface uses Core.Entities.Aggregates.LoyaltyPrograms✕
- Connections
- 2 pairs of types, where a type in Infrastructure.DataAccess.Context.Interface uses a type in Core.Entities.Aggregates.LoyaltyPrograms.
- The types involved
Loyalty.Infrastructure.DataAccess.Context.Interface.ILoyaltyDbContext→Loyalty.Core.Entities.Aggregates.LoyaltyPrograms.LoyaltyProductGroupLoyalty.Infrastructure.DataAccess.Context.Interface.ILoyaltyDbContext→Loyalty.Core.Entities.Aggregates.LoyaltyPrograms.LoyaltyProgram
- Direction
- Infrastructure.DataAccess.Context.Interface uses Core.Entities.Aggregates.LoyaltyPrograms, so a change to Core.Entities.Aggregates.LoyaltyPrograms can break Infrastructure.DataAccess.Context.Interface, while a change to Infrastructure.DataAccess.Context.Interface can't break Core.Entities.Aggregates.LoyaltyPrograms.
- Position
- Below the diagonal: Infrastructure.DataAccess.Context.Interface uses a module listed above it, which is the healthy direction.
36→25 Infrastructure.DataAccess.EntityConfigurations uses Core.Entities.Aggregates.Products✕
- Connections
- 1 pair of types, where a type in Infrastructure.DataAccess.EntityConfigurations uses a type in Core.Entities.Aggregates.Products.
- The types involved
Loyalty.Infrastructure.DataAccess.EntityConfigurations.ProductConfiguration→Loyalty.Core.Entities.Aggregates.Products.Product
- Direction
- Infrastructure.DataAccess.EntityConfigurations uses Core.Entities.Aggregates.Products, so a change to Core.Entities.Aggregates.Products can break Infrastructure.DataAccess.EntityConfigurations, while a change to Infrastructure.DataAccess.EntityConfigurations can't break Core.Entities.Aggregates.Products.
- Position
- Below the diagonal: Infrastructure.DataAccess.EntityConfigurations uses a module listed above it, which is the healthy direction.
36→26 Infrastructure.DataAccess.EntityConfigurations uses Core.Entities.Aggregates.Purchases✕
- Connections
- 1 pair of types, where a type in Infrastructure.DataAccess.EntityConfigurations uses a type in Core.Entities.Aggregates.Purchases.
- The types involved
Loyalty.Infrastructure.DataAccess.EntityConfigurations.PurchaseConfiguration→Loyalty.Core.Entities.Aggregates.Purchases.Purchase
- Direction
- Infrastructure.DataAccess.EntityConfigurations uses Core.Entities.Aggregates.Purchases, so a change to Core.Entities.Aggregates.Purchases can break Infrastructure.DataAccess.EntityConfigurations, while a change to Infrastructure.DataAccess.EntityConfigurations can't break Core.Entities.Aggregates.Purchases.
- Position
- Below the diagonal: Infrastructure.DataAccess.EntityConfigurations uses a module listed above it, which is the healthy direction.
36→27 Infrastructure.DataAccess.EntityConfigurations uses Core.Entities.Aggregates.Workers✕
- Connections
- 2 pairs of types, where a type in Infrastructure.DataAccess.EntityConfigurations uses a type in Core.Entities.Aggregates.Workers.
- The types involved
Loyalty.Infrastructure.DataAccess.EntityConfigurations.VenueWorkerConfiguration→Loyalty.Core.Entities.Aggregates.Workers.VenueWorkerLoyalty.Infrastructure.DataAccess.EntityConfigurations.WorkerConfiguration→Loyalty.Core.Entities.Aggregates.Workers.Worker
- Direction
- Infrastructure.DataAccess.EntityConfigurations uses Core.Entities.Aggregates.Workers, so a change to Core.Entities.Aggregates.Workers can break Infrastructure.DataAccess.EntityConfigurations, while a change to Infrastructure.DataAccess.EntityConfigurations can't break Core.Entities.Aggregates.Workers.
- Position
- Below the diagonal: Infrastructure.DataAccess.EntityConfigurations uses a module listed above it, which is the healthy direction.
36→29 Infrastructure.DataAccess.EntityConfigurations uses Core.Entities.Aggregates.Orders✕
- Connections
- 2 pairs of types, where a type in Infrastructure.DataAccess.EntityConfigurations uses a type in Core.Entities.Aggregates.Orders.
- The types involved
Loyalty.Infrastructure.DataAccess.EntityConfigurations.OrderConfiguration→Loyalty.Core.Entities.Aggregates.Orders.OrderLoyalty.Infrastructure.DataAccess.EntityConfigurations.OrderItemConfiguration→Loyalty.Core.Entities.Aggregates.Orders.OrderItem
- Direction
- Infrastructure.DataAccess.EntityConfigurations uses Core.Entities.Aggregates.Orders, so a change to Core.Entities.Aggregates.Orders can break Infrastructure.DataAccess.EntityConfigurations, while a change to Infrastructure.DataAccess.EntityConfigurations can't break Core.Entities.Aggregates.Orders.
- Position
- Below the diagonal: Infrastructure.DataAccess.EntityConfigurations uses a module listed above it, which is the healthy direction.
36→30 Infrastructure.DataAccess.EntityConfigurations uses Core.Entities.Aggregates.Venues✕
- Connections
- 1 pair of types, where a type in Infrastructure.DataAccess.EntityConfigurations uses a type in Core.Entities.Aggregates.Venues.
- The types involved
Loyalty.Infrastructure.DataAccess.EntityConfigurations.VenueConfiguration→Loyalty.Core.Entities.Aggregates.Venues.Venue
- Direction
- Infrastructure.DataAccess.EntityConfigurations uses Core.Entities.Aggregates.Venues, so a change to Core.Entities.Aggregates.Venues can break Infrastructure.DataAccess.EntityConfigurations, while a change to Infrastructure.DataAccess.EntityConfigurations can't break Core.Entities.Aggregates.Venues.
- Position
- Below the diagonal: Infrastructure.DataAccess.EntityConfigurations uses a module listed above it, which is the healthy direction.
36→31 Infrastructure.DataAccess.EntityConfigurations uses Core.Entities.Aggregates.ProductGroups✕
- Connections
- 1 pair of types, where a type in Infrastructure.DataAccess.EntityConfigurations uses a type in Core.Entities.Aggregates.ProductGroups.
- The types involved
Loyalty.Infrastructure.DataAccess.EntityConfigurations.ProductGroupConfiguration→Loyalty.Core.Entities.Aggregates.ProductGroups.ProductGroup
- Direction
- Infrastructure.DataAccess.EntityConfigurations uses Core.Entities.Aggregates.ProductGroups, so a change to Core.Entities.Aggregates.ProductGroups can break Infrastructure.DataAccess.EntityConfigurations, while a change to Infrastructure.DataAccess.EntityConfigurations can't break Core.Entities.Aggregates.ProductGroups.
- Position
- Below the diagonal: Infrastructure.DataAccess.EntityConfigurations uses a module listed above it, which is the healthy direction.
36→32 Infrastructure.DataAccess.EntityConfigurations uses Core.Entities.Aggregates.LoyaltyPrograms✕
- Connections
- 3 pairs of types, where a type in Infrastructure.DataAccess.EntityConfigurations uses a type in Core.Entities.Aggregates.LoyaltyPrograms.
- The types involved
Loyalty.Infrastructure.DataAccess.EntityConfigurations.LoyaltyGroupRuleConfiguration→Loyalty.Core.Entities.Aggregates.LoyaltyPrograms.LoyaltyGroupRuleLoyalty.Infrastructure.DataAccess.EntityConfigurations.LoyaltyProductGroupConfiguration→Loyalty.Core.Entities.Aggregates.LoyaltyPrograms.LoyaltyProductGroupLoyalty.Infrastructure.DataAccess.EntityConfigurations.LoyaltyProgramConfiguration→Loyalty.Core.Entities.Aggregates.LoyaltyPrograms.LoyaltyProgram
- Direction
- Infrastructure.DataAccess.EntityConfigurations uses Core.Entities.Aggregates.LoyaltyPrograms, so a change to Core.Entities.Aggregates.LoyaltyPrograms can break Infrastructure.DataAccess.EntityConfigurations, while a change to Infrastructure.DataAccess.EntityConfigurations can't break Core.Entities.Aggregates.LoyaltyPrograms.
- Position
- Below the diagonal: Infrastructure.DataAccess.EntityConfigurations uses a module listed above it, which is the healthy direction.
37→10 Application.DomainEvents.Handlers.Venues uses Core.Outbox.Entities.Services✕
- Connections
- 7 pairs of types, where a type in Application.DomainEvents.Handlers.Venues uses a type in Core.Outbox.Entities.Services.
- The types involved
Loyalty.Application.DomainEvents.Handlers.Venues.VenueAcceptanceChangedDomainEventHandler→Loyalty.Core.Outbox.Entities.Services.IEventBusServiceLoyalty.Application.DomainEvents.Handlers.Venues.VenueApprovedDomainEventHandler→Loyalty.Core.Outbox.Entities.Services.IEventBusServiceLoyalty.Application.DomainEvents.Handlers.Venues.VenueArchivedDomainEventHandler→Loyalty.Core.Outbox.Entities.Services.IEventBusServiceLoyalty.Application.DomainEvents.Handlers.Venues.VenueCreatedDomainEventHandler→Loyalty.Core.Outbox.Entities.Services.IEventBusServiceLoyalty.Application.DomainEvents.Handlers.Venues.VenueImagesUpdatedDomainEventHandler→Loyalty.Core.Outbox.Entities.Services.IEventBusServiceLoyalty.Application.DomainEvents.Handlers.Venues.VenueLogoUpdatedDomainEventHandler→Loyalty.Core.Outbox.Entities.Services.IEventBusServiceLoyalty.Application.DomainEvents.Handlers.Venues.VenueUpdatedDomainEventHandler→Loyalty.Core.Outbox.Entities.Services.IEventBusService
- Direction
- Application.DomainEvents.Handlers.Venues uses Core.Outbox.Entities.Services, so a change to Core.Outbox.Entities.Services can break Application.DomainEvents.Handlers.Venues, while a change to Application.DomainEvents.Handlers.Venues can't break Core.Outbox.Entities.Services.
- Position
- Below the diagonal: Application.DomainEvents.Handlers.Venues uses a module listed above it, which is the healthy direction.
37→34 Application.DomainEvents.Handlers.Venues uses Core.Entities.Interfaces.Repository✕
- Connections
- 2 pairs of types, where a type in Application.DomainEvents.Handlers.Venues uses a type in Core.Entities.Interfaces.Repository.
- The types involved
Loyalty.Application.DomainEvents.Handlers.Venues.VenueArchivedDomainEventHandler→Loyalty.Core.Entities.Interfaces.Repository.ILoyaltyProgramRepositoryLoyalty.Application.DomainEvents.Handlers.Venues.VenueCreatedDomainEventHandler→Loyalty.Core.Entities.Interfaces.Repository.IWorkerRepository
- Direction
- Application.DomainEvents.Handlers.Venues uses Core.Entities.Interfaces.Repository, so a change to Core.Entities.Interfaces.Repository can break Application.DomainEvents.Handlers.Venues, while a change to Application.DomainEvents.Handlers.Venues can't break Core.Entities.Interfaces.Repository.
- Position
- Below the diagonal: Application.DomainEvents.Handlers.Venues uses a module listed above it, which is the healthy direction.
38→8 Infrastructure.Commands.Repository uses Core.Entities.SeedWork.Interfaces✕
- Connections
- 8 pairs of types, where a type in Infrastructure.Commands.Repository uses a type in Core.Entities.SeedWork.Interfaces.
- The types involved
Loyalty.Infrastructure.Commands.Repository.LoyaltyProgramRepository→Loyalty.Core.Entities.SeedWork.Interfaces.IUnitOfWorkLoyalty.Infrastructure.Commands.Repository.OrderRepository→Loyalty.Core.Entities.SeedWork.Interfaces.IUnitOfWorkLoyalty.Infrastructure.Commands.Repository.ProductGroupRepository→Loyalty.Core.Entities.SeedWork.Interfaces.IUnitOfWorkLoyalty.Infrastructure.Commands.Repository.ProductRepository→Loyalty.Core.Entities.SeedWork.Interfaces.IUnitOfWorkLoyalty.Infrastructure.Commands.Repository.PurchaseRepository→Loyalty.Core.Entities.SeedWork.Interfaces.IUnitOfWorkLoyalty.Infrastructure.Commands.Repository.VenueAdminRepository→Loyalty.Core.Entities.SeedWork.Interfaces.IUnitOfWorkLoyalty.Infrastructure.Commands.Repository.VenueRepository→Loyalty.Core.Entities.SeedWork.Interfaces.IUnitOfWorkLoyalty.Infrastructure.Commands.Repository.WorkerRepository→Loyalty.Core.Entities.SeedWork.Interfaces.IUnitOfWork
- Direction
- Infrastructure.Commands.Repository uses Core.Entities.SeedWork.Interfaces, so a change to Core.Entities.SeedWork.Interfaces can break Infrastructure.Commands.Repository, while a change to Infrastructure.Commands.Repository can't break Core.Entities.SeedWork.Interfaces.
- Position
- Below the diagonal: Infrastructure.Commands.Repository uses a module listed above it, which is the healthy direction.
38→25 Infrastructure.Commands.Repository uses Core.Entities.Aggregates.Products✕
- Connections
- 1 pair of types, where a type in Infrastructure.Commands.Repository uses a type in Core.Entities.Aggregates.Products.
- The types involved
Loyalty.Infrastructure.Commands.Repository.ProductRepository→Loyalty.Core.Entities.Aggregates.Products.Product
- Direction
- Infrastructure.Commands.Repository uses Core.Entities.Aggregates.Products, so a change to Core.Entities.Aggregates.Products can break Infrastructure.Commands.Repository, while a change to Infrastructure.Commands.Repository can't break Core.Entities.Aggregates.Products.
- Position
- Below the diagonal: Infrastructure.Commands.Repository uses a module listed above it, which is the healthy direction.
38→26 Infrastructure.Commands.Repository uses Core.Entities.Aggregates.Purchases✕
- Connections
- 1 pair of types, where a type in Infrastructure.Commands.Repository uses a type in Core.Entities.Aggregates.Purchases.
- The types involved
Loyalty.Infrastructure.Commands.Repository.PurchaseRepository→Loyalty.Core.Entities.Aggregates.Purchases.Purchase
- Direction
- Infrastructure.Commands.Repository uses Core.Entities.Aggregates.Purchases, so a change to Core.Entities.Aggregates.Purchases can break Infrastructure.Commands.Repository, while a change to Infrastructure.Commands.Repository can't break Core.Entities.Aggregates.Purchases.
- Position
- Below the diagonal: Infrastructure.Commands.Repository uses a module listed above it, which is the healthy direction.
38→27 Infrastructure.Commands.Repository uses Core.Entities.Aggregates.Workers✕
- Connections
- 2 pairs of types, where a type in Infrastructure.Commands.Repository uses a type in Core.Entities.Aggregates.Workers.
- The types involved
Loyalty.Infrastructure.Commands.Repository.WorkerRepository→Loyalty.Core.Entities.Aggregates.Workers.VenueWorkerLoyalty.Infrastructure.Commands.Repository.WorkerRepository→Loyalty.Core.Entities.Aggregates.Workers.Worker
- Direction
- Infrastructure.Commands.Repository uses Core.Entities.Aggregates.Workers, so a change to Core.Entities.Aggregates.Workers can break Infrastructure.Commands.Repository, while a change to Infrastructure.Commands.Repository can't break Core.Entities.Aggregates.Workers.
- Position
- Below the diagonal: Infrastructure.Commands.Repository uses a module listed above it, which is the healthy direction.
38→29 Infrastructure.Commands.Repository uses Core.Entities.Aggregates.Orders✕
- Connections
- 1 pair of types, where a type in Infrastructure.Commands.Repository uses a type in Core.Entities.Aggregates.Orders.
- The types involved
Loyalty.Infrastructure.Commands.Repository.OrderRepository→Loyalty.Core.Entities.Aggregates.Orders.Order
- Direction
- Infrastructure.Commands.Repository uses Core.Entities.Aggregates.Orders, so a change to Core.Entities.Aggregates.Orders can break Infrastructure.Commands.Repository, while a change to Infrastructure.Commands.Repository can't break Core.Entities.Aggregates.Orders.
- Position
- Below the diagonal: Infrastructure.Commands.Repository uses a module listed above it, which is the healthy direction.
38→30 Infrastructure.Commands.Repository uses Core.Entities.Aggregates.Venues✕
- Connections
- 2 pairs of types, where a type in Infrastructure.Commands.Repository uses a type in Core.Entities.Aggregates.Venues.
- The types involved
Loyalty.Infrastructure.Commands.Repository.VenueAdminRepository→Loyalty.Core.Entities.Aggregates.Venues.VenueLoyalty.Infrastructure.Commands.Repository.VenueRepository→Loyalty.Core.Entities.Aggregates.Venues.Venue
- Direction
- Infrastructure.Commands.Repository uses Core.Entities.Aggregates.Venues, so a change to Core.Entities.Aggregates.Venues can break Infrastructure.Commands.Repository, while a change to Infrastructure.Commands.Repository can't break Core.Entities.Aggregates.Venues.
- Position
- Below the diagonal: Infrastructure.Commands.Repository uses a module listed above it, which is the healthy direction.
38→31 Infrastructure.Commands.Repository uses Core.Entities.Aggregates.ProductGroups✕
- Connections
- 1 pair of types, where a type in Infrastructure.Commands.Repository uses a type in Core.Entities.Aggregates.ProductGroups.
- The types involved
Loyalty.Infrastructure.Commands.Repository.ProductGroupRepository→Loyalty.Core.Entities.Aggregates.ProductGroups.ProductGroup
- Direction
- Infrastructure.Commands.Repository uses Core.Entities.Aggregates.ProductGroups, so a change to Core.Entities.Aggregates.ProductGroups can break Infrastructure.Commands.Repository, while a change to Infrastructure.Commands.Repository can't break Core.Entities.Aggregates.ProductGroups.
- Position
- Below the diagonal: Infrastructure.Commands.Repository uses a module listed above it, which is the healthy direction.
38→32 Infrastructure.Commands.Repository uses Core.Entities.Aggregates.LoyaltyPrograms✕
- Connections
- 2 pairs of types, where a type in Infrastructure.Commands.Repository uses a type in Core.Entities.Aggregates.LoyaltyPrograms.
- The types involved
Loyalty.Infrastructure.Commands.Repository.LoyaltyProgramRepository→Loyalty.Core.Entities.Aggregates.LoyaltyPrograms.LoyaltyProductGroupLoyalty.Infrastructure.Commands.Repository.LoyaltyProgramRepository→Loyalty.Core.Entities.Aggregates.LoyaltyPrograms.LoyaltyProgram
- Direction
- Infrastructure.Commands.Repository uses Core.Entities.Aggregates.LoyaltyPrograms, so a change to Core.Entities.Aggregates.LoyaltyPrograms can break Infrastructure.Commands.Repository, while a change to Infrastructure.Commands.Repository can't break Core.Entities.Aggregates.LoyaltyPrograms.
- Position
- Below the diagonal: Infrastructure.Commands.Repository uses a module listed above it, which is the healthy direction.
38→34 Infrastructure.Commands.Repository uses Core.Entities.Interfaces.Repository✕
- Connections
- 8 pairs of types, where a type in Infrastructure.Commands.Repository uses a type in Core.Entities.Interfaces.Repository.
- The types involved
Loyalty.Infrastructure.Commands.Repository.LoyaltyProgramRepository→Loyalty.Core.Entities.Interfaces.Repository.ILoyaltyProgramRepositoryLoyalty.Infrastructure.Commands.Repository.OrderRepository→Loyalty.Core.Entities.Interfaces.Repository.IOrderRepositoryLoyalty.Infrastructure.Commands.Repository.ProductGroupRepository→Loyalty.Core.Entities.Interfaces.Repository.IProductGroupRepositoryLoyalty.Infrastructure.Commands.Repository.ProductRepository→Loyalty.Core.Entities.Interfaces.Repository.IProductRepositoryLoyalty.Infrastructure.Commands.Repository.PurchaseRepository→Loyalty.Core.Entities.Interfaces.Repository.IPurchaseRepositoryLoyalty.Infrastructure.Commands.Repository.VenueAdminRepository→Loyalty.Core.Entities.Interfaces.Repository.IVenueAdminRepositoryLoyalty.Infrastructure.Commands.Repository.VenueRepository→Loyalty.Core.Entities.Interfaces.Repository.IVenueRepositoryLoyalty.Infrastructure.Commands.Repository.WorkerRepository→Loyalty.Core.Entities.Interfaces.Repository.IWorkerRepository
- Direction
- Infrastructure.Commands.Repository uses Core.Entities.Interfaces.Repository, so a change to Core.Entities.Interfaces.Repository can break Infrastructure.Commands.Repository, while a change to Infrastructure.Commands.Repository can't break Core.Entities.Interfaces.Repository.
- Position
- Below the diagonal: Infrastructure.Commands.Repository uses a module listed above it, which is the healthy direction.
38→35 Infrastructure.Commands.Repository uses Infrastructure.DataAccess.Context.Interface✕
- Connections
- 8 pairs of types, where a type in Infrastructure.Commands.Repository uses a type in Infrastructure.DataAccess.Context.Interface.
- The types involved
Loyalty.Infrastructure.Commands.Repository.LoyaltyProgramRepository→Loyalty.Infrastructure.DataAccess.Context.Interface.ILoyaltyTenantDbContextLoyalty.Infrastructure.Commands.Repository.OrderRepository→Loyalty.Infrastructure.DataAccess.Context.Interface.ILoyaltyTenantDbContextLoyalty.Infrastructure.Commands.Repository.ProductGroupRepository→Loyalty.Infrastructure.DataAccess.Context.Interface.ILoyaltyTenantDbContextLoyalty.Infrastructure.Commands.Repository.ProductRepository→Loyalty.Infrastructure.DataAccess.Context.Interface.ILoyaltyTenantDbContextLoyalty.Infrastructure.Commands.Repository.PurchaseRepository→Loyalty.Infrastructure.DataAccess.Context.Interface.ILoyaltyTenantDbContextLoyalty.Infrastructure.Commands.Repository.VenueAdminRepository→Loyalty.Infrastructure.DataAccess.Context.Interface.ILoyaltyDbContextLoyalty.Infrastructure.Commands.Repository.VenueRepository→Loyalty.Infrastructure.DataAccess.Context.Interface.ILoyaltyTenantDbContextLoyalty.Infrastructure.Commands.Repository.WorkerRepository→Loyalty.Infrastructure.DataAccess.Context.Interface.ILoyaltyTenantDbContext
- Direction
- Infrastructure.Commands.Repository uses Infrastructure.DataAccess.Context.Interface, so a change to Infrastructure.DataAccess.Context.Interface can break Infrastructure.Commands.Repository, while a change to Infrastructure.Commands.Repository can't break Infrastructure.DataAccess.Context.Interface.
- Position
- Below the diagonal: Infrastructure.Commands.Repository uses a module listed above it, which is the healthy direction.
39→5 Infrastructure.DataAccess.Context uses Core.Contracts✕
- Connections
- 1 pair of types, where a type in Infrastructure.DataAccess.Context uses a type in Core.Contracts.
- The types involved
Loyalty.Infrastructure.DataAccess.Context.LoyaltyTenantDbContext→Loyalty.Core.Contracts.ITenantProvider
- Direction
- Infrastructure.DataAccess.Context uses Core.Contracts, so a change to Core.Contracts can break Infrastructure.DataAccess.Context, while a change to Infrastructure.DataAccess.Context can't break Core.Contracts.
- Position
- Below the diagonal: Infrastructure.DataAccess.Context uses a module listed above it, which is the healthy direction.
39→7 Infrastructure.DataAccess.Context uses Core.Entities.SeedWork✕
- Connections
- 1 pair of types, where a type in Infrastructure.DataAccess.Context uses a type in Core.Entities.SeedWork.
- The types involved
Loyalty.Infrastructure.DataAccess.Context.LoyaltyTenantDbContext→Loyalty.Core.Entities.SeedWork.Entity
- Direction
- Infrastructure.DataAccess.Context uses Core.Entities.SeedWork, so a change to Core.Entities.SeedWork can break Infrastructure.DataAccess.Context, while a change to Infrastructure.DataAccess.Context can't break Core.Entities.SeedWork.
- Position
- Below the diagonal: Infrastructure.DataAccess.Context uses a module listed above it, which is the healthy direction.
39→25 Infrastructure.DataAccess.Context uses Core.Entities.Aggregates.Products✕
- Connections
- 1 pair of types, where a type in Infrastructure.DataAccess.Context uses a type in Core.Entities.Aggregates.Products.
- The types involved
Loyalty.Infrastructure.DataAccess.Context.LoyaltyDbContext→Loyalty.Core.Entities.Aggregates.Products.Product
- Direction
- Infrastructure.DataAccess.Context uses Core.Entities.Aggregates.Products, so a change to Core.Entities.Aggregates.Products can break Infrastructure.DataAccess.Context, while a change to Infrastructure.DataAccess.Context can't break Core.Entities.Aggregates.Products.
- Position
- Below the diagonal: Infrastructure.DataAccess.Context uses a module listed above it, which is the healthy direction.
39→26 Infrastructure.DataAccess.Context uses Core.Entities.Aggregates.Purchases✕
- Connections
- 1 pair of types, where a type in Infrastructure.DataAccess.Context uses a type in Core.Entities.Aggregates.Purchases.
- The types involved
Loyalty.Infrastructure.DataAccess.Context.LoyaltyDbContext→Loyalty.Core.Entities.Aggregates.Purchases.Purchase
- Direction
- Infrastructure.DataAccess.Context uses Core.Entities.Aggregates.Purchases, so a change to Core.Entities.Aggregates.Purchases can break Infrastructure.DataAccess.Context, while a change to Infrastructure.DataAccess.Context can't break Core.Entities.Aggregates.Purchases.
- Position
- Below the diagonal: Infrastructure.DataAccess.Context uses a module listed above it, which is the healthy direction.
39→27 Infrastructure.DataAccess.Context uses Core.Entities.Aggregates.Workers✕
- Connections
- 2 pairs of types, where a type in Infrastructure.DataAccess.Context uses a type in Core.Entities.Aggregates.Workers.
- The types involved
Loyalty.Infrastructure.DataAccess.Context.LoyaltyDbContext→Loyalty.Core.Entities.Aggregates.Workers.VenueWorkerLoyalty.Infrastructure.DataAccess.Context.LoyaltyDbContext→Loyalty.Core.Entities.Aggregates.Workers.Worker
- Direction
- Infrastructure.DataAccess.Context uses Core.Entities.Aggregates.Workers, so a change to Core.Entities.Aggregates.Workers can break Infrastructure.DataAccess.Context, while a change to Infrastructure.DataAccess.Context can't break Core.Entities.Aggregates.Workers.
- Position
- Below the diagonal: Infrastructure.DataAccess.Context uses a module listed above it, which is the healthy direction.
39→29 Infrastructure.DataAccess.Context uses Core.Entities.Aggregates.Orders✕
- Connections
- 2 pairs of types, where a type in Infrastructure.DataAccess.Context uses a type in Core.Entities.Aggregates.Orders.
- The types involved
Loyalty.Infrastructure.DataAccess.Context.LoyaltyDbContext→Loyalty.Core.Entities.Aggregates.Orders.OrderLoyalty.Infrastructure.DataAccess.Context.LoyaltyDbContext→Loyalty.Core.Entities.Aggregates.Orders.OrderItem
- Direction
- Infrastructure.DataAccess.Context uses Core.Entities.Aggregates.Orders, so a change to Core.Entities.Aggregates.Orders can break Infrastructure.DataAccess.Context, while a change to Infrastructure.DataAccess.Context can't break Core.Entities.Aggregates.Orders.
- Position
- Below the diagonal: Infrastructure.DataAccess.Context uses a module listed above it, which is the healthy direction.
39→30 Infrastructure.DataAccess.Context uses Core.Entities.Aggregates.Venues✕
- Connections
- 1 pair of types, where a type in Infrastructure.DataAccess.Context uses a type in Core.Entities.Aggregates.Venues.
- The types involved
Loyalty.Infrastructure.DataAccess.Context.LoyaltyDbContext→Loyalty.Core.Entities.Aggregates.Venues.Venue
- Direction
- Infrastructure.DataAccess.Context uses Core.Entities.Aggregates.Venues, so a change to Core.Entities.Aggregates.Venues can break Infrastructure.DataAccess.Context, while a change to Infrastructure.DataAccess.Context can't break Core.Entities.Aggregates.Venues.
- Position
- Below the diagonal: Infrastructure.DataAccess.Context uses a module listed above it, which is the healthy direction.
39→31 Infrastructure.DataAccess.Context uses Core.Entities.Aggregates.ProductGroups✕
- Connections
- 1 pair of types, where a type in Infrastructure.DataAccess.Context uses a type in Core.Entities.Aggregates.ProductGroups.
- The types involved
Loyalty.Infrastructure.DataAccess.Context.LoyaltyDbContext→Loyalty.Core.Entities.Aggregates.ProductGroups.ProductGroup
- Direction
- Infrastructure.DataAccess.Context uses Core.Entities.Aggregates.ProductGroups, so a change to Core.Entities.Aggregates.ProductGroups can break Infrastructure.DataAccess.Context, while a change to Infrastructure.DataAccess.Context can't break Core.Entities.Aggregates.ProductGroups.
- Position
- Below the diagonal: Infrastructure.DataAccess.Context uses a module listed above it, which is the healthy direction.
39→32 Infrastructure.DataAccess.Context uses Core.Entities.Aggregates.LoyaltyPrograms✕
- Connections
- 2 pairs of types, where a type in Infrastructure.DataAccess.Context uses a type in Core.Entities.Aggregates.LoyaltyPrograms.
- The types involved
Loyalty.Infrastructure.DataAccess.Context.LoyaltyDbContext→Loyalty.Core.Entities.Aggregates.LoyaltyPrograms.LoyaltyProductGroupLoyalty.Infrastructure.DataAccess.Context.LoyaltyDbContext→Loyalty.Core.Entities.Aggregates.LoyaltyPrograms.LoyaltyProgram
- Direction
- Infrastructure.DataAccess.Context uses Core.Entities.Aggregates.LoyaltyPrograms, so a change to Core.Entities.Aggregates.LoyaltyPrograms can break Infrastructure.DataAccess.Context, while a change to Infrastructure.DataAccess.Context can't break Core.Entities.Aggregates.LoyaltyPrograms.
- Position
- Below the diagonal: Infrastructure.DataAccess.Context uses a module listed above it, which is the healthy direction.
39→35 Infrastructure.DataAccess.Context uses Infrastructure.DataAccess.Context.Interface✕
- Connections
- 2 pairs of types, where a type in Infrastructure.DataAccess.Context uses a type in Infrastructure.DataAccess.Context.Interface.
- The types involved
Loyalty.Infrastructure.DataAccess.Context.LoyaltyDbContext→Loyalty.Infrastructure.DataAccess.Context.Interface.ILoyaltyDbContextLoyalty.Infrastructure.DataAccess.Context.LoyaltyTenantDbContext→Loyalty.Infrastructure.DataAccess.Context.Interface.ILoyaltyTenantDbContext
- Direction
- Infrastructure.DataAccess.Context uses Infrastructure.DataAccess.Context.Interface, so a change to Infrastructure.DataAccess.Context.Interface can break Infrastructure.DataAccess.Context, while a change to Infrastructure.DataAccess.Context can't break Infrastructure.DataAccess.Context.Interface.
- Position
- Below the diagonal: Infrastructure.DataAccess.Context uses a module listed above it, which is the healthy direction.
40→9 Infrastructure.Outbox uses Core.Outbox.Entities✕
- Connections
- 2 pairs of types, where a type in Infrastructure.Outbox uses a type in Core.Outbox.Entities.
- The types involved
Loyalty.Infrastructure.Outbox.LoggingIntegrationEventService→Loyalty.Core.Outbox.Entities.IntegrationEventLogEntryLoyalty.Infrastructure.Outbox.PersistentIntegrationEventService→Loyalty.Core.Outbox.Entities.IntegrationEventLogEntry
- Direction
- Infrastructure.Outbox uses Core.Outbox.Entities, so a change to Core.Outbox.Entities can break Infrastructure.Outbox, while a change to Infrastructure.Outbox can't break Core.Outbox.Entities.
- Position
- Below the diagonal: Infrastructure.Outbox uses a module listed above it, which is the healthy direction.
40→10 Infrastructure.Outbox uses Core.Outbox.Entities.Services✕
- Connections
- 1 pair of types, where a type in Infrastructure.Outbox uses a type in Core.Outbox.Entities.Services.
- The types involved
Loyalty.Infrastructure.Outbox.EventBusPublishingService→Loyalty.Core.Outbox.Entities.Services.IEventBusService
- Direction
- Infrastructure.Outbox uses Core.Outbox.Entities.Services, so a change to Core.Outbox.Entities.Services can break Infrastructure.Outbox, while a change to Infrastructure.Outbox can't break Core.Outbox.Entities.Services.
- Position
- Below the diagonal: Infrastructure.Outbox uses a module listed above it, which is the healthy direction.
40→22 Infrastructure.Outbox uses Infrastructure.Events.DataAccess.Context.Interface✕
- Connections
- 1 pair of types, where a type in Infrastructure.Outbox uses a type in Infrastructure.Events.DataAccess.Context.Interface.
- The types involved
Loyalty.Infrastructure.Outbox.PersistentIntegrationEventService→Loyalty.Infrastructure.Events.DataAccess.Context.Interface.IIntegrationEventsContext
- Direction
- Infrastructure.Outbox uses Infrastructure.Events.DataAccess.Context.Interface, so a change to Infrastructure.Events.DataAccess.Context.Interface can break Infrastructure.Outbox, while a change to Infrastructure.Outbox can't break Infrastructure.Events.DataAccess.Context.Interface.
- Position
- Below the diagonal: Infrastructure.Outbox uses a module listed above it, which is the healthy direction.
40→35 Infrastructure.Outbox uses Infrastructure.DataAccess.Context.Interface✕
- Connections
- 3 pairs of types, where a type in Infrastructure.Outbox uses a type in Infrastructure.DataAccess.Context.Interface.
- The types involved
Loyalty.Infrastructure.Outbox.EventBusPublishingService→Loyalty.Infrastructure.DataAccess.Context.Interface.ILoyaltyTenantDbContextLoyalty.Infrastructure.Outbox.LoggingIntegrationEventService→Loyalty.Infrastructure.DataAccess.Context.Interface.ILoyaltyTenantDbContextLoyalty.Infrastructure.Outbox.PersistentIntegrationEventService→Loyalty.Infrastructure.DataAccess.Context.Interface.ILoyaltyTenantDbContext
- Direction
- Infrastructure.Outbox uses Infrastructure.DataAccess.Context.Interface, so a change to Infrastructure.DataAccess.Context.Interface can break Infrastructure.Outbox, while a change to Infrastructure.Outbox can't break Infrastructure.DataAccess.Context.Interface.
- Position
- Below the diagonal: Infrastructure.Outbox uses a module listed above it, which is the healthy direction.
At a glance — Code Health
At a glance — Architecture
At a glance — Maturity
At a glance — Readiness
At a glance — Security
At a glance — Domain Modelling
At a glance — Event-Driven
At a glance — Performance
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A01:2025 — Broken Access Control | 6 | Medium |
Roadmap
First, reconcile documentation with reality by correcting project and path references that no longer exist, and resolve the redundant comment in Product.cs. Next, address the seven write-only private fields across OrderAppService, LoyaltyTenantDbContext, and UpdateUserEmailCommandHandler to reduce explicit debt. Finally, establish a practice of documenting significant design decisions in a dedicated folder and standardize null handling by testing or removing redundant null-conditional operators.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 1 redundant comment finding(s) in Comment Value — start with Product.cs. | +3.6 pts | Low | Comment Value |
| Resolve the 7 WriteOnlyPrivateField finding(s) in Explicit Debt — start with OrderAppService.cs, LoyaltyTenantDbContext.cs, UpdateUserEmailCommandHandler.cs. | +2.8 pts | Low | Explicit Debt |
| Reconcile the README with reality: docs/articles/05-multitenancy-query-filters.md names the project `LoyaltyProgram.VenueId`, but no project, folder or namespace of that name exists; docs/articles/05-multitenancy-query-filters.md names the project `LoyaltyProgram.TenantId`, but no project, folder or namespace of that name exists; docs/articles/medium/05-multitenancy-query-filters.md names the project `LoyaltyProgram.VenueId`, but no project, folder or namespace of that name exists; docs/articles/medium/05-multitenancy-query-filters.md names the project `LoyaltyProgram.TenantId`, but no project, folder or namespace of that name exists; docs/articles/medium/README.md names `docs/images/`, but no file or folder `docs/images` exists. | +3.9 pts | Medium | Documentation accuracy |
| Record your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them. | +2.2 pts | Medium | Architecture documentation |
| Where a method uses `?.` on a symbol and then dereferences it directly, settle the question once: test it before the first use and handle null, or drop the `?.`. | +2.1 pts | Medium | Nullable reference types |
| Reference other aggregates by their strongly-typed id, never by object reference, so each aggregate stays an independent consistency boundary. | +1.7 pts | Medium | Aggregate boundaries |
| Explain in the README how to run the tests. Add a section called Testing to the README in the repository's top folder, saying how to run the test suite. | +1.5 pts | Medium | Documentation (README) |
| Adopt strongly-typed ids across the domain — finish the migration or document the boundary; primitive ids invite transposed-argument bugs. | +1.4 pts | Medium | Strongly-typed ids |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| src/Loyalty.Application.ViewModels/Venue/CreateVenueViewModel.cs | 4.4 | Mixed | Change Coupling: Boundary-crossing change coupling: CreateVenueViewModel.cs ↔ UpdateVenueCommandHandler.cs |
| src/Loyalty.Infrastructure.DataAccess/Context/LoyaltyTenantDbContext.cs | 5.8 | Mixed | Explicit Debt: WriteOnlyPrivateField |
| src/Loyalty.Infrastructure.Handlers/Queries/LoyaltyProductGroups/GetLoyaltyProductGroupByIdQueryHandler.cs | 6.1 | Near-clean | Explicit Debt: WriteOnlyPrivateField |
| src/Loyalty.Infrastructure.Handlers.Commands/Commands/Venues/CreateVenueCommandHandler.cs | 6.1 | Near-clean | Explicit Debt: WriteOnlyPrivateField |
| src/Loyalty.Application.Venue/WorkerAppService.cs | 6.5 | Near-clean | Change Coupling: Boundary-crossing change coupling: WorkerAppService.cs ↔ REDACTED |
| REDACTED | 6.9 | Near-clean | Data Compliance (PII/GDPR): REDACTED |
| REDACTED | 6.9 | Near-clean | Data Compliance (PII/GDPR): REDACTED |
| src/Loyalty.Application.Venue/LoyaltyVenueAppService.cs | 7.0 | Near-clean | Code Duplication: Duplicated block (5 lines × 2) |
| src/LoyaltyProgram/LoyaltyProgram.csproj | 7.0 | Near-clean | Coupling: Unstable project LoyaltyProgram |
| src/Loyalty.Infrastructure.IoC/Loyalty.Infrastructure.IoC.csproj | 7.0 | Near-clean | Coupling: Unstable project Loyalty.Infrastructure.IoC |
| src/Loyalty.Infrastructure.Handlers.Commands/Loyalty.Infrastructure.Handlers.Commands.csproj | 7.0 | Near-clean | Coupling: Unstable project Loyalty.Infrastructure.Handlers.Commands |
| src/Loyalty.Domain.Handlers.Contracts/Loyalty.Domain.Handlers.Contracts.csproj | 7.0 | Near-clean | Coupling: Off the main sequence: Loyalty.Domain.Handlers.Contracts |
| src/Loyalty.Domain.Handlers.Queries/Loyalty.Domain.Handlers.Queries.csproj | 7.0 | Near-clean | Coupling: Off the main sequence: Loyalty.Domain.Handlers.Queries |
| src/Loyalty.Domain.Handlers.Firebase.Queries/Loyalty.Domain.Handlers.Firebase.Queries.csproj | 7.0 | Near-clean | Coupling: Off the main sequence: Loyalty.Domain.Handlers.Firebase.Queries |
| test/LoyaltyProgram.Tests/Tests/Venue/VenueTests.cs | 7.0 | Near-clean | Test Quality: No assertions (empty test): ShouldGetOnlyOwnVenues |
| src/Loyalty.Application.Venue/OrderAppService.cs | 7.6 | Near-clean | Explicit Debt: WriteOnlyPrivateField |
| src/Loyalty.Infrastructure.Firebase.Handlers/Commands/User/UpdateUserEmailCommandHandler.cs | 7.6 | Near-clean | Explicit Debt: WriteOnlyPrivateField |
| src/Loyalty.Infrastructure.Outbox/EventBusPublishingService.cs | 7.6 | Near-clean | Explicit Debt: WriteOnlyPrivateField |
| src/LoyaltyProgram/Http/Write/VenueImages/VenuePutImageFunction.cs | 7.6 | Near-clean | Explicit Debt: WriteOnlyPrivateField |
| common/Loyalty.Domain.Handlers.Notifications/Venue/CreateVenueNotification.cs | 7.8 | Near-clean | Code Duplication: Duplicated block (59 lines × 2) |
How the grades work
A definite problem that already costs you something and drags the score down: a missing authorisation check, a dependency with a known exploit, a build that does not reproduce. Failure here tends to cause failures elsewhere.
Likely wrong, but not failing yet. It degrades the codebase over a longer horizon and can cause failures elsewhere — not urgent this week, not something to carry for two years either.
Recorded, with no effect on how the codebase functions. Present so the survey is complete, not because it needs doing.
Something this survey could not settle from the outside, and which could be critical or serious. Either a control was required and no positive evidence of it exists in the repository — a backup job that nothing shows was ever restored from proves nothing about restores — or our own analysis could not run over that part of the tree. This is not a clean result. These are excluded from the score rather than awarded a pass, so the number on the cover neither rewards nor penalises them: if you act on this survey without resolving them, you carry that risk yourself. Each one is named under Limitations.
Methodology & how to trust this report
Watchdog is a deep, periodic assessment — run each sprint, monthly, or quarterly, taking the time to go wider and deeper than a quick check and surfacing in one coherent report what you'd otherwise piece together from a dozen separate tools. It scores deterministically: the same commit yields the same score, every run. 79 of 85 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 6 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.9 — the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.
What we checked — 85 dimensions across the health lenses
- Can you open the finding? Real findings cite a repo-relative file and line you can open at the cited line — never an absolute scratch path. Here, 243 of 256 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line.
- Is there a tool behind the number? Every score below names the method that produced it — Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled · advisory — not a narrative.
- Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.
Tools & methods
| Method | Backs | Version | Evaluator |
|---|---|---|---|
| Roslyn static analysis | Complexity, cohesion, coupling, dead code, API surface, layering | 5.3.0 | ✓ deterministic |
| Native secret scanner | Hardcoded secrets / credentials | 1.0.0 | ✓ deterministic |
| Watchdog duplication detector (in-process) | Code duplication | 1.0.0 | ✓ deterministic |
| Coverage (coverlet / dotnet-coverage) | Line & branch coverage | 10.0.400 | ✓ deterministic |
| NuGet / dotnet | Outdated, vulnerable & deprecated dependencies | 10.0.400 | ✓ deterministic |
| git / LibGit2Sharp | Churn hotspots, knowledge concentration, history | 2.43.0 · 0.31.0 | ✓ deterministic |
| gitleaks · semgrep · trivy | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 | ✓ deterministic |
| LLM (sampled · advisory) | Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurement | Local LLM | ◐ LLM · sampled · advisory |
Run transparency — what happened this run
- D9 Test Distribution — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. 57 test method(s) were found on disk (co-located in feature projects, or outside the analyzed solution) rather than in dedicated test projects, so the unit/integration/E2E pyramid can't be classified — they're counted as one undifferentiated suite. You can widen what we reach: moving the tests into dedicated test projects inside the analyzed solution would let the unit/integration/BDD/E2E split be classified — but the counting gap is ours, so nothing is deducted either way.
- D12 Dependency Hygiene — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. The NuGet registry this repository's packages resolve from could not be reached on this run, so no outdated, vulnerable or deprecated package could be read. The tool said: NU1301: The local source 'src/C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\' doesn't exist. [src/LoyaltyProgram.sln]. This is OUR side and an ENVIRONMENT fault — the collector exists and ran — so the remedy is the scan's network path to a NuGet package source, and a re-run with it reachable measures this repository.
- D16 Bus Factor — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. Single-contributor repository — bus factor is not applicable (1 contributor(s) across 594 commit(s) sampled, automation and bot accounts excluded). Concentration needs a team to concentrate: with one contributor there is nobody to spread the knowledge to, so there is nothing here for the owner to act on.
- D17 Explicit Debt — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. The C# workspace loaded this repository's projects but reported a load failure, and the dead-code reference search is unreliable over a graph that did not load cleanly, so it was skipped. The other debt markers on this row were read; dead symbols were not, and their absence from the score is not a finding that the code has none. First load diagnostic: Failure: Msbuild failed when processing the file 'src/LoyaltyProgram/LoyaltyProgram.csproj' with message: The local source 'src/C:/Program Files (x86)/Microsoft SDKs/NuGetPackages/' doesn't exist.
- D18 Solution Shape — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. The build did not finish within its budget on this run; structural metrics are reported, build/warning status is unknown.
- D30 Dependency Vulnerabilities — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Nuget: a NuGet package source could not be reached (NU1301: The local source 'src/C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\' doesn't exist.). The scanner exists and ran; what failed is the scan's network path to the registry, so nothing was read and nothing here is a statement about the repository. A re-run with the registry reachable measures it.
- D39 IL Efficiency — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. IL NOT MEASURED: the analyzer's own build of this repository failed for an ENVIRONMENT reason (exit 1) — MSBuild's engine or the CLR gave up, or our image does not carry the SDK band/targeting pack this repository needs. This is OUR limitation, not a defect in the repo, and it is not a statement that this repository fails to build. D18 owns the question of whether this repository builds; it was not answered here.
- X2 Cancellation propagation — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. 84 further occurrence(s) are not listed individually; the score already reflects all 124.
- Package restore incomplete — third-party types were unresolved in part of the solution — NuGet restore did not complete for src/LoyaltyProgram/LoyaltyProgram.csproj, src/Loyalty.Core.Entities/Loyalty.Core.Entities.csproj, src/Loyalty.Common.Shared/Loyalty.Common.Shared.csproj, src/Loyalty.Application.ViewModels/Loyalty.Application.ViewModels.csproj, src/Loyalty.Infrastructure.Handlers/Loyalty.Infrastructure.Handlers.csproj and 18 more, so those projects were analysed with framework references only: every check keyed on a third-party type saw an error type there and reported nothing. Findings on those projects are a lower bound; run `dotnet restore` on them and rescan.
Limitations & what we did not check
Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.
Per-dimension blind spots
- D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically — it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
- D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
- D3 God Classes: "God class" is sized by members and responsibilities visible in the type — a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module — one class/IIFE — earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
- D4 Code Duplication: Duplication is token-similarity — an in-process token-stream comparison over sliding windows, with type-aware normalization — so it finds copy-paste, not semantic duplication expressed differently. Committed machine-written code (scaffolded migrations, designer/codegen output, protobuf/OpenAPI stubs, model snapshots) is EXCLUDED — its repetition is the tool's, not the team's — so the score reflects hand-written duplication only.
- D5 Coupling: Coupling is measured between projects/assemblies — runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
- D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic — it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
- D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals — a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
- D10 Test Quality: Assertion density is structural — it cannot tell a meaningful behavioural assertion from a trivial one, only that an assertion is present.
- D13 Secret Scanning: Secret detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
- D14 License Compliance: License compatibility is checked against declared package metadata and a policy — mislabelled or missing license metadata, and obligations that depend on how you distribute, are not resolved here.
- D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
- D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual — undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (scaffolded migrations, designer/codegen output, generated stubs) is excluded — it is never the team's dead code to delete.
- D18 Solution Shape: Build integrity reflects whether the solution compiled in this environment — a build that needs a private feed, a specific SDK, or a generated file absent from the repo can read as broken when it is merely unreproducible here.
- D19 Documentation Quality: Documentation quality is judged by an LLM over a bounded sample of docs — it reads what is written, not whether the docs match the running system, and it is advisory, not a measurement. Its critique rows are drawn from a closed category vocabulary and each row means the same thing in every run, so two scans can be compared row by row; the SET that fires is still a sample, and does not repeat exactly. Measured on one frozen input, six scans at one engine SHA: 2-5 critique rows per scan, 8 distinct rows across the six, 3 of those 8 seen in only one scan. So a D19 row is evidence about the documentation, but a COUNT of D19 rows is not a quantity — never read a change in it as an improvement or a regression.
- D21 Naming Consistency: Naming quality is an LLM judgement over a bounded sample — it assesses clarity/consistency of the names it sees, not domain-correctness, and is advisory.
- D22 Internal API Consistency: API-surface coherence is an LLM judgement over a sample of the public surface — consistency of intent across the whole API is approximated, not exhaustively verified.
- D24 Comment Value: Comment value (WHY vs WHAT) is an LLM judgement over a bounded sample — it is advisory and cannot weigh a comment against the precise code change it was written to explain.
- D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
- D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
- D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
- D32 Data Compliance (PII/GDPR): PII/GDPR signals are heuristic pattern matches in code — they flag likely handling concerns, not legal compliance, and cannot trace where data actually flows at runtime.
- D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension — code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
- D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
- D44 Platform End-of-Life: The support table is FROZEN, so it goes out of date by losing RECALL: a release that ended support after the table was written is missed until the table is refreshed, and this dimension reading 10 is not evidence that a platform is current. Only platforms the repository DECLARES in a place this pass reads are seen — a runtime named only in a Dockerfile (D31's subject), in a CI workflow (D29's), or in a file this pass does not parse (go.mod, a Gemfile ruby directive) is invisible here, which is why a repository declaring none of them abstains rather than scoring. Only frameworks with a PUBLISHED support policy are tracked: React, Flask and Express publish none, so their age cannot be judged and their absence from a report is not a statement that they are supported.
- AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
- AX9 CQS / query purity: Handlers are found by interface/name convention — a query handler using neither is not seen. Mutation is a resolved write/publish invocation (SaveChanges/repository/bus), so a write hidden behind a hand-rolled wrapper, reflection, or a string-keyed service locator resolves to a non-persistence type and isn't flagged; it detects that a query writes state, not whether the write is a legitimate read-side cache update. Clean means "no resolved write/publish in a query body", not a proof of CQS purity.
- C3 Audit Trail: This control is scored from in-repo evidence only — a working control configured outside the repository leaves no signal a static scan can credit.
- DM4 Rich vs anemic model: Behaviour is detected as state mutation inside a method body — a method that enforces an invariant by validating-and-throwing without mutating reads as a query, and mutation delegated through an interface the scan can't resolve isn't credited; entities with zero public properties still drop out of the population. It detects that state changes, not whether the rule is correct.
- DM6 Domain ↔ infrastructure boundary: Infrastructure reached through a hand-rolled wrapper, a domain-named facade, reflection, or a string-keyed service locator resolves to a non-infra type and isn't seen; the body scan is symbol resolution over syntax, not full dataflow. A clean result means "no resolved infra reference in a domain body", not a proof of purity.
- ED5 Idempotency: Idempotency is judged from the handler body's visible writes and guards — a guard enforced by a database unique constraint, a broker's exactly-once delivery, or a domain method whose no-op-when-applied logic the scan can't follow may read as at-risk; the at-risk candidates are confirmed by a SAMPLED LLM verdict (advisory, not exhaustive) and degrade to heuristic-only when no model is configured. It flags the at-least-once double-apply SHAPE, not a runtime proof of a duplicate effect.
- M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present — it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.
- P6 Release Hygiene: Rollback/observability controls are inferred from repo artefacts (pipelines, dashboards-as-code) — controls configured in external tooling, with no in-repo trace, cannot be credited.
The LLM boundary
Dimensions
D1 · Cyclomatic Complexity
0 method(s) exceeded the cyclomatic complexity threshold of 15.
D2 · Cognitive Complexity
0 method(s) exceeded the cognitive complexity threshold of 15.
D3 · God Classes
0 god class(es) detected.
D4 · Code Duplication
28 duplicated block group(s) detected.
What to do
- Resolve the 4 Duplicated block (14 lines × 2) finding(s) in Code Duplication — start with CreateVenueViewModel.cs, LoyaltyProductGroupGetViewModel.cs, CreateProductViewModel.cs. — One of this dimension's main actionable groups (4 warning-level).
- Resolve the 3 Duplicated block (17 lines × 2) finding(s) in Code Duplication — start with WorkerViewModel.cs, CreateLoyaltyProgramNotification.cs, BurnPurchaseNotification.cs. — One of this dimension's main actionable groups (3 warning-level).
- Resolve the 2 Duplicated block (28 lines × 2) finding(s) in Code Duplication — start with GetAllOrdersByVenueIdQueryHandler.cs, GetProductGroupByIdQueryHandler.cs. — One of this dimension's main actionable groups (2 warning-level).
- Enforce Code Duplication in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D5 · Coupling
31 projects, 0 dependency cycle(s), 3 unstable depended-on project(s).
What to do
- Resolve the 3 Off the main sequence finding(s) in Coupling — start with Loyalty.Domain.Handlers.Contracts.csproj, Loyalty.Domain.Handlers.Queries.csproj, Loyalty.Domain.Handlers.Firebase.Queries.csproj. — One of this dimension's main actionable groups (3 warning-level).
- Resolve the 1 Unstable project LoyaltyProgram finding(s) in Coupling — start with LoyaltyProgram.csproj. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Unstable project Loyalty.Infrastructure.IoC finding(s) in Coupling — start with Loyalty.Infrastructure.IoC.csproj. — One of this dimension's main actionable groups (1 warning-level).
- Enforce Coupling in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D6 · Cohesion (LCOM4)
3 of 23 classes have LCOM4 above 3.
What to do
- Resolve the 3 Low cohesion finding(s) in Cohesion (LCOM4) — start with LoyaltyVenueAppService.cs, WorkerAppService.cs, Worker.cs. — One of this dimension's main actionable groups (3 warning-level).
- Enforce Cohesion (LCOM4) in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D9 · Test Distribution
57 test methods: 57 unit, 0 integration, 0 BDD, 0 e2e.
D10 · Test Quality
0 skipped, 3 zero-assertion, 1 mock references across 57 tests.
What to do
- Resolve the 3 No assertions (empty test) finding(s) in Test Quality — start with VenueTests.cs (2), WorkerTests.cs. — One of this dimension's main actionable groups (3 issue-level).
- Enforce Test Quality in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D13 · Secret Scanning
Secret scan ran and found no leaked secrets.
D14 · License Compliance
0 of 311 packages use a banned license. ★ DEPTH: this repository's MSBuild projects declare 49 direct `PackageReference`(s), and 204 further package(s) were reached beyond them by closing the graph over nuget.org's own nuspec dependency graph — so a banned licence pulled in only by a dependency's OWN dependencies is inside this verdict. A package whose licence nuget.org could not be asked for is not graded, and version ranges are taken at their lower bound, so this is the closure as that graph states it rather than a restored consumer's exact resolution.
D15 · Churn × Complexity Hotspots
No churn × complexity hotspots in the window. Repeated repair below the complexity floor: src/LoyaltyProgram/Startup.cs (9 of 15 changes were fixes); src/LoyaltyProgram/WebJobsStartup.cs (8 of 10 changes were fixes); src/Loyalty.Common.Shared/Extensions/HttpRequestExtensions.cs (7 of 8 changes were fixes)
What to do
- Resolve the 7 Repeated repair finding(s) in Churn × Complexity Hotspots — start with Startup.cs, WebJobsStartup.cs, HttpRequestExtensions.cs. — One of this dimension's main actionable groups (7 warning-level).
D17 · Explicit Debt
16 deducted debt markers + unmeasured dead symbols across 18562 LoC in the .NET projects (0.4/KLoC) → score 9.2. Dead code not measured: the solution did not load cleanly, so the reference search was skipped.
What to do
- Resolve the 7 WriteOnlyPrivateField finding(s) in Explicit Debt — start with OrderAppService.cs, LoyaltyTenantDbContext.cs, UpdateUserEmailCommandHandler.cs. — One of this dimension's main actionable groups (7 issue-level).
- Resolve the 6 TodoComment finding(s) in Explicit Debt — start with ProductGroupArchivedDomainEventHandler.cs, ProductGroupChangedDomainEventHandler.cs, LoyaltyProductGroupAppService.cs. — One of this dimension's main actionable groups (6 warning-level).
- Resolve the 3 CommentedOutCode finding(s) in Explicit Debt — start with ProductGroup.cs, Startup.cs, ObjectStore.cs. — One of this dimension's main actionable groups (3 warning-level).
- Enforce Explicit Debt in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D18 · Solution Shape
31 projects, 633 source files, 18562 hand-written lines of code (18562 production / 0 test — the split is derived per file: test is what its project, its own path, or a compile-guarded region marks as test, and a file carrying no test signal counts as production), plus 3182 generated (machine-written code — designer, scaffolded and tool-emitted files — excluded from quality), 66 inter-project edges (build status unknown — did not finish). Measured across 2 solutions loaded as one workspace: `src/LoyaltyProgram.sln`, `common/Loyalty.Venue.Common.sln`.
What to do
- Resolve the 1 Shell project finding(s) in Solution Shape — start with Loyalty.Domain.Handlers.Notifications.csproj. — One of this dimension's main actionable groups (1 recommendation-level).
D19 · Documentation Quality
The repository's root README and three docs/articles directories form a complete DDD reference built around a real loyalty-and-ordering platform. The root README is the project overview (why it exists, what invariants drive it) plus an architecture tour; the articles are standalone publishable drafts ordered by topic with publishing steps, cross-part links, and a checklist; the docs/articles/README.md covers repository structure, running locally, secrets, and license, while the full docs/articles directory is itself documented. The XML-doc coverage across every tier (domain core, application, infrastructure) is 0-217 at 0%, indicating no documentation exists for any package in the suite. This is a well-structured DDD-by-example documentation set covering five domain-partnered articles (05-multitenancy-query-filters.md through 05-multitenancy-query-filters.md) with each one an overview plus a focused topic. The series is cohesive and rich in design rationale, code examples, and trade-offs for the multi-tenancy row-level model, covering isolation choices, tenant-scoped entity declarations, query-global filters, write-side enforcement, and the dual-write bug. It also includes a dedicated article on versioned strategies as pluggable tagged JSON.
What to do
- Resolve the 28 Low XML-doc coverage finding(s) in Documentation Quality — start with LoyaltyProgram.csproj, Loyalty.Core.Contracts.csproj, Loyalty.Core.Entities.csproj. — One of this dimension's main actionable groups (28 warning-level).
D21 · Naming Consistency
0 naming inconsistencies across 200 sampled symbols.
D22 · Internal API Consistency
2 API inconsistencies across 26 exposed types.
What to do
- Resolve the 1 Redundant Type Definition finding(s) in Internal API Consistency. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Naming/Intent Overlap finding(s) in Internal API Consistency. — One of this dimension's main actionable groups (1 warning-level).
D24 · Comment Value
4 valuable / 1 redundant across 22 sampled comments; 1 shown with locations.
What to do
- Resolve the 1 redundant comment finding(s) in Comment Value — start with Product.cs. — One of this dimension's main actionable groups (1 recommendation-level).
D26 · Project Cohesion
0 of 29 projects flagged as possibly oversized/incoherent.
D28 · Secrets (history)
gitleaks scanned the full history AND the current working tree and found no secrets.
D29 · Static Analysis (SAST)
semgrep found no security issues.
D32 · Data Compliance (PII/GDPR)
6 finding(s): 0 critical, 0 high, 6 medium, 0 low.
What to do
- Resolve the 4 REDACTED finding(s) in Data Compliance (PII/GDPR) — start with REDACTED (2), REDACTED (2). — One of this dimension's main actionable groups (4 warning-level).
- Resolve the 1 REDACTED finding(s) in Data Compliance (PII/GDPR) — start with REDACTED. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 REDACTED finding(s) in Data Compliance (PII/GDPR) — start with REDACTED. — One of this dimension's main actionable groups (1 warning-level).
D34 · Knowledge Freshness
Every significant source file has living knowledge — recently and meaningfully worked. Counted over 71 of the 604 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
D35 · Change Coupling
Strongest change-coupling: VenueGetFunction.cs↔VenueDeleteFunction.cs 80%; VenueGetFunction.cs↔VenuePutFunction.cs 73%; VenueGetAllFunction.cs↔VenueGetFunction.cs 67%
What to do
- Resolve the 4 Boundary-crossing change coupling finding(s) in Change Coupling — start with CreateVenueViewModel.cs (2), AutoMapperProfile.cs, WorkerAppService.cs. — One of this dimension's main actionable groups (4 issue-level).
- Resolve the 2 Change-coupling hub finding(s) in Change Coupling — start with VenueGetFunction.cs, VenueGetAllFunction.cs. — One of this dimension's main actionable groups (2 warning-level).
- Resolve the 1 Change coupling finding(s) in Change Coupling — start with CreateLoyaltyProgramCommandHandler.cs. — One of this dimension's main actionable groups (1 warning-level).
D44 · Platform End-of-Life
1 end-of-life runtime(s) and 0 end-of-life framework(s), read from 30 platform declaration(s) and 0 dependency declaration(s). This dimension reads what the repository says about ITSELF — a pinned target framework, a version file, a capped requires-python, a Rust toolchain pin, a framework major a constraint cannot move off. A FLOOR is deliberately never charged: `requires-python = ">=3.8"` states what the package SUPPORTS, not what it runs on, and a well-maintained library declares exactly that while running its own CI on a current release. The end-of-life facts are FROZEN and dated, so this dimension needs no network and answers identically inside a closed scan fence; as the table ages it loses recall and never precision, because a statement about support that ended in the past cannot become false. The OS layer of a container image is D31's question and the toolchain a CI workflow installs is D29's; this row is neither.
What to do
- Resolve the 1 End-of-life runtime finding(s) in Platform End-of-Life — start with LoyaltyProgram.Tests.csproj. — One of this dimension's main actionable groups (1 warning-level).
Frontend & cross-cutting dimensions
AX1 · Captive dependencies
AX10 · Code composition
AX2 · Stateful singletons
AX3 · Project dependency cycles
- The namespaces Loyalty.Core.Entities.Aggregates.LoyaltyPrograms ↔ Loyalty.Core.Entities.Aggregates.ProductGroups ↔ Loyalty.Core.Entities.Aggregates.Products ↔ Loyalty.Core.Entities.Aggregates.Venues depend on each other. The lightest dependency in the cycle is Loyalty.Core.Entities.Aggregates.ProductGroups → Loyalty.Core.Entities.Aggregates.Venues (Loyalty.Core.Entities.Aggregates.ProductGroups.ProductGroup → 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. — src/Loyalty.Core.Entities/Aggregates/ProductGroups/ProductGroup.cs:3
- The namespaces Loyalty.Core.Entities.Aggregates.Orders ↔ Loyalty.Core.Entities.Aggregates.Orders.Status.Abstract depend on each other. The lightest dependency in the cycle is Loyalty.Core.Entities.Aggregates.Orders → Loyalty.Core.Entities.Aggregates.Orders.Status.Abstract (Loyalty.Core.Entities.Aggregates.Orders.Order → 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. — src/Loyalty.Core.Entities/Aggregates/Orders/Order.cs:8
What to do
- Break namespace cycles inside a project by moving the shared type to a namespace both sides can use, or by inverting the back edge behind an interface.
AX4 · Dependency direction
AX5 · Architecture & structure
AX6 · Interface segregation
AX8 · Test isolation
AX9 · CQS / query purity
C3 · Audit Trail
- An audit mechanism is present, but the trail is not yet complete — missing: an immutable audit-log / audit-trail type to write to, [Audited] per-entity coverage.
What to do
- Back the audit convention with a structural mechanism: an EF SaveChanges interceptor (or equivalent) writing every sensitive change to an immutable audit log, and apply [Audited] to the entities that need a who-changed-what trail.
DM1 · Aggregate boundaries
- `LoyaltyProductGroup` references the aggregate root `LoyaltyProgram` directly (via `LoyaltyProgram`) — hold its `LoyaltyProgramId` instead. — src/Loyalty.Core.Entities/Aggregates/LoyaltyPrograms/LoyaltyProductGroup.cs:52
- `LoyaltyProgram` references the aggregate root `LoyaltyProductGroup` directly (via `loyaltyProductGroups`) — hold its `LoyaltyProductGroupId` instead. — src/Loyalty.Core.Entities/Aggregates/LoyaltyPrograms/LoyaltyProgram.cs:54
- `LoyaltyProgram` references the aggregate root `LoyaltyProductGroup` directly (via `LoyaltyProductGroups`) — hold its `LoyaltyProductGroupId` instead. — src/Loyalty.Core.Entities/Aggregates/LoyaltyPrograms/LoyaltyProgram.cs:56
- `ProductGroup` references the aggregate root `Venue` directly (via `OwnerVenue`) — hold its `VenueId` instead. — src/Loyalty.Core.Entities/Aggregates/ProductGroups/ProductGroup.cs:31
- `Venue` references the aggregate root `LoyaltyProgram` directly (via `LoyaltyPrograms`) — hold its `LoyaltyProgramId` instead. — src/Loyalty.Core.Entities/Aggregates/Venues/Venue.cs:80
- `Venue` references the aggregate root `ProductGroup` directly (via `ProductGroups`) — hold its `ProductGroupId` instead. — src/Loyalty.Core.Entities/Aggregates/Venues/Venue.cs:82
What to do
- Reference other aggregates by their strongly-typed id, never by object reference, so each aggregate stays an independent consistency boundary.
DM10 · One transaction, one aggregate
DM11 · Constructible invalid state
- `LoyaltyProgram`'s public constructor takes `name`, `description`, `venueId` 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 `throw`, `Guard.`, `Ensure.`, `ArgumentNullException`, `ArgumentException`, `CheckRule` or `Requires.` — a guard reached through a helper method those tokens do not name is not seen; for a FACTORY, only this type's OWN static members were read, and only names beginning `Create`, `Of`, `From`, `New` or `Build` — one inherited from a base type, one on a companion builder, or one called `Parse`, `Make` or `Rehydrate` is not seen. If either exists, this row is wrong. If neither does, a caller can build a `LoyaltyProgram` 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 `Create` that can refuse. — src/Loyalty.Core.Entities/Aggregates/LoyaltyPrograms/LoyaltyProgram.cs:19
- `OrderItem`'s public constructor takes `id`, `amount`, `productId`, `orderId` 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 `throw`, `Guard.`, `Ensure.`, `ArgumentNullException`, `ArgumentException`, `CheckRule` or `Requires.` — a guard reached through a helper method those tokens do not name is not seen; for a FACTORY, only this type's OWN static members were read, and only names beginning `Create`, `Of`, `From`, `New` or `Build` — one inherited from a base type, one on a companion builder, or one called `Parse`, `Make` or `Rehydrate` is not seen. If either exists, this row is wrong. If neither does, a caller can build a `OrderItem` 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 `Create` that can refuse. — src/Loyalty.Core.Entities/Aggregates/Orders/OrderItem.cs:11
- `ProductGroup`'s public constructor takes `venueId`, `name` 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 `throw`, `Guard.`, `Ensure.`, `ArgumentNullException`, `ArgumentException`, `CheckRule` or `Requires.` — a guard reached through a helper method those tokens do not name is not seen; for a FACTORY, only this type's OWN static members were read, and only names beginning `Create`, `Of`, `From`, `New` or `Build` — one inherited from a base type, one on a companion builder, or one called `Parse`, `Make` or `Rehydrate` is not seen. If either exists, this row is wrong. If neither does, a caller can build a `ProductGroup` 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 `Create` that can refuse. — src/Loyalty.Core.Entities/Aggregates/ProductGroups/ProductGroup.cs:13
- `Product`'s public constructor takes `name`, `price`, `description` 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 `throw`, `Guard.`, `Ensure.`, `ArgumentNullException`, `ArgumentException`, `CheckRule` or `Requires.` — a guard reached through a helper method those tokens do not name is not seen; for a FACTORY, only this type's OWN static members were read, and only names beginning `Create`, `Of`, `From`, `New` or `Build` — one inherited from a base type, one on a companion builder, or one called `Parse`, `Make` or `Rehydrate` is not seen. If either exists, this row is wrong. If neither does, a caller can build a `Product` 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 `Create` that can refuse. — src/Loyalty.Core.Entities/Aggregates/Products/Product.cs:46
- `Venue`'s public constructor takes `name`, `ownerId` 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 `throw`, `Guard.`, `Ensure.`, `ArgumentNullException`, `ArgumentException`, `CheckRule` or `Requires.` — a guard reached through a helper method those tokens do not name is not seen; for a FACTORY, only this type's OWN static members were read, and only names beginning `Create`, `Of`, `From`, `New` or `Build` — one inherited from a base type, one on a companion builder, or one called `Parse`, `Make` or `Rehydrate` is not seen. If either exists, this row is wrong. If neither does, a caller can build a `Venue` 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 `Create` that can refuse. — src/Loyalty.Core.Entities/Aggregates/Venues/Venue.cs:21
- `VenueWorker`'s public constructor takes `venueId`, `workerId`, `positionName` 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 `throw`, `Guard.`, `Ensure.`, `ArgumentNullException`, `ArgumentException`, `CheckRule` or `Requires.` — a guard reached through a helper method those tokens do not name is not seen; for a FACTORY, only this type's OWN static members were read, and only names beginning `Create`, `Of`, `From`, `New` or `Build` — one inherited from a base type, one on a companion builder, or one called `Parse`, `Make` or `Rehydrate` is not seen. If either exists, this row is wrong. If neither does, a caller can build a `VenueWorker` 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 `Create` that can refuse. — src/Loyalty.Core.Entities/Aggregates/Workers/VenueWorker.cs:9
What to do
- Give each aggregate one way in that can refuse — a guarded constructor, value-object parameters that validate themselves, or a private constructor behind a factory that returns a failure.
DM12 · Ambient inputs in the domain
- `PurchaseBurnedEventHandler` reads `DateTime.Now` inside `Handle`. 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 `TimeProvider`. — src/Loyalty.Application.DomainEvents.Handlers/Purchases/PurchaseBurnedEventHandler.cs:23
- `PurchaseMadeEventHandler` reads `DateTime.Now` inside `Handle`. 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 `TimeProvider`. — src/Loyalty.Application.DomainEvents.Handlers/Purchases/PurchaseMadeEventHandler.cs:22
What to do
- Pass the instant into the domain method that needs it, or inject `TimeProvider` (BCL, .NET 8+) and read it there — then a test can choose the moment a rule is evaluated at.
DM2 · Strongly-typed ids
- `LoyaltyProductGroup.LoyaltyProgramId` is a raw `Int64` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int64`, in whatever form your language spells that. — src/Loyalty.Core.Entities/Aggregates/LoyaltyPrograms/LoyaltyProductGroup.cs:49
- `LoyaltyProductGroup.ProductGroupId` is a raw `Int64` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int64`, in whatever form your language spells that. — src/Loyalty.Core.Entities/Aggregates/LoyaltyPrograms/LoyaltyProductGroup.cs:60
- `LoyaltyProductGroup.TenantId` is a raw `Int64` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int64`, in whatever form your language spells that. — src/Loyalty.Core.Entities/Aggregates/LoyaltyPrograms/LoyaltyProductGroup.cs:68
- `LoyaltyProgram.VenueId` is a raw `Int64` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int64`, in whatever form your language spells that. — src/Loyalty.Core.Entities/Aggregates/LoyaltyPrograms/LoyaltyProgram.cs:58
- `LoyaltyProgram.TenantId` is a raw `Int64` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int64`, in whatever form your language spells that. — src/Loyalty.Core.Entities/Aggregates/LoyaltyPrograms/LoyaltyProgram.cs:67
- `Order.TenantId` is a raw `Int64` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int64`, in whatever form your language spells that. — src/Loyalty.Core.Entities/Aggregates/Orders/Order.cs:28
- `Order.VenueId` is a raw `Int64` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int64`, in whatever form your language spells that. — src/Loyalty.Core.Entities/Aggregates/Orders/Order.cs:32
- `OrderItem.TenantId` is a raw `Int64` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int64`, in whatever form your language spells that. — src/Loyalty.Core.Entities/Aggregates/Orders/OrderItem.cs:31
- `OrderItem.ProductId` is a raw `Int64` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int64`, in whatever form your language spells that. — src/Loyalty.Core.Entities/Aggregates/Orders/OrderItem.cs:35
- `OrderItem.OrderId` is a raw `Int64` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int64`, in whatever form your language spells that. — src/Loyalty.Core.Entities/Aggregates/Orders/OrderItem.cs:42
- `ProductGroup.VenueId` is a raw `Int64` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int64`, in whatever form your language spells that. — src/Loyalty.Core.Entities/Aggregates/ProductGroups/ProductGroup.cs:28
- `ProductGroup.TenantId` is a raw `Int64` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int64`, in whatever form your language spells that. — src/Loyalty.Core.Entities/Aggregates/ProductGroups/ProductGroup.cs:42
- `Product.ProductGroupId` is a raw `Int64` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int64`, in whatever form your language spells that. — src/Loyalty.Core.Entities/Aggregates/Products/Product.cs:78
- `Product.VenueId` is a raw `Int64` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int64`, in whatever form your language spells that. — src/Loyalty.Core.Entities/Aggregates/Products/Product.cs:80
- `Product.TenantId` is a raw `Int64` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int64`, in whatever form your language spells that. — src/Loyalty.Core.Entities/Aggregates/Products/Product.cs:82
- `Purchase.LoyaltyProductGroupId` is a raw `Int64` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int64`, in whatever form your language spells that. — src/Loyalty.Core.Entities/Aggregates/Purchases/Purchase.cs:79
- `Purchase.VenueId` is a raw `Int64` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int64`, in whatever form your language spells that. — src/Loyalty.Core.Entities/Aggregates/Purchases/Purchase.cs:82
- `Purchase.ProductId` is a raw `Int64` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int64`, in whatever form your language spells that. — src/Loyalty.Core.Entities/Aggregates/Purchases/Purchase.cs:85
- `Purchase.UserId` is a raw `String` — give it a strongly-typed id: a dedicated single-field type wrapping the `String`, in whatever form your language spells that. — src/Loyalty.Core.Entities/Aggregates/Purchases/Purchase.cs:87
- `Purchase.TenantId` is a raw `Int64` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int64`, in whatever form your language spells that. — src/Loyalty.Core.Entities/Aggregates/Purchases/Purchase.cs:91
- `Venue.OwnerId` is a raw `String` — give it a strongly-typed id: a dedicated single-field type wrapping the `String`, in whatever form your language spells that. — src/Loyalty.Core.Entities/Aggregates/Venues/Venue.cs:51
- `Venue.ParentId` is a raw `Int64` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int64`, in whatever form your language spells that. — src/Loyalty.Core.Entities/Aggregates/Venues/Venue.cs:54
- `Venue.TenantId` is a raw `Int64` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int64`, in whatever form your language spells that. — src/Loyalty.Core.Entities/Aggregates/Venues/Venue.cs:78
- `VenueWorker.VenueId` is a raw `Int64` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int64`, in whatever form your language spells that. — src/Loyalty.Core.Entities/Aggregates/Workers/VenueWorker.cs:21
- `VenueWorker.WorkerId` is a raw `Int64` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int64`, in whatever form your language spells that. — src/Loyalty.Core.Entities/Aggregates/Workers/VenueWorker.cs:23
- `VenueWorker.TenantId` is a raw `Int64` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int64`, in whatever form your language spells that. — src/Loyalty.Core.Entities/Aggregates/Workers/VenueWorker.cs:29
- `Worker.WorkerId` is a raw `String` — give it a strongly-typed id: a dedicated single-field type wrapping the `String`, in whatever form your language spells that. — src/Loyalty.Core.Entities/Aggregates/Workers/Worker.cs:63
- `TenantEntity.TenantId` is a raw `Int64` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int64`, in whatever form your language spells that. — src/Loyalty.Core.Entities/Base/TenantEntity.cs:8
What to do
- Adopt strongly-typed ids across the domain — finish the migration or document the boundary; primitive ids invite transposed-argument bugs.
DM4 · Rich vs anemic model
- `OrderItem` is an aggregate/entity with 7 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — src/Loyalty.Core.Entities/Aggregates/Orders/OrderItem.cs:9
- `Purchase` is an aggregate/entity with 6 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — src/Loyalty.Core.Entities/Aggregates/Purchases/Purchase.cs:10
What to do
- Move business rules onto the aggregates/entities they govern so invariants are enforced at the source, not in anemic services.
DM5 · Encapsulated state
- `Order` exposes publicly writable state (Id). — src/Loyalty.Core.Entities/Aggregates/Orders/Order.cs:17
- `OrderItem` exposes publicly writable state (Id). — src/Loyalty.Core.Entities/Aggregates/Orders/OrderItem.cs:9
- `ProductGroup` exposes publicly writable state (OwnerVenue). — src/Loyalty.Core.Entities/Aggregates/ProductGroups/ProductGroup.cs:11
- `Venue` exposes publicly writable state (Images, LoyaltyPrograms, ProductGroups). — src/Loyalty.Core.Entities/Aggregates/Venues/Venue.cs:18
- `AuditableEntity` exposes publicly writable state (CreatedBy, ModifiedBy, Modified, Created). — src/Loyalty.Core.Entities/Base/AuditableEntity.cs:8
What to do
- Make entity setters private/init-only and hand collections out as IReadOnlyList/IReadOnlyCollection over a private backing field; change state only through methods that enforce the invariants (Marten/EF can bind via constructor or private setters).
DM6 · Domain ↔ infrastructure boundary
- The domain project `Loyalty.Domain.Handlers.Firebase.Queries` references `System.Data.SqlClient` — a persistence dependency; the domain should own a port and let an infrastructure project reference it. — src/Loyalty.Domain.Handlers.Firebase.Queries/Loyalty.Domain.Handlers.Firebase.Queries.csproj:18
What to do
- Invert domain→infrastructure dependencies: declare interfaces in the domain, implement them in infrastructure (Dependency Inversion).
DM7 · Repository granularity
DM8 · Value-object opportunities
DM9 · Scattered domain decisions
ED1 · Handler temporal coupling
ED4 · Outbox / dual-write
ED5 · Idempotency
- `ProductGroups.CreateProductGroupCommandHandler.Handle` mutates persistent state (a repository write) with no idempotency guard, and the model confirms a re-run would double-apply it. A retry or at-least-once redelivery means it can run twice — add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write. — src/Loyalty.Infrastructure.Handlers.Commands/Commands/ProductGroups/CreateProductGroupCommandHandler.cs:22
- `Purchases.BurnPurchaseCommandHandler.Handle` mutates persistent state (a repository write) with no idempotency guard, and the model confirms a re-run would double-apply it. A retry or at-least-once redelivery means it can run twice — add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write. — src/Loyalty.Infrastructure.Handlers.Commands/Commands/Purchases/BurnPurchaseCommandHandler.cs:24
What to do
- Make retry-prone mutations idempotent — guard each write with an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write, so a re-run doesn't double-apply.
GD1 · Unfinished & placeholder code
- A shipped member still throws NotImplementedException — generated scaffolding that was never completed. Implement it or remove the dead surface. (×4) — src/Loyalty.Infrastructure.DataAccess/Context/EmptyMediator.cs:10, src/Loyalty.Infrastructure.DataAccess/Context/EmptyMediator.cs:15, src/Loyalty.Infrastructure.DataAccess/Context/EmptyMediator.cs:20, …
What to do
- Finish or delete NotImplementedException stubs and replace placeholder literals before shipping.
IC1 · Incompleteness & stubs
- `EmptyMediator` has 4 unfinished members out of 4 declared members (methods, properties, indexers and events, whether or not each carries a body) — a scaffolded type that was never implemented. — src/Loyalty.Infrastructure.DataAccess/Context/EmptyMediator.cs:8
- `Send` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. (×2) — src/Loyalty.Infrastructure.DataAccess/Context/EmptyMediator.cs:10, src/Loyalty.Infrastructure.DataAccess/Context/EmptyMediator.cs:15
- `Publish` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. (×2) — src/Loyalty.Infrastructure.DataAccess/Context/EmptyMediator.cs:20, src/Loyalty.Infrastructure.DataAccess/Context/EmptyMediator.cs:25
- `Handle` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — src/Loyalty.Infrastructure.Handlers/Queries/Purchases/GetClientActivePurchasesQueryHandler.cs:25
- `Run` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — src/LoyaltyProgram/Http/Read/Ping/LoaderIoFunction.cs:13
- A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers). (×3) — src/Loyalty.Infrastructure.DataAccess/Context/Scoped/ObjectStore.cs:37, src/LoyaltyProgram/Http/Write/VenueImages/VenueCreateImageFunction.cs:58, src/LoyaltyProgram/Startup.cs:67
What to do
- Finish or delete the unfinished stubs (NotImplementedException / empty / constant-returning bodies) — they are dead surface that looks live.
- Clear the softer debt: remove commented-out code and dead branches, re-enable or delete skipped tests, and replace blanket warning suppressions with targeted ones.
M1 · Documentation (README)
What to do
- Explain in the README how to run the tests. Add a section called Testing to the README in the repository's top folder, saying how to run the test suite.
- Add a README to the 29 of 29 project(s) that lack one — worth up to 2 pts.
M2 · Architecture documentation
- No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` 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.
What to do
- Record your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them.
M3 · Folder & project structure
M4 · Documentation accuracy
- docs/articles/05-multitenancy-query-filters.md names the project `LoyaltyProgram.VenueId`, but no project, folder or namespace of that name exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/articles/05-multitenancy-query-filters.md:203
- docs/articles/05-multitenancy-query-filters.md names the project `LoyaltyProgram.TenantId`, but no project, folder or namespace of that name exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/articles/05-multitenancy-query-filters.md:208
- docs/articles/medium/05-multitenancy-query-filters.md names the project `LoyaltyProgram.VenueId`, but no project, folder or namespace of that name exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/articles/medium/05-multitenancy-query-filters.md:213
- docs/articles/medium/05-multitenancy-query-filters.md names the project `LoyaltyProgram.TenantId`, but no project, folder or namespace of that name exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/articles/medium/05-multitenancy-query-filters.md:218
- docs/articles/medium/README.md names `docs/images/`, but no file or folder `docs/images` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — docs/articles/medium/README.md:37
What to do
- Reconcile the README with reality: docs/articles/05-multitenancy-query-filters.md names the project `LoyaltyProgram.VenueId`, but no project, folder or namespace of that name exists; docs/articles/05-multitenancy-query-filters.md names the project `LoyaltyProgram.TenantId`, but no project, folder or namespace of that name exists; docs/articles/medium/05-multitenancy-query-filters.md names the project `LoyaltyProgram.VenueId`, but no project, folder or namespace of that name exists; docs/articles/medium/05-multitenancy-query-filters.md names the project `LoyaltyProgram.TenantId`, but no project, folder or namespace of that name exists; docs/articles/medium/README.md names `docs/images/`, but no file or folder `docs/images` exists.
P10 · Library API & versioning
- 68/68 types (100%) are public. For a library, every public type is a stability contract — make internal-by-default and expose only the intended API.
What to do
- Make types internal by default; expose only the deliberate public API so internals can change without breaking consumers.
P6 · Release Hygiene
- No CHANGELOG/HISTORY/RELEASES file — what shipped when isn't easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)
What to do
- Keep a changelog (e.g. Keep-a-Changelog) recording what shipped in each release.
P8 · Schema migrations
PF1 · Benchmark discipline
- No benchmark suite was found by the two searches this check runs. FIRST, a BenchmarkDotNet package reference in any project file — 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 `benchmark` and ends `.py`, `.sh`, `.ps1`, `.bash`, `.rb`, `.js` or `.mjs`, credited ONLY when this repository's CI text also mentions benchmarks — a harness no pipeline runs is read as a fixture, deliberately. Neither search can see a benchmark suite in another ecosystem's idiom (a Go `testing.B` file, a JMH or criterion project, a pytest-benchmark run), so this is 'no benchmark found by those two searches', not a verdict that the repository has none. Where code is performance-sensitive, a benchmark guards against silent regressions — but it's a bonus here, not a deduction.
What to do
- Add a benchmarking harness for the hot paths and run it in CI to catch regressions (for .NET, a BenchmarkDotNet project with [MemoryDiagnoser] to track allocations).
PF2 · Allocation hygiene
- No Span/Memory, pooling (ArrayPool/ObjectPool), stackalloc, ValueTask or buffer-writer usage was found. If this code sits on a hot path, these reduce the GC pressure it creates — a bonus, not a requirement.
What to do
- On hot paths, prefer Span<T>/ReadOnlySpan<T>, ArrayPool<T>, stackalloc and ValueTask to cut the allocations those paths would otherwise make.
PF3 · Async & latency hygiene
X1 · Async correctness
- `FileStream.Read` blocks the thread on I/O while `FileStream.ReadAsync` exists to wait without one — inside a method that is already `async`, await the twin. — src/Loyalty.Application.Venue/LoyaltyVenueImageAppService.cs:94
What to do
- Blocking `FileStream.Read` inside an `async` method
X12 · Unreachable branch
X13 · Undrained process stream
X14 · Bypassable address classification
X15 · Unvalidated length from an untrusted reader
X16 · Unfloored truncation loop
X17 · Uncapped recursion over a caller-supplied document
X18 · Disposal-pattern correctness
- `dbContext` is a `DbContextScoped`, which implements `IDisposable`, and it is created here (line 85). Every use of it in `ContextFactory` reads a member through it — it is never returned, never stored, never handed to anything else, and never disposed — so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with `using` (`using var dbContext = …;`), which releases it at the end of the scope on every path including a throw. — src/Loyalty.Infrastructure.DataAccess/Context/Scoped/DbContextScopedExtensions.cs:85
What to do
- Each finding names the value and the span that decides who owns it — the `new` that created it, or the constructor parameter that handed it over. Confirm ownership from that span, then make the disposal match it: release what this type created, leave what it was injected with to whoever created THAT, and drop a finalizer whose type holds nothing unmanaged to release.
X19 · Unrestored process-global state
X2 · Cancellation propagation
- Only 114/226 async methods accept a CancellationToken, so in-flight work can't be stopped early when the caller gives up — 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 — judge against your hosting model.
- No CancellationToken parameter — this work can't be stopped early once started. (×39) — src/LoyaltyProgram/Http/Read/Code/PurchaseGetActiveByCodeFunction.cs:22, src/LoyaltyProgram/Http/Read/Order/OrderGetAllFunction.cs:30, src/LoyaltyProgram/Http/Read/Order/OrderGetFunction.cs:30, …
What to do
- Thread a CancellationToken through async methods so work stops promptly on cancellation.
X20 · Mistyped argument guard
- The guard on line 28 rejects `code` and line 30 reports that rejection as `ArgumentNullException` — but the condition's own test `String.IsNullOrEmpty(code)` is true of a value that is NOT null: it is satisfied by an EMPTY `code`, and on that path `code` was already proven non-null by the very expression that decided it (`||` 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 `ArgumentNullException` to handle a real null swallows the empty case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose — `ArgumentNullException.ThrowIfNull` and `ArgumentException.ThrowIfNullOrEmpty` are two helpers because they are two failures. Throw `ArgumentException` for the empty case, or split the guard and throw each on its own condition. — src/Loyalty.Application.Venue/CodeAppService.cs:30
What to do
- Each finding names the throw and the test in its own condition that is true of a NON-null value. Confirm from the two, then throw the exception that describes what was actually wrong: `ArgumentException` for a value that arrived empty, or the .NET 8 helpers that spell the whole guard in one line and pick the type for you — `ArgumentException.ThrowIfNullOrEmpty(s)` / `ThrowIfNullOrWhiteSpace(s)` for strings, `ArgumentNullException.ThrowIfNull(x)` followed by `ArgumentOutOfRangeException.ThrowIfZero(x.Count)` for a collection. Splitting the two conditions is usually clearer than picking one exception for both: they are different failures and the caller may want to handle them differently.
X21 · Side-effecting pattern guard
X22 · Contradicted release guard
X23 · Unguarded diagnostic materialisation
X24 · Document value interpolated into markup unescaped
X25 · Inert configuration knob
X26 · Unsynchronised callback handoff
X27 · Collection changed while being enumerated
X28 · Index access outside its own emptiness guard
X29 · Per-element action decided by a fixed element
X3 · Exception handling
- `catch (Exception)` does nothing with the exception it caught — 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. (×3) — src/Loyalty.Application.ViewModels/Validators/PhoneValidator.cs:27, src/Loyalty.Application.Storage.Dto/Validators/Interface/ImageValidator.cs:21, src/Loyalty.Application.Storage.Dto/Validators/Interface/ImageValidator.cs:43
What to do
- Swallowed exception (caught, then discarded)
X30 · Support guard that admits what it rejects
X32 · Type resolved by simple name across every loaded assembly
X4 · Structured logging
- Logging an interpolated string (`$"..."`) collapses the event to plain text — you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: `LogInformation("User {UserId} did {Action}", id, action)`. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template+args overload that forwards to the underlying logger, then migrate call sites to it. (×10) — src/LoyaltyProgram/Http/Write/VenueImages/VenueCreateImageFunction.cs:99, src/LoyaltyProgram/Http/Write/VenueImages/VenuePutImageFunction.cs:84, src/LoyaltyProgram/Http/Write/VenueLogo/VenueCreateLogoFunction.cs:90, …
What to do
- Interpolated log message defeats structured logging
X5 · Nullable reference types
- This method contradicts itself about `data`: line 26 writes `data?.VenueComment`, which says `data` can be null, but line 22 then dereferences it directly as `data.ChangedStatus` with no null test between them and no guard around it. If the `?.` is right, that dereference throws NullReferenceException on the input it was written for; if `data` truly cannot be null here, the `?.` is misleading. Settle it one way — test `data` once before the first use and handle the null case, or drop the `?.` — rather than leaving the two readings side by side. — src/LoyaltyProgram/Storage/OrderChangedNotificationFunction.cs:22
- This method contradicts itself about `request`: line 35 writes `request?.Id`, which says `request` can be null, but line 24 then dereferences it directly as `request.Id` with no null test between them and no guard around it. If the `?.` is right, that dereference throws NullReferenceException on the input it was written for; if `request` truly cannot be null here, the `?.` is misleading. Settle it one way — test `request` once before the first use and handle the null case, or drop the `?.` — rather than leaving the two readings side by side. — src/Loyalty.Infrastructure.Handlers.Commands/Commands/LoyaltyProductGroups/ArchiveLoyaltyProductGroupCommandHandler.cs:24
- 0/28 NRT-eligible project(s) enable <Nullable>enable</Nullable> (projects targeting a pre-C#-8 framework are excluded — NRTs aren't available there). NRTs catch a whole class of null-deref bugs at compile time.
What to do
- Where a method uses `?.` on a symbol and then dereferences it directly, settle the question once: test it before the first use and handle null, or drop the `?.`.
- Enable <Nullable>enable</Nullable> across all projects and resolve warnings rather than suppressing with `!`.
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 52% | Adequate — gated by X5 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Architecture | 84% | Exemplary | Solid. |
| Maturity | 50% | Adequate — gated by M4 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 72% | Exemplary | Solid. |
| Security | 76% | Strong | Solid. |
| Domain Modelling | 54% | Adequate — gated by DM1, DM2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Event-Driven | 100% | Exemplary | Strongest area. |
| Performance | 70% | Strong | Solid. |
Unscored — 3 check(s) recorded observations but carry no score
- SC1 Supply-chain hygiene — 1 observation(s) recorded · Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X10 Duplicated predicate — 4 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
- X7 Silent fallback defaults — 1 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
Not evidenced — 4 control(s) we could not find positive evidence for
- C4 Data Retention — Repo shows no data-retention / TTL / cleanup mechanism for personal data — absence of evidence is not evidence of a working control. Define retention periods and a purge/cleanup job (or TTL) in code, or document where retention is enforced, so this dimension can be scored.
- C5 Data-Subject Rights — Repo shows no corroborated data-subject-rights mechanism (erasure / export-portability / consent) tied to a subject id or GDPR vocabulary — absence of evidence is not evidence of a working control. Implement erasure, data export/portability and consent tracking over the subject's records.
- P4 Deployment & Rollback — not evidenced — no deploy/rollback/approval signal in the repo; absence of evidence is not evidence of a manual release
- P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
Not included — 43 check(s) not relevant to this codebase
- AC1 Text alternatives — No web markup found — accessibility is not applicable to this repository.
- AC2 Forms & labels — No web markup found — accessibility is not applicable to this repository.
- AC3 Page structure — No web markup found — accessibility is not applicable to this repository.
- AC4 Keyboard semantics — No web markup found — accessibility is not applicable to this repository.
- AC5 ARIA correctness — No web markup found — accessibility is not applicable to this repository.
- AC6 Visual & motion safety — No web markup found — accessibility is not applicable to this repository.
- AC7 A11y enforcement — No web markup found — accessibility is not applicable to this repository.
- AX7 Slice cohesion — not applicable — not a vertical-slice architecture
- AXB1 Runtime evidence locked — no reproducible boot — This repository has nothing the runtime tiers could boot or serve — no markup, no UI framework or web-server dependency, no UI component source, no native UI project and no API definition — nothing here is a surface to boot — so runtime a11y/egress/header evidence has no subject here. Not applicable: this is neither a gap in the scan nor a finding about your code.
- AXB2 Runtime readiness — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- C1 Data Protection — This is a dotnet-new template — at-rest encryption and key-vaulting are deferred to the application you build from it. Add ASP.NET Data Protection / column encryption + a key vault for your real data store when you productionise.
- C2 Access Controls — This is a dotnet-new template — authorization is deferred to the application you build from it. Add [Authorize]/policies (or imperative guards) when you wire up real users; until then there are no real endpoints to protect.
- D11 Test Reliability — No test suite was found to re-run, so reliability couldn't be assessed. Two searches produced that zero and both came back empty: the classifier that reads the loaded workspace recognised no suite it could run, and a walk of the source on disk — which covers the JS/TS `*.test.*` and `*.spec.*` conventions and probes for a Pester suite — found no test source in any other ecosystem either. Neither search reaches a suite that is missing from the loaded workspace and carries no name either walk recognises, so this is 'no suite found by those two searches', not a verdict that the repository has none.
- D12 Dependency Hygiene — Dependency hygiene not measured — a NuGet package source could not be reached
- D16 Bus Factor — single-contributor repository — bus factor is not applicable
- D20 ADR Quality — N/A — this repo declares itself a template / kata / sample / demo; a formal ADR log is deferred to a real application built from it.
- D23 Boundary Type-Coupling — small single-context codebase (18,562 production LoC in the .NET projects) — bounded contexts are not needed at this size No bounded-context organisation was detected either — neither a context-shaped layout, nor 2+ sibling source directories each declaring an aggregate root, nor 2+ projects each declaring an entity of their own. Aggregate roots were found in only one source directory (Loyalty.Core.Entities), which is a layered codebase, not two contexts. Declaring this codebase's bounded contexts (≥2) would let cross-boundary type coupling be assessed. Declare them in `.codehealth/config.yaml` at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it — e.g. `architecture:` → `contexts:` → `Billing: ["src/billing", "Acme.Billing"]`, `Catalog: ["src/catalog", "Acme.Catalog"]`.
- D25 ADR Conformance — no ADRs to check
- D27 Navigability — symbol resolution incomplete — navigability not assessed
- D30 Dependency Vulnerabilities — Not measured — a package registry could not be reached
- D31 IaC & Container Security — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan.
- D36 Supply-chain Provenance & Signing — No CI/build pipeline found (.github/.forgejo/.gitea workflows, .circleci, .buildkite, .woodpecker, .teamcity, .gitlab-ci.yml, .travis.yml, bitbucket-pipelines.yml, .drone.yml, .cirrus.yml, .woodpecker.yml, appveyor.yml, azure-pipelines*.yml, .pipelines/, .vsts-ci/, .azuredevops/, Jenkinsfile); there is no build to attest provenance for.
- D37 Vulnerability-disclosure Policy — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
- D39 IL Efficiency — IL not measured — the analyzer's build of the target did not succeed
- D40 Network Egress Confinement — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
- D41 Kernel & Syscall Confinement — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
- D42 Runtime Threat Enforcement — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
- D43 Malicious Dependencies — Not scored — no dependency manifest in a supported ecosystem was read for this repository. A gap in the analyzer's language coverage, NOT a finding that the repository is free of vulnerable dependencies (a Python pyproject.toml/requirements.txt (pip/uv/Poetry), a Swift Package.swift/Package.resolved, a Cargo manifest, a Go module (go.mod/go.sum), a Gradle version catalogue, a Maven POM, an sbt build (build.sbt), composer.json, package.json, a Dart pubspec.yaml, an Elixir mix.exs/mix.lock (Hex), a rebar.config / erlang.mk DEPS (Hex), a Ruby Gemfile/Gemfile.lock or .gemspec (Bundler/RubyGems) — not scanned yet).
- D7 Architectural Integrity — no checkable ADRs and no dependency cycles — architectural integrity not assessed
- D8 Code Coverage — Coverage NOT MEASURED: `--collect:"XPlat Code Coverage"` names a data collector that ships in the `coverlet.collector` package, and this repository wires up none — no test project references it and no runsettings declares one. The absence of coverage here is therefore not evidence about the suite or about our analyzer environment: without a collector, `--collect` produces nothing even from a suite that builds and passes. Add a `coverlet.collector` PackageReference to the test project(s) (or commit the Cobertura/OpenCover/lcov report your CI produces) and real coverage will be measured. It is excluded from the score rather than counted as a near-zero defect.
- DM3 Integration-event coupling — no integration events detected — coupling check not applicable
- ED2 Event/command shape — no command-shaped messages detected — single-handler-per-command check not applicable
- ED3 Event naming — no domain or integration events detected — event-naming check not applicable
- ES1 Event Sourcing — not scored — this repository shows none of the 3 signals this lens looks for
- P1 CI/CD gates — This repo declares itself a template / kata / sample / demo — code meant to be read or copied, not operated. Automated CI/CD gates are deferred to the application you build from it, so their absence is not a defect here. The dimension reactivates once the repo becomes a real app.
- P12 CI test-gate honesty — no CI workflow found
- P2 Observability — This repo is a library, not a deployed service — it has no process to operate, so production observability (structured logging, tracing/metrics, health checks) is N/A. A library may log via an injected ILogger, but the absence of operational telemetry is not a defect here. If it grows a host (web API, worker), the dimension reactivates.
- P3 Security & performance tooling — This repo declares itself a template / kata / sample / demo — code meant to be read or copied, not operated. SAST, secret/dependency scanning and performance benchmarks are deferred to the application you build from it, so their absence is not a defect here. The dimension reactivates once the repo becomes a real app.
- P7 Outbound HTTP resilience — not applicable — this isn't a service/API/worker
- P9 Domain vs controller coverage — no coverage report found on disk — produce a coverage report in a standard format (Cobertura — `dotnet test --collect:"XPlat Code Coverage"` with a `coverlet.collector` PackageReference) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures, or wire coverage collection into CI, to enable this cross-layer check
- S1 Web-Security Posture — No web surface detected in the analyzed source — no HTTP API or web-UI project (no controllers/minimal-API endpoints, no Razor/Blazor views) and no web middleware (HTTPS redirection, HSTS, security headers, cookies). Transport security, security headers, secure cookies, CSRF/input-validation and middleware-order controls are therefore N/A here — this is a library/CLI/worker, not a web app. Crypto hygiene was still checked and found nothing to flag. If this codebase becomes web-facing, the dimension reactivates automatically.
- X6 Hand-rolled structured-format parsing — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X9 Subsumed condition operand — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
Appendix A — Findings (grouped)
Critical — 23 finding(s)
- WriteOnlyPrivateField src/Loyalty.Application.Venue/OrderAppService.cs:19
- WriteOnlyPrivateField src/Loyalty.Infrastructure.DataAccess/Context/LoyaltyTenantDbContext.cs:27
- WriteOnlyPrivateField src/Loyalty.Infrastructure.Firebase.Handlers/Commands/User/UpdateUserEmailCommandHandler.cs:16
- WriteOnlyPrivateField src/Loyalty.Infrastructure.Handlers/Queries/LoyaltyProductGroups/GetLoyaltyProductGroupByIdQueryHandler.cs:20
- WriteOnlyPrivateField src/Loyalty.Infrastructure.Handlers.Commands/Commands/Venues/CreateVenueCommandHandler.cs:24
- WriteOnlyPrivateField src/Loyalty.Infrastructure.Outbox/EventBusPublishingService.cs:16
- WriteOnlyPrivateField src/LoyaltyProgram/Http/Write/VenueImages/VenuePutImageFunction.cs:27
- Aggregate holds a reference to another aggregate: LoyaltyProductGroup.LoyaltyProgram src/Loyalty.Core.Entities/Aggregates/LoyaltyPrograms/LoyaltyProductGroup.cs:52
- Aggregate holds a reference to another aggregate: LoyaltyProgram.loyaltyProductGroups src/Loyalty.Core.Entities/Aggregates/LoyaltyPrograms/LoyaltyProgram.cs:54
- Aggregate holds a reference to another aggregate: LoyaltyProgram.LoyaltyProductGroups src/Loyalty.Core.Entities/Aggregates/LoyaltyPrograms/LoyaltyProgram.cs:56
- Aggregate holds a reference to another aggregate: ProductGroup.OwnerVenue src/Loyalty.Core.Entities/Aggregates/ProductGroups/ProductGroup.cs:31
- Aggregate holds a reference to another aggregate: Venue.LoyaltyPrograms src/Loyalty.Core.Entities/Aggregates/Venues/Venue.cs:80
- Aggregate holds a reference to another aggregate: Venue.ProductGroups src/Loyalty.Core.Entities/Aggregates/Venues/Venue.cs:82
- Boundary-crossing change coupling: CreateVenueViewModel.cs ↔ UpdateVenueCommandHandler.cs src/Loyalty.Application.ViewModels/Venue/CreateVenueViewModel.cs:1
- Boundary-crossing change coupling: CreateVenueViewModel.cs ↔ GetVenueByIdQueryResult.cs src/Loyalty.Application.ViewModels/Venue/CreateVenueViewModel.cs:1
- Boundary-crossing change coupling: AutoMapperProfile.cs ↔ UpdateVenueCommandHandler.cs src/Loyalty.Application.AutoMapper/AutoMapperProfile.cs:1
- Boundary-crossing change coupling: WorkerAppService.cs ↔ REDACTED src/Loyalty.Application.Venue/WorkerAppService.cs:1
- No assertions (empty test): ShouldArchiveWorker test/LoyaltyProgram.Tests/Tests/Venue/WorkerTests.cs:78
- No assertions (empty test): ShouldGetOnlyOwnVenues test/LoyaltyProgram.Tests/Tests/Venue/VenueTests.cs:224
- No assertions (empty test): ShouldGetOnlyNotArchiveVenues test/LoyaltyProgram.Tests/Tests/Venue/VenueTests.cs:229
- Namespace dependency cycle src/Loyalty.Core.Entities/Aggregates/ProductGroups/ProductGroup.cs:3
- Namespace dependency cycle src/Loyalty.Core.Entities/Aggregates/Orders/Order.cs:8
- Domain depends on infrastructure: Loyalty.Domain.Handlers.Firebase.Queries src/Loyalty.Domain.Handlers.Firebase.Queries/Loyalty.Domain.Handlers.Firebase.Queries.csproj:18
Serious — 165 finding(s)
- Async method without CancellationToken: Run src/LoyaltyProgram/Http/Read/Code/PurchaseGetActiveByCodeFunction.cs:22
- Async method without CancellationToken: Run src/LoyaltyProgram/Http/Read/Order/OrderGetAllFunction.cs:30
- Async method without CancellationToken: Run src/LoyaltyProgram/Http/Read/Order/OrderGetFunction.cs:30
- Async method without CancellationToken: Run src/LoyaltyProgram/Http/Read/Ping/PingFunction.cs:22
- Async method without CancellationToken: Run src/LoyaltyProgram/Http/Read/ProductGroup/ProductGroupGetFunction.cs:30
- Async method without CancellationToken: Run src/LoyaltyProgram/Http/Read/Venue/VenueGetFunction.cs:32
- Async method without CancellationToken: Run src/LoyaltyProgram/Http/Read/VenueImages/VenueGetImagesFunction.cs:30
- Async method without CancellationToken: Run src/LoyaltyProgram/Http/Write/Product/ProductImagePatchFunction.cs:48
- Async method without CancellationToken: Run src/LoyaltyProgram/Http/Write/ProductGroup/ProductGroupPostFunction.cs:37
- Async method without CancellationToken: Run src/LoyaltyProgram/Http/Write/ProductGroup/ProductGroupPutFunction.cs:37
- Async method without CancellationToken: Run src/LoyaltyProgram/Http/Write/UserProfile/UserProfilePatchLogoFunction.cs:51
- Async method without CancellationToken: Run src/LoyaltyProgram/Http/Write/Venue/VenuePostFunction.cs:38
- Async method without CancellationToken: Run src/LoyaltyProgram/Http/Write/Venue/VenuePutFunction.cs:37
- Async method without CancellationToken: Run src/LoyaltyProgram/Http/Write/VenueImages/VenueCreateImageFunction.cs:49
- Async method without CancellationToken: Run src/LoyaltyProgram/Http/Write/VenueImages/VenueDeleteImageFunction.cs:39
- Async method without CancellationToken: Run src/LoyaltyProgram/Http/Write/VenueImages/VenuePutImageFunction.cs:47
- Async method without CancellationToken: Run src/LoyaltyProgram/Http/Write/VenueLogo/VenueCreateLogoFunction.cs:49
- Async method without CancellationToken: Run src/LoyaltyProgram/Http/Write/VenueLogo/VenueDeleteLogoFunction.cs:39
- Async method without CancellationToken: Run src/LoyaltyProgram/Http/Write/VenueLogo/VenuePutLogoFunction.cs:48
- Async method without CancellationToken: Run src/LoyaltyProgram/Http/Write/Worker/WorkerPutFunction.cs:36
- Async method without CancellationToken: ProcessClientCode src/LoyaltyProgram/ServiceBus/ClientEventsFunction.cs:54
- Async method without CancellationToken: CreateOrder src/LoyaltyProgram/ServiceBus/ClientEventsFunction.cs:76
- Async method without CancellationToken: PatchOrder src/LoyaltyProgram/ServiceBus/ClientEventsFunction.cs:124
- Async method without CancellationToken: Run src/LoyaltyProgram/Storage/NewOrderArrivedNotificationFunction.cs:13
- Async method without CancellationToken: Run src/LoyaltyProgram/Storage/OrderChangedNotificationFunction.cs:15
- Low XML-doc coverage: LoyaltyProgram src/LoyaltyProgram/LoyaltyProgram.csproj
- Low XML-doc coverage: Loyalty.Core.Contracts src/Loyalty.Core.Contracts/Loyalty.Core.Contracts.csproj
- Low XML-doc coverage: Loyalty.Core.Entities src/Loyalty.Core.Entities/Loyalty.Core.Entities.csproj
- Low XML-doc coverage: Loyalty.Common.Shared src/Loyalty.Common.Shared/Loyalty.Common.Shared.csproj
- Low XML-doc coverage: Loyalty.Application.ViewModels src/Loyalty.Application.ViewModels/Loyalty.Application.ViewModels.csproj
- Low XML-doc coverage: Loyalty.Domain.Contracts src/Loyalty.Domain.Contracts/Loyalty.Domain.Contracts.csproj
- Low XML-doc coverage: Loyalty.Infrastructure.Handlers src/Loyalty.Infrastructure.Handlers/Loyalty.Infrastructure.Handlers.csproj
- Low XML-doc coverage: Loyalty.Application.Venue src/Loyalty.Application.Venue/Loyalty.Application.Venue.csproj
- Low XML-doc coverage: Loyalty.Domain.Handlers.Queries src/Loyalty.Domain.Handlers.Queries/Loyalty.Domain.Handlers.Queries.csproj
- Low XML-doc coverage: Loyalty.Infrastructure.DataAccess(netcoreapp3.1) src/Loyalty.Infrastructure.DataAccess/Loyalty.Infrastructure.DataAccess.csproj
- Low XML-doc coverage: Loyalty.Application.AutoMapper src/Loyalty.Application.AutoMapper/Loyalty.Application.AutoMapper.csproj
- Low XML-doc coverage: Loyalty.Infrastructure.IoC src/Loyalty.Infrastructure.IoC/Loyalty.Infrastructure.IoC.csproj
- Low XML-doc coverage: Loyalty.Application.Storage.Dto src/Loyalty.Application.Storage.Dto/Loyalty.Application.Storage.Dto.csproj
- Low XML-doc coverage: Loyalty.Infrastructure.Handlers.Notifications src/Loyalty.Infrastructure.Handlers.Notifications/Loyalty.Infrastructure.Handlers.Notifications.csproj
- Low XML-doc coverage: Loyalty.Infrastructure.Firebase.Handlers src/Loyalty.Infrastructure.Firebase.Handlers/Loyalty.Infrastructure.Firebase.Handlers.csproj
- Low XML-doc coverage: Loyalty.Domain.Handlers.Firebase.Queries src/Loyalty.Domain.Handlers.Firebase.Queries/Loyalty.Domain.Handlers.Firebase.Queries.csproj
- Low XML-doc coverage: Loyalty.Application.DomainEvents.Handlers src/Loyalty.Application.DomainEvents.Handlers/Loyalty.Application.DomainEvents.Handlers.csproj
- Low XML-doc coverage: Loyalty.Infrastructure.Commands.Repository src/Loyalty.Infrastructure.Commands.Repository/Loyalty.Infrastructure.Commands.Repository.csproj
- Low XML-doc coverage: Loyalty.Infrastructure.Outbox src/Loyalty.Infrastructure.Outbox/Loyalty.Infrastructure.Outbox.csproj
- Low XML-doc coverage: Loyalty.Infrastructure.Events.DataAccess(netcoreapp3.1) src/Loyalty.Infrastructure.Events.DataAccess/Loyalty.Infrastructure.Events.DataAccess.csproj
- Low XML-doc coverage: Loyalty.Core.Outbox.Entities src/Loyalty.Core.Outbox.Entities/Loyalty.Core.Outbox.Entities.csproj
- Low XML-doc coverage: Loyalty.Infrastructure.Handlers.Commands src/Loyalty.Infrastructure.Handlers.Commands/Loyalty.Infrastructure.Handlers.Commands.csproj
- Low XML-doc coverage: Loyalty.Infrastructure.Logging.AppInsights src/Loyalty.Infrastructure.Logging.AppInsights/Loyalty.Infrastructure.Logging.AppInsights.csproj
- Low XML-doc coverage: Loyalty.Shared.Contracts common/Loyalty.Shared.Contracts/Loyalty.Shared.Contracts.csproj
- Low XML-doc coverage: Loyalty.Domain.Handlers.Notifications common/Loyalty.Domain.Handlers.Notifications/Loyalty.Domain.Handlers.Notifications.csproj
- Repeated repair: src/LoyaltyProgram/Startup.cs src/LoyaltyProgram/Startup.cs:23
- Repeated repair: src/LoyaltyProgram/WebJobsStartup.cs src/LoyaltyProgram/WebJobsStartup.cs:20
- Repeated repair: src/Loyalty.Common.Shared/Extensions/HttpRequestExtensions.cs src/Loyalty.Common.Shared/Extensions/HttpRequestExtensions.cs:26
- Repeated repair: src/Loyalty.Application.AutoMapper/AutoMapperProfile.cs src/Loyalty.Application.AutoMapper/AutoMapperProfile.cs:38
- Repeated repair: src/Loyalty.Application.DomainEvents.Handlers/Venues/VenueCreatedDomainEventHandler.cs src/Loyalty.Application.DomainEvents.Handlers/Venues/VenueCreatedDomainEventHandler.cs:33
- Repeated repair: src/LoyaltyProgram/Storage/OrderChangedNotificationFunction.cs src/LoyaltyProgram/Storage/OrderChangedNotificationFunction.cs:14
- Repeated repair: src/Loyalty.Infrastructure.Commands.Repository/LoyaltyProgramRepository.cs src/Loyalty.Infrastructure.Commands.Repository/LoyaltyProgramRepository.cs:81
- TodoComment src/Loyalty.Application.DomainEvents.Handlers/ProductGroup/ProductGroupArchivedDomainEventHandler.cs:32
- TodoComment src/Loyalty.Application.DomainEvents.Handlers/ProductGroup/ProductGroupChangedDomainEventHandler.cs:40
- TodoComment src/Loyalty.Application.Venue/LoyaltyProductGroupAppService.cs:131
- TodoComment src/Loyalty.Common.Shared/Extensions/ClaimsPrincipalExtensions.cs:68
- TodoComment src/Loyalty.Domain.Handlers.Firebase.Queries/Commands/User/SetupFirebaseTokenCommand.cs:13
- TodoComment src/Loyalty.Infrastructure.DataAccess/Context/LoyaltyTenantDbContext.cs:67
- Constructible in an invalid state: LoyaltyProgram src/Loyalty.Core.Entities/Aggregates/LoyaltyPrograms/LoyaltyProgram.cs:19
- Constructible in an invalid state: OrderItem src/Loyalty.Core.Entities/Aggregates/Orders/OrderItem.cs:11
- Constructible in an invalid state: ProductGroup src/Loyalty.Core.Entities/Aggregates/ProductGroups/ProductGroup.cs:13
- Constructible in an invalid state: Product src/Loyalty.Core.Entities/Aggregates/Products/Product.cs:46
- Constructible in an invalid state: Venue src/Loyalty.Core.Entities/Aggregates/Venues/Venue.cs:21
- Constructible in an invalid state: VenueWorker src/Loyalty.Core.Entities/Aggregates/Workers/VenueWorker.cs:9
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Duplicated block (14 lines × 2) src/Loyalty.Application.ViewModels/Venue/CreateVenueViewModel.cs:36
- Duplicated block (14 lines × 2) src/Loyalty.Application.ViewModels/LoyaltyProductGroup/LoyaltyProductGroupGetViewModel.cs:12
- Duplicated block (14 lines × 2) src/Loyalty.Application.ViewModels/Product/CreateProductViewModel.cs:10
- Duplicated block (14 lines × 2) common/Loyalty.Domain.Handlers.Notifications/Products/CreateProductNotification.cs:16
- Unfinished stub — throws NotImplementedException src/Loyalty.Infrastructure.DataAccess/Context/EmptyMediator.cs:10
- Unfinished stub — throws NotImplementedException src/Loyalty.Infrastructure.DataAccess/Context/EmptyMediator.cs:15
- Unfinished stub — throws NotImplementedException src/Loyalty.Infrastructure.DataAccess/Context/EmptyMediator.cs:20
- Unfinished stub — throws NotImplementedException src/Loyalty.Infrastructure.DataAccess/Context/EmptyMediator.cs:25
- Unfinished stub — throws NotImplementedException src/Loyalty.Infrastructure.DataAccess/Context/EmptyMediator.cs:10
- Unfinished stub — throws NotImplementedException src/Loyalty.Infrastructure.DataAccess/Context/EmptyMediator.cs:15
- Unfinished stub — throws NotImplementedException src/Loyalty.Infrastructure.DataAccess/Context/EmptyMediator.cs:20
- Unfinished stub — throws NotImplementedException src/Loyalty.Infrastructure.DataAccess/Context/EmptyMediator.cs:25
- CommentedOutCode src/Loyalty.Core.Entities/Aggregates/ProductGroups/ProductGroup.cs:46
- CommentedOutCode src/LoyaltyProgram/Startup.cs:62
- CommentedOutCode src/Loyalty.Infrastructure.DataAccess/Context/Scoped/ObjectStore.cs:33
- Duplicated block (17 lines × 2) src/Loyalty.Application.ViewModels/Worker/WorkerViewModel.cs:15
- Duplicated block (17 lines × 2) common/Loyalty.Domain.Handlers.Notifications/LoyaltyPrograms/CreateLoyaltyProgramNotification.cs:16
- Duplicated block (17 lines × 2) common/Loyalty.Domain.Handlers.Notifications/Purchases/BurnPurchaseNotification.cs:10
- Off the main sequence: Loyalty.Domain.Handlers.Contracts src/Loyalty.Domain.Handlers.Contracts/Loyalty.Domain.Handlers.Contracts.csproj:1
- Off the main sequence: Loyalty.Domain.Handlers.Queries src/Loyalty.Domain.Handlers.Queries/Loyalty.Domain.Handlers.Queries.csproj:1
- Off the main sequence: Loyalty.Domain.Handlers.Firebase.Queries src/Loyalty.Domain.Handlers.Firebase.Queries/Loyalty.Domain.Handlers.Firebase.Queries.csproj:1
- Low cohesion: LoyaltyVenueAppService (LCOM4 10) src/Loyalty.Application.Venue/LoyaltyVenueAppService.cs:20
- Low cohesion: WorkerAppService (LCOM4 7) src/Loyalty.Application.Venue/WorkerAppService.cs:28
- Low cohesion: Worker (LCOM4 4) src/Loyalty.Core.Entities/Aggregates/Workers/Worker.cs:12
- Swallowed exception (caught, then discarded) src/Loyalty.Application.ViewModels/Validators/PhoneValidator.cs:27
- Swallowed exception (caught, then discarded) src/Loyalty.Application.Storage.Dto/Validators/Interface/ImageValidator.cs:21
- Swallowed exception (caught, then discarded) src/Loyalty.Application.Storage.Dto/Validators/Interface/ImageValidator.cs:43
- Change-coupling hub: VenueGetFunction.cs → VenueDeleteFunction.cs, VenuePostFunction.cs, VenuePutFunction.cs src/LoyaltyProgram/Http/Read/Venue/VenueGetFunction.cs
- Change-coupling hub: VenueGetAllFunction.cs → VenueGetFunction.cs, VenueDeleteFunction.cs, VenuePostFunction.cs, VenuePutFunction.cs src/LoyaltyProgram/Http/Read/Venue/VenueGetAllFunction.cs
- Duplicated block (28 lines × 2) src/Loyalty.Infrastructure.Handlers/Queries/Orders/GetAllOrdersByVenueIdQueryHandler.cs:47
- Duplicated block (28 lines × 2) src/Loyalty.Infrastructure.Handlers/Queries/ProductGroups/GetProductGroupByIdQueryHandler.cs:53
- Duplicated block (18 lines × 2) src/Loyalty.Application.ViewModels/Validators/Venue/CreateVenueValidator.cs:12
- Duplicated block (18 lines × 2) src/Loyalty.Application.Storage.Dto/Validators/ProductPhotoValidator.cs:15
- Duplicated block (11 lines × 3) src/Loyalty.Application.ViewModels/Venue/CreateVenueViewModel.cs:9
- Duplicated block (11 lines × 3) common/Loyalty.Domain.Handlers.Notifications/Venue/CreateVenueNotification.cs:23
- Duplicated block (7 lines × 2) src/Loyalty.Application.ViewModels/Validators/Venue/CreateVenueValidator.cs:35
- Duplicated block (7 lines × 2) src/LoyaltyProgram/Http/Write/Product/ProductImagePatchFunction.cs:57
- Domain type reads the wall clock: PurchaseBurnedEventHandler src/Loyalty.Application.DomainEvents.Handlers/Purchases/PurchaseBurnedEventHandler.cs:23
- Domain type reads the wall clock: PurchaseMadeEventHandler src/Loyalty.Application.DomainEvents.Handlers/Purchases/PurchaseMadeEventHandler.cs:22
- Anemic entity: OrderItem src/Loyalty.Core.Entities/Aggregates/Orders/OrderItem.cs:9
- Anemic entity: Purchase src/Loyalty.Core.Entities/Aggregates/Purchases/Purchase.cs:10
- Non-idempotent mutation: ProductGroups.CreateProductGroupCommandHandler.Handle src/Loyalty.Infrastructure.Handlers.Commands/Commands/ProductGroups/CreateProductGroupCommandHandler.cs:22
- Non-idempotent mutation: Purchases.BurnPurchaseCommandHandler.Handle src/Loyalty.Infrastructure.Handlers.Commands/Commands/Purchases/BurnPurchaseCommandHandler.cs:24
- Fake-async — async method never awaits src/Loyalty.Infrastructure.Handlers/Queries/Purchases/GetClientActivePurchasesQueryHandler.cs:25
- Fake-async — async method never awaits src/LoyaltyProgram/Http/Read/Ping/LoaderIoFunction.cs:13
- Symbol treated as nullable, then dereferenced unguarded src/LoyaltyProgram/Storage/OrderChangedNotificationFunction.cs:22
- Symbol treated as nullable, then dereferenced unguarded src/Loyalty.Infrastructure.Handlers.Commands/Commands/LoyaltyProductGroups/ArchiveLoyaltyProductGroupCommandHandler.cs:24
- Redundant Type Definition: `CommandResult` and `ICommandNotificationResult` have identical property signatures (`Success`, `Message`, `Result`, `OnSuccessNotifications`, `OnFailNotifications`). `ICommandNotificationResult` appears to be an interface that duplicates the concrete `CommandResult` class entirely, rather than abstracting a smaller subset or behavior.
- Naming/Intent Overlap: `CommandNotificationResult` (class) and `ICommandNotificationResult` (interface) share the exact same shape. The class name suggests it is a result of a command notification process, while the interface name suggests it is a contract for such results. However, since the class implements the interface with no additional behavior or state, the interface adds no value and creates confusion about whether consumers should depend on the interface or the class.
- REDACTED
- REDACTED
- Change coupling: CreateLoyaltyProgramCommandHandler.cs ↔ UpdateLoyaltyProgramCommandHandler.cs src/Loyalty.Infrastructure.Handlers.Commands/Commands/LoyaltyPrograms/CreateLoyaltyProgramCommandHandler.cs:1
- Duplicated block (59 lines × 2) common/Loyalty.Domain.Handlers.Notifications/Venue/CreateVenueNotification.cs:11
- Duplicated block (27 lines × 2) src/Loyalty.Infrastructure.Handlers/Queries/LoyaltyProductGroups/GetLoyaltyProductGroupByIdQueryHandler.cs:54
- Duplicated block (23 lines × 2) src/Loyalty.Application.ViewModels/Venue/CreateVenueViewModel.cs:9
- Duplicated block (21 lines × 3) src/Loyalty.Infrastructure.Handlers/Queries/Workers/GetWorkerByEmailQueryHandler.cs:57
- Duplicated block (18–21 lines × 2) src/Loyalty.Infrastructure.Firebase.Handlers/Notifications/SetupFirebaseTokenNotificationHandler.cs:34
- Duplicated block (19 lines × 2) src/Loyalty.Application.Storage.Dto/Validators/VenueLogoValidator.cs:17
- Duplicated block (20 lines × 2) src/Loyalty.Infrastructure.Handlers.Commands/Commands/Venues/CreateVenueCommandHandler.cs:49
- Duplicated block (10 lines × 3) src/Loyalty.Application.Storage.Dto/Validators/VenueImageValidator.cs:17
- Duplicated block (11 lines × 2) src/Loyalty.Domain.Handlers.Queries/QueryResults/Orders/GetOrderByUserIdQueryResult.cs:20
- Duplicated block (8 lines × 3) src/Loyalty.Application.Storage.Dto/Validators/VenueImageValidator.cs:32
- Duplicated block (9 lines × 2) src/LoyaltyProgram/Http/Write/Admin/VenueApprovePatchFunction.cs:42
- Duplicated block (8 lines × 2) src/LoyaltyProgram/Http/Write/VenueImages/VenueCreateImageFunction.cs:57
- Duplicated block (5 lines × 2) src/Loyalty.Application.Venue/LoyaltyVenueAppService.cs:108
- End-of-life runtime: .NET netcoreapp3.1 test/LoyaltyProgram.Tests/LoyaltyProgram.Tests.csproj:4
- Unstable project LoyaltyProgram src/LoyaltyProgram/LoyaltyProgram.csproj:1
- Unstable project Loyalty.Infrastructure.IoC src/Loyalty.Infrastructure.IoC/Loyalty.Infrastructure.IoC.csproj:1
- Unstable project Loyalty.Infrastructure.Handlers.Commands src/Loyalty.Infrastructure.Handlers.Commands/Loyalty.Infrastructure.Handlers.Commands.csproj:1
- Coverage not measured — no coverage collector is wired up
- Skeleton type — most members are unfinished src/Loyalty.Infrastructure.DataAccess/Context/EmptyMediator.cs:8
- NuGet dependencies are not locked
- Blocking `FileStream.Read` inside an `async` method src/Loyalty.Application.Venue/LoyaltyVenueImageAppService.cs:94
- Disposable created and abandoned in the method that made it src/Loyalty.Infrastructure.DataAccess/Context/Scoped/DbContextScopedExtensions.cs:85
- Argument guard throws the exception its own condition disproves src/Loyalty.Application.Venue/CodeAppService.cs:30
Minor — 66 finding(s)
- Primitive id on a domain type: LoyaltyProductGroup.LoyaltyProgramId src/Loyalty.Core.Entities/Aggregates/LoyaltyPrograms/LoyaltyProductGroup.cs:49
- Primitive id on a domain type: LoyaltyProductGroup.ProductGroupId src/Loyalty.Core.Entities/Aggregates/LoyaltyPrograms/LoyaltyProductGroup.cs:60
- Primitive id on a domain type: LoyaltyProductGroup.TenantId src/Loyalty.Core.Entities/Aggregates/LoyaltyPrograms/LoyaltyProductGroup.cs:68
- Primitive id on a domain type: LoyaltyProgram.VenueId src/Loyalty.Core.Entities/Aggregates/LoyaltyPrograms/LoyaltyProgram.cs:58
- Primitive id on a domain type: LoyaltyProgram.TenantId src/Loyalty.Core.Entities/Aggregates/LoyaltyPrograms/LoyaltyProgram.cs:67
- Primitive id on a domain type: Order.TenantId src/Loyalty.Core.Entities/Aggregates/Orders/Order.cs:28
- Primitive id on a domain type: Order.VenueId src/Loyalty.Core.Entities/Aggregates/Orders/Order.cs:32
- Primitive id on a domain type: OrderItem.TenantId src/Loyalty.Core.Entities/Aggregates/Orders/OrderItem.cs:31
- Primitive id on a domain type: OrderItem.ProductId src/Loyalty.Core.Entities/Aggregates/Orders/OrderItem.cs:35
- Primitive id on a domain type: OrderItem.OrderId src/Loyalty.Core.Entities/Aggregates/Orders/OrderItem.cs:42
- Primitive id on a domain type: ProductGroup.VenueId src/Loyalty.Core.Entities/Aggregates/ProductGroups/ProductGroup.cs:28
- Primitive id on a domain type: ProductGroup.TenantId src/Loyalty.Core.Entities/Aggregates/ProductGroups/ProductGroup.cs:42
- Primitive id on a domain type: Product.ProductGroupId src/Loyalty.Core.Entities/Aggregates/Products/Product.cs:78
- Primitive id on a domain type: Product.VenueId src/Loyalty.Core.Entities/Aggregates/Products/Product.cs:80
- Primitive id on a domain type: Product.TenantId src/Loyalty.Core.Entities/Aggregates/Products/Product.cs:82
- Primitive id on a domain type: Purchase.LoyaltyProductGroupId src/Loyalty.Core.Entities/Aggregates/Purchases/Purchase.cs:79
- Primitive id on a domain type: Purchase.VenueId src/Loyalty.Core.Entities/Aggregates/Purchases/Purchase.cs:82
- Primitive id on a domain type: Purchase.ProductId src/Loyalty.Core.Entities/Aggregates/Purchases/Purchase.cs:85
- Primitive id on a domain type: Purchase.UserId src/Loyalty.Core.Entities/Aggregates/Purchases/Purchase.cs:87
- Primitive id on a domain type: Purchase.TenantId src/Loyalty.Core.Entities/Aggregates/Purchases/Purchase.cs:91
- Primitive id on a domain type: Venue.OwnerId src/Loyalty.Core.Entities/Aggregates/Venues/Venue.cs:51
- Primitive id on a domain type: Venue.ParentId src/Loyalty.Core.Entities/Aggregates/Venues/Venue.cs:54
- Primitive id on a domain type: Venue.TenantId src/Loyalty.Core.Entities/Aggregates/Venues/Venue.cs:78
- Primitive id on a domain type: VenueWorker.VenueId src/Loyalty.Core.Entities/Aggregates/Workers/VenueWorker.cs:21
- Primitive id on a domain type: VenueWorker.WorkerId src/Loyalty.Core.Entities/Aggregates/Workers/VenueWorker.cs:23
- Interpolated log message defeats structured logging src/LoyaltyProgram/Http/Write/VenueImages/VenueCreateImageFunction.cs:99
- Interpolated log message defeats structured logging src/LoyaltyProgram/Http/Write/VenueImages/VenuePutImageFunction.cs:84
- Interpolated log message defeats structured logging src/LoyaltyProgram/Http/Write/VenueLogo/VenueCreateLogoFunction.cs:90
- Interpolated log message defeats structured logging src/LoyaltyProgram/SendGrid/SendEmailConfirmationLinkFunction.cs:26
- Interpolated log message defeats structured logging src/LoyaltyProgram/SendGrid/SendEmailConfirmationLinkFunction.cs:45
- Interpolated log message defeats structured logging src/LoyaltyProgram/SendGrid/SendEmailConfirmationLinkFunction.cs:49
- Interpolated log message defeats structured logging src/LoyaltyProgram/ServiceBus/ClientEventsFunction.cs:49
- Interpolated log message defeats structured logging REDACTED:77
- Interpolated log message defeats structured logging src/LoyaltyProgram/Timer/SelfWarmer.cs:23
- Interpolated log message defeats structured logging REDACTED:45
- Mutable entity: Order src/Loyalty.Core.Entities/Aggregates/Orders/Order.cs:17
- Mutable entity: OrderItem src/Loyalty.Core.Entities/Aggregates/Orders/OrderItem.cs:9
- Mutable entity: ProductGroup src/Loyalty.Core.Entities/Aggregates/ProductGroups/ProductGroup.cs:11
- Mutable entity: Venue src/Loyalty.Core.Entities/Aggregates/Venues/Venue.cs:18
- Mutable entity: AuditableEntity src/Loyalty.Core.Entities/Base/AuditableEntity.cs:8
- README/code drift docs/articles/05-multitenancy-query-filters.md:203
- README/code drift docs/articles/05-multitenancy-query-filters.md:208
- README/code drift docs/articles/medium/05-multitenancy-query-filters.md:213
- README/code drift docs/articles/medium/05-multitenancy-query-filters.md:218
- README/code drift docs/articles/medium/README.md:37
- Duplicated predicate src/Loyalty.Application.Venue/LoyaltyVenueAppService.cs:108
- Duplicated predicate src/Loyalty.Infrastructure.Firebase.Handlers/Commands/User/UpdateUserEmailCommandHandler.cs:38
- Duplicated predicate src/Loyalty.Infrastructure.Handlers/Queries/ProductGroups/GetProductGroupByIdQueryHandler.cs:76
- Duplicated predicate src/Loyalty.Application.ViewModels/Validators/Venue/CreateVenueValidator.cs:40
- Commented-out code src/Loyalty.Infrastructure.DataAccess/Context/Scoped/ObjectStore.cs:37
- Commented-out code src/LoyaltyProgram/Http/Write/VenueImages/VenueCreateImageFunction.cs:58
- Commented-out code src/LoyaltyProgram/Startup.cs:67
- Partial audit-trail evidence
- Shell project: Loyalty.Domain.Handlers.Notifications src/Loyalty.Domain.Handlers.Notifications/Loyalty.Domain.Handlers.Notifications.csproj
- redundant comment src/Loyalty.Core.Entities/Aggregates/Products/Product.cs:15
- No ADRs
- Large public API surface
- No changelog
- No performance benchmarks
- No allocation-aware APIs detected
- Not all async methods take a CancellationToken
- Nullable reference types not enabled everywhere
- Silent fallback default in catch src/Loyalty.Application.Storage.Dto/Validators/Interface/ImageValidator.cs:43
Minor — 2 finding(s)
- Mock framework: Moq
- Off the main sequence: Loyalty.Common.Shared src/Loyalty.Common.Shared/Loyalty.Common.Shared.csproj:1
Appendix B — Reproduction & audit trail
| Dimension | Tool | Version | Command | Findings | Raw output |
|---|---|---|---|---|---|
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-banner --config /opt/gitleaks-rules/watchdog-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-d0b3561aa2f9444caeb66cd2ec21b134/history.json --exit-code 0 --source . | 0 | artifacts/raw/gitleaks-history.json |
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-git --no-banner --config /opt/gitleaks-rules/watchdog-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-d0b3561aa2f9444caeb66cd2ec21b134/tree.json --exit-code 0 --source . | 0 | artifacts/raw/gitleaks-tree.json |
| D29 · Static Analysis (SAST) | semgrep | — | semgrep --config /opt/semgrep-rules/security-audit.yml --config /opt/semgrep-rules/owasp-top-ten.yml --config /opt/semgrep-rules/watchdog-sast.yml --json --quiet --timeout 10 --timeout-threshold 3 --metrics off . | 0 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | dotnet | — | dotnet list src/LoyaltyProgram.sln package --vulnerable --include-transitive --format json | 0 | artifacts/raw/dotnet-vulnerable.json |
| D31 · IaC & Container Security | trivy | — | trivy: not applicable — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan. | 0 | — |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep --config /opt/semgrep-rules/gdpr.yml --json --quiet --timeout 10 --timeout-threshold 3 --metrics off . | 6 | artifacts/raw/semgrep-gdpr.json |
| D36 · Supply-chain Provenance & Signing | provenance | — | provenance: not applicable — No CI/build pipeline found (.github/.forgejo/.gitea workflows, .circleci, .buildkite, .woodpecker, .teamcity, .gitlab-ci.yml, .travis.yml, bitbucket-pipelines.yml, .drone.yml, .cirrus.yml, .woodpecker.yml, appveyor.yml, azure-pipelines*.yml, .pipelines/, .vsts-ci/, .azuredevops/, Jenkinsfile); there is no build to attest provenance for. | 0 | — |
| D37 · Vulnerability-disclosure Policy | disclosure | — | disclosure: not applicable — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed. | 0 | — |
| D40 · Network Egress Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here. | 0 | — |
| D41 · Kernel & Syscall Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here. | 0 | — |
| D42 · Runtime Threat Enforcement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here. | 0 | — |
| D43 · Malicious Dependencies | none (no readable dependency manifest) | — | none (no readable dependency manifest): not applicable — Not scored — no dependency manifest in a supported ecosystem was read for this repository. A gap in the analyzer's language coverage, NOT a finding that the repository is free of vulnerable dependencies (a Python pyproject.toml/requirements.txt (pip/uv/Poetry), a Swift Package.swift/Package.resolved, a Cargo manifest, a Go module (go.mod/go.sum), a Gradle version catalogue, a Maven POM, an sbt build (build.sbt), composer.json, package.json, a Dart pubspec.yaml, an Elixir mix.exs/mix.lock (Hex), a rebar.config / erlang.mk DEPS (Hex), a Ruby Gemfile/Gemfile.lock or .gemspec (Bundler/RubyGems) — not scanned yet). | 0 | — |
Appendix C — Personal-data map
Phone — 21 field(s)
- CreateVenueNotification.Phones common/Loyalty.Domain.Handlers.Notifications/Venue/CreateVenueNotification.cs:39
- UpdateVenueNotification.Phones common/Loyalty.Domain.Handlers.Notifications/Venue/UpdateVenueNotification.cs:37
- WorkerInviteDto.WorkerPhone src/Loyalty.Application.Storage.Dto/WorkerInviteDto.cs:13
- ClientInfoViewModel.Phone src/Loyalty.Application.ViewModels/ClientInfo/ClientInfoViewModel.cs:21
- CreateVenueViewModel.Phones src/Loyalty.Application.ViewModels/Venue/CreateVenueViewModel.cs:22
- UpdateVenueViewModel.Phones src/Loyalty.Application.ViewModels/Venue/UpdateVenueViewModel.cs:22
- InviteViewModel.Phone src/Loyalty.Application.ViewModels/Worker/InviteViewModel.cs:15
- WorkerViewModel.Phone src/Loyalty.Application.ViewModels/Worker/WorkerViewModel.cs:19
- ContactInfo.Phones src/Loyalty.Core.Entities/Aggregates/Venues/ValueObjects/ContactInfo.cs:25
- Worker.Phone src/Loyalty.Core.Entities/Aggregates/Workers/Worker.cs:65
- GetClientInfoFirebaseQueryResult.Phone src/Loyalty.Domain.Handlers.Firebase.Queries/QueryResults/GetClientInfoFirebaseQueryResult.cs:17
- CreateVenueCommand.Phones src/Loyalty.Domain.Handlers.Queries/Commands/Venue/CreateVenueCommand.cs:21
- UpdateVenueCommand.Phones src/Loyalty.Domain.Handlers.Queries/Commands/Venue/UpdateVenueCommand.cs:23
- CreateWorkerWithoutVenueCommand.Phone src/Loyalty.Domain.Handlers.Queries/Commands/Workers/CreateWorkerWithoutVenueCommand.cs:10
- CreateInviteCommand.Phone src/Loyalty.Domain.Handlers.Queries/Commands/Workers/Invites/CreateInviteCommand.cs:13
- GetWorkerByPhoneQuery.Phone src/Loyalty.Domain.Handlers.Queries/Queries/Worker/GetWorkerByPhoneQuery.cs:8
- GetUserProfileByIdQueryResult.Phone src/Loyalty.Domain.Handlers.Queries/QueryResults/UserProfile/GetUserProfileByIdQueryResult.cs:14
- GetVenueByIdQueryResult.Phones src/Loyalty.Domain.Handlers.Queries/QueryResults/Venue/GetVenueByIdQueryResult.cs:27
- GetInviteByEmailQueryResult.Phone src/Loyalty.Domain.Handlers.Queries/QueryResults/Worker/GetInviteByEmailQueryResult.cs:11
- GetInviteByPhoneQueryResult.Phone src/Loyalty.Domain.Handlers.Queries/QueryResults/Worker/GetInviteByPhoneQueryResult.cs:13
- GetWorkerByIdQueryResult.Phone src/Loyalty.Domain.Handlers.Queries/QueryResults/Worker/GetWorkerByIdQueryResult.cs:19
Name — 18 field(s)
- SetupFirebaseTokenNotification.Surname common/Loyalty.Domain.Handlers.Notifications/Workers/SetupFirebaseTokenNotification.cs:18
- UpdateWorkerProfileNotification.LastName common/Loyalty.Domain.Handlers.Notifications/Workers/UpdateWorkerProfileNotification.cs:15
- UpdatedWorkerNotification.LastName common/Loyalty.Domain.Handlers.Notifications/Workers/UpdatedWorkerNotification.cs:17
- ClientInfoViewModel.Surname src/Loyalty.Application.ViewModels/ClientInfo/ClientInfoViewModel.cs:15
- SignupViewModel.Surname src/Loyalty.Application.ViewModels/Signup/SignupViewModel.cs:11
- UserProfileViewModel.LastName src/Loyalty.Application.ViewModels/UserProfile/UserProfileViewModel.cs:11
- WorkerViewModel.LastName src/Loyalty.Application.ViewModels/Worker/WorkerViewModel.cs:25
- Worker.LastName src/Loyalty.Core.Entities/Aggregates/Workers/Worker.cs:69
- SetupFirebaseTokenCommand.Surname src/Loyalty.Domain.Handlers.Firebase.Queries/Commands/User/SetupFirebaseTokenCommand.cs:22
- GetVerificationLinkQuery.Surname src/Loyalty.Domain.Handlers.Firebase.Queries/Queries/GetVerificationLinkQuery.cs:12
- GetClientInfoFirebaseQueryResult.Surname src/Loyalty.Domain.Handlers.Firebase.Queries/QueryResults/GetClientInfoFirebaseQueryResult.cs:13
- GetCurrentUserQueryResult.Surname src/Loyalty.Domain.Handlers.Firebase.Queries/QueryResults/GetCurrentUserQueryResult.cs:13
- UpdateUserProfileCommand.LastName src/Loyalty.Domain.Handlers.Queries/Commands/UserProfile/UpdateUserProfileCommand.cs:13
- CreateWorkerCommand.Surname src/Loyalty.Domain.Handlers.Queries/Commands/Workers/CreateWorkerCommand.cs:10
- CreateWorkerWithoutVenueCommand.LastName src/Loyalty.Domain.Handlers.Queries/Commands/Workers/CreateWorkerWithoutVenueCommand.cs:14
- UpdateWorkerCommand.LastName src/Loyalty.Domain.Handlers.Queries/Commands/Workers/UpdateWorkerCommand.cs:15
- GetUserProfileByIdQueryResult.LastName src/Loyalty.Domain.Handlers.Queries/QueryResults/UserProfile/GetUserProfileByIdQueryResult.cs:11
- GetWorkerByIdQueryResult.LastName src/Loyalty.Domain.Handlers.Queries/QueryResults/Worker/GetWorkerByIdQueryResult.cs:25
Email — 16 field(s)
- EmailInvitationDto.CustomerEmail src/Loyalty.Application.Storage.Dto/EmailInvitationDto.cs:9
- EmailInvitationDto.SenderEmail src/Loyalty.Application.Storage.Dto/EmailInvitationDto.cs:11
- PatchEmailViewModel.Email src/Loyalty.Application.ViewModels/Signup/PatchEmailViewModel.cs:8
- WorkerViewModel.Email src/Loyalty.Application.ViewModels/Worker/WorkerViewModel.cs:28
- EmailSettings.InviteEmail src/Loyalty.Common.Shared/Settings/EmailSettings.cs:7
- EmailSettings.EmailLink src/Loyalty.Common.Shared/Settings/EmailSettings.cs:13
- Worker.Email src/Loyalty.Core.Entities/Aggregates/Workers/Worker.cs:73
- UpdateUserEmailCommand.CurrentEmail src/Loyalty.Domain.Handlers.Firebase.Queries/Commands/User/UpdateUserEmailCommand.cs:8
- UpdateUserEmailCommand.NewEmail src/Loyalty.Domain.Handlers.Firebase.Queries/Commands/User/UpdateUserEmailCommand.cs:14
- GetVerificationLinkQuery.NewEmail src/Loyalty.Domain.Handlers.Firebase.Queries/Queries/GetVerificationLinkQuery.cs:14
- GetCurrentUserQueryResult.Email src/Loyalty.Domain.Handlers.Firebase.Queries/QueryResults/GetCurrentUserQueryResult.cs:5
- GetVerificationLinkQueryResult.Email src/Loyalty.Domain.Handlers.Firebase.Queries/QueryResults/GetVerificationLinkQueryResult.cs:5
- UpdateEmailCommand.Email src/Loyalty.Domain.Handlers.Queries/Commands/UserProfile/UpdateEmailCommand.cs:10
- CreateWorkerWithoutVenueCommand.Email src/Loyalty.Domain.Handlers.Queries/Commands/Workers/CreateWorkerWithoutVenueCommand.cs:16
- GetWorkerByEmailQuery.Email src/Loyalty.Domain.Handlers.Queries/Queries/Worker/GetWorkerByEmailQuery.cs:8
- GetWorkerByIdQueryResult.Email src/Loyalty.Domain.Handlers.Queries/QueryResults/Worker/GetWorkerByIdQueryResult.cs:28