Executive summary
alex289/CleanArchitecture scores 50 out of 100 and is rated Adequate, while six of its eight lenses score higher still: Event-Driven and Performance at 100 and Architecture at 93, all rated Exemplary, and Code Health at 64, Maturity at 55 and Production Readiness at 54, all rated Adequate.
The score is lower than those six because the weakest lens counts most, and here that is Domain Modelling, which scores 44 and is rated Weak. Its Strongly-typed ids dimension scores 3 out of 10, and until that reaches 4, Domain Modelling can't be rated higher than Adequate. The first actions are to resolve the 9 Leaked secret finding(s) in REDACTED Scanning and to resolve the 1 No ADRs found finding(s) in ADR Quality, and if Domain Modelling rose to 70, the score would rise from 50 to about 54.
103 findings are critical: 51 in Static Analysis (SAST), 16 in Domain ↔ infrastructure boundary, 13 in Secrets (history), nine in REDACTED Scanning, six in IaC & Container Security, three in Explicit Debt, two in Aggregate boundaries, two in Dependency Vulnerabilities and one in Web-Security Posture.
Watchdog couldn't measure Runtime accessibility in this code, so that dimension is left out of the score. The product code is 4,518 lines, which would take an estimated 0.1 person-years, around €16,000, to rebuild.
If Domain Modelling rose from 44 to 70, the lowest score rated Strong, the score would rise from 50 to about 54.
Rebuild cost: about €16,000 · Estimate
| Cost to rebuild | €5,400 to €27,000, for 90 to 287 hours of work, about 0.1 person-years for one engineer |
|---|---|
| Difficulty of the problem | Very 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.7 at a score of 50. 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: 4,518 lines of product code, of which 47% is declarations and boilerplate, 35% straight logic and 18% 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.ViewModels | 2 Application.ViewModels.Sorting | 3 Domain.Enums | 4 Shared.Events | 5 gRPC.Interfaces | 6 Domain.DomainEvents | 7 Domain.Entities | 8 Domain.Interfaces | 9 Domain.Notifications | 10 Shared.Events.Tenant | 11 gRPC.Contexts | 12 Application.SortProviders | 13 Application.ViewModels.Users | 14 Domain | 15 Domain.Commands | 16 Domain.Consumers | 17 Domain.DomainNotifications | 18 Domain.EventHandler | 19 Domain.EventHandler.Fanout | 20 Domain.Interfaces.Repositories | 21 Application.Queries.Users.GetAll | 22 Application.Queries.Users.GetUserById | 23 Application.ViewModels.Tenants | 24 Domain.Commands.Tenants.CreateTenant | 25 Domain.Commands.Tenants.DeleteTenant | 26 Domain.Commands.Tenants.UpdateTenant | 27 Domain.Commands.Users.ChangePassword | 28 Domain.Commands.Users.CreateUser | 29 Domain.Commands.Users.DeleteUser | 30 Domain.Commands.Users.LoginUser | 31 Domain.Commands.Users.UpdateUser | 32 Infrastructure | 33 Infrastructure.Database | 34 Application.Interfaces | 35 Application.Queries.Tenants.GetAll | 36 Application.Queries.Tenants.GetTenantById | 37 Infrastructure.EventSourcing | 38 Infrastructure.Repositories | 39 Api.Controllers | 40 Application.Services |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 Application.ViewModels | ||||||||||||||||||||||||||||||||||||||||
| 2 Application.ViewModels.Sorting | ||||||||||||||||||||||||||||||||||||||||
| 3 Domain.Enums | ||||||||||||||||||||||||||||||||||||||||
| 4 Shared.Events | ||||||||||||||||||||||||||||||||||||||||
| 5 gRPC.Interfaces | ||||||||||||||||||||||||||||||||||||||||
| 6 Domain.DomainEvents | 1 | |||||||||||||||||||||||||||||||||||||||
| 7 Domain.Entities | 2 | |||||||||||||||||||||||||||||||||||||||
| 8 Domain.Interfaces | 1 | |||||||||||||||||||||||||||||||||||||||
| 9 Domain.Notifications | 1 | |||||||||||||||||||||||||||||||||||||||
| 10 Shared.Events.Tenant | 3 | |||||||||||||||||||||||||||||||||||||||
| 11 gRPC.Contexts | 2 | |||||||||||||||||||||||||||||||||||||||
| 12 Application.SortProviders | 2 | 2 | ||||||||||||||||||||||||||||||||||||||
| 13 Application.ViewModels.Users | 3 | 1 | ||||||||||||||||||||||||||||||||||||||
| 14 Domain | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 15 Domain.Commands | 2 | 2 | ||||||||||||||||||||||||||||||||||||||
| 16 Domain.Consumers | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 17 Domain.DomainNotifications | 1 | |||||||||||||||||||||||||||||||||||||||
| 18 Domain.EventHandler | 3 | |||||||||||||||||||||||||||||||||||||||
| 19 Domain.EventHandler.Fanout | 1 | |||||||||||||||||||||||||||||||||||||||
| 20 Domain.Interfaces.Repositories | 1 | |||||||||||||||||||||||||||||||||||||||
| 21 Application.Queries.Users.GetAll | 2 | 2 | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||
| 22 Application.Queries.Users.GetUserById | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 23 Application.ViewModels.Tenants | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 24 Domain.Commands.Tenants.CreateTenant | 3 | 1 | 2 | 1 | ||||||||||||||||||||||||||||||||||||
| 25 Domain.Commands.Tenants.DeleteTenant | 3 | 1 | 2 | 2 | ||||||||||||||||||||||||||||||||||||
| 26 Domain.Commands.Tenants.UpdateTenant | 3 | 1 | 2 | 1 | ||||||||||||||||||||||||||||||||||||
| 27 Domain.Commands.Users.ChangePassword | 3 | 1 | 2 | 1 | ||||||||||||||||||||||||||||||||||||
| 28 Domain.Commands.Users.CreateUser | 3 | 1 | 2 | 2 | ||||||||||||||||||||||||||||||||||||
| 29 Domain.Commands.Users.DeleteUser | 3 | 1 | 2 | 1 | ||||||||||||||||||||||||||||||||||||
| 30 Domain.Commands.Users.LoginUser | 1 | 2 | 1 | 2 | 1 | |||||||||||||||||||||||||||||||||||
| 31 Domain.Commands.Users.UpdateUser | 1 | 3 | 1 | 2 | 2 | |||||||||||||||||||||||||||||||||||
| 32 Infrastructure | 1 | 2 | 1 | |||||||||||||||||||||||||||||||||||||
| 33 Infrastructure.Database | 1 | 2 | 1 | |||||||||||||||||||||||||||||||||||||
| 34 Application.Interfaces | 4 | 2 | 5 | 3 | ||||||||||||||||||||||||||||||||||||
| 35 Application.Queries.Tenants.GetAll | 2 | 2 | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||
| 36 Application.Queries.Tenants.GetTenantById | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 37 Infrastructure.EventSourcing | 1 | 1 | 2 | |||||||||||||||||||||||||||||||||||||
| 38 Infrastructure.Repositories | 1 | 3 | 2 | |||||||||||||||||||||||||||||||||||||
| 39 Api.Controllers | 2 | 2 | 4 | 4 | 2 | 2 | ||||||||||||||||||||||||||||||||||
| 40 Application.Services | 4 | 2 | 3 | 5 | 3 | 2 |
6→4 Domain.DomainEvents uses Shared.Events✕
- Connections
- 1 pair of types, where a type in Domain.DomainEvents uses a type in Shared.Events.
- The types involved
CleanArchitecture.Domain.DomainEvents.StoredDomainEvent→CleanArchitecture.Shared.Events.DomainEvent
- Direction
- Domain.DomainEvents uses Shared.Events, so a change to Shared.Events can break Domain.DomainEvents, while a change to Domain.DomainEvents can't break Shared.Events.
- Position
- Below the diagonal: Domain.DomainEvents uses a module listed above it, which is the healthy direction.
7→3 Domain.Entities uses Domain.Enums✕
- Connections
- 2 pairs of types, where a type in Domain.Entities uses a type in Domain.Enums.
- The types involved
CleanArchitecture.Domain.Entities.User→CleanArchitecture.Domain.Enums.UserRoleCleanArchitecture.Domain.Entities.User→CleanArchitecture.Domain.Enums.UserStatus
- Direction
- Domain.Entities uses Domain.Enums, so a change to Domain.Enums can break Domain.Entities, while a change to Domain.Entities can't break Domain.Enums.
- Position
- Below the diagonal: Domain.Entities uses a module listed above it, which is the healthy direction.
8→3 Domain.Interfaces uses Domain.Enums✕
- Connections
- 1 pair of types, where a type in Domain.Interfaces uses a type in Domain.Enums.
- The types involved
CleanArchitecture.Domain.Interfaces.IUser→CleanArchitecture.Domain.Enums.UserRole
- Direction
- Domain.Interfaces uses Domain.Enums, so a change to Domain.Enums can break Domain.Interfaces, while a change to Domain.Interfaces can't break Domain.Enums.
- Position
- Below the diagonal: Domain.Interfaces uses a module listed above it, which is the healthy direction.
9→4 Domain.Notifications uses Shared.Events✕
- Connections
- 1 pair of types, where a type in Domain.Notifications uses a type in Shared.Events.
- The types involved
CleanArchitecture.Domain.Notifications.DomainNotification→CleanArchitecture.Shared.Events.DomainEvent
- Direction
- Domain.Notifications uses Shared.Events, so a change to Shared.Events can break Domain.Notifications, while a change to Domain.Notifications can't break Shared.Events.
- Position
- Below the diagonal: Domain.Notifications uses a module listed above it, which is the healthy direction.
10→4 Shared.Events.Tenant uses Shared.Events✕
- Connections
- 3 pairs of types, where a type in Shared.Events.Tenant uses a type in Shared.Events.
- The types involved
CleanArchitecture.Shared.Events.Tenant.TenantCreatedEvent→CleanArchitecture.Shared.Events.DomainEventCleanArchitecture.Shared.Events.Tenant.TenantDeletedEvent→CleanArchitecture.Shared.Events.DomainEventCleanArchitecture.Shared.Events.Tenant.TenantUpdatedEvent→CleanArchitecture.Shared.Events.DomainEvent
- Direction
- Shared.Events.Tenant uses Shared.Events, so a change to Shared.Events can break Shared.Events.Tenant, while a change to Shared.Events.Tenant can't break Shared.Events.
- Position
- Below the diagonal: Shared.Events.Tenant uses a module listed above it, which is the healthy direction.
11→5 gRPC.Contexts uses gRPC.Interfaces✕
- Connections
- 2 pairs of types, where a type in gRPC.Contexts uses a type in gRPC.Interfaces.
- The types involved
CleanArchitecture.gRPC.Contexts.TenantsContext→CleanArchitecture.gRPC.Interfaces.ITenantsContextCleanArchitecture.gRPC.Contexts.UsersContext→CleanArchitecture.gRPC.Interfaces.IUsersContext
- Direction
- gRPC.Contexts uses gRPC.Interfaces, so a change to gRPC.Interfaces can break gRPC.Contexts, while a change to gRPC.Contexts can't break gRPC.Interfaces.
- Position
- Below the diagonal: gRPC.Contexts uses a module listed above it, which is the healthy direction.
12→2 Application.SortProviders uses Application.ViewModels.Sorting✕
- Connections
- 2 pairs of types, where a type in Application.SortProviders uses a type in Application.ViewModels.Sorting.
- The types involved
CleanArchitecture.Application.SortProviders.TenantViewModelSortProvider→CleanArchitecture.Application.ViewModels.Sorting.ISortingExpressionProviderCleanArchitecture.Application.SortProviders.UserViewModelSortProvider→CleanArchitecture.Application.ViewModels.Sorting.ISortingExpressionProvider
- Direction
- Application.SortProviders uses Application.ViewModels.Sorting, so a change to Application.ViewModels.Sorting can break Application.SortProviders, while a change to Application.SortProviders can't break Application.ViewModels.Sorting.
- Position
- Below the diagonal: Application.SortProviders uses a module listed above it, which is the healthy direction.
12→7 Application.SortProviders uses Domain.Entities✕
- Connections
- 2 pairs of types, where a type in Application.SortProviders uses a type in Domain.Entities.
- The types involved
CleanArchitecture.Application.SortProviders.TenantViewModelSortProvider→CleanArchitecture.Domain.Entities.TenantCleanArchitecture.Application.SortProviders.UserViewModelSortProvider→CleanArchitecture.Domain.Entities.User
- Direction
- Application.SortProviders uses Domain.Entities, so a change to Domain.Entities can break Application.SortProviders, while a change to Application.SortProviders can't break Domain.Entities.
- Position
- Below the diagonal: Application.SortProviders uses a module listed above it, which is the healthy direction.
13→3 Application.ViewModels.Users uses Domain.Enums✕
- Connections
- 3 pairs of types, where a type in Application.ViewModels.Users uses a type in Domain.Enums.
- The types involved
CleanArchitecture.Application.ViewModels.Users.UpdateUserViewModel→CleanArchitecture.Domain.Enums.UserRoleCleanArchitecture.Application.ViewModels.Users.UserViewModel→CleanArchitecture.Domain.Enums.UserRoleCleanArchitecture.Application.ViewModels.Users.UserViewModel→CleanArchitecture.Domain.Enums.UserStatus
- Direction
- Application.ViewModels.Users uses Domain.Enums, so a change to Domain.Enums can break Application.ViewModels.Users, while a change to Application.ViewModels.Users can't break Domain.Enums.
- Position
- Below the diagonal: Application.ViewModels.Users uses a module listed above it, which is the healthy direction.
13→7 Application.ViewModels.Users uses Domain.Entities✕
- Connections
- 1 pair of types, where a type in Application.ViewModels.Users uses a type in Domain.Entities.
- The types involved
CleanArchitecture.Application.ViewModels.Users.UserViewModel→CleanArchitecture.Domain.Entities.User
- Direction
- Application.ViewModels.Users uses Domain.Entities, so a change to Domain.Entities can break Application.ViewModels.Users, while a change to Application.ViewModels.Users can't break Domain.Entities.
- Position
- Below the diagonal: Application.ViewModels.Users uses a module listed above it, which is the healthy direction.
14→3 Domain uses Domain.Enums✕
- Connections
- 1 pair of types, where a type in Domain uses a type in Domain.Enums.
- The types involved
CleanArchitecture.Domain.ApiUser→CleanArchitecture.Domain.Enums.UserRole
- Direction
- Domain uses Domain.Enums, so a change to Domain.Enums can break Domain, while a change to Domain can't break Domain.Enums.
- Position
- Below the diagonal: Domain uses a module listed above it, which is the healthy direction.
14→8 Domain uses Domain.Interfaces✕
- Connections
- 1 pair of types, where a type in Domain uses a type in Domain.Interfaces.
- The types involved
CleanArchitecture.Domain.ApiUser→CleanArchitecture.Domain.Interfaces.IUser
- Direction
- Domain uses Domain.Interfaces, so a change to Domain.Interfaces can break Domain, while a change to Domain can't break Domain.Interfaces.
- Position
- Below the diagonal: Domain uses a module listed above it, which is the healthy direction.
15→8 Domain.Commands uses Domain.Interfaces✕
- Connections
- 2 pairs of types, where a type in Domain.Commands uses a type in Domain.Interfaces.
- The types involved
CleanArchitecture.Domain.Commands.CommandHandlerBase→CleanArchitecture.Domain.Interfaces.IMediatorHandlerCleanArchitecture.Domain.Commands.CommandHandlerBase→CleanArchitecture.Domain.Interfaces.IUnitOfWork
- Direction
- Domain.Commands uses Domain.Interfaces, so a change to Domain.Interfaces can break Domain.Commands, while a change to Domain.Commands can't break Domain.Interfaces.
- Position
- Below the diagonal: Domain.Commands uses a module listed above it, which is the healthy direction.
15→9 Domain.Commands uses Domain.Notifications✕
- Connections
- 2 pairs of types, where a type in Domain.Commands uses a type in Domain.Notifications.
- The types involved
CleanArchitecture.Domain.Commands.CommandHandlerBase→CleanArchitecture.Domain.Notifications.DomainNotificationCleanArchitecture.Domain.Commands.CommandHandlerBase→CleanArchitecture.Domain.Notifications.DomainNotificationHandler
- Direction
- Domain.Commands uses Domain.Notifications, so a change to Domain.Notifications can break Domain.Commands, while a change to Domain.Commands can't break Domain.Notifications.
- Position
- Below the diagonal: Domain.Commands uses a module listed above it, which is the healthy direction.
16→4 Domain.Consumers uses Shared.Events✕
- Connections
- 1 pair of types, where a type in Domain.Consumers uses a type in Shared.Events.
- The types involved
CleanArchitecture.Domain.Consumers.FanoutEventConsumer→CleanArchitecture.Shared.Events.FanoutDomainEvent
- Direction
- Domain.Consumers uses Shared.Events, so a change to Shared.Events can break Domain.Consumers, while a change to Domain.Consumers can't break Shared.Events.
- Position
- Below the diagonal: Domain.Consumers uses a module listed above it, which is the healthy direction.
16→10 Domain.Consumers uses Shared.Events.Tenant✕
- Connections
- 1 pair of types, where a type in Domain.Consumers uses a type in Shared.Events.Tenant.
- The types involved
CleanArchitecture.Domain.Consumers.TenantUpdatedEventConsumer→CleanArchitecture.Shared.Events.Tenant.TenantUpdatedEvent
- Direction
- Domain.Consumers uses Shared.Events.Tenant, so a change to Shared.Events.Tenant can break Domain.Consumers, while a change to Domain.Consumers can't break Shared.Events.Tenant.
- Position
- Below the diagonal: Domain.Consumers uses a module listed above it, which is the healthy direction.
17→9 Domain.DomainNotifications uses Domain.Notifications✕
- Connections
- 1 pair of types, where a type in Domain.DomainNotifications uses a type in Domain.Notifications.
- The types involved
CleanArchitecture.Domain.DomainNotifications.StoredDomainNotification→CleanArchitecture.Domain.Notifications.DomainNotification
- Direction
- Domain.DomainNotifications uses Domain.Notifications, so a change to Domain.Notifications can break Domain.DomainNotifications, while a change to Domain.DomainNotifications can't break Domain.Notifications.
- Position
- Below the diagonal: Domain.DomainNotifications uses a module listed above it, which is the healthy direction.
18→10 Domain.EventHandler uses Shared.Events.Tenant✕
- Connections
- 3 pairs of types, where a type in Domain.EventHandler uses a type in Shared.Events.Tenant.
- The types involved
CleanArchitecture.Domain.EventHandler.TenantEventHandler→CleanArchitecture.Shared.Events.Tenant.TenantCreatedEventCleanArchitecture.Domain.EventHandler.TenantEventHandler→CleanArchitecture.Shared.Events.Tenant.TenantDeletedEventCleanArchitecture.Domain.EventHandler.TenantEventHandler→CleanArchitecture.Shared.Events.Tenant.TenantUpdatedEvent
- Direction
- Domain.EventHandler uses Shared.Events.Tenant, so a change to Shared.Events.Tenant can break Domain.EventHandler, while a change to Domain.EventHandler can't break Shared.Events.Tenant.
- Position
- Below the diagonal: Domain.EventHandler uses a module listed above it, which is the healthy direction.
19→8 Domain.EventHandler.Fanout uses Domain.Interfaces✕
- Connections
- 1 pair of types, where a type in Domain.EventHandler.Fanout uses a type in Domain.Interfaces.
- The types involved
CleanArchitecture.Domain.EventHandler.Fanout.FanoutEventHandler→CleanArchitecture.Domain.Interfaces.IUser
- Direction
- Domain.EventHandler.Fanout uses Domain.Interfaces, so a change to Domain.Interfaces can break Domain.EventHandler.Fanout, while a change to Domain.EventHandler.Fanout can't break Domain.Interfaces.
- Position
- Below the diagonal: Domain.EventHandler.Fanout uses a module listed above it, which is the healthy direction.
20→7 Domain.Interfaces.Repositories uses Domain.Entities✕
- Connections
- 1 pair of types, where a type in Domain.Interfaces.Repositories uses a type in Domain.Entities.
- The types involved
CleanArchitecture.Domain.Interfaces.Repositories.IUserRepository→CleanArchitecture.Domain.Entities.User
- Direction
- Domain.Interfaces.Repositories uses Domain.Entities, so a change to Domain.Entities can break Domain.Interfaces.Repositories, while a change to Domain.Interfaces.Repositories can't break Domain.Entities.
- Position
- Below the diagonal: Domain.Interfaces.Repositories uses a module listed above it, which is the healthy direction.
21→1 Application.Queries.Users.GetAll uses Application.ViewModels✕
- Connections
- 2 pairs of types, where a type in Application.Queries.Users.GetAll uses a type in Application.ViewModels.
- The types involved
CleanArchitecture.Application.Queries.Users.GetAll.GetAllUsersQuery→CleanArchitecture.Application.ViewModels.PageQueryCleanArchitecture.Application.Queries.Users.GetAll.GetAllUsersQueryHandler→CleanArchitecture.Application.ViewModels.PagedResult
- Direction
- Application.Queries.Users.GetAll uses Application.ViewModels, so a change to Application.ViewModels can break Application.Queries.Users.GetAll, while a change to Application.Queries.Users.GetAll can't break Application.ViewModels.
- Position
- Below the diagonal: Application.Queries.Users.GetAll uses a module listed above it, which is the healthy direction.
21→2 Application.Queries.Users.GetAll uses Application.ViewModels.Sorting✕
- Connections
- 2 pairs of types, where a type in Application.Queries.Users.GetAll uses a type in Application.ViewModels.Sorting.
- The types involved
CleanArchitecture.Application.Queries.Users.GetAll.GetAllUsersQuery→CleanArchitecture.Application.ViewModels.Sorting.SortQueryCleanArchitecture.Application.Queries.Users.GetAll.GetAllUsersQueryHandler→CleanArchitecture.Application.ViewModels.Sorting.ISortingExpressionProvider
- Direction
- Application.Queries.Users.GetAll uses Application.ViewModels.Sorting, so a change to Application.ViewModels.Sorting can break Application.Queries.Users.GetAll, while a change to Application.Queries.Users.GetAll can't break Application.ViewModels.Sorting.
- Position
- Below the diagonal: Application.Queries.Users.GetAll uses a module listed above it, which is the healthy direction.
21→7 Application.Queries.Users.GetAll uses Domain.Entities✕
- Connections
- 1 pair of types, where a type in Application.Queries.Users.GetAll uses a type in Domain.Entities.
- The types involved
CleanArchitecture.Application.Queries.Users.GetAll.GetAllUsersQueryHandler→CleanArchitecture.Domain.Entities.User
- Direction
- Application.Queries.Users.GetAll uses Domain.Entities, so a change to Domain.Entities can break Application.Queries.Users.GetAll, while a change to Application.Queries.Users.GetAll can't break Domain.Entities.
- Position
- Below the diagonal: Application.Queries.Users.GetAll uses a module listed above it, which is the healthy direction.
21→13 Application.Queries.Users.GetAll uses Application.ViewModels.Users✕
- Connections
- 1 pair of types, where a type in Application.Queries.Users.GetAll uses a type in Application.ViewModels.Users.
- The types involved
CleanArchitecture.Application.Queries.Users.GetAll.GetAllUsersQueryHandler→CleanArchitecture.Application.ViewModels.Users.UserViewModel
- Direction
- Application.Queries.Users.GetAll uses Application.ViewModels.Users, so a change to Application.ViewModels.Users can break Application.Queries.Users.GetAll, while a change to Application.Queries.Users.GetAll can't break Application.ViewModels.Users.
- Position
- Below the diagonal: Application.Queries.Users.GetAll uses a module listed above it, which is the healthy direction.
21→20 Application.Queries.Users.GetAll uses Domain.Interfaces.Repositories✕
- Connections
- 1 pair of types, where a type in Application.Queries.Users.GetAll uses a type in Domain.Interfaces.Repositories.
- The types involved
CleanArchitecture.Application.Queries.Users.GetAll.GetAllUsersQueryHandler→CleanArchitecture.Domain.Interfaces.Repositories.IUserRepository
- Direction
- Application.Queries.Users.GetAll uses Domain.Interfaces.Repositories, so a change to Domain.Interfaces.Repositories can break Application.Queries.Users.GetAll, while a change to Application.Queries.Users.GetAll can't break Domain.Interfaces.Repositories.
- Position
- Below the diagonal: Application.Queries.Users.GetAll uses a module listed above it, which is the healthy direction.
22→8 Application.Queries.Users.GetUserById uses Domain.Interfaces✕
- Connections
- 1 pair of types, where a type in Application.Queries.Users.GetUserById uses a type in Domain.Interfaces.
- The types involved
CleanArchitecture.Application.Queries.Users.GetUserById.GetUserByIdQueryHandler→CleanArchitecture.Domain.Interfaces.IMediatorHandler
- Direction
- Application.Queries.Users.GetUserById uses Domain.Interfaces, so a change to Domain.Interfaces can break Application.Queries.Users.GetUserById, while a change to Application.Queries.Users.GetUserById can't break Domain.Interfaces.
- Position
- Below the diagonal: Application.Queries.Users.GetUserById uses a module listed above it, which is the healthy direction.
22→13 Application.Queries.Users.GetUserById uses Application.ViewModels.Users✕
- Connections
- 1 pair of types, where a type in Application.Queries.Users.GetUserById uses a type in Application.ViewModels.Users.
- The types involved
CleanArchitecture.Application.Queries.Users.GetUserById.GetUserByIdQueryHandler→CleanArchitecture.Application.ViewModels.Users.UserViewModel
- Direction
- Application.Queries.Users.GetUserById uses Application.ViewModels.Users, so a change to Application.ViewModels.Users can break Application.Queries.Users.GetUserById, while a change to Application.Queries.Users.GetUserById can't break Application.ViewModels.Users.
- Position
- Below the diagonal: Application.Queries.Users.GetUserById uses a module listed above it, which is the healthy direction.
22→20 Application.Queries.Users.GetUserById uses Domain.Interfaces.Repositories✕
- Connections
- 1 pair of types, where a type in Application.Queries.Users.GetUserById uses a type in Domain.Interfaces.Repositories.
- The types involved
CleanArchitecture.Application.Queries.Users.GetUserById.GetUserByIdQueryHandler→CleanArchitecture.Domain.Interfaces.Repositories.IUserRepository
- Direction
- Application.Queries.Users.GetUserById uses Domain.Interfaces.Repositories, so a change to Domain.Interfaces.Repositories can break Application.Queries.Users.GetUserById, while a change to Application.Queries.Users.GetUserById can't break Domain.Interfaces.Repositories.
- Position
- Below the diagonal: Application.Queries.Users.GetUserById uses a module listed above it, which is the healthy direction.
23→7 Application.ViewModels.Tenants uses Domain.Entities✕
- Connections
- 1 pair of types, where a type in Application.ViewModels.Tenants uses a type in Domain.Entities.
- The types involved
CleanArchitecture.Application.ViewModels.Tenants.TenantViewModel→CleanArchitecture.Domain.Entities.Tenant
- Direction
- Application.ViewModels.Tenants uses Domain.Entities, so a change to Domain.Entities can break Application.ViewModels.Tenants, while a change to Application.ViewModels.Tenants can't break Domain.Entities.
- Position
- Below the diagonal: Application.ViewModels.Tenants uses a module listed above it, which is the healthy direction.
23→13 Application.ViewModels.Tenants uses Application.ViewModels.Users✕
- Connections
- 1 pair of types, where a type in Application.ViewModels.Tenants uses a type in Application.ViewModels.Users.
- The types involved
CleanArchitecture.Application.ViewModels.Tenants.TenantViewModel→CleanArchitecture.Application.ViewModels.Users.UserViewModel
- Direction
- Application.ViewModels.Tenants uses Application.ViewModels.Users, so a change to Application.ViewModels.Users can break Application.ViewModels.Tenants, while a change to Application.ViewModels.Tenants can't break Application.ViewModels.Users.
- Position
- Below the diagonal: Application.ViewModels.Tenants uses a module listed above it, which is the healthy direction.
24→8 Domain.Commands.Tenants.CreateTenant uses Domain.Interfaces✕
- Connections
- 3 pairs of types, where a type in Domain.Commands.Tenants.CreateTenant uses a type in Domain.Interfaces.
- The types involved
CleanArchitecture.Domain.Commands.Tenants.CreateTenant.CreateTenantCommandHandler→CleanArchitecture.Domain.Interfaces.IMediatorHandlerCleanArchitecture.Domain.Commands.Tenants.CreateTenant.CreateTenantCommandHandler→CleanArchitecture.Domain.Interfaces.IUnitOfWorkCleanArchitecture.Domain.Commands.Tenants.CreateTenant.CreateTenantCommandHandler→CleanArchitecture.Domain.Interfaces.IUser
- Direction
- Domain.Commands.Tenants.CreateTenant uses Domain.Interfaces, so a change to Domain.Interfaces can break Domain.Commands.Tenants.CreateTenant, while a change to Domain.Commands.Tenants.CreateTenant can't break Domain.Interfaces.
- Position
- Below the diagonal: Domain.Commands.Tenants.CreateTenant uses a module listed above it, which is the healthy direction.
24→9 Domain.Commands.Tenants.CreateTenant uses Domain.Notifications✕
- Connections
- 1 pair of types, where a type in Domain.Commands.Tenants.CreateTenant uses a type in Domain.Notifications.
- The types involved
CleanArchitecture.Domain.Commands.Tenants.CreateTenant.CreateTenantCommandHandler→CleanArchitecture.Domain.Notifications.DomainNotification
- Direction
- Domain.Commands.Tenants.CreateTenant uses Domain.Notifications, so a change to Domain.Notifications can break Domain.Commands.Tenants.CreateTenant, while a change to Domain.Commands.Tenants.CreateTenant can't break Domain.Notifications.
- Position
- Below the diagonal: Domain.Commands.Tenants.CreateTenant uses a module listed above it, which is the healthy direction.
24→15 Domain.Commands.Tenants.CreateTenant uses Domain.Commands✕
- Connections
- 2 pairs of types, where a type in Domain.Commands.Tenants.CreateTenant uses a type in Domain.Commands.
- The types involved
CleanArchitecture.Domain.Commands.Tenants.CreateTenant.CreateTenantCommand→CleanArchitecture.Domain.Commands.CommandBaseCleanArchitecture.Domain.Commands.Tenants.CreateTenant.CreateTenantCommandHandler→CleanArchitecture.Domain.Commands.CommandHandlerBase
- Direction
- Domain.Commands.Tenants.CreateTenant uses Domain.Commands, so a change to Domain.Commands can break Domain.Commands.Tenants.CreateTenant, while a change to Domain.Commands.Tenants.CreateTenant can't break Domain.Commands.
- Position
- Below the diagonal: Domain.Commands.Tenants.CreateTenant uses a module listed above it, which is the healthy direction.
24→20 Domain.Commands.Tenants.CreateTenant uses Domain.Interfaces.Repositories✕
- Connections
- 1 pair of types, where a type in Domain.Commands.Tenants.CreateTenant uses a type in Domain.Interfaces.Repositories.
- The types involved
CleanArchitecture.Domain.Commands.Tenants.CreateTenant.CreateTenantCommandHandler→CleanArchitecture.Domain.Interfaces.Repositories.ITenantRepository
- Direction
- Domain.Commands.Tenants.CreateTenant uses Domain.Interfaces.Repositories, so a change to Domain.Interfaces.Repositories can break Domain.Commands.Tenants.CreateTenant, while a change to Domain.Commands.Tenants.CreateTenant can't break Domain.Interfaces.Repositories.
- Position
- Below the diagonal: Domain.Commands.Tenants.CreateTenant uses a module listed above it, which is the healthy direction.
25→8 Domain.Commands.Tenants.DeleteTenant uses Domain.Interfaces✕
- Connections
- 3 pairs of types, where a type in Domain.Commands.Tenants.DeleteTenant uses a type in Domain.Interfaces.
- The types involved
CleanArchitecture.Domain.Commands.Tenants.DeleteTenant.DeleteTenantCommandHandler→CleanArchitecture.Domain.Interfaces.IMediatorHandlerCleanArchitecture.Domain.Commands.Tenants.DeleteTenant.DeleteTenantCommandHandler→CleanArchitecture.Domain.Interfaces.IUnitOfWorkCleanArchitecture.Domain.Commands.Tenants.DeleteTenant.DeleteTenantCommandHandler→CleanArchitecture.Domain.Interfaces.IUser
- Direction
- Domain.Commands.Tenants.DeleteTenant uses Domain.Interfaces, so a change to Domain.Interfaces can break Domain.Commands.Tenants.DeleteTenant, while a change to Domain.Commands.Tenants.DeleteTenant can't break Domain.Interfaces.
- Position
- Below the diagonal: Domain.Commands.Tenants.DeleteTenant uses a module listed above it, which is the healthy direction.
25→9 Domain.Commands.Tenants.DeleteTenant uses Domain.Notifications✕
- Connections
- 1 pair of types, where a type in Domain.Commands.Tenants.DeleteTenant uses a type in Domain.Notifications.
- The types involved
CleanArchitecture.Domain.Commands.Tenants.DeleteTenant.DeleteTenantCommandHandler→CleanArchitecture.Domain.Notifications.DomainNotification
- Direction
- Domain.Commands.Tenants.DeleteTenant uses Domain.Notifications, so a change to Domain.Notifications can break Domain.Commands.Tenants.DeleteTenant, while a change to Domain.Commands.Tenants.DeleteTenant can't break Domain.Notifications.
- Position
- Below the diagonal: Domain.Commands.Tenants.DeleteTenant uses a module listed above it, which is the healthy direction.
25→15 Domain.Commands.Tenants.DeleteTenant uses Domain.Commands✕
- Connections
- 2 pairs of types, where a type in Domain.Commands.Tenants.DeleteTenant uses a type in Domain.Commands.
- The types involved
CleanArchitecture.Domain.Commands.Tenants.DeleteTenant.DeleteTenantCommand→CleanArchitecture.Domain.Commands.CommandBaseCleanArchitecture.Domain.Commands.Tenants.DeleteTenant.DeleteTenantCommandHandler→CleanArchitecture.Domain.Commands.CommandHandlerBase
- Direction
- Domain.Commands.Tenants.DeleteTenant uses Domain.Commands, so a change to Domain.Commands can break Domain.Commands.Tenants.DeleteTenant, while a change to Domain.Commands.Tenants.DeleteTenant can't break Domain.Commands.
- Position
- Below the diagonal: Domain.Commands.Tenants.DeleteTenant uses a module listed above it, which is the healthy direction.
25→20 Domain.Commands.Tenants.DeleteTenant uses Domain.Interfaces.Repositories✕
- Connections
- 2 pairs of types, where a type in Domain.Commands.Tenants.DeleteTenant uses a type in Domain.Interfaces.Repositories.
- The types involved
CleanArchitecture.Domain.Commands.Tenants.DeleteTenant.DeleteTenantCommandHandler→CleanArchitecture.Domain.Interfaces.Repositories.ITenantRepositoryCleanArchitecture.Domain.Commands.Tenants.DeleteTenant.DeleteTenantCommandHandler→CleanArchitecture.Domain.Interfaces.Repositories.IUserRepository
- Direction
- Domain.Commands.Tenants.DeleteTenant uses Domain.Interfaces.Repositories, so a change to Domain.Interfaces.Repositories can break Domain.Commands.Tenants.DeleteTenant, while a change to Domain.Commands.Tenants.DeleteTenant can't break Domain.Interfaces.Repositories.
- Position
- Below the diagonal: Domain.Commands.Tenants.DeleteTenant uses a module listed above it, which is the healthy direction.
26→8 Domain.Commands.Tenants.UpdateTenant uses Domain.Interfaces✕
- Connections
- 3 pairs of types, where a type in Domain.Commands.Tenants.UpdateTenant uses a type in Domain.Interfaces.
- The types involved
CleanArchitecture.Domain.Commands.Tenants.UpdateTenant.UpdateTenantCommandHandler→CleanArchitecture.Domain.Interfaces.IMediatorHandlerCleanArchitecture.Domain.Commands.Tenants.UpdateTenant.UpdateTenantCommandHandler→CleanArchitecture.Domain.Interfaces.IUnitOfWorkCleanArchitecture.Domain.Commands.Tenants.UpdateTenant.UpdateTenantCommandHandler→CleanArchitecture.Domain.Interfaces.IUser
- Direction
- Domain.Commands.Tenants.UpdateTenant uses Domain.Interfaces, so a change to Domain.Interfaces can break Domain.Commands.Tenants.UpdateTenant, while a change to Domain.Commands.Tenants.UpdateTenant can't break Domain.Interfaces.
- Position
- Below the diagonal: Domain.Commands.Tenants.UpdateTenant uses a module listed above it, which is the healthy direction.
26→9 Domain.Commands.Tenants.UpdateTenant uses Domain.Notifications✕
- Connections
- 1 pair of types, where a type in Domain.Commands.Tenants.UpdateTenant uses a type in Domain.Notifications.
- The types involved
CleanArchitecture.Domain.Commands.Tenants.UpdateTenant.UpdateTenantCommandHandler→CleanArchitecture.Domain.Notifications.DomainNotification
- Direction
- Domain.Commands.Tenants.UpdateTenant uses Domain.Notifications, so a change to Domain.Notifications can break Domain.Commands.Tenants.UpdateTenant, while a change to Domain.Commands.Tenants.UpdateTenant can't break Domain.Notifications.
- Position
- Below the diagonal: Domain.Commands.Tenants.UpdateTenant uses a module listed above it, which is the healthy direction.
26→15 Domain.Commands.Tenants.UpdateTenant uses Domain.Commands✕
- Connections
- 2 pairs of types, where a type in Domain.Commands.Tenants.UpdateTenant uses a type in Domain.Commands.
- The types involved
CleanArchitecture.Domain.Commands.Tenants.UpdateTenant.UpdateTenantCommand→CleanArchitecture.Domain.Commands.CommandBaseCleanArchitecture.Domain.Commands.Tenants.UpdateTenant.UpdateTenantCommandHandler→CleanArchitecture.Domain.Commands.CommandHandlerBase
- Direction
- Domain.Commands.Tenants.UpdateTenant uses Domain.Commands, so a change to Domain.Commands can break Domain.Commands.Tenants.UpdateTenant, while a change to Domain.Commands.Tenants.UpdateTenant can't break Domain.Commands.
- Position
- Below the diagonal: Domain.Commands.Tenants.UpdateTenant uses a module listed above it, which is the healthy direction.
26→20 Domain.Commands.Tenants.UpdateTenant uses Domain.Interfaces.Repositories✕
- Connections
- 1 pair of types, where a type in Domain.Commands.Tenants.UpdateTenant uses a type in Domain.Interfaces.Repositories.
- The types involved
CleanArchitecture.Domain.Commands.Tenants.UpdateTenant.UpdateTenantCommandHandler→CleanArchitecture.Domain.Interfaces.Repositories.ITenantRepository
- Direction
- Domain.Commands.Tenants.UpdateTenant uses Domain.Interfaces.Repositories, so a change to Domain.Interfaces.Repositories can break Domain.Commands.Tenants.UpdateTenant, while a change to Domain.Commands.Tenants.UpdateTenant can't break Domain.Interfaces.Repositories.
- Position
- Below the diagonal: Domain.Commands.Tenants.UpdateTenant uses a module listed above it, which is the healthy direction.
27→8 Domain.Commands.Users.ChangePassword uses Domain.Interfaces✕
- Connections
- 3 pairs of types, where a type in Domain.Commands.Users.ChangePassword uses a type in Domain.Interfaces.
- The types involved
CleanArchitecture.Domain.Commands.Users.ChangePassword.ChangePasswordCommandHandler→CleanArchitecture.Domain.Interfaces.IMediatorHandlerCleanArchitecture.Domain.Commands.Users.ChangePassword.ChangePasswordCommandHandler→CleanArchitecture.Domain.Interfaces.IUnitOfWorkCleanArchitecture.Domain.Commands.Users.ChangePassword.ChangePasswordCommandHandler→CleanArchitecture.Domain.Interfaces.IUser
- Direction
- Domain.Commands.Users.ChangePassword uses Domain.Interfaces, so a change to Domain.Interfaces can break Domain.Commands.Users.ChangePassword, while a change to Domain.Commands.Users.ChangePassword can't break Domain.Interfaces.
- Position
- Below the diagonal: Domain.Commands.Users.ChangePassword uses a module listed above it, which is the healthy direction.
27→9 Domain.Commands.Users.ChangePassword uses Domain.Notifications✕
- Connections
- 1 pair of types, where a type in Domain.Commands.Users.ChangePassword uses a type in Domain.Notifications.
- The types involved
CleanArchitecture.Domain.Commands.Users.ChangePassword.ChangePasswordCommandHandler→CleanArchitecture.Domain.Notifications.DomainNotification
- Direction
- Domain.Commands.Users.ChangePassword uses Domain.Notifications, so a change to Domain.Notifications can break Domain.Commands.Users.ChangePassword, while a change to Domain.Commands.Users.ChangePassword can't break Domain.Notifications.
- Position
- Below the diagonal: Domain.Commands.Users.ChangePassword uses a module listed above it, which is the healthy direction.
27→15 Domain.Commands.Users.ChangePassword uses Domain.Commands✕
- Connections
- 2 pairs of types, where a type in Domain.Commands.Users.ChangePassword uses a type in Domain.Commands.
- The types involved
CleanArchitecture.Domain.Commands.Users.ChangePassword.ChangePasswordCommand→CleanArchitecture.Domain.Commands.CommandBaseCleanArchitecture.Domain.Commands.Users.ChangePassword.ChangePasswordCommandHandler→CleanArchitecture.Domain.Commands.CommandHandlerBase
- Direction
- Domain.Commands.Users.ChangePassword uses Domain.Commands, so a change to Domain.Commands can break Domain.Commands.Users.ChangePassword, while a change to Domain.Commands.Users.ChangePassword can't break Domain.Commands.
- Position
- Below the diagonal: Domain.Commands.Users.ChangePassword uses a module listed above it, which is the healthy direction.
27→20 Domain.Commands.Users.ChangePassword uses Domain.Interfaces.Repositories✕
- Connections
- 1 pair of types, where a type in Domain.Commands.Users.ChangePassword uses a type in Domain.Interfaces.Repositories.
- The types involved
CleanArchitecture.Domain.Commands.Users.ChangePassword.ChangePasswordCommandHandler→CleanArchitecture.Domain.Interfaces.Repositories.IUserRepository
- Direction
- Domain.Commands.Users.ChangePassword uses Domain.Interfaces.Repositories, so a change to Domain.Interfaces.Repositories can break Domain.Commands.Users.ChangePassword, while a change to Domain.Commands.Users.ChangePassword can't break Domain.Interfaces.Repositories.
- Position
- Below the diagonal: Domain.Commands.Users.ChangePassword uses a module listed above it, which is the healthy direction.
28→8 Domain.Commands.Users.CreateUser uses Domain.Interfaces✕
- Connections
- 3 pairs of types, where a type in Domain.Commands.Users.CreateUser uses a type in Domain.Interfaces.
- The types involved
CleanArchitecture.Domain.Commands.Users.CreateUser.CreateUserCommandHandler→CleanArchitecture.Domain.Interfaces.IMediatorHandlerCleanArchitecture.Domain.Commands.Users.CreateUser.CreateUserCommandHandler→CleanArchitecture.Domain.Interfaces.IUnitOfWorkCleanArchitecture.Domain.Commands.Users.CreateUser.CreateUserCommandHandler→CleanArchitecture.Domain.Interfaces.IUser
- Direction
- Domain.Commands.Users.CreateUser uses Domain.Interfaces, so a change to Domain.Interfaces can break Domain.Commands.Users.CreateUser, while a change to Domain.Commands.Users.CreateUser can't break Domain.Interfaces.
- Position
- Below the diagonal: Domain.Commands.Users.CreateUser uses a module listed above it, which is the healthy direction.
28→9 Domain.Commands.Users.CreateUser uses Domain.Notifications✕
- Connections
- 1 pair of types, where a type in Domain.Commands.Users.CreateUser uses a type in Domain.Notifications.
- The types involved
CleanArchitecture.Domain.Commands.Users.CreateUser.CreateUserCommandHandler→CleanArchitecture.Domain.Notifications.DomainNotification
- Direction
- Domain.Commands.Users.CreateUser uses Domain.Notifications, so a change to Domain.Notifications can break Domain.Commands.Users.CreateUser, while a change to Domain.Commands.Users.CreateUser can't break Domain.Notifications.
- Position
- Below the diagonal: Domain.Commands.Users.CreateUser uses a module listed above it, which is the healthy direction.
28→15 Domain.Commands.Users.CreateUser uses Domain.Commands✕
- Connections
- 2 pairs of types, where a type in Domain.Commands.Users.CreateUser uses a type in Domain.Commands.
- The types involved
CleanArchitecture.Domain.Commands.Users.CreateUser.CreateUserCommand→CleanArchitecture.Domain.Commands.CommandBaseCleanArchitecture.Domain.Commands.Users.CreateUser.CreateUserCommandHandler→CleanArchitecture.Domain.Commands.CommandHandlerBase
- Direction
- Domain.Commands.Users.CreateUser uses Domain.Commands, so a change to Domain.Commands can break Domain.Commands.Users.CreateUser, while a change to Domain.Commands.Users.CreateUser can't break Domain.Commands.
- Position
- Below the diagonal: Domain.Commands.Users.CreateUser uses a module listed above it, which is the healthy direction.
28→20 Domain.Commands.Users.CreateUser uses Domain.Interfaces.Repositories✕
- Connections
- 2 pairs of types, where a type in Domain.Commands.Users.CreateUser uses a type in Domain.Interfaces.Repositories.
- The types involved
CleanArchitecture.Domain.Commands.Users.CreateUser.CreateUserCommandHandler→CleanArchitecture.Domain.Interfaces.Repositories.ITenantRepositoryCleanArchitecture.Domain.Commands.Users.CreateUser.CreateUserCommandHandler→CleanArchitecture.Domain.Interfaces.Repositories.IUserRepository
- Direction
- Domain.Commands.Users.CreateUser uses Domain.Interfaces.Repositories, so a change to Domain.Interfaces.Repositories can break Domain.Commands.Users.CreateUser, while a change to Domain.Commands.Users.CreateUser can't break Domain.Interfaces.Repositories.
- Position
- Below the diagonal: Domain.Commands.Users.CreateUser uses a module listed above it, which is the healthy direction.
29→8 Domain.Commands.Users.DeleteUser uses Domain.Interfaces✕
- Connections
- 3 pairs of types, where a type in Domain.Commands.Users.DeleteUser uses a type in Domain.Interfaces.
- The types involved
CleanArchitecture.Domain.Commands.Users.DeleteUser.DeleteUserCommandHandler→CleanArchitecture.Domain.Interfaces.IMediatorHandlerCleanArchitecture.Domain.Commands.Users.DeleteUser.DeleteUserCommandHandler→CleanArchitecture.Domain.Interfaces.IUnitOfWorkCleanArchitecture.Domain.Commands.Users.DeleteUser.DeleteUserCommandHandler→CleanArchitecture.Domain.Interfaces.IUser
- Direction
- Domain.Commands.Users.DeleteUser uses Domain.Interfaces, so a change to Domain.Interfaces can break Domain.Commands.Users.DeleteUser, while a change to Domain.Commands.Users.DeleteUser can't break Domain.Interfaces.
- Position
- Below the diagonal: Domain.Commands.Users.DeleteUser uses a module listed above it, which is the healthy direction.
29→9 Domain.Commands.Users.DeleteUser uses Domain.Notifications✕
- Connections
- 1 pair of types, where a type in Domain.Commands.Users.DeleteUser uses a type in Domain.Notifications.
- The types involved
CleanArchitecture.Domain.Commands.Users.DeleteUser.DeleteUserCommandHandler→CleanArchitecture.Domain.Notifications.DomainNotification
- Direction
- Domain.Commands.Users.DeleteUser uses Domain.Notifications, so a change to Domain.Notifications can break Domain.Commands.Users.DeleteUser, while a change to Domain.Commands.Users.DeleteUser can't break Domain.Notifications.
- Position
- Below the diagonal: Domain.Commands.Users.DeleteUser uses a module listed above it, which is the healthy direction.
29→15 Domain.Commands.Users.DeleteUser uses Domain.Commands✕
- Connections
- 2 pairs of types, where a type in Domain.Commands.Users.DeleteUser uses a type in Domain.Commands.
- The types involved
CleanArchitecture.Domain.Commands.Users.DeleteUser.DeleteUserCommand→CleanArchitecture.Domain.Commands.CommandBaseCleanArchitecture.Domain.Commands.Users.DeleteUser.DeleteUserCommandHandler→CleanArchitecture.Domain.Commands.CommandHandlerBase
- Direction
- Domain.Commands.Users.DeleteUser uses Domain.Commands, so a change to Domain.Commands can break Domain.Commands.Users.DeleteUser, while a change to Domain.Commands.Users.DeleteUser can't break Domain.Commands.
- Position
- Below the diagonal: Domain.Commands.Users.DeleteUser uses a module listed above it, which is the healthy direction.
29→20 Domain.Commands.Users.DeleteUser uses Domain.Interfaces.Repositories✕
- Connections
- 1 pair of types, where a type in Domain.Commands.Users.DeleteUser uses a type in Domain.Interfaces.Repositories.
- The types involved
CleanArchitecture.Domain.Commands.Users.DeleteUser.DeleteUserCommandHandler→CleanArchitecture.Domain.Interfaces.Repositories.IUserRepository
- Direction
- Domain.Commands.Users.DeleteUser uses Domain.Interfaces.Repositories, so a change to Domain.Interfaces.Repositories can break Domain.Commands.Users.DeleteUser, while a change to Domain.Commands.Users.DeleteUser can't break Domain.Interfaces.Repositories.
- Position
- Below the diagonal: Domain.Commands.Users.DeleteUser uses a module listed above it, which is the healthy direction.
30→7 Domain.Commands.Users.LoginUser uses Domain.Entities✕
- Connections
- 1 pair of types, where a type in Domain.Commands.Users.LoginUser uses a type in Domain.Entities.
- The types involved
CleanArchitecture.Domain.Commands.Users.LoginUser.LoginUserCommandHandler→CleanArchitecture.Domain.Entities.User
- Direction
- Domain.Commands.Users.LoginUser uses Domain.Entities, so a change to Domain.Entities can break Domain.Commands.Users.LoginUser, while a change to Domain.Commands.Users.LoginUser can't break Domain.Entities.
- Position
- Below the diagonal: Domain.Commands.Users.LoginUser uses a module listed above it, which is the healthy direction.
30→8 Domain.Commands.Users.LoginUser uses Domain.Interfaces✕
- Connections
- 2 pairs of types, where a type in Domain.Commands.Users.LoginUser uses a type in Domain.Interfaces.
- The types involved
CleanArchitecture.Domain.Commands.Users.LoginUser.LoginUserCommandHandler→CleanArchitecture.Domain.Interfaces.IMediatorHandlerCleanArchitecture.Domain.Commands.Users.LoginUser.LoginUserCommandHandler→CleanArchitecture.Domain.Interfaces.IUnitOfWork
- Direction
- Domain.Commands.Users.LoginUser uses Domain.Interfaces, so a change to Domain.Interfaces can break Domain.Commands.Users.LoginUser, while a change to Domain.Commands.Users.LoginUser can't break Domain.Interfaces.
- Position
- Below the diagonal: Domain.Commands.Users.LoginUser uses a module listed above it, which is the healthy direction.
30→9 Domain.Commands.Users.LoginUser uses Domain.Notifications✕
- Connections
- 1 pair of types, where a type in Domain.Commands.Users.LoginUser uses a type in Domain.Notifications.
- The types involved
CleanArchitecture.Domain.Commands.Users.LoginUser.LoginUserCommandHandler→CleanArchitecture.Domain.Notifications.DomainNotification
- Direction
- Domain.Commands.Users.LoginUser uses Domain.Notifications, so a change to Domain.Notifications can break Domain.Commands.Users.LoginUser, while a change to Domain.Commands.Users.LoginUser can't break Domain.Notifications.
- Position
- Below the diagonal: Domain.Commands.Users.LoginUser uses a module listed above it, which is the healthy direction.
30→15 Domain.Commands.Users.LoginUser uses Domain.Commands✕
- Connections
- 2 pairs of types, where a type in Domain.Commands.Users.LoginUser uses a type in Domain.Commands.
- The types involved
CleanArchitecture.Domain.Commands.Users.LoginUser.LoginUserCommand→CleanArchitecture.Domain.Commands.CommandBaseCleanArchitecture.Domain.Commands.Users.LoginUser.LoginUserCommandHandler→CleanArchitecture.Domain.Commands.CommandHandlerBase
- Direction
- Domain.Commands.Users.LoginUser uses Domain.Commands, so a change to Domain.Commands can break Domain.Commands.Users.LoginUser, while a change to Domain.Commands.Users.LoginUser can't break Domain.Commands.
- Position
- Below the diagonal: Domain.Commands.Users.LoginUser uses a module listed above it, which is the healthy direction.
30→20 Domain.Commands.Users.LoginUser uses Domain.Interfaces.Repositories✕
- Connections
- 1 pair of types, where a type in Domain.Commands.Users.LoginUser uses a type in Domain.Interfaces.Repositories.
- The types involved
CleanArchitecture.Domain.Commands.Users.LoginUser.LoginUserCommandHandler→CleanArchitecture.Domain.Interfaces.Repositories.IUserRepository
- Direction
- Domain.Commands.Users.LoginUser uses Domain.Interfaces.Repositories, so a change to Domain.Interfaces.Repositories can break Domain.Commands.Users.LoginUser, while a change to Domain.Commands.Users.LoginUser can't break Domain.Interfaces.Repositories.
- Position
- Below the diagonal: Domain.Commands.Users.LoginUser uses a module listed above it, which is the healthy direction.
31→3 Domain.Commands.Users.UpdateUser uses Domain.Enums✕
- Connections
- 1 pair of types, where a type in Domain.Commands.Users.UpdateUser uses a type in Domain.Enums.
- The types involved
CleanArchitecture.Domain.Commands.Users.UpdateUser.UpdateUserCommand→CleanArchitecture.Domain.Enums.UserRole
- Direction
- Domain.Commands.Users.UpdateUser uses Domain.Enums, so a change to Domain.Enums can break Domain.Commands.Users.UpdateUser, while a change to Domain.Commands.Users.UpdateUser can't break Domain.Enums.
- Position
- Below the diagonal: Domain.Commands.Users.UpdateUser uses a module listed above it, which is the healthy direction.
31→8 Domain.Commands.Users.UpdateUser uses Domain.Interfaces✕
- Connections
- 3 pairs of types, where a type in Domain.Commands.Users.UpdateUser uses a type in Domain.Interfaces.
- The types involved
CleanArchitecture.Domain.Commands.Users.UpdateUser.UpdateUserCommandHandler→CleanArchitecture.Domain.Interfaces.IMediatorHandlerCleanArchitecture.Domain.Commands.Users.UpdateUser.UpdateUserCommandHandler→CleanArchitecture.Domain.Interfaces.IUnitOfWorkCleanArchitecture.Domain.Commands.Users.UpdateUser.UpdateUserCommandHandler→CleanArchitecture.Domain.Interfaces.IUser
- Direction
- Domain.Commands.Users.UpdateUser uses Domain.Interfaces, so a change to Domain.Interfaces can break Domain.Commands.Users.UpdateUser, while a change to Domain.Commands.Users.UpdateUser can't break Domain.Interfaces.
- Position
- Below the diagonal: Domain.Commands.Users.UpdateUser uses a module listed above it, which is the healthy direction.
31→9 Domain.Commands.Users.UpdateUser uses Domain.Notifications✕
- Connections
- 1 pair of types, where a type in Domain.Commands.Users.UpdateUser uses a type in Domain.Notifications.
- The types involved
CleanArchitecture.Domain.Commands.Users.UpdateUser.UpdateUserCommandHandler→CleanArchitecture.Domain.Notifications.DomainNotification
- Direction
- Domain.Commands.Users.UpdateUser uses Domain.Notifications, so a change to Domain.Notifications can break Domain.Commands.Users.UpdateUser, while a change to Domain.Commands.Users.UpdateUser can't break Domain.Notifications.
- Position
- Below the diagonal: Domain.Commands.Users.UpdateUser uses a module listed above it, which is the healthy direction.
31→15 Domain.Commands.Users.UpdateUser uses Domain.Commands✕
- Connections
- 2 pairs of types, where a type in Domain.Commands.Users.UpdateUser uses a type in Domain.Commands.
- The types involved
CleanArchitecture.Domain.Commands.Users.UpdateUser.UpdateUserCommand→CleanArchitecture.Domain.Commands.CommandBaseCleanArchitecture.Domain.Commands.Users.UpdateUser.UpdateUserCommandHandler→CleanArchitecture.Domain.Commands.CommandHandlerBase
- Direction
- Domain.Commands.Users.UpdateUser uses Domain.Commands, so a change to Domain.Commands can break Domain.Commands.Users.UpdateUser, while a change to Domain.Commands.Users.UpdateUser can't break Domain.Commands.
- Position
- Below the diagonal: Domain.Commands.Users.UpdateUser uses a module listed above it, which is the healthy direction.
31→20 Domain.Commands.Users.UpdateUser uses Domain.Interfaces.Repositories✕
- Connections
- 2 pairs of types, where a type in Domain.Commands.Users.UpdateUser uses a type in Domain.Interfaces.Repositories.
- The types involved
CleanArchitecture.Domain.Commands.Users.UpdateUser.UpdateUserCommandHandler→CleanArchitecture.Domain.Interfaces.Repositories.ITenantRepositoryCleanArchitecture.Domain.Commands.Users.UpdateUser.UpdateUserCommandHandler→CleanArchitecture.Domain.Interfaces.Repositories.IUserRepository
- Direction
- Domain.Commands.Users.UpdateUser uses Domain.Interfaces.Repositories, so a change to Domain.Interfaces.Repositories can break Domain.Commands.Users.UpdateUser, while a change to Domain.Commands.Users.UpdateUser can't break Domain.Interfaces.Repositories.
- Position
- Below the diagonal: Domain.Commands.Users.UpdateUser uses a module listed above it, which is the healthy direction.
32→6 Infrastructure uses Domain.DomainEvents✕
- Connections
- 1 pair of types, where a type in Infrastructure uses a type in Domain.DomainEvents.
- The types involved
CleanArchitecture.Infrastructure.InMemoryBus→CleanArchitecture.Domain.DomainEvents.IDomainEventStore
- Direction
- Infrastructure uses Domain.DomainEvents, so a change to Domain.DomainEvents can break Infrastructure, while a change to Infrastructure can't break Domain.DomainEvents.
- Position
- Below the diagonal: Infrastructure uses a module listed above it, which is the healthy direction.
32→8 Infrastructure uses Domain.Interfaces✕
- Connections
- 2 pairs of types, where a type in Infrastructure uses a type in Domain.Interfaces.
- The types involved
CleanArchitecture.Infrastructure.InMemoryBus→CleanArchitecture.Domain.Interfaces.IMediatorHandlerCleanArchitecture.Infrastructure.UnitOfWork→CleanArchitecture.Domain.Interfaces.IUnitOfWork
- Direction
- Infrastructure uses Domain.Interfaces, so a change to Domain.Interfaces can break Infrastructure, while a change to Infrastructure can't break Domain.Interfaces.
- Position
- Below the diagonal: Infrastructure uses a module listed above it, which is the healthy direction.
32→19 Infrastructure uses Domain.EventHandler.Fanout✕
- Connections
- 1 pair of types, where a type in Infrastructure uses a type in Domain.EventHandler.Fanout.
- The types involved
CleanArchitecture.Infrastructure.InMemoryBus→CleanArchitecture.Domain.EventHandler.Fanout.IFanoutEventHandler
- Direction
- Infrastructure uses Domain.EventHandler.Fanout, so a change to Domain.EventHandler.Fanout can break Infrastructure, while a change to Infrastructure can't break Domain.EventHandler.Fanout.
- Position
- Below the diagonal: Infrastructure uses a module listed above it, which is the healthy direction.
33→6 Infrastructure.Database uses Domain.DomainEvents✕
- Connections
- 1 pair of types, where a type in Infrastructure.Database uses a type in Domain.DomainEvents.
- The types involved
CleanArchitecture.Infrastructure.Database.EventStoreDbContext→CleanArchitecture.Domain.DomainEvents.StoredDomainEvent
- Direction
- Infrastructure.Database uses Domain.DomainEvents, so a change to Domain.DomainEvents can break Infrastructure.Database, while a change to Infrastructure.Database can't break Domain.DomainEvents.
- Position
- Below the diagonal: Infrastructure.Database uses a module listed above it, which is the healthy direction.
33→7 Infrastructure.Database uses Domain.Entities✕
- Connections
- 2 pairs of types, where a type in Infrastructure.Database uses a type in Domain.Entities.
- The types involved
CleanArchitecture.Infrastructure.Database.ApplicationDbContext→CleanArchitecture.Domain.Entities.TenantCleanArchitecture.Infrastructure.Database.ApplicationDbContext→CleanArchitecture.Domain.Entities.User
- Direction
- Infrastructure.Database uses Domain.Entities, so a change to Domain.Entities can break Infrastructure.Database, while a change to Infrastructure.Database can't break Domain.Entities.
- Position
- Below the diagonal: Infrastructure.Database uses a module listed above it, which is the healthy direction.
33→17 Infrastructure.Database uses Domain.DomainNotifications✕
- Connections
- 1 pair of types, where a type in Infrastructure.Database uses a type in Domain.DomainNotifications.
- The types involved
CleanArchitecture.Infrastructure.Database.DomainNotificationStoreDbContext→CleanArchitecture.Domain.DomainNotifications.StoredDomainNotification
- Direction
- Infrastructure.Database uses Domain.DomainNotifications, so a change to Domain.DomainNotifications can break Infrastructure.Database, while a change to Infrastructure.Database can't break Domain.DomainNotifications.
- Position
- Below the diagonal: Infrastructure.Database uses a module listed above it, which is the healthy direction.
34→1 Application.Interfaces uses Application.ViewModels✕
- Connections
- 4 pairs of types, where a type in Application.Interfaces uses a type in Application.ViewModels.
- The types involved
CleanArchitecture.Application.Interfaces.ITenantService→CleanArchitecture.Application.ViewModels.PageQueryCleanArchitecture.Application.Interfaces.ITenantService→CleanArchitecture.Application.ViewModels.PagedResultCleanArchitecture.Application.Interfaces.IUserService→CleanArchitecture.Application.ViewModels.PageQueryCleanArchitecture.Application.Interfaces.IUserService→CleanArchitecture.Application.ViewModels.PagedResult
- Direction
- Application.Interfaces uses Application.ViewModels, so a change to Application.ViewModels can break Application.Interfaces, while a change to Application.Interfaces can't break Application.ViewModels.
- Position
- Below the diagonal: Application.Interfaces uses a module listed above it, which is the healthy direction.
34→2 Application.Interfaces uses Application.ViewModels.Sorting✕
- Connections
- 2 pairs of types, where a type in Application.Interfaces uses a type in Application.ViewModels.Sorting.
- The types involved
CleanArchitecture.Application.Interfaces.ITenantService→CleanArchitecture.Application.ViewModels.Sorting.SortQueryCleanArchitecture.Application.Interfaces.IUserService→CleanArchitecture.Application.ViewModels.Sorting.SortQuery
- Direction
- Application.Interfaces uses Application.ViewModels.Sorting, so a change to Application.ViewModels.Sorting can break Application.Interfaces, while a change to Application.Interfaces can't break Application.ViewModels.Sorting.
- Position
- Below the diagonal: Application.Interfaces uses a module listed above it, which is the healthy direction.
34→13 Application.Interfaces uses Application.ViewModels.Users✕
- Connections
- 5 pairs of types, where a type in Application.Interfaces uses a type in Application.ViewModels.Users.
- The types involved
CleanArchitecture.Application.Interfaces.IUserService→CleanArchitecture.Application.ViewModels.Users.ChangePasswordViewModelCleanArchitecture.Application.Interfaces.IUserService→CleanArchitecture.Application.ViewModels.Users.CreateUserViewModelCleanArchitecture.Application.Interfaces.IUserService→CleanArchitecture.Application.ViewModels.Users.LoginUserViewModelCleanArchitecture.Application.Interfaces.IUserService→CleanArchitecture.Application.ViewModels.Users.UpdateUserViewModelCleanArchitecture.Application.Interfaces.IUserService→CleanArchitecture.Application.ViewModels.Users.UserViewModel
- Direction
- Application.Interfaces uses Application.ViewModels.Users, so a change to Application.ViewModels.Users can break Application.Interfaces, while a change to Application.Interfaces can't break Application.ViewModels.Users.
- Position
- Below the diagonal: Application.Interfaces uses a module listed above it, which is the healthy direction.
34→23 Application.Interfaces uses Application.ViewModels.Tenants✕
- Connections
- 3 pairs of types, where a type in Application.Interfaces uses a type in Application.ViewModels.Tenants.
- The types involved
CleanArchitecture.Application.Interfaces.ITenantService→CleanArchitecture.Application.ViewModels.Tenants.CreateTenantViewModelCleanArchitecture.Application.Interfaces.ITenantService→CleanArchitecture.Application.ViewModels.Tenants.TenantViewModelCleanArchitecture.Application.Interfaces.ITenantService→CleanArchitecture.Application.ViewModels.Tenants.UpdateTenantViewModel
- Direction
- Application.Interfaces uses Application.ViewModels.Tenants, so a change to Application.ViewModels.Tenants can break Application.Interfaces, while a change to Application.Interfaces can't break Application.ViewModels.Tenants.
- Position
- Below the diagonal: Application.Interfaces uses a module listed above it, which is the healthy direction.
35→1 Application.Queries.Tenants.GetAll uses Application.ViewModels✕
- Connections
- 2 pairs of types, where a type in Application.Queries.Tenants.GetAll uses a type in Application.ViewModels.
- The types involved
CleanArchitecture.Application.Queries.Tenants.GetAll.GetAllTenantsQuery→CleanArchitecture.Application.ViewModels.PageQueryCleanArchitecture.Application.Queries.Tenants.GetAll.GetAllTenantsQueryHandler→CleanArchitecture.Application.ViewModels.PagedResult
- Direction
- Application.Queries.Tenants.GetAll uses Application.ViewModels, so a change to Application.ViewModels can break Application.Queries.Tenants.GetAll, while a change to Application.Queries.Tenants.GetAll can't break Application.ViewModels.
- Position
- Below the diagonal: Application.Queries.Tenants.GetAll uses a module listed above it, which is the healthy direction.
35→2 Application.Queries.Tenants.GetAll uses Application.ViewModels.Sorting✕
- Connections
- 2 pairs of types, where a type in Application.Queries.Tenants.GetAll uses a type in Application.ViewModels.Sorting.
- The types involved
CleanArchitecture.Application.Queries.Tenants.GetAll.GetAllTenantsQuery→CleanArchitecture.Application.ViewModels.Sorting.SortQueryCleanArchitecture.Application.Queries.Tenants.GetAll.GetAllTenantsQueryHandler→CleanArchitecture.Application.ViewModels.Sorting.ISortingExpressionProvider
- Direction
- Application.Queries.Tenants.GetAll uses Application.ViewModels.Sorting, so a change to Application.ViewModels.Sorting can break Application.Queries.Tenants.GetAll, while a change to Application.Queries.Tenants.GetAll can't break Application.ViewModels.Sorting.
- Position
- Below the diagonal: Application.Queries.Tenants.GetAll uses a module listed above it, which is the healthy direction.
35→7 Application.Queries.Tenants.GetAll uses Domain.Entities✕
- Connections
- 1 pair of types, where a type in Application.Queries.Tenants.GetAll uses a type in Domain.Entities.
- The types involved
CleanArchitecture.Application.Queries.Tenants.GetAll.GetAllTenantsQueryHandler→CleanArchitecture.Domain.Entities.Tenant
- Direction
- Application.Queries.Tenants.GetAll uses Domain.Entities, so a change to Domain.Entities can break Application.Queries.Tenants.GetAll, while a change to Application.Queries.Tenants.GetAll can't break Domain.Entities.
- Position
- Below the diagonal: Application.Queries.Tenants.GetAll uses a module listed above it, which is the healthy direction.
35→20 Application.Queries.Tenants.GetAll uses Domain.Interfaces.Repositories✕
- Connections
- 1 pair of types, where a type in Application.Queries.Tenants.GetAll uses a type in Domain.Interfaces.Repositories.
- The types involved
CleanArchitecture.Application.Queries.Tenants.GetAll.GetAllTenantsQueryHandler→CleanArchitecture.Domain.Interfaces.Repositories.ITenantRepository
- Direction
- Application.Queries.Tenants.GetAll uses Domain.Interfaces.Repositories, so a change to Domain.Interfaces.Repositories can break Application.Queries.Tenants.GetAll, while a change to Application.Queries.Tenants.GetAll can't break Domain.Interfaces.Repositories.
- Position
- Below the diagonal: Application.Queries.Tenants.GetAll uses a module listed above it, which is the healthy direction.
35→23 Application.Queries.Tenants.GetAll uses Application.ViewModels.Tenants✕
- Connections
- 1 pair of types, where a type in Application.Queries.Tenants.GetAll uses a type in Application.ViewModels.Tenants.
- The types involved
CleanArchitecture.Application.Queries.Tenants.GetAll.GetAllTenantsQueryHandler→CleanArchitecture.Application.ViewModels.Tenants.TenantViewModel
- Direction
- Application.Queries.Tenants.GetAll uses Application.ViewModels.Tenants, so a change to Application.ViewModels.Tenants can break Application.Queries.Tenants.GetAll, while a change to Application.Queries.Tenants.GetAll can't break Application.ViewModels.Tenants.
- Position
- Below the diagonal: Application.Queries.Tenants.GetAll uses a module listed above it, which is the healthy direction.
36→8 Application.Queries.Tenants.GetTenantById uses Domain.Interfaces✕
- Connections
- 1 pair of types, where a type in Application.Queries.Tenants.GetTenantById uses a type in Domain.Interfaces.
- The types involved
CleanArchitecture.Application.Queries.Tenants.GetTenantById.GetTenantByIdQueryHandler→CleanArchitecture.Domain.Interfaces.IMediatorHandler
- Direction
- Application.Queries.Tenants.GetTenantById uses Domain.Interfaces, so a change to Domain.Interfaces can break Application.Queries.Tenants.GetTenantById, while a change to Application.Queries.Tenants.GetTenantById can't break Domain.Interfaces.
- Position
- Below the diagonal: Application.Queries.Tenants.GetTenantById uses a module listed above it, which is the healthy direction.
36→20 Application.Queries.Tenants.GetTenantById uses Domain.Interfaces.Repositories✕
- Connections
- 1 pair of types, where a type in Application.Queries.Tenants.GetTenantById uses a type in Domain.Interfaces.Repositories.
- The types involved
CleanArchitecture.Application.Queries.Tenants.GetTenantById.GetTenantByIdQueryHandler→CleanArchitecture.Domain.Interfaces.Repositories.ITenantRepository
- Direction
- Application.Queries.Tenants.GetTenantById uses Domain.Interfaces.Repositories, so a change to Domain.Interfaces.Repositories can break Application.Queries.Tenants.GetTenantById, while a change to Application.Queries.Tenants.GetTenantById can't break Domain.Interfaces.Repositories.
- Position
- Below the diagonal: Application.Queries.Tenants.GetTenantById uses a module listed above it, which is the healthy direction.
36→23 Application.Queries.Tenants.GetTenantById uses Application.ViewModels.Tenants✕
- Connections
- 1 pair of types, where a type in Application.Queries.Tenants.GetTenantById uses a type in Application.ViewModels.Tenants.
- The types involved
CleanArchitecture.Application.Queries.Tenants.GetTenantById.GetTenantByIdQueryHandler→CleanArchitecture.Application.ViewModels.Tenants.TenantViewModel
- Direction
- Application.Queries.Tenants.GetTenantById uses Application.ViewModels.Tenants, so a change to Application.ViewModels.Tenants can break Application.Queries.Tenants.GetTenantById, while a change to Application.Queries.Tenants.GetTenantById can't break Application.ViewModels.Tenants.
- Position
- Below the diagonal: Application.Queries.Tenants.GetTenantById uses a module listed above it, which is the healthy direction.
37→6 Infrastructure.EventSourcing uses Domain.DomainEvents✕
- Connections
- 1 pair of types, where a type in Infrastructure.EventSourcing uses a type in Domain.DomainEvents.
- The types involved
CleanArchitecture.Infrastructure.EventSourcing.DomainEventStore→CleanArchitecture.Domain.DomainEvents.IDomainEventStore
- Direction
- Infrastructure.EventSourcing uses Domain.DomainEvents, so a change to Domain.DomainEvents can break Infrastructure.EventSourcing, while a change to Infrastructure.EventSourcing can't break Domain.DomainEvents.
- Position
- Below the diagonal: Infrastructure.EventSourcing uses a module listed above it, which is the healthy direction.
37→8 Infrastructure.EventSourcing uses Domain.Interfaces✕
- Connections
- 1 pair of types, where a type in Infrastructure.EventSourcing uses a type in Domain.Interfaces.
- The types involved
CleanArchitecture.Infrastructure.EventSourcing.EventStoreContext→CleanArchitecture.Domain.Interfaces.IUser
- Direction
- Infrastructure.EventSourcing uses Domain.Interfaces, so a change to Domain.Interfaces can break Infrastructure.EventSourcing, while a change to Infrastructure.EventSourcing can't break Domain.Interfaces.
- Position
- Below the diagonal: Infrastructure.EventSourcing uses a module listed above it, which is the healthy direction.
37→33 Infrastructure.EventSourcing uses Infrastructure.Database✕
- Connections
- 2 pairs of types, where a type in Infrastructure.EventSourcing uses a type in Infrastructure.Database.
- The types involved
CleanArchitecture.Infrastructure.EventSourcing.DomainEventStore→CleanArchitecture.Infrastructure.Database.DomainNotificationStoreDbContextCleanArchitecture.Infrastructure.EventSourcing.DomainEventStore→CleanArchitecture.Infrastructure.Database.EventStoreDbContext
- Direction
- Infrastructure.EventSourcing uses Infrastructure.Database, so a change to Infrastructure.Database can break Infrastructure.EventSourcing, while a change to Infrastructure.EventSourcing can't break Infrastructure.Database.
- Position
- Below the diagonal: Infrastructure.EventSourcing uses a module listed above it, which is the healthy direction.
38→7 Infrastructure.Repositories uses Domain.Entities✕
- Connections
- 1 pair of types, where a type in Infrastructure.Repositories uses a type in Domain.Entities.
- The types involved
CleanArchitecture.Infrastructure.Repositories.UserRepository→CleanArchitecture.Domain.Entities.User
- Direction
- Infrastructure.Repositories uses Domain.Entities, so a change to Domain.Entities can break Infrastructure.Repositories, while a change to Infrastructure.Repositories can't break Domain.Entities.
- Position
- Below the diagonal: Infrastructure.Repositories uses a module listed above it, which is the healthy direction.
38→20 Infrastructure.Repositories uses Domain.Interfaces.Repositories✕
- Connections
- 3 pairs of types, where a type in Infrastructure.Repositories uses a type in Domain.Interfaces.Repositories.
- The types involved
CleanArchitecture.Infrastructure.Repositories.BaseRepository→CleanArchitecture.Domain.Interfaces.Repositories.IRepositoryCleanArchitecture.Infrastructure.Repositories.TenantRepository→CleanArchitecture.Domain.Interfaces.Repositories.ITenantRepositoryCleanArchitecture.Infrastructure.Repositories.UserRepository→CleanArchitecture.Domain.Interfaces.Repositories.IUserRepository
- Direction
- Infrastructure.Repositories uses Domain.Interfaces.Repositories, so a change to Domain.Interfaces.Repositories can break Infrastructure.Repositories, while a change to Infrastructure.Repositories can't break Domain.Interfaces.Repositories.
- Position
- Below the diagonal: Infrastructure.Repositories uses a module listed above it, which is the healthy direction.
38→33 Infrastructure.Repositories uses Infrastructure.Database✕
- Connections
- 2 pairs of types, where a type in Infrastructure.Repositories uses a type in Infrastructure.Database.
- The types involved
CleanArchitecture.Infrastructure.Repositories.TenantRepository→CleanArchitecture.Infrastructure.Database.ApplicationDbContextCleanArchitecture.Infrastructure.Repositories.UserRepository→CleanArchitecture.Infrastructure.Database.ApplicationDbContext
- Direction
- Infrastructure.Repositories uses Infrastructure.Database, so a change to Infrastructure.Database can break Infrastructure.Repositories, while a change to Infrastructure.Repositories can't break Infrastructure.Database.
- Position
- Below the diagonal: Infrastructure.Repositories uses a module listed above it, which is the healthy direction.
39→1 Api.Controllers uses Application.ViewModels✕
- Connections
- 2 pairs of types, where a type in Api.Controllers uses a type in Application.ViewModels.
- The types involved
CleanArchitecture.Api.Controllers.TenantController→CleanArchitecture.Application.ViewModels.PageQueryCleanArchitecture.Api.Controllers.UserController→CleanArchitecture.Application.ViewModels.PageQuery
- Direction
- Api.Controllers uses Application.ViewModels, so a change to Application.ViewModels can break Api.Controllers, while a change to Api.Controllers can't break Application.ViewModels.
- Position
- Below the diagonal: Api.Controllers uses a module listed above it, which is the healthy direction.
39→2 Api.Controllers uses Application.ViewModels.Sorting✕
- Connections
- 2 pairs of types, where a type in Api.Controllers uses a type in Application.ViewModels.Sorting.
- The types involved
CleanArchitecture.Api.Controllers.TenantController→CleanArchitecture.Application.ViewModels.Sorting.SortQueryCleanArchitecture.Api.Controllers.UserController→CleanArchitecture.Application.ViewModels.Sorting.SortQuery
- Direction
- Api.Controllers uses Application.ViewModels.Sorting, so a change to Application.ViewModels.Sorting can break Api.Controllers, while a change to Api.Controllers can't break Application.ViewModels.Sorting.
- Position
- Below the diagonal: Api.Controllers uses a module listed above it, which is the healthy direction.
39→9 Api.Controllers uses Domain.Notifications✕
- Connections
- 4 pairs of types, where a type in Api.Controllers uses a type in Domain.Notifications.
- The types involved
CleanArchitecture.Api.Controllers.ApiController→CleanArchitecture.Domain.Notifications.DomainNotificationCleanArchitecture.Api.Controllers.ApiController→CleanArchitecture.Domain.Notifications.DomainNotificationHandlerCleanArchitecture.Api.Controllers.TenantController→CleanArchitecture.Domain.Notifications.DomainNotificationCleanArchitecture.Api.Controllers.UserController→CleanArchitecture.Domain.Notifications.DomainNotification
- Direction
- Api.Controllers uses Domain.Notifications, so a change to Domain.Notifications can break Api.Controllers, while a change to Api.Controllers can't break Domain.Notifications.
- Position
- Below the diagonal: Api.Controllers uses a module listed above it, which is the healthy direction.
39→13 Api.Controllers uses Application.ViewModels.Users✕
- Connections
- 4 pairs of types, where a type in Api.Controllers uses a type in Application.ViewModels.Users.
- The types involved
CleanArchitecture.Api.Controllers.UserController→CleanArchitecture.Application.ViewModels.Users.ChangePasswordViewModelCleanArchitecture.Api.Controllers.UserController→CleanArchitecture.Application.ViewModels.Users.CreateUserViewModelCleanArchitecture.Api.Controllers.UserController→CleanArchitecture.Application.ViewModels.Users.LoginUserViewModelCleanArchitecture.Api.Controllers.UserController→CleanArchitecture.Application.ViewModels.Users.UpdateUserViewModel
- Direction
- Api.Controllers uses Application.ViewModels.Users, so a change to Application.ViewModels.Users can break Api.Controllers, while a change to Api.Controllers can't break Application.ViewModels.Users.
- Position
- Below the diagonal: Api.Controllers uses a module listed above it, which is the healthy direction.
39→23 Api.Controllers uses Application.ViewModels.Tenants✕
- Connections
- 2 pairs of types, where a type in Api.Controllers uses a type in Application.ViewModels.Tenants.
- The types involved
CleanArchitecture.Api.Controllers.TenantController→CleanArchitecture.Application.ViewModels.Tenants.CreateTenantViewModelCleanArchitecture.Api.Controllers.TenantController→CleanArchitecture.Application.ViewModels.Tenants.UpdateTenantViewModel
- Direction
- Api.Controllers uses Application.ViewModels.Tenants, so a change to Application.ViewModels.Tenants can break Api.Controllers, while a change to Api.Controllers can't break Application.ViewModels.Tenants.
- Position
- Below the diagonal: Api.Controllers uses a module listed above it, which is the healthy direction.
39→34 Api.Controllers uses Application.Interfaces✕
- Connections
- 2 pairs of types, where a type in Api.Controllers uses a type in Application.Interfaces.
- The types involved
CleanArchitecture.Api.Controllers.TenantController→CleanArchitecture.Application.Interfaces.ITenantServiceCleanArchitecture.Api.Controllers.UserController→CleanArchitecture.Application.Interfaces.IUserService
- Direction
- Api.Controllers uses Application.Interfaces, so a change to Application.Interfaces can break Api.Controllers, while a change to Api.Controllers can't break Application.Interfaces.
- Position
- Below the diagonal: Api.Controllers uses a module listed above it, which is the healthy direction.
40→1 Application.Services uses Application.ViewModels✕
- Connections
- 4 pairs of types, where a type in Application.Services uses a type in Application.ViewModels.
- The types involved
CleanArchitecture.Application.Services.TenantService→CleanArchitecture.Application.ViewModels.PageQueryCleanArchitecture.Application.Services.TenantService→CleanArchitecture.Application.ViewModels.PagedResultCleanArchitecture.Application.Services.UserService→CleanArchitecture.Application.ViewModels.PageQueryCleanArchitecture.Application.Services.UserService→CleanArchitecture.Application.ViewModels.PagedResult
- Direction
- Application.Services uses Application.ViewModels, so a change to Application.ViewModels can break Application.Services, while a change to Application.Services can't break Application.ViewModels.
- Position
- Below the diagonal: Application.Services uses a module listed above it, which is the healthy direction.
40→2 Application.Services uses Application.ViewModels.Sorting✕
- Connections
- 2 pairs of types, where a type in Application.Services uses a type in Application.ViewModels.Sorting.
- The types involved
CleanArchitecture.Application.Services.TenantService→CleanArchitecture.Application.ViewModels.Sorting.SortQueryCleanArchitecture.Application.Services.UserService→CleanArchitecture.Application.ViewModels.Sorting.SortQuery
- Direction
- Application.Services uses Application.ViewModels.Sorting, so a change to Application.ViewModels.Sorting can break Application.Services, while a change to Application.Services can't break Application.ViewModels.Sorting.
- Position
- Below the diagonal: Application.Services uses a module listed above it, which is the healthy direction.
40→8 Application.Services uses Domain.Interfaces✕
- Connections
- 3 pairs of types, where a type in Application.Services uses a type in Domain.Interfaces.
- The types involved
CleanArchitecture.Application.Services.TenantService→CleanArchitecture.Domain.Interfaces.IMediatorHandlerCleanArchitecture.Application.Services.UserService→CleanArchitecture.Domain.Interfaces.IMediatorHandlerCleanArchitecture.Application.Services.UserService→CleanArchitecture.Domain.Interfaces.IUser
- Direction
- Application.Services uses Domain.Interfaces, so a change to Domain.Interfaces can break Application.Services, while a change to Application.Services can't break Domain.Interfaces.
- Position
- Below the diagonal: Application.Services uses a module listed above it, which is the healthy direction.
40→13 Application.Services uses Application.ViewModels.Users✕
- Connections
- 5 pairs of types, where a type in Application.Services uses a type in Application.ViewModels.Users.
- The types involved
CleanArchitecture.Application.Services.UserService→CleanArchitecture.Application.ViewModels.Users.ChangePasswordViewModelCleanArchitecture.Application.Services.UserService→CleanArchitecture.Application.ViewModels.Users.CreateUserViewModelCleanArchitecture.Application.Services.UserService→CleanArchitecture.Application.ViewModels.Users.LoginUserViewModelCleanArchitecture.Application.Services.UserService→CleanArchitecture.Application.ViewModels.Users.UpdateUserViewModelCleanArchitecture.Application.Services.UserService→CleanArchitecture.Application.ViewModels.Users.UserViewModel
- Direction
- Application.Services uses Application.ViewModels.Users, so a change to Application.ViewModels.Users can break Application.Services, while a change to Application.Services can't break Application.ViewModels.Users.
- Position
- Below the diagonal: Application.Services uses a module listed above it, which is the healthy direction.
40→23 Application.Services uses Application.ViewModels.Tenants✕
- Connections
- 3 pairs of types, where a type in Application.Services uses a type in Application.ViewModels.Tenants.
- The types involved
CleanArchitecture.Application.Services.TenantService→CleanArchitecture.Application.ViewModels.Tenants.CreateTenantViewModelCleanArchitecture.Application.Services.TenantService→CleanArchitecture.Application.ViewModels.Tenants.TenantViewModelCleanArchitecture.Application.Services.TenantService→CleanArchitecture.Application.ViewModels.Tenants.UpdateTenantViewModel
- Direction
- Application.Services uses Application.ViewModels.Tenants, so a change to Application.ViewModels.Tenants can break Application.Services, while a change to Application.Services can't break Application.ViewModels.Tenants.
- Position
- Below the diagonal: Application.Services uses a module listed above it, which is the healthy direction.
40→34 Application.Services uses Application.Interfaces✕
- Connections
- 2 pairs of types, where a type in Application.Services uses a type in Application.Interfaces.
- The types involved
CleanArchitecture.Application.Services.TenantService→CleanArchitecture.Application.Interfaces.ITenantServiceCleanArchitecture.Application.Services.UserService→CleanArchitecture.Application.Interfaces.IUserService
- Direction
- Application.Services uses Application.Interfaces, so a change to Application.Interfaces can break Application.Services, while a change to Application.Services can't break Application.Interfaces.
- Position
- Below the diagonal: Application.Services 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 |
|---|---|---|
| A02:2025 — Security Misconfiguration | 135 | High / Critical |
| A05:2025 — Injection | 60 | High / Critical |
| A07:2025 — Authentication Failures | 23 | High / Critical |
| A03:2025 — Software Supply Chain Failures | 7 | High / Critical |
Roadmap
Immediately resolve all identified secret leaks in configuration and source files to eliminate exposure risks. Implement robust data protection by encrypting sensitive data at rest and managing keys securely, while ensuring every aggregate enforces valid state through guarded constructors or factories. Finally, complete the migration to strongly-typed identifiers across the domain to prevent argument-transposition bugs and improve code safety.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 9 Leaked secret finding(s) in REDACTED Scanning — start with REDACTED (3), REDACTED (2), REDACTED (2). | +2.1 pts | Low | REDACTED Scanning |
| Resolve the 1 No ADRs found finding(s) in ADR Quality. | +1.4 pts | Low | ADR Quality |
| Resolve the 1 No network policy finding(s) in Network Egress Confinement. | +1.2 pts | Low | Network Egress Confinement |
| Resolve the 4 No seccomp profile finding(s) in Kernel & Syscall Confinement — start with REDACTED, REDACTED, REDACTED. | +1.2 pts | Low | Kernel & Syscall Confinement |
| Resolve the 4 Deprecated finding(s) in Dependency Hygiene — start with CleanArchitecture.Application.Tests.csproj, CleanArchitecture.Domain.Tests.csproj, CleanArchitecture.Infrastructure.Tests.csproj. | +1.2 pts | Low | Dependency Hygiene |
| Encrypt sensitive data at rest (ASP.NET Core Data Protection / column encryption) and manage keys in a vault. Skip if delegated to infra (Postgres TDE, KMS, etc.). | +2.2 pts | Medium | Data Protection |
| 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. | +2.2 pts | Medium | Constructible invalid state |
| Adopt strongly-typed ids across the domain — finish the migration or document the boundary; primitive ids invite transposed-argument bugs. | +2.2 pts | Medium | Strongly-typed ids |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 0.9 | Slop | REDACTED Scanning: Leaked secret: REDACTED |
| REDACTED | 1.6 | Slop | IaC & Container Security: High IaC: REDACTED |
| REDACTED | 1.6 | Slop | IaC & Container Security: High IaC: REDACTED |
| REDACTED | 1.6 | Slop | IaC & Container Security: High IaC: REDACTED |
| REDACTED | 1.6 | Slop | IaC & Container Security: High IaC: REDACTED |
| REDACTED | 2.3 | Slop | REDACTED Scanning: Leaked secret: REDACTED |
| REDACTED | 2.3 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 2.3 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 2.5 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 2.9 | Slop | REDACTED Scanning: Leaked secret: REDACTED |
| REDACTED | 3.0 | Slop | REDACTED Scanning: Leaked secret: REDACTED |
| REDACTED | 3.6 | Slop | Dependency Vulnerabilities: High CVE: REDACTED |
| REDACTED | 4.6 | Mixed | Static Analysis (SAST): High: REDACTED |
| CleanArchitecture.Application/ViewModels/Sorting/SortQuery.cs | 4.8 | Mixed | Cyclomatic Complexity: SortQuery.FindTokens (cyclomatic 25) |
| REDACTED | 5.7 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 5.8 | Mixed | REDACTED Scanning: Leaked secret: REDACTED |
| CleanArchitecture.ServiceDefaults/HttpEnricher.cs | 5.8 | Mixed | Explicit Debt: EmptyCatchBlock |
| REDACTED | 5.8 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 6.4 | Mixed | Static Analysis (SAST): Medium: REDACTED |
| CleanArchitecture.Infrastructure/GlobalSuppressions.cs | 6.9 | Mixed | Explicit Debt: BareSuppressMessage |
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. 99 of 104 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 5 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 1.0 — 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 — 104 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, 406 of 464 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 · checkov | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 · 3.2.533 | ✓ 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
- 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 'REDACTED' with message: CleanArchitecture.AppHost is configured with AspireUseCliBundle=false. Some Aspire features require the Aspire CLI bundle. Set AspireUseCliBundle=true to enable those features, or suppress ASPIRE010 to continue without the ….
- D22 Internal API Consistency — 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. The loaded project set declares no packable project and no `.Contracts` project, so there is no intentionally-exposed surface for API consistency to be judged over.
- AXR1 Runtime accessibility — 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. Render strategy: boot via AspireAppHost (REDACTED). the Aspire AppHost did not expose a crawlable HTTP endpoint in time (or only the dashboard) — no runtime evidence.
- 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. 4 further occurrence(s) are not listed individually; the score already reflects all 44.
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.
- D8 Code Coverage: Coverage is measured by building and running the test suite inside Watchdog's isolated image — the target repo is never modified, and nothing on your systems runs. So coverage exists only when the suite builds and runs within the inline time budget; one that needs external services, can't build, or exceeds the budget yields no coverage (D8 then degrades to not-measured, not a low score). Line coverage also says nothing about assertion quality.
- 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.
- D11 Test Reliability: Flakiness is inferred from history/markers — Watchdog runs the suite once (for coverage), not the repeated runs under varied conditions that reveal nondeterminism, so a flaky test never recorded as failing is invisible here.
- D12 Dependency Hygiene: Dependency health reads manifests and lockfiles — a vulnerability in a vendored/copied dependency, or risk from how a dependency is actually used, is outside this view.
- D13 REDACTED Scanning: REDACTED 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.
- D16 Bus Factor: Bus-factor is a time-decayed model of commit attribution (who has recently, repeatedly worked a file), not comprehension — pairing, review and reading-without-committing spread knowledge it can't see; bot commits and shared accounts still distort it.
- 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.
- D20 ADR Quality: ADR quality is an LLM read of the decision records present — it cannot know about decisions made and never recorded, and its verdict is sampled and advisory.
- 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.
- 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.
- D27 Navigability: Indirection/navigability is structural — it measures hops to follow a call, not whether that indirection buys real flexibility or just ceremony.
- 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").
- D30 Dependency Vulnerabilities: CVE matching depends on accurate package/version metadata and on the advisory databases — a vulnerability with no published advisory, or in code not declared as a dependency, is not seen. Coverage needs a RESOLVED graph: an unpinned requirements.txt, or a pom without a resolved build, yields partial coverage rather than a clean verdict. An ecosystem the analyzer cannot scan is reported as unmeasured, never as clean.
- D31 IaC & Container Security: IaC scanning checks Dockerfiles/Terraform/Kubernetes against best-practice rules — it cannot see the live cloud account, runtime configuration, or drift between the committed config and what is actually deployed.
- 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.
- D40 Network Egress Confinement: Egress confinement is read from committed Kubernetes manifests — a policy applied out-of-band (cluster-default deny, a service mesh, or a cloud firewall/security group off-repo) is invisible, and a present NetworkPolicy is declared config, not proof the cluster admission-controller actually enforces it at runtime.
- D41 Kernel & Syscall Confinement: Syscall/MAC confinement is read from committed manifests — a profile applied by a cluster-wide PodSecurity default or a mutating webhook off-repo isn't seen, and a declared seccomp/AppArmor profile is config presence, not proof the node's kernel actually loaded and enforced it.
- 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 REDACTED (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.
- C4 Data Retention: This control is scored from in-repo evidence only — its real-world effectiveness, exercised only at runtime, is outside a static scan.
- 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.
- P4 Deployment & Rollback: Approval/branch-protection rules live in repository settings the scan cannot see — only their in-repo evidence (config files, workflows) is checked, so a control enforced purely in the host's settings reads as "not evidenced".
- P5 DR & Backup: Backup/restore and disaster-recovery readiness is judged from in-repo evidence — a config that exists is not a tested restore, so the absence of positive evidence is reported as "not evidenced", never scored as present.
- 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
1 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was SortQuery.FindTokens at 25.
What to do
- Bring the 1 body over 15 down to 15 or less in Cyclomatic Complexity — start with SortQuery.FindTokens (cyclomatic 25). — Refactoring it lifts Cyclomatic Complexity from 9.4 to about 10.0/10.
- Enforce Cyclomatic Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D2 · Cognitive Complexity
1 method(s) exceeded the cognitive complexity threshold of 15; the worst was SortQuery.FindTokens at 48.
What to do
- Bring the 1 body over 15 down to 15 or less in Cognitive Complexity — start with SortQuery.FindTokens (cognitive 48). — Refactoring it lifts Cognitive Complexity from 8.7 to about 10.0/10.
- Enforce Cognitive Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D3 · God Classes
0 god class(es) detected.
D4 · Code Duplication
4 duplicated block group(s) detected.
What to do
- Resolve the 1 Duplicated block (24–25 lines × 2) finding(s) in Code Duplication — start with DeleteUserCommandHandler.cs. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Duplicated block (17 lines × 2) finding(s) in Code Duplication — start with DeleteTenantCommandHandler.cs. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Duplicated block (11 lines × 2) finding(s) in Code Duplication — start with GetAllTenantsQueryHandler.cs. — One of this dimension's main actionable groups (1 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
14 projects, 0 dependency cycle(s), 0 unstable depended-on project(s).
D6 · Cohesion (LCOM4)
0 of 9 classes have LCOM4 above 3.
D8 · Code Coverage
Line coverage 54.0% — 35 file(s) below 50% · 5 method(s) over the CRAP-30 risk line.
What to do
- Resolve the 35 Low coverage finding(s) in Code Coverage — start with ServiceCollectionExtensions.cs (2), ApiUser.cs, CacheKeyGenerator.cs. — One of this dimension's main actionable groups (35 warning-level).
- Resolve the 2 CRAP 42 finding(s) in Code Coverage — start with SortQuery.cs (2). — One of this dimension's main actionable groups (2 warning-level).
- Resolve the 2 CRAP 30 finding(s) in Code Coverage — start with SortQuery.cs (2). — One of this dimension's main actionable groups (2 warning-level).
- Enforce Code Coverage in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D9 · Test Distribution
130 test methods: 108 unit, 22 integration, 0 BDD, 0 e2e.
D10 · Test Quality
0 skipped, 0 zero-assertion, 4 mock references across 130 tests.
D11 · Test Reliability
0 flaky across 2 measured tier(s). unit: measured (0 flaky); integration: measured (0 flaky).
D12 · Dependency Hygiene
36 outdated, 0 vulnerable, 1 deprecated, 2 prerelease packages.
What to do
- Resolve the 4 Deprecated finding(s) in Dependency Hygiene — start with CleanArchitecture.Application.Tests.csproj, CleanArchitecture.Domain.Tests.csproj, CleanArchitecture.Infrastructure.Tests.csproj. — One of this dimension's main actionable groups (4 warning-level).
- Resolve the 2 Prerelease dependency finding(s) in Dependency Hygiene. — One of this dimension's main actionable groups (2 warning-level).
- Enforce Dependency Hygiene in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D13 · REDACTED Scanning
8 secret(s) detected.
What to do
- Resolve the 9 Leaked secret finding(s) in REDACTED Scanning — start with REDACTED (3), REDACTED (2), REDACTED (2). — One of this dimension's main actionable groups (9 issue-level).
- Enforce REDACTED Scanning in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D14 · License Compliance
0 of 284 packages use a banned license. ★ DEPTH: this repository's MSBuild projects declare 59 direct `PackageReference`(s), and 191 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.
D16 · Bus Factor
No source file's living knowledge is concentrated in a single author. Counted over 16 of the 145 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
D17 · Explicit Debt
6 deducted debt markers + unmeasured dead symbols across 4518 LoC in the .NET projects (0.7/KLoC) → score 8.6. Dead code not measured: the solution did not load cleanly, so the reference search was skipped.
What to do
- Resolve the 3 EmptyCatchBlock finding(s) in Explicit Debt — start with HttpEnricher.cs (3). — One of this dimension's main actionable groups (3 issue-level).
- Resolve the 3 BareSuppressMessage finding(s) in Explicit Debt — start with GlobalSuppressions.cs (3). — 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
14 projects, 208 source files, 7744 hand-written lines of code (4518 production / 3226 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 1411 generated (machine-written code — designer, scaffolded and tool-emitted files — excluded from quality), 22 inter-project edges.
D19 · Documentation Quality
The repository's root README is a single cohesive document covering what the project is (an API sample built with Clean Architecture principles), its purpose, and an Onion-architecture structure. It lists dependencies and begins running-the-project instructions before being clipped by the scanner; it also names all four layers of the project but does not yet show any usage examples or contribution guidance. The visible content is clear and well organized, so the real gap lies in the missing practical elements that appear later in the document.
What to do
- Resolve the 1 Documentation finding(s) in Documentation Quality — start with Readme.md. — One of this dimension's main actionable groups (1 recommendation-level).
D20 · ADR Quality
No architecture decision records were found.
What to do
- Resolve the 1 No ADRs found finding(s) in ADR Quality. — One of this dimension's main actionable groups (1 recommendation-level).
D21 · Naming Consistency
0 naming inconsistencies across 200 sampled symbols.
D24 · Comment Value
18 valuable / 0 redundant across 36 sampled comments; 1 shown with locations.
D26 · Project Cohesion
0 of 14 projects flagged as possibly oversized/incoherent.
D27 · Navigability
95 % of calls cross a namespace and 8 % go through an interface, but 100 % of collaborators are co-located — so a call's collaborators sit together and tracing stays easy. Baseline: small — navigation cost is tolerated.
D28 · Secrets (history)
13 finding(s): 0 critical, 13 high, 0 medium, 0 low. Remediation for historically-committed secrets is credential rotation — they remain in history regardless of later deletion.
What to do
- Resolve the 13 REDACTED finding(s) in Secrets (history) — start with REDACTED, REDACTED, REDACTED. — One of this dimension's main actionable groups (13 issue-level).
- Resolve the 1 Rotate the exposed credentials finding(s) in Secrets (history). — One of this dimension's main actionable groups (1 recommendation-level).
D29 · Static Analysis (SAST)
60 finding(s): 0 critical, 51 high, 9 medium, 0 low. 34 unpinned-GitHub-Actions row(s) are reported here but scored by D36 (supply-chain provenance), which measures that posture as `pinned_actions` — one pinning decision is charged once, not once per lens. Separately, one or more rules could not re-parse an embedded snippet in 1 file(s) (e.g. a workflow `run:` block read as shell). Those files WERE scanned and their other rows are unaffected; only those rules' view of those snippets is missing.
What to do
- Resolve the 13 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (8), REDACTED (5). — One of this dimension's main actionable groups (13 issue-level).
- Resolve the 3 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (2), REDACTED. — One of this dimension's main actionable groups (3 issue-level).
- No action in Static Analysis (SAST) — all 34 REDACTED finding(s) are reported here at file:line but scored by D36 (supply-chain provenance), so none is charged to this dimension. — One of this dimension's main actionable groups (34 issue-level, 0 of them charged here).
D30 · Dependency Vulnerabilities
3 finding(s): 0 critical, 2 high, 1 medium, 0 low.
What to do
- Resolve the 2 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED, REDACTED. — One of this dimension's main actionable groups (2 issue-level).
- Resolve the 1 Medium CVE finding(s) in Dependency Vulnerabilities — start with REDACTED. — One of this dimension's main actionable groups (1 warning-level).
D31 · IaC & Container Security
135 finding(s): 0 critical, 6 high, 107 medium, 22 low.
What to do
- Resolve the 107 Medium IaC finding(s) in IaC & Container Security — start with REDACTED (28), REDACTED (27), REDACTED (26). — One of this dimension's main actionable groups (107 warning-level).
- Resolve the 6 High IaC finding(s) in IaC & Container Security — start with REDACTED (2), REDACTED, REDACTED. — One of this dimension's main actionable groups (6 issue-level).
- Resolve the 22 Low IaC finding(s) in IaC & Container Security — start with REDACTED (6), REDACTED (6), REDACTED (6). — One of this dimension's main actionable groups (22 recommendation-level).
D34 · Knowledge Freshness
15 of 16 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is CleanArchitecture.Application/ViewModels/Sorting/SortQuery.cs. Counted over 16 of the 145 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
What to do
- Resolve the 15 Orphaned file finding(s) in Knowledge Freshness — start with REDACTED (2), SortQuery.cs, Extensions.cs. — One of this dimension's main actionable groups (15 recommendation-level).
- Resolve the 1 Orphaned files with no living knowledge finding(s) in Knowledge Freshness. — One of this dimension's main actionable groups (1 recommendation-level).
D35 · Change Coupling
No strong hidden change-coupling between production files.
D36 · Supply-chain Provenance & Signing
3/4 supply-chain integrity signals present (provenance, signing, SBOM, pinned actions).
What to do
- Resolve the 2 REDACTED finding(s) in Supply-chain Provenance & Signing — start with REDACTED, REDACTED. — One of this dimension's main actionable groups (2 warning-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing — start with REDACTED. — One of this dimension's main actionable groups (1 warning-level).
D39 · IL Efficiency
0 of 362 first-party methods have an oversized IL body.
D40 · Network Egress Confinement
0/2 network-egress controls present (network policy, egress restriction).
What to do
- Resolve the 1 No network policy finding(s) in Network Egress Confinement. — One of this dimension's main actionable groups (1 recommendation-level).
D41 · Kernel & Syscall Confinement
0/4 workload(s) run every container under a seccomp profile; 0/4 declare an AppArmor/SELinux profile.
What to do
- Resolve the 4 No seccomp profile finding(s) in Kernel & Syscall Confinement — start with REDACTED, REDACTED, REDACTED. — One of this dimension's main actionable groups (4 recommendation-level).
D44 · Platform End-of-Life
0 end-of-life runtime(s) and 0 end-of-life framework(s), read from 14 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.
Frontend & cross-cutting dimensions
AX1 · Captive dependencies
AX10 · Code composition
AX2 · Stateful singletons
AX3 · Project dependency cycles
AX4 · Dependency direction
AX5 · Architecture & structure
AX6 · Interface segregation
AX8 · Test isolation
AX9 · CQS / query purity
C1 · Data Protection
- No data-protection or encryption usage (ASP.NET Data Protection, AES, column encryption, PBKDF2) was found — sensitive data at rest may be unprotected. If TDE/KMS/vault is delegated to infrastructure, ignore.
What to do
- Encrypt sensitive data at rest (ASP.NET Core Data Protection / column encryption) and manage keys in a vault. Skip if delegated to infra (Postgres TDE, KMS, etc.).
C2 · Access Controls
- Authorization IS enforced here (via [Authorize]/guards) — this is NOT a claim that endpoints are unprotected. What's missing is NAMED policies (AddAuthorization/AddPolicy, RequireRole/RequireClaim, RequireAuthorization): the access rules are implicit rather than named and testable. Recommendation, not a defect — name the rules so they're reviewable.
- This `[Authorize]` names no policy, role or scheme, so the rule it enforces (any authenticated caller) is implicit here and cannot be listed or tested apart from this attribute. Name the rule — `[Authorize(Policy = "…")]` over a policy registered with AddAuthorization — so the access rule set is reviewable. (×2) — CleanArchitecture.Api/Controllers/TenantController.cs:20, REDACTED:20
What to do
- Add policy-based authorization — name the access rules (AddAuthorization(o => o.AddPolicy(…))) and apply them via [Authorize(Policy = …)] or RequireAuthorization.
C4 · Data Retention
- A retention mechanism is present, but the data-lifecycle is not yet complete — missing: a scheduled purge / cleanup job (PurgeOlderThan / CleanupJob), a documented retention period / data-expiry.
What to do
- Complete the data-lifecycle story: an expiry limit (a declared maximum age for the stored data — a retention-age setting, or a store-level TTL where your storage offers one), a scheduled purge/cleanup job that enforces it, and a documented retention period covering the personal data.
DM1 · Aggregate boundaries
- `Tenant` references the aggregate root `User` directly (via `Users`) — hold its `UserId` instead. — CleanArchitecture.Domain/Entities/Tenant.cs:10
- `User` references the aggregate root `Tenant` directly (via `Tenant`) — hold its `TenantId` instead. — CleanArchitecture.Domain/Entities/User.cs:19
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
- `DomainEventStore.SaveAsync` saves `StoredDomainNotification`, `StoredDomainEvent` in a single operation. Each is its own consistency boundary, so committing them together makes the second's invariants depend on the first's transaction, holds a lock across both for the whole operation, and means the pair can no longer be separated — into different services, or different databases. Mutate one aggregate here and let the others follow from a domain event. — CleanArchitecture.Infrastructure/EventSourcing/EventStore.cs:27
What to do
- Mutate one aggregate per operation and let the others follow from a domain event — the second aggregate reaching consistency a moment later is the design, not a compromise.
DM11 · Constructible invalid state
- `Tenant`'s public constructor takes `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 `Tenant` 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. — CleanArchitecture.Domain/Entities/Tenant.cs:12
- `User`'s public constructor takes `email`, `firstName`, `lastName`, `password` 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 `User` 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. — CleanArchitecture.Domain/Entities/User.cs:21
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
- `Entity` reads `DateTimeOffset.UtcNow` inside `Delete`. 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`. — CleanArchitecture.Domain/Entities/Entity.cs:25
- `LoginUserCommandHandler` reads `DateTimeOffset.Now` inside `Handle`, `BuildToken`. 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`. — CleanArchitecture.Domain/Commands/Users/LoginUser/LoginUserCommandHandler.cs:39
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
- `StoredDomainEvent.CorrelationId` 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. — CleanArchitecture.Domain/DomainEvents/StoredDomainEvent.cs:11
- `StoredDomainNotification.CorrelationId` 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. — CleanArchitecture.Domain/DomainNotifications/StoredDomainNotification.cs:11
- `User.TenantId` is a raw `Guid` — give it a strongly-typed id: a dedicated single-field type wrapping the `Guid`, in whatever form your language spells that. — CleanArchitecture.Domain/Entities/User.cs:18
- `DomainNotification.Key` 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. — CleanArchitecture.Domain/Notifications/DomainNotification.cs:8
- `FanoutDomainEvent.UserId` is a raw `Guid` — give it a strongly-typed id: a dedicated single-field type wrapping the `Guid`, in whatever form your language spells that. — CleanArchitecture.Shared/Events/FanoutDomainEvent.cs:8
- `UserCreatedEvent.TenantId` is a raw `Guid` — give it a strongly-typed id: a dedicated single-field type wrapping the `Guid`, in whatever form your language spells that. — CleanArchitecture.Shared/Events/User/UserCreatedEvent.cs:7
- `UserDeletedEvent.TenantId` is a raw `Guid` — give it a strongly-typed id: a dedicated single-field type wrapping the `Guid`, in whatever form your language spells that. — CleanArchitecture.Shared/Events/User/UserDeletedEvent.cs:7
- `UserUpdatedEvent.TenantId` is a raw `Guid` — give it a strongly-typed id: a dedicated single-field type wrapping the `Guid`, in whatever form your language spells that. — CleanArchitecture.Shared/Events/User/UserUpdatedEvent.cs:7
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
DM5 · Encapsulated state
- `Tenant` exposes its own state through a mutable collection (Users) — a caller can add to or remove from it directly, without passing through the methods that enforce the invariants. — CleanArchitecture.Domain/Entities/Tenant.cs:6
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
- `ApiUser` (domain layer) names `IHttpContextAccessor` from `Microsoft.AspNetCore.Http` — a HTTP type (in a member signature). The domain should own a port and let an infrastructure adapter implement it. (×2) — CleanArchitecture.Domain/ApiUser.cs:12, CleanArchitecture.Domain/ApiUser.cs:17
- `FanoutEventConsumer` (domain layer) names `IConsumer` from `MassTransit` — a messaging type (as a base type). The domain should own a port and let an infrastructure adapter implement it. — CleanArchitecture.Domain/Consumers/FanoutEventConsumer.cs:8
- `FanoutEventConsumer` (domain layer) names `ConsumeContext` from `MassTransit` — a messaging type (in a member signature). The domain should own a port and let an infrastructure adapter implement it. — CleanArchitecture.Domain/Consumers/FanoutEventConsumer.cs:17
- `TenantUpdatedEventConsumer` (domain layer) names `IConsumer` from `MassTransit` — a messaging type (as a base type). The domain should own a port and let an infrastructure adapter implement it. — CleanArchitecture.Domain/Consumers/TenantUpdatedEventConsumer.cs:8
- `TenantUpdatedEventConsumer` (domain layer) names `ConsumeContext` from `MassTransit` — a messaging type (in a member signature). The domain should own a port and let an infrastructure adapter implement it. — CleanArchitecture.Domain/Consumers/TenantUpdatedEventConsumer.cs:17
- `FanoutEventHandler` (domain layer) names `IPublishEndpoint` from `MassTransit` — a messaging type (in a member signature). The domain should own a port and let an infrastructure adapter implement it. (×2) — CleanArchitecture.Domain/EventHandler/Fanout/FanoutEventHandler.cs:10, CleanArchitecture.Domain/EventHandler/Fanout/FanoutEventHandler.cs:14
- `TenantEventHandler` (domain layer) names `IDistributedCache` from `Microsoft.Extensions.Caching.Distributed` — a cache type (in a member signature). The domain should own a port and let an infrastructure adapter implement it. (×2) — CleanArchitecture.Domain/EventHandler/TenantEventHandler.cs:15, CleanArchitecture.Domain/EventHandler/TenantEventHandler.cs:17
- `UserEventHandler` (domain layer) names `IDistributedCache` from `Microsoft.Extensions.Caching.Distributed` — a cache type (in a member signature). The domain should own a port and let an infrastructure adapter implement it. (×2) — CleanArchitecture.Domain/EventHandler/UserEventHandler.cs:16, CleanArchitecture.Domain/EventHandler/UserEventHandler.cs:18
- `DistributedCacheExtensions` (domain layer) names `IDistributedCache` from `Microsoft.Extensions.Caching.Distributed` — a cache type (in a member signature). The domain should own a port and let an infrastructure adapter implement it. — REDACTED:17
- `DistributedCacheExtensions` (domain layer) names `DistributedCacheEntryOptions` from `Microsoft.Extensions.Caching.Distributed` — a cache type (in a member signature). The domain should own a port and let an infrastructure adapter implement it. — REDACTED:20
- The domain project `CleanArchitecture.Domain` references `MassTransit` — a messaging dependency; the domain should own a port and let an infrastructure project reference it. — CleanArchitecture.Domain/CleanArchitecture.Domain.csproj:11
- The domain project `CleanArchitecture.Domain` references `Microsoft.AspNetCore.App` — a HTTP dependency; the domain should own a port and let an infrastructure project reference it. — CleanArchitecture.Domain/CleanArchitecture.Domain.csproj:18
What to do
- Invert domain→infrastructure dependencies: declare interfaces in the domain, implement them in infrastructure (Dependency Inversion).
DM7 · Repository granularity
- `IRepository` returns `IQueryable` from `GetAll`, `GetAllNoTracking`. That hands the caller the persistence engine rather than an aggregate: query composition, and with it the shape of what gets loaded, moves out of the repository and out of the aggregate's reach — and the contract can no longer be implemented by anything that is not that ORM. Return the aggregate (or a list of them) from methods that name the question being asked. — CleanArchitecture.Domain/Interfaces/Repositories/IRepository.cs:9
What to do
- Define repositories per aggregate root and keep the query handle inside them; reach child entities through their root so invariants can't be bypassed.
DM8 · Value-object opportunities
DM9 · Scattered domain decisions
ED1 · Handler temporal coupling
ED2 · Event/command shape
ED3 · Event naming
- `DomainNotification` reads as an instruction, not a fact that happened. Events describe something that already occurred — name them in the past tense (e.g. `OrderPlaced`, `PaymentCaptured`) so the ubiquitous language stays clear. — CleanArchitecture.Domain/Notifications/DomainNotification.cs:6
- `FanoutDomainEvent` reads as an instruction, not a fact that happened. Events describe something that already occurred — name them in the past tense (e.g. `OrderPlaced`, `PaymentCaptured`) so the ubiquitous language stays clear. — CleanArchitecture.Shared/Events/FanoutDomainEvent.cs:5
What to do
- Name events in the past tense — they record facts that already happened.
ED4 · Outbox / dual-write
ED5 · Idempotency
- `EventHandler.TenantEventHandler.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. (×2) — CleanArchitecture.Domain/EventHandler/TenantEventHandler.cs:27, CleanArchitecture.Domain/EventHandler/TenantEventHandler.cs:34
- `EventHandler.UserEventHandler.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. (×3) — CleanArchitecture.Domain/EventHandler/UserEventHandler.cs:28, CleanArchitecture.Domain/EventHandler/UserEventHandler.cs:35, CleanArchitecture.Domain/EventHandler/UserEventHandler.cs:42
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
IC1 · Incompleteness & stubs
- `Consume` looks like it should compute a result but its body just returns a constant — a placeholder return that was never filled in. (×2) — CleanArchitecture.Domain/Consumers/FanoutEventConsumer.cs:17, CleanArchitecture.Domain/Consumers/TenantUpdatedEventConsumer.cs:17
What to do
- Finish or delete the unfinished stubs (NotImplementedException / empty / constant-returning bodies) — they are dead surface that looks live.
M1 · Documentation (README)
What to do
- Add a README to the 14 of 14 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
- Production code isn't grouped under a src/ folder — it's spread across several top-level directories, so there's no one place that says 'this is the product'.
What to do
- Group production code under src/ (or split deliberately, e.g. backend/ + frontend/) so production and tooling code aren't mixed at the root.
M4 · Documentation accuracy
P1 · CI/CD gates
P2 · Observability
- Only 4/7 service-like projects use logging (pure contract/DTO projects are excluded — they have nothing to log). Of those 7, 2 ship a process this repository operates; the rest are libraries their consumer hosts, where the logging decision belongs to the host.
What to do
- Extend structured logging across the projects you operate, and give the library ones a diagnostics seam instead — an `EventSource`/`ActivitySource` the host can subscribe to, or an optional logger on your options object — rather than taking a logging dependency on your consumers' behalf.
P3 · Security & performance tooling
What to do
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P4 · Deployment & Rollback
P5 · DR & Backup
- A persistence guard (data volume / purge-protection) was found, but no backup, geo-recovery or RTO/RPO controls were evidenced — a volume that survives a container recreate is not a tested restore from catastrophic loss.
What to do
- Codify backups + geo-recovery in IaC and document RTO/RPO and the restore procedure — a persistence guard alone is not disaster recovery.
P6 · Release Hygiene
P7 · Outbound HTTP resilience
P8 · Schema migrations
P9 · Domain vs controller coverage
What to do
- Raise domain coverage toward 100% — cover the remaining aggregates / value objects / domain services where the business invariants and costly bugs live.
PF3 · Async & latency hygiene
S1 · Web-Security Posture
- `RequireSignedTokens = false` means the token SIGNATURE is never verified — a token this API accepts need not have been issued by anyone. Anybody who can reach the endpoint can mint their own principal. — REDACTED:82
- None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, …) is configured — defense in depth, even when a reverse proxy could set them. (−2.0 on this card.)
- This web host's pipeline is composed here and adds no security response header (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, a frame policy) to what it serves. — REDACTED:24
What to do
- Re-enable token validation — `RequireSignedTokens` is set to `false`. If it was switched off because the expected value was wrong or absent, supply that value instead (`ValidAudiences`/`ValidIssuers`, or `IssuerSigningKeys`/`IssuerSigningKeyResolver` for the signature) rather than skipping the check: a disabled check accepts every token, not just the one that was failing.
- Add security response headers (Content-Security-Policy first, then Strict-Transport-Security, X-Content-Type-Options and a frame policy) — defense in depth, even when a reverse proxy could set them.
X1 · Async correctness
- Reading `.Result` of a task that has not completed blocks this thread until it does — the same block as `.Wait()`: under a synchronization context (Blazor, a UI thread, classic ASP.NET) it deadlocks, and on the thread pool it parks a thread for as long as the work runs. `await` the task instead (make the caller `async`); where a synchronous entry point must stay, keep the block in ONE documented bridge with a timeout. (×2) — CleanArchitecture.ServiceDefaults/HttpEnricher.cs:15, CleanArchitecture.ServiceDefaults/HttpEnricher.cs:35
What to do
- Sync-over-async (deadlock risk) through `.Result`
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
- `_serviceProvider.CreateScope()` (line 33) creates an `IServiceScope`, and it is bound to the local `scope`, which this method only reads through and never disposes. A scope owns every scoped service resolved from it — the `DbContext`, its connection, anything registered `AddScoped` — and releases them only when the scope itself is disposed; nothing here ever does, so each scope's services stay alive until the process ends. Create it with `using var scope = …CreateScope();` (or `await using` for `CreateAsyncScope`), or, when it must outlive the method, dispose it from the owning type's `Dispose`. — CleanArchitecture.Api/BackgroundServices/SetInactiveUsersService.cs:33
- `_dbContext` is never created by `BaseRepository` — every assignment to it takes a constructor parameter — yet this type disposes it here (line 99). Its declared type `DbContext` is an interface, so the instance came from whoever resolved it, and that owner decides when it ends. Disposing it from here reaches outside this object's lifetime: a dependency shared with the rest of the process is torn down when THIS instance goes away, and the real owner's later `Dispose()` runs a second time on an object already disposed. Drop the call — a type disposes what it constructed, and only that. If this dependency genuinely is exclusive to this instance, construct it here (or take an owned factory) so the ownership is stated in the code rather than assumed. — CleanArchitecture.Infrastructure/Repositories/BaseRepository.cs:99
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 19/62 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. (×37) — CleanArchitecture.Api/Controllers/TenantController.cs:36, CleanArchitecture.Api/Controllers/TenantController.cs:54, CleanArchitecture.Api/Controllers/TenantController.cs:63, …
- No CancellationToken parameter, and the token `context.CancellationToken` carries reaches none of the calls here that take one — this work can't be stopped early once started. Pass `context.CancellationToken` on, or take a CancellationToken. (×2) — REDACTED:21, REDACTED:21
What to do
- Thread a CancellationToken through async methods so work stops promptly on cancellation.
X20 · Mistyped argument guard
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
- An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it. (×3) — CleanArchitecture.ServiceDefaults/HttpEnricher.cs:18, CleanArchitecture.ServiceDefaults/HttpEnricher.cs:38, CleanArchitecture.ServiceDefaults/HttpEnricher.cs:42
What to do
- Swallowed exception (empty catch)
X30 · Support guard that admits what it rejects
X32 · Type resolved by simple name across every loaded assembly
X4 · Structured logging
X5 · Nullable reference types
- ~0.6 `!` suppressions per 1k syntax nodes — 17 suppression(s) across the 28162 syntax node(s) in code where nullable warnings are ENABLED, which is the only code a `!` can suppress anything in (a `!` under `#nullable disable` is inert and is not counted, and its file's nodes are not in the denominator). Each one tells the compiler to trust you about null, suppressing the very safety NRTs provide.
What to do
- Enable <Nullable>enable</Nullable> across all projects and resolve warnings rather than suppressing with `!`.
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 64% | Adequate — gated by X3 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Architecture | 93% | Exemplary | Solid. |
| Maturity | 55% | Adequate — gated by D34, M2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 54% | Adequate — gated by D13, P5 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 47% | Weak — gated by D28, D29, D31, C1 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Domain Modelling | 44% | Weak — gated by DM1, DM2, DM11 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Event-Driven | 100% | Exemplary | Strongest area. |
| Performance | 100% | Exemplary | Solid. |
Unscored — 2 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 — 2 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
Not evidenced — 2 control(s) we could not find positive evidence for
- C3 Audit Trail — Repo shows no audit-logging mechanism (IAuditable, an immutable audit log, an EF SaveChanges interceptor) for sensitive changes — absence of evidence is not evidence of a working control. Record an audit trail in code (or document where it lives) 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.
Not included — 26 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
- AXB2 Runtime readiness — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- AXR1 Runtime accessibility — the Aspire AppHost did not expose a crawlable HTTP endpoint in time (or only the dashboard) — no runtime evidence This is a statement about this run, not a statement about your application: nothing here says the surface is inaccessible, only that it was never rendered.
- D22 Internal API Consistency — No intentionally-exposed public API to evaluate for consistency.
- D23 Boundary Type-Coupling — small single-context codebase (4,518 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 (CleanArchitecture.Domain), 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
- D32 Data Compliance (PII/GDPR) — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that.
- 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.
- D42 Runtime Threat Enforcement — The repository ships application workloads but no cluster-governance resources (CRDs, admission webhooks, or a committed policy engine). Runtime threat-detection (Falco/Tetragon) and admission control (Kyverno/OPA-Gatekeeper/PodSecurity) are cluster-OPERATOR controls owned by the platform, not shipped by an application repo/chart — nothing for this repo to assess.
- 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
- DM3 Integration-event coupling — no integration events detected — coupling check not applicable
- ES1 Event Sourcing — not scored — this repository shows none of the 3 signals this lens looks for
- P12 CI test-gate honesty — Reported, not scored — this card publishes what the CI gate does with the test inventory rather than grading it. The findings above are its output.
- PF1 Benchmark discipline — Performance is assessed only for perf-relevant repos — a packaged library, one that ships benchmarks, or one already using allocation-aware APIs. This repo isn't one, so the Performance lens is not applicable and is excluded from the score.
- PF2 Allocation hygiene — Performance is assessed only for perf-relevant repos — a packaged library, one that ships benchmarks, or one already using allocation-aware APIs. This repo isn't one, so the Performance lens is not applicable and is excluded from the score.
- X6 Hand-rolled structured-format parsing — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X7 Silent fallback defaults — 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 — 103 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Domain depends on infrastructure: ApiUser CleanArchitecture.Domain/ApiUser.cs:12
- Domain depends on infrastructure: ApiUser CleanArchitecture.Domain/ApiUser.cs:17
- Domain depends on infrastructure: FanoutEventConsumer CleanArchitecture.Domain/Consumers/FanoutEventConsumer.cs:8
- Domain depends on infrastructure: FanoutEventConsumer CleanArchitecture.Domain/Consumers/FanoutEventConsumer.cs:17
- Domain depends on infrastructure: TenantUpdatedEventConsumer CleanArchitecture.Domain/Consumers/TenantUpdatedEventConsumer.cs:8
- Domain depends on infrastructure: TenantUpdatedEventConsumer CleanArchitecture.Domain/Consumers/TenantUpdatedEventConsumer.cs:17
- Domain depends on infrastructure: FanoutEventHandler CleanArchitecture.Domain/EventHandler/Fanout/FanoutEventHandler.cs:10
- Domain depends on infrastructure: FanoutEventHandler CleanArchitecture.Domain/EventHandler/Fanout/FanoutEventHandler.cs:14
- Domain depends on infrastructure: TenantEventHandler CleanArchitecture.Domain/EventHandler/TenantEventHandler.cs:15
- Domain depends on infrastructure: TenantEventHandler CleanArchitecture.Domain/EventHandler/TenantEventHandler.cs:17
- Domain depends on infrastructure: UserEventHandler CleanArchitecture.Domain/EventHandler/UserEventHandler.cs:16
- Domain depends on infrastructure: UserEventHandler CleanArchitecture.Domain/EventHandler/UserEventHandler.cs:18
- Domain depends on infrastructure: DistributedCacheExtensions REDACTED:17
- Domain depends on infrastructure: DistributedCacheExtensions REDACTED:20
- Domain depends on infrastructure: CleanArchitecture.Domain CleanArchitecture.Domain/CleanArchitecture.Domain.csproj:11
- Domain depends on infrastructure: CleanArchitecture.Domain CleanArchitecture.Domain/CleanArchitecture.Domain.csproj:18
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- EmptyCatchBlock CleanArchitecture.ServiceDefaults/HttpEnricher.cs:18
- EmptyCatchBlock CleanArchitecture.ServiceDefaults/HttpEnricher.cs:38
- EmptyCatchBlock CleanArchitecture.ServiceDefaults/HttpEnricher.cs:42
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Aggregate holds a reference to another aggregate: Tenant.Users CleanArchitecture.Domain/Entities/Tenant.cs:10
- Aggregate holds a reference to another aggregate: User.Tenant CleanArchitecture.Domain/Entities/User.cs:19
- REDACTED
- Token validation disabled REDACTED:82
Serious — 239 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Async method without CancellationToken: GetAllTenantsAsync CleanArchitecture.Api/Controllers/TenantController.cs:36
- Async method without CancellationToken: GetTenantByIdAsync CleanArchitecture.Api/Controllers/TenantController.cs:54
- Async method without CancellationToken: CreateTenantAsync CleanArchitecture.Api/Controllers/TenantController.cs:63
- Async method without CancellationToken: UpdateTenantAsync CleanArchitecture.Api/Controllers/TenantController.cs:72
- Async method without CancellationToken: DeleteTenantAsync CleanArchitecture.Api/Controllers/TenantController.cs:81
- Async method without CancellationToken: GetAllUsersAsync REDACTED:36
- Async method without CancellationToken: GetUserByIdAsync REDACTED:54
- Async method without CancellationToken: GetCurrentUserAsync REDACTED:63
- Async method without CancellationToken: CreateUserAsync REDACTED:72
- Async method without CancellationToken: DeleteUserAsync REDACTED:81
- Async method without CancellationToken: UpdateUserAsync REDACTED:90
- Async method without CancellationToken: ChangePasswordAsync REDACTED:99
- Async method without CancellationToken: LoginUserAsync REDACTED:109
- Async method without CancellationToken: GetByIds REDACTED:21
- Async method without CancellationToken: GetByIds REDACTED:21
- Async method without CancellationToken: CreateTenantAsync CleanArchitecture.Application/Services/TenantService.cs:31
- Async method without CancellationToken: UpdateTenantAsync CleanArchitecture.Application/Services/TenantService.cs:42
- Async method without CancellationToken: DeleteTenantAsync CleanArchitecture.Application/Services/TenantService.cs:49
- Async method without CancellationToken: GetTenantByIdAsync CleanArchitecture.Application/Services/TenantService.cs:54
- Async method without CancellationToken: GetAllTenantsAsync CleanArchitecture.Application/Services/TenantService.cs:68
- Async method without CancellationToken: GetUserByUserIdAsync CleanArchitecture.Application/Services/UserService.cs:29
- Async method without CancellationToken: GetCurrentUserAsync CleanArchitecture.Application/Services/UserService.cs:34
- Async method without CancellationToken: GetAllUsersAsync CleanArchitecture.Application/Services/UserService.cs:39
- Async method without CancellationToken: CreateUserAsync CleanArchitecture.Application/Services/UserService.cs:48
- Async method without CancellationToken: UpdateUserAsync CleanArchitecture.Application/Services/UserService.cs:63
- Low coverage: CleanArchitecture.Domain/ApiUser.cs CleanArchitecture.Domain/ApiUser.cs:1
- Low coverage: CleanArchitecture.Domain/CacheKeyGenerator.cs CleanArchitecture.Domain/CacheKeyGenerator.cs:1
- Low coverage: REDACTED REDACTED:1
- Low coverage: REDACTED REDACTED:1
- Low coverage: CleanArchitecture.Domain/Extensions/ServiceCollectionExtension.cs CleanArchitecture.Domain/Extensions/ServiceCollectionExtension.cs:1
- Low coverage: CleanArchitecture.Domain/EventHandler/TenantEventHandler.cs CleanArchitecture.Domain/EventHandler/TenantEventHandler.cs:1
- Low coverage: CleanArchitecture.Domain/EventHandler/UserEventHandler.cs CleanArchitecture.Domain/EventHandler/UserEventHandler.cs:1
- Low coverage: CleanArchitecture.Domain/EventHandler/Fanout/FanoutEventHandler.cs CleanArchitecture.Domain/EventHandler/Fanout/FanoutEventHandler.cs:1
- Low coverage: CleanArchitecture.Domain/DomainNotifications/StoredDomainNotification.cs CleanArchitecture.Domain/DomainNotifications/StoredDomainNotification.cs:1
- Low coverage: CleanArchitecture.Domain/DomainEvents/StoredDomainEvent.cs CleanArchitecture.Domain/DomainEvents/StoredDomainEvent.cs:1
- Low coverage: CleanArchitecture.Domain/Consumers/FanoutEventConsumer.cs CleanArchitecture.Domain/Consumers/FanoutEventConsumer.cs:1
- Low coverage: CleanArchitecture.Domain/Consumers/TenantUpdatedEventConsumer.cs CleanArchitecture.Domain/Consumers/TenantUpdatedEventConsumer.cs:1
- Low coverage: CleanArchitecture.Domain/Commands/CommandHandlerBase.cs CleanArchitecture.Domain/Commands/CommandHandlerBase.cs:1
- Low coverage: CleanArchitecture.Application/ViewModels/PagedResult.cs CleanArchitecture.Application/ViewModels/PagedResult.cs:1
- Low coverage: CleanArchitecture.Application/ViewModels/Sorting/SortParameter.cs CleanArchitecture.Application/ViewModels/Sorting/SortParameter.cs:1
- Low coverage: CleanArchitecture.Application/ViewModels/Sorting/SortQuery.cs CleanArchitecture.Application/ViewModels/Sorting/SortQuery.cs:1
- Low coverage: CleanArchitecture.Application/Services/TenantService.cs CleanArchitecture.Application/Services/TenantService.cs:1
- Low coverage: CleanArchitecture.Application/Services/UserService.cs CleanArchitecture.Application/Services/UserService.cs:1
- Low coverage: CleanArchitecture.Application/Extensions/QueryableExtensions.cs CleanArchitecture.Application/Extensions/QueryableExtensions.cs:1
- Low coverage: CleanArchitecture.Application/Extensions/ServiceCollectionExtensions.cs CleanArchitecture.Application/Extensions/ServiceCollectionExtensions.cs:1
- Low coverage: CleanArchitecture.Shared/Events/FanoutDomainEvent.cs CleanArchitecture.Shared/Events/FanoutDomainEvent.cs:1
- Low coverage: CleanArchitecture.Infrastructure/Repositories/BaseRepository.cs CleanArchitecture.Infrastructure/Repositories/BaseRepository.cs:1
- Low coverage: CleanArchitecture.Infrastructure/Repositories/UserRepository.cs CleanArchitecture.Infrastructure/Repositories/UserRepository.cs:1
- Low coverage: CleanArchitecture.Infrastructure/Extensions/DbContextExtension.cs CleanArchitecture.Infrastructure/Extensions/DbContextExtension.cs:1
- Low coverage: CleanArchitecture.Infrastructure/Extensions/ServiceCollectionExtensions.cs CleanArchitecture.Infrastructure/Extensions/ServiceCollectionExtensions.cs:1
- Non-idempotent mutation: EventHandler.TenantEventHandler.Handle CleanArchitecture.Domain/EventHandler/TenantEventHandler.cs:27
- Non-idempotent mutation: EventHandler.TenantEventHandler.Handle CleanArchitecture.Domain/EventHandler/TenantEventHandler.cs:34
- Non-idempotent mutation: EventHandler.UserEventHandler.Handle CleanArchitecture.Domain/EventHandler/UserEventHandler.cs:28
- Non-idempotent mutation: EventHandler.UserEventHandler.Handle CleanArchitecture.Domain/EventHandler/UserEventHandler.cs:35
- Non-idempotent mutation: EventHandler.UserEventHandler.Handle CleanArchitecture.Domain/EventHandler/UserEventHandler.cs:42
- Deprecated: xunit CleanArchitecture.Application.Tests/CleanArchitecture.Application.Tests.csproj:20
- Deprecated: xunit CleanArchitecture.Domain.Tests/CleanArchitecture.Domain.Tests.csproj:20
- Deprecated: xunit CleanArchitecture.Infrastructure.Tests/CleanArchitecture.Infrastructure.Tests.csproj:19
- Deprecated: xunit CleanArchitecture.gRPC.Tests/CleanArchitecture.gRPC.Tests.csproj:19
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- BareSuppressMessage CleanArchitecture.Infrastructure/GlobalSuppressions.cs:9
- BareSuppressMessage CleanArchitecture.Infrastructure/GlobalSuppressions.cs:12
- BareSuppressMessage CleanArchitecture.Infrastructure/GlobalSuppressions.cs:15
- REDACTED
- REDACTED
- REDACTED
- Swallowed exception (empty catch) CleanArchitecture.ServiceDefaults/HttpEnricher.cs:18
- Swallowed exception (empty catch) CleanArchitecture.ServiceDefaults/HttpEnricher.cs:38
- Swallowed exception (empty catch) CleanArchitecture.ServiceDefaults/HttpEnricher.cs:42
- Prerelease dependency: OpenTelemetry.Instrumentation.EntityFrameworkCore
- Prerelease dependency: OpenTelemetry.Instrumentation.GrpcNetClient
- REDACTED
- REDACTED
- CRAP 42: SortQuery.GetSortParamFromSentence CleanArchitecture.Application/ViewModels/Sorting/SortQuery.cs:77
- CRAP 42: SortQuery.GetSortParamFromFunctionalStyle CleanArchitecture.Application/ViewModels/Sorting/SortQuery.cs:121
- CRAP 30: SortQuery.ParseQuery CleanArchitecture.Application/ViewModels/Sorting/SortQuery.cs:25
- CRAP 30: SortQuery.GetSortParamFromSingleWord CleanArchitecture.Application/ViewModels/Sorting/SortQuery.cs:103
- Constructible in an invalid state: Tenant CleanArchitecture.Domain/Entities/Tenant.cs:12
- Constructible in an invalid state: User CleanArchitecture.Domain/Entities/User.cs:21
- Domain type reads the wall clock: Entity CleanArchitecture.Domain/Entities/Entity.cs:25
- Domain type reads the wall clock: LoginUserCommandHandler CleanArchitecture.Domain/Commands/Users/LoginUser/LoginUserCommandHandler.cs:39
- Hollow method — returns a constant without doing the work CleanArchitecture.Domain/Consumers/FanoutEventConsumer.cs:17
- Hollow method — returns a constant without doing the work CleanArchitecture.Domain/Consumers/TenantUpdatedEventConsumer.cs:17
- Sync-over-async (deadlock risk) through `.Result` CleanArchitecture.ServiceDefaults/HttpEnricher.cs:15
- Sync-over-async (deadlock risk) through `.Result` CleanArchitecture.ServiceDefaults/HttpEnricher.cs:35
- No data-protection/encryption
- SortQuery.FindTokens (cyclomatic 25) CleanArchitecture.Application/ViewModels/Sorting/SortQuery.cs:145
- SortQuery.FindTokens (cognitive 48) CleanArchitecture.Application/ViewModels/Sorting/SortQuery.cs:145
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Duplicated block (24–25 lines × 2) CleanArchitecture.Domain/Commands/Users/DeleteUser/DeleteUserCommandHandler.cs:31
- Duplicated block (17 lines × 2) CleanArchitecture.Domain/Commands/Tenants/DeleteTenant/DeleteTenantCommandHandler.cs:47
- Duplicated block (11 lines × 2) CleanArchitecture.Application/Queries/Tenants/GetAll/GetAllTenantsQueryHandler.cs:42
- Duplicated block (18 lines × 2) CleanArchitecture.Domain/Commands/Tenants/CreateTenant/CreateTenantCommandValidation.cs:15
- No test project references CleanArchitecture.AppHost REDACTED
- CRAP 650: SortQuery.FindTokens CleanArchitecture.Application/ViewModels/Sorting/SortQuery.cs:145
- One operation mutates 2 aggregates: DomainEventStore.SaveAsync CleanArchitecture.Infrastructure/EventSourcing/EventStore.cs:27
- Repository contract exposes a live query handle: IRepository CleanArchitecture.Domain/Interfaces/Repositories/IRepository.cs:9
- No DR/backup evidence
- NuGet dependencies are not locked
- DI scope created and never disposed CleanArchitecture.Api/BackgroundServices/SetInactiveUsersService.cs:33
- Disposes a dependency it does not own CleanArchitecture.Infrastructure/Repositories/BaseRepository.cs:99
Minor — 74 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Orphaned file CleanArchitecture.Application/ViewModels/Sorting/SortQuery.cs:1
- Orphaned file CleanArchitecture.ServiceDefaults/Extensions.cs:1
- Orphaned file REDACTED:1
- Orphaned file CleanArchitecture.Domain/Commands/Users/LoginUser/LoginUserCommandHandler.cs:1
- Orphaned file CleanArchitecture.Domain/Commands/Users/CreateUser/CreateUserCommandHandler.cs:1
- Orphaned file CleanArchitecture.Domain/Commands/Users/UpdateUser/UpdateUserCommandHandler.cs:1
- Orphaned file CleanArchitecture.Api/Controllers/TenantController.cs:1
- Orphaned file REDACTED:1
- Orphaned file CleanArchitecture.Domain/Extensions/ServiceCollectionExtension.cs:1
- Orphaned file CleanArchitecture.Application/Services/UserService.cs:1
- Orphaned file CleanArchitecture.Application/Extensions/QueryableExtensions.cs:1
- Orphaned file CleanArchitecture.Application/Services/TenantService.cs:1
- Orphaned file CleanArchitecture.Domain/Commands/Users/UpdateUser/UpdateUserCommandValidation.cs:1
- Orphaned file CleanArchitecture.Domain/ApiUser.cs:1
- Orphaned file CleanArchitecture.Domain/Commands/Users/CreateUser/CreateUserCommandValidation.cs:1
- Primitive id on a domain type: StoredDomainEvent.CorrelationId CleanArchitecture.Domain/DomainEvents/StoredDomainEvent.cs:11
- Primitive id on a domain type: StoredDomainNotification.CorrelationId CleanArchitecture.Domain/DomainNotifications/StoredDomainNotification.cs:11
- Primitive id on a domain type: User.TenantId CleanArchitecture.Domain/Entities/User.cs:18
- Primitive id on a domain type: DomainNotification.Key CleanArchitecture.Domain/Notifications/DomainNotification.cs:8
- Primitive id on a domain type: FanoutDomainEvent.UserId CleanArchitecture.Shared/Events/FanoutDomainEvent.cs:8
- Primitive id on a domain type: UserCreatedEvent.TenantId CleanArchitecture.Shared/Events/User/UserCreatedEvent.cs:7
- Primitive id on a domain type: UserDeletedEvent.TenantId CleanArchitecture.Shared/Events/User/UserDeletedEvent.cs:7
- Primitive id on a domain type: UserUpdatedEvent.TenantId CleanArchitecture.Shared/Events/User/UserUpdatedEvent.cs:7
- No seccomp profile REDACTED:21
- No seccomp profile REDACTED:20
- No seccomp profile REDACTED:15
- No seccomp profile REDACTED:15
- No named authorization policies
- No named authorization policies CleanArchitecture.Api/Controllers/TenantController.cs:20
- No named authorization policies REDACTED:20
- Mock-dominated test: InMemoryBus_Should_Publish_When_Not_DomainNotification CleanArchitecture.Infrastructure.Tests/InMemoryBusTests.cs:16
- Mock-dominated test: InMemoryBus_Should_Save_And_Publish_When_DomainNotification CleanArchitecture.Infrastructure.Tests/InMemoryBusTests.cs:36
- Mock-dominated test: InMemoryBus_Should_Send_Command_Async CleanArchitecture.Infrastructure.Tests/InMemoryBusTests.cs:52
- Event not named in past tense: DomainNotification CleanArchitecture.Domain/Notifications/DomainNotification.cs:6
- Event not named in past tense: FanoutDomainEvent CleanArchitecture.Shared/Events/FanoutDomainEvent.cs:5
- No security response headers detected
- No security response headers detected REDACTED:24
- Duplicated predicate CleanArchitecture.Domain/Commands/Users/DeleteUser/DeleteUserCommandHandler.cs:50
- Duplicated predicate CleanArchitecture.Application/Queries/Tenants/GetAll/GetAllTenantsQueryHandler.cs:37
- Partial data-retention evidence
- Documentation: no usage examples Readme.md
- No ADRs found
- misleading comment CleanArchitecture.Application/ViewModels/PagedResult.cs:23
- REDACTED
- Orphaned files with no living knowledge
- No network policy
- Mutable entity: Tenant CleanArchitecture.Domain/Entities/Tenant.cs:6
- No ADRs
- No src/ separation
- Logging is not universal
- Not all async methods take a CancellationToken
- Null-forgiving operator (`!`) suppressions reduce the NRT score
Minor — 48 finding(s)
- Outdated: Aikido.Zen.DotNetCore
- Outdated: MassTransit.Newtonsoft
- Outdated: MassTransit.RabbitMQ
- Outdated: Microsoft.AspNetCore.Authentication.JwtBearer
- Outdated: Microsoft.AspNetCore.OpenApi
- Outdated: Microsoft.EntityFrameworkCore.Design
- Outdated: Microsoft.EntityFrameworkCore.Proxies
- Outdated: Microsoft.Extensions.Caching.StackExchangeRedis
- Outdated: Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore
- Outdated: Swashbuckle.AspNetCore
- Outdated: Swashbuckle.AspNetCore.Annotations
- Outdated: Microsoft.EntityFrameworkCore
- Outdated: FluentValidation
- Outdated: MassTransit
- Outdated: Microsoft.EntityFrameworkCore.Relational
- Outdated: Microsoft.EntityFrameworkCore.SqlServer
- Outdated: Microsoft.EntityFrameworkCore.Tools
- Outdated: Microsoft.NET.Test.Sdk
- Outdated: MockQueryable.NSubstitute
- Outdated: xunit.runner.visualstudio
- Outdated: Microsoft.AspNetCore.Mvc.Testing
- Outdated: NUnit3TestAdapter
- Outdated: Testcontainers
- Outdated: Testcontainers.MsSql
- Outdated: Testcontainers.RabbitMq
- XML-doc coverage: CleanArchitecture.Api REDACTED
- XML-doc coverage: CleanArchitecture.Application CleanArchitecture.Application/CleanArchitecture.Application.csproj
- XML-doc coverage: CleanArchitecture.Domain CleanArchitecture.Domain/CleanArchitecture.Domain.csproj
- XML-doc coverage: CleanArchitecture.Infrastructure CleanArchitecture.Infrastructure/CleanArchitecture.Infrastructure.csproj
- XML-doc coverage: CleanArchitecture.gRPC CleanArchitecture.gRPC/CleanArchitecture.gRPC.csproj
- XML-doc coverage: CleanArchitecture.Shared CleanArchitecture.Shared/CleanArchitecture.Shared.csproj
- XML-doc coverage: CleanArchitecture.ServiceDefaults CleanArchitecture.ServiceDefaults/CleanArchitecture.ServiceDefaults.csproj
- Mock framework: NSubstitute
- Mock framework: NSubstitute
- Mock framework: NSubstitute
- Mock framework: NSubstitute
- Off the main sequence: CleanArchitecture.Shared CleanArchitecture.Shared/CleanArchitecture.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-c6f1c76c908f4336b06fe928263b6efc/history.json --exit-code 0 --source . | 15 | 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-c6f1c76c908f4336b06fe928263b6efc/tree.json --exit-code 0 --source . | 13 | 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 . | 60 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | dotnet | — | dotnet list CleanArchitecture.sln package --vulnerable --include-transitive --format json | 3 | artifacts/raw/dotnet-vulnerable.json |
| D31 · IaC & Container Security | trivy | — | trivy config --format json --quiet . | 135 | artifacts/raw/trivy-config.json |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that. | 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 | — |
| D42 · Runtime Threat Enforcement | runtime-hardening | — | runtime-hardening: not applicable — The repository ships application workloads but no cluster-governance resources (CRDs, admission webhooks, or a committed policy engine). Runtime threat-detection (Falco/Tetragon) and admission control (Kyverno/OPA-Gatekeeper/PodSecurity) are cluster-OPERATOR controls owned by the platform, not shipped by an application repo/chart — nothing for this repo to assess. | 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
Name — 15 field(s)
- CreateUserViewModel.FirstName CleanArchitecture.Application/viewmodels/Users/CreateUserViewModel.cs:7
- CreateUserViewModel.LastName CleanArchitecture.Application/viewmodels/Users/CreateUserViewModel.cs:8
- UpdateUserViewModel.FirstName CleanArchitecture.Application/viewmodels/Users/UpdateUserViewModel.cs:9
- UpdateUserViewModel.LastName CleanArchitecture.Application/viewmodels/Users/UpdateUserViewModel.cs:10
- UserViewModel.FirstName CleanArchitecture.Application/viewmodels/Users/UserViewModel.cs:12
- UserViewModel.LastName CleanArchitecture.Application/viewmodels/Users/UserViewModel.cs:13
- CreateUserCommand.FirstName CleanArchitecture.Domain/Commands/Users/CreateUser/CreateUserCommand.cs:12
- CreateUserCommand.LastName CleanArchitecture.Domain/Commands/Users/CreateUser/CreateUserCommand.cs:13
- UpdateUserCommand.FirstName CleanArchitecture.Domain/Commands/Users/UpdateUser/UpdateUserCommand.cs:13
- UpdateUserCommand.LastName CleanArchitecture.Domain/Commands/Users/UpdateUser/UpdateUserCommand.cs:14
- User.FirstName CleanArchitecture.Domain/Entities/User.cs:9
- User.LastName CleanArchitecture.Domain/Entities/User.cs:10
- User.FullName CleanArchitecture.Domain/Entities/User.cs:16
- UserViewModel.FirstName CleanArchitecture.Shared/Users/UserViewModel.cs:8
- UserViewModel.LastName CleanArchitecture.Shared/Users/UserViewModel.cs:9
Email — 9 field(s)
- LoginUserViewModel.Email CleanArchitecture.Application/ViewModels/Users/LoginUserViewModel.cs:3
- CreateUserViewModel.Email CleanArchitecture.Application/viewmodels/Users/CreateUserViewModel.cs:6
- UpdateUserViewModel.Email CleanArchitecture.Application/viewmodels/Users/UpdateUserViewModel.cs:8
- UserViewModel.Email CleanArchitecture.Application/viewmodels/Users/UserViewModel.cs:11
- CreateUserCommand.Email CleanArchitecture.Domain/Commands/Users/CreateUser/CreateUserCommand.cs:11
- LoginUserCommand.Email CleanArchitecture.Domain/Commands/Users/LoginUser/LoginUserCommand.cs:11
- UpdateUserCommand.Email CleanArchitecture.Domain/Commands/Users/UpdateUser/UpdateUserCommand.cs:12
- User.Email CleanArchitecture.Domain/Entities/User.cs:8
- UserViewModel.Email CleanArchitecture.Shared/Users/UserViewModel.cs:7