Executive summary
hiiammalte/foodtruacker scores 43 out of 100 and is rated Weak, while eight of its nine lenses score higher still: Event-Driven and Performance at 100, both rated Exemplary, Architecture at 89, rated Strong, and Domain Modelling at 81, Maturity at 63, Security and Compliance at 57 and Code Health and Event Sourcing at 55, all rated Adequate.
The score is lower than those eight because the weakest lens counts most, and here that is Production Readiness, which scores 25 and is rated Critical. Its Test Distribution dimension scores 0 out of 10, and until that reaches 4, Production Readiness can't be rated higher than Adequate. The first actions are to resolve the 1 No tests found finding(s) in Test Distribution and to resolve the 1 Leaked secret finding(s) in Secret Scanning, and if Production Readiness rose to 70, the score would rise from 43 to about 58.
12 findings are critical: five in IaC & Container Security, two in Immutable events, two in Web-Security Posture, one in Dependency Vulnerabilities, one in Secret Scanning and one in Secrets (history).
Watchdog couldn't measure Runtime accessibility in this code, so that dimension is left out of the score. The product code is 3,106 lines, which would take an estimated 0.1 person-years, around €5,100, to rebuild.
If Production Readiness rose from 25 to 70, the lowest score rated Strong, the score would rise from 43 to about 58.
New since the last survey: 26 findings
- Explicit Debt · Dead code: ConfirmIsEqual foodtruacker.Domain/BoundedContexts/UserAccountManagement/ValueObjects/EmailAddress.cs
- Explicit Debt · Dead code: DeleteAsync foodtruacker.Framework/QueryRepository/Repository/IProjectionRepository.cs
- Explicit Debt · Dead code: GenerateChangeEmailValidationToken foodtruacker.Framework/Authentication/Repository/IAuthenticationRepository.cs
- Explicit Debt · Dead code: UserExists foodtruacker.Framework/Authentication/Repository/IAuthenticationRepository.cs
- Explicit Debt · Dead code: IsCurrentPassword foodtruacker.Framework/Authentication/Repository/IAuthenticationRepository.cs
- Web-Security Posture · Password hashing without a KDF foodtruacker.Application/BoundedContexts/UserAccountManagement/Commands/AdminAccountChangePasswordCommand.cs
- Web-Security Posture · Password hashing without a KDF foodtruacker.Application/BoundedContexts/UserAccountManagement/Commands/CustomerAccountChangePasswordCommand.cs
- Cancellation propagation · Async method without CancellationToken: FindAllAsync foodtruacker.Framework/QueryRepository/Repository/MongoDbRepository.cs
- Cancellation propagation · Async method without CancellationToken: FindAllAsync foodtruacker.Framework/QueryRepository/Repository/MongoDbRepository.cs
- Cancellation propagation · Async method without CancellationToken: FindByIdAsync foodtruacker.Framework/QueryRepository/Repository/MongoDbRepository.cs
- Cancellation propagation · Async method without CancellationToken: InsertAsync foodtruacker.Framework/QueryRepository/Repository/MongoDbRepository.cs
- Cancellation propagation · Async method without CancellationToken: UpdateAsync foodtruacker.Framework/QueryRepository/Repository/MongoDbRepository.cs
- Cancellation propagation · Async method without CancellationToken: DeleteAsync foodtruacker.Framework/QueryRepository/Repository/MongoDbRepository.cs
- Cancellation propagation · Async method without CancellationToken: AppendEventAsync foodtruacker.Framework/EventsourcingRepository/Client/EventStoreDbClient.cs
- Cancellation propagation · Async method without CancellationToken: ReadEventsAsync foodtruacker.Framework/EventsourcingRepository/Client/EventStoreDbClient.cs
- Cancellation propagation · Async method without CancellationToken: FindByIdAsync foodtruacker.Framework/EventsourcingRepository/Repository/EventSourcingRepository.cs
- Cancellation propagation · Async method without CancellationToken: SaveAsync foodtruacker.Framework/EventsourcingRepository/Repository/EventSourcingRepository.cs
- Cancellation propagation · Async method drops its ambient CancellationToken: InvokeAsync foodtruacker.Framework/API/Middleware/ExceptionMiddleware.cs
- Immutable events · Mutable event: DomainEvent foodtruacker.SharedKernel/DomainEvent.cs
- Immutable events · Mutable event: IDomainEvent foodtruacker.SharedKernel/IDomainEvent.cs
- PII in the event store · PII in event: AdminAccountChangedEmailEvent foodtruacker.Domain/BoundedContexts/UserAccountManagement/Events/AdminAccountChangedEmailEvent.cs
- PII in the event store · PII in event: AdminAccountCreatedEvent foodtruacker.Domain/BoundedContexts/UserAccountManagement/Events/AdminAccountCreatedEvent.cs
- PII in the event store · PII in event: AdminAccountVerifiedEvent foodtruacker.Domain/BoundedContexts/UserAccountManagement/Events/AdminAccountVerifiedEvent.cs
- PII in the event store · PII in event: CustomerAccountChangedEmailEvent foodtruacker.Domain/BoundedContexts/UserAccountManagement/Events/CustomerAccountChangedEmailEvent.cs
- PII in the event store · PII in event: CustomerAccountCreatedEvent foodtruacker.Domain/BoundedContexts/UserAccountManagement/Events/CustomerAccountCreatedEvent.cs
- PII in the event store · PII in event: CustomerAccountVerifiedEvent foodtruacker.Domain/BoundedContexts/UserAccountManagement/Events/CustomerAccountVerifiedEvent.cs
Fixed since the last survey: 1 finding
- Coupling · Off the main sequence: foodtruacker.Authentication
Rebuild cost: about €5,100 · Estimate
| Cost to rebuild | €1,700 to €8,400, for 28 to 89 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 43. 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: 3,106 lines of product code, of which 45% is declarations and boilerplate, 35% straight logic and 19% 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 API.DTOs | 2 API.Middleware | 3 Application.Pipelines | 4 Application.Results | 5 Authentication.Configuration | 6 Authentication.Entities | 7 Authentication.Exceptions | 8 Domain.Exceptions | 9 EmailService.Services | 10 EventSourcingRepository.Configuration | 11 QueryRepository.Configuration | 12 QueryRepository.Repository | 13 SharedKernel | 14 Application.BoundedContexts.UserAccountManagement.QueryObjects | 15 Authentication.Services | 16 Domain.BoundedContexts.TourPricingManagement.Events | 17 Domain.BoundedContexts.TourPricingManagement.Exceptions | 18 Domain.BoundedContexts.UserAccountManagement.Exceptions | 19 Domain.BoundedContexts.UserAccountManagement.ValueObjects | 20 EventSourcingRepository.Client | 21 Application.BoundedContexts.UserAccountManagement.Queries | 22 Authentication.Repository | 23 Domain.BoundedContexts.TourPricingManagement.Aggregates | 24 Domain.BoundedContexts.UserAccountManagement.Events | 25 EventSourcingRepository.Repository | 26 foodtruacker | 27 API.Controllers | 28 API.Extensions | 29 Application.BoundedContexts.TourPricingManagement.Commands | 30 Application.BoundedContexts.UserAccountManagement.EventHandlers | 31 Application.BoundedContexts.UserAccountManagement.Projections | 32 Domain.BoundedContexts.UserAccountManagement.Aggregates | 33 Application.BoundedContexts.UserAccountManagement.Commands |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 API.DTOs | |||||||||||||||||||||||||||||||||
| 2 API.Middleware | |||||||||||||||||||||||||||||||||
| 3 Application.Pipelines | |||||||||||||||||||||||||||||||||
| 4 Application.Results | |||||||||||||||||||||||||||||||||
| 5 Authentication.Configuration | |||||||||||||||||||||||||||||||||
| 6 Authentication.Entities | |||||||||||||||||||||||||||||||||
| 7 Authentication.Exceptions | |||||||||||||||||||||||||||||||||
| 8 Domain.Exceptions | |||||||||||||||||||||||||||||||||
| 9 EmailService.Services | |||||||||||||||||||||||||||||||||
| 10 EventSourcingRepository.Configuration | |||||||||||||||||||||||||||||||||
| 11 QueryRepository.Configuration | |||||||||||||||||||||||||||||||||
| 12 QueryRepository.Repository | |||||||||||||||||||||||||||||||||
| 13 SharedKernel | |||||||||||||||||||||||||||||||||
| 14 Application.BoundedContexts.UserAccountManagement.QueryObjects | 2 | ||||||||||||||||||||||||||||||||
| 15 Authentication.Services | 1 | 2 | |||||||||||||||||||||||||||||||
| 16 Domain.BoundedContexts.TourPricingManagement.Events | 1 | ||||||||||||||||||||||||||||||||
| 17 Domain.BoundedContexts.TourPricingManagement.Exceptions | 1 | ||||||||||||||||||||||||||||||||
| 18 Domain.BoundedContexts.UserAccountManagement.Exceptions | 3 | ||||||||||||||||||||||||||||||||
| 19 Domain.BoundedContexts.UserAccountManagement.ValueObjects | 6 | ||||||||||||||||||||||||||||||||
| 20 EventSourcingRepository.Client | 2 | ||||||||||||||||||||||||||||||||
| 21 Application.BoundedContexts.UserAccountManagement.Queries | 3 | 3 | |||||||||||||||||||||||||||||||
| 22 Authentication.Repository | 2 | 1 | |||||||||||||||||||||||||||||||
| 23 Domain.BoundedContexts.TourPricingManagement.Aggregates | 2 | 1 | |||||||||||||||||||||||||||||||
| 24 Domain.BoundedContexts.UserAccountManagement.Events | 8 | 16 | |||||||||||||||||||||||||||||||
| 25 EventSourcingRepository.Repository | 1 | ||||||||||||||||||||||||||||||||
| 26 foodtruacker | 1 | ||||||||||||||||||||||||||||||||
| 27 API.Controllers | 7 | 1 | 1 | ||||||||||||||||||||||||||||||
| 28 API.Extensions | 2 | 1 | 1 | 1 | |||||||||||||||||||||||||||||
| 29 Application.BoundedContexts.TourPricingManagement.Commands | 1 | 1 | 1 | ||||||||||||||||||||||||||||||
| 30 Application.BoundedContexts.UserAccountManagement.EventHandlers | 1 | 1 | 4 | ||||||||||||||||||||||||||||||
| 31 Application.BoundedContexts.UserAccountManagement.Projections | 6 | 6 | 3 | 8 | |||||||||||||||||||||||||||||
| 32 Domain.BoundedContexts.UserAccountManagement.Aggregates | 4 | 6 | 8 | ||||||||||||||||||||||||||||||
| 33 Application.BoundedContexts.UserAccountManagement.Commands | 8 | 6 | 8 | 8 |
14→12 Application.BoundedContexts.UserAccountManagement.QueryObjects uses QueryRepository.Repository✕
- Connections
- 2 pairs of types, where a type in Application.BoundedContexts.UserAccountManagement.QueryObjects uses a type in QueryRepository.Repository.
- The types involved
foodtruacker.Application.BoundedContexts.UserAccountManagement.QueryObjects.AdminInfo→foodtruacker.QueryRepository.Repository.QueryEntityfoodtruacker.Application.BoundedContexts.UserAccountManagement.QueryObjects.CustomerInfo→foodtruacker.QueryRepository.Repository.QueryEntity
- Direction
- Application.BoundedContexts.UserAccountManagement.QueryObjects uses QueryRepository.Repository, so a change to QueryRepository.Repository can break Application.BoundedContexts.UserAccountManagement.QueryObjects, while a change to Application.BoundedContexts.UserAccountManagement.QueryObjects can't break QueryRepository.Repository.
- Position
- Below the diagonal: Application.BoundedContexts.UserAccountManagement.QueryObjects uses a module listed above it, which is the healthy direction.
15→5 Authentication.Services uses Authentication.Configuration✕
- Connections
- 1 pair of types, where a type in Authentication.Services uses a type in Authentication.Configuration.
- The types involved
foodtruacker.Authentication.Services.JwtTokenService→foodtruacker.Authentication.Configuration.JwtSettings
- Direction
- Authentication.Services uses Authentication.Configuration, so a change to Authentication.Configuration can break Authentication.Services, while a change to Authentication.Services can't break Authentication.Configuration.
- Position
- Below the diagonal: Authentication.Services uses a module listed above it, which is the healthy direction.
15→6 Authentication.Services uses Authentication.Entities✕
- Connections
- 2 pairs of types, where a type in Authentication.Services uses a type in Authentication.Entities.
- The types involved
foodtruacker.Authentication.Services.ITokenService→foodtruacker.Authentication.Entities.Userfoodtruacker.Authentication.Services.JwtTokenService→foodtruacker.Authentication.Entities.User
- Direction
- Authentication.Services uses Authentication.Entities, so a change to Authentication.Entities can break Authentication.Services, while a change to Authentication.Services can't break Authentication.Entities.
- Position
- Below the diagonal: Authentication.Services uses a module listed above it, which is the healthy direction.
16→13 Domain.BoundedContexts.TourPricingManagement.Events uses SharedKernel✕
- Connections
- 1 pair of types, where a type in Domain.BoundedContexts.TourPricingManagement.Events uses a type in SharedKernel.
- The types involved
foodtruacker.Domain.BoundedContexts.TourPricingManagement.Events.TourStopPricingModelCreatedEvent→foodtruacker.SharedKernel.DomainEvent
- Direction
- Domain.BoundedContexts.TourPricingManagement.Events uses SharedKernel, so a change to SharedKernel can break Domain.BoundedContexts.TourPricingManagement.Events, while a change to Domain.BoundedContexts.TourPricingManagement.Events can't break SharedKernel.
- Position
- Below the diagonal: Domain.BoundedContexts.TourPricingManagement.Events uses a module listed above it, which is the healthy direction.
17→8 Domain.BoundedContexts.TourPricingManagement.Exceptions uses Domain.Exceptions✕
- Connections
- 1 pair of types, where a type in Domain.BoundedContexts.TourPricingManagement.Exceptions uses a type in Domain.Exceptions.
- The types involved
foodtruacker.Domain.BoundedContexts.TourPricingManagement.Exceptions.PricingModelNotFound→foodtruacker.Domain.Exceptions.DomainException
- Direction
- Domain.BoundedContexts.TourPricingManagement.Exceptions uses Domain.Exceptions, so a change to Domain.Exceptions can break Domain.BoundedContexts.TourPricingManagement.Exceptions, while a change to Domain.BoundedContexts.TourPricingManagement.Exceptions can't break Domain.Exceptions.
- Position
- Below the diagonal: Domain.BoundedContexts.TourPricingManagement.Exceptions uses a module listed above it, which is the healthy direction.
18→8 Domain.BoundedContexts.UserAccountManagement.Exceptions uses Domain.Exceptions✕
- Connections
- 3 pairs of types, where a type in Domain.BoundedContexts.UserAccountManagement.Exceptions uses a type in Domain.Exceptions.
- The types involved
foodtruacker.Domain.BoundedContexts.UserAccountManagement.Exceptions.ConfirmationEmailNotEqualException→foodtruacker.Domain.Exceptions.DomainExceptionfoodtruacker.Domain.BoundedContexts.UserAccountManagement.Exceptions.ConfirmationPasswordNotEqualException→foodtruacker.Domain.Exceptions.DomainExceptionfoodtruacker.Domain.BoundedContexts.UserAccountManagement.Exceptions.UserAccountNotFoundException→foodtruacker.Domain.Exceptions.DomainException
- Direction
- Domain.BoundedContexts.UserAccountManagement.Exceptions uses Domain.Exceptions, so a change to Domain.Exceptions can break Domain.BoundedContexts.UserAccountManagement.Exceptions, while a change to Domain.BoundedContexts.UserAccountManagement.Exceptions can't break Domain.Exceptions.
- Position
- Below the diagonal: Domain.BoundedContexts.UserAccountManagement.Exceptions uses a module listed above it, which is the healthy direction.
19→13 Domain.BoundedContexts.UserAccountManagement.ValueObjects uses SharedKernel✕
- Connections
- 6 pairs of types, where a type in Domain.BoundedContexts.UserAccountManagement.ValueObjects uses a type in SharedKernel.
- The types involved
foodtruacker.Domain.BoundedContexts.UserAccountManagement.ValueObjects.EmailAddress→foodtruacker.SharedKernel.ValueObjectfoodtruacker.Domain.BoundedContexts.UserAccountManagement.ValueObjects.EmailAddress→foodtruacker.SharedKernel.ValueObjectValidationResultfoodtruacker.Domain.BoundedContexts.UserAccountManagement.ValueObjects.HashedPassword→foodtruacker.SharedKernel.ValueObjectfoodtruacker.Domain.BoundedContexts.UserAccountManagement.ValueObjects.HashedPassword→foodtruacker.SharedKernel.ValueObjectValidationResultfoodtruacker.Domain.BoundedContexts.UserAccountManagement.ValueObjects.UserFullName→foodtruacker.SharedKernel.ValueObjectfoodtruacker.Domain.BoundedContexts.UserAccountManagement.ValueObjects.UserFullName→foodtruacker.SharedKernel.ValueObjectValidationResult
- Direction
- Domain.BoundedContexts.UserAccountManagement.ValueObjects uses SharedKernel, so a change to SharedKernel can break Domain.BoundedContexts.UserAccountManagement.ValueObjects, while a change to Domain.BoundedContexts.UserAccountManagement.ValueObjects can't break SharedKernel.
- Position
- Below the diagonal: Domain.BoundedContexts.UserAccountManagement.ValueObjects uses a module listed above it, which is the healthy direction.
20→13 EventSourcingRepository.Client uses SharedKernel✕
- Connections
- 2 pairs of types, where a type in EventSourcingRepository.Client uses a type in SharedKernel.
- The types involved
foodtruacker.EventSourcingRepository.Client.EventStoreDbClient→foodtruacker.SharedKernel.IDomainEventfoodtruacker.EventSourcingRepository.Client.IEventSourcingClient→foodtruacker.SharedKernel.IDomainEvent
- Direction
- EventSourcingRepository.Client uses SharedKernel, so a change to SharedKernel can break EventSourcingRepository.Client, while a change to EventSourcingRepository.Client can't break SharedKernel.
- Position
- Below the diagonal: EventSourcingRepository.Client uses a module listed above it, which is the healthy direction.
21→12 Application.BoundedContexts.UserAccountManagement.Queries uses QueryRepository.Repository✕
- Connections
- 3 pairs of types, where a type in Application.BoundedContexts.UserAccountManagement.Queries uses a type in QueryRepository.Repository.
- The types involved
foodtruacker.Application.BoundedContexts.UserAccountManagement.Queries.GetAdminInfoQueryHandler→foodtruacker.QueryRepository.Repository.IQueryRepositoryfoodtruacker.Application.BoundedContexts.UserAccountManagement.Queries.GetAllCustomerInfosQueryHandler→foodtruacker.QueryRepository.Repository.IQueryRepositoryfoodtruacker.Application.BoundedContexts.UserAccountManagement.Queries.GetCustomerInfoQueryHandler→foodtruacker.QueryRepository.Repository.IQueryRepository
- Direction
- Application.BoundedContexts.UserAccountManagement.Queries uses QueryRepository.Repository, so a change to QueryRepository.Repository can break Application.BoundedContexts.UserAccountManagement.Queries, while a change to Application.BoundedContexts.UserAccountManagement.Queries can't break QueryRepository.Repository.
- Position
- Below the diagonal: Application.BoundedContexts.UserAccountManagement.Queries uses a module listed above it, which is the healthy direction.
21→14 Application.BoundedContexts.UserAccountManagement.Queries uses Application.BoundedContexts.UserAccountManagement.QueryObjects✕
- Connections
- 3 pairs of types, where a type in Application.BoundedContexts.UserAccountManagement.Queries uses a type in Application.BoundedContexts.UserAccountManagement.QueryObjects.
- The types involved
foodtruacker.Application.BoundedContexts.UserAccountManagement.Queries.GetAdminInfoQueryHandler→foodtruacker.Application.BoundedContexts.UserAccountManagement.QueryObjects.AdminInfofoodtruacker.Application.BoundedContexts.UserAccountManagement.Queries.GetAllCustomerInfosQueryHandler→foodtruacker.Application.BoundedContexts.UserAccountManagement.QueryObjects.CustomerInfofoodtruacker.Application.BoundedContexts.UserAccountManagement.Queries.GetCustomerInfoQueryHandler→foodtruacker.Application.BoundedContexts.UserAccountManagement.QueryObjects.CustomerInfo
- Direction
- Application.BoundedContexts.UserAccountManagement.Queries uses Application.BoundedContexts.UserAccountManagement.QueryObjects, so a change to Application.BoundedContexts.UserAccountManagement.QueryObjects can break Application.BoundedContexts.UserAccountManagement.Queries, while a change to Application.BoundedContexts.UserAccountManagement.Queries can't break Application.BoundedContexts.UserAccountManagement.QueryObjects.
- Position
- Below the diagonal: Application.BoundedContexts.UserAccountManagement.Queries uses a module listed above it, which is the healthy direction.
22→6 Authentication.Repository uses Authentication.Entities✕
- Connections
- 2 pairs of types, where a type in Authentication.Repository uses a type in Authentication.Entities.
- The types involved
foodtruacker.Authentication.Repository.AuthenticationRepository→foodtruacker.Authentication.Entities.Rolefoodtruacker.Authentication.Repository.AuthenticationRepository→foodtruacker.Authentication.Entities.User
- Direction
- Authentication.Repository uses Authentication.Entities, so a change to Authentication.Entities can break Authentication.Repository, while a change to Authentication.Repository can't break Authentication.Entities.
- Position
- Below the diagonal: Authentication.Repository uses a module listed above it, which is the healthy direction.
22→15 Authentication.Repository uses Authentication.Services✕
- Connections
- 1 pair of types, where a type in Authentication.Repository uses a type in Authentication.Services.
- The types involved
foodtruacker.Authentication.Repository.AuthenticationRepository→foodtruacker.Authentication.Services.ITokenService
- Direction
- Authentication.Repository uses Authentication.Services, so a change to Authentication.Services can break Authentication.Repository, while a change to Authentication.Repository can't break Authentication.Services.
- Position
- Below the diagonal: Authentication.Repository uses a module listed above it, which is the healthy direction.
23→13 Domain.BoundedContexts.TourPricingManagement.Aggregates uses SharedKernel✕
- Connections
- 2 pairs of types, where a type in Domain.BoundedContexts.TourPricingManagement.Aggregates uses a type in SharedKernel.
- The types involved
foodtruacker.Domain.BoundedContexts.TourPricingManagement.Aggregates.TourStopPricingModel→foodtruacker.SharedKernel.AggregateRootfoodtruacker.Domain.BoundedContexts.TourPricingManagement.Aggregates.TourStopPricingModel→foodtruacker.SharedKernel.IDomainEvent
- Direction
- Domain.BoundedContexts.TourPricingManagement.Aggregates uses SharedKernel, so a change to SharedKernel can break Domain.BoundedContexts.TourPricingManagement.Aggregates, while a change to Domain.BoundedContexts.TourPricingManagement.Aggregates can't break SharedKernel.
- Position
- Below the diagonal: Domain.BoundedContexts.TourPricingManagement.Aggregates uses a module listed above it, which is the healthy direction.
23→16 Domain.BoundedContexts.TourPricingManagement.Aggregates uses Domain.BoundedContexts.TourPricingManagement.Events✕
- Connections
- 1 pair of types, where a type in Domain.BoundedContexts.TourPricingManagement.Aggregates uses a type in Domain.BoundedContexts.TourPricingManagement.Events.
- The types involved
foodtruacker.Domain.BoundedContexts.TourPricingManagement.Aggregates.TourStopPricingModel→foodtruacker.Domain.BoundedContexts.TourPricingManagement.Events.TourStopPricingModelCreatedEvent
- Direction
- Domain.BoundedContexts.TourPricingManagement.Aggregates uses Domain.BoundedContexts.TourPricingManagement.Events, so a change to Domain.BoundedContexts.TourPricingManagement.Events can break Domain.BoundedContexts.TourPricingManagement.Aggregates, while a change to Domain.BoundedContexts.TourPricingManagement.Aggregates can't break Domain.BoundedContexts.TourPricingManagement.Events.
- Position
- Below the diagonal: Domain.BoundedContexts.TourPricingManagement.Aggregates uses a module listed above it, which is the healthy direction.
24→13 Domain.BoundedContexts.UserAccountManagement.Events uses SharedKernel✕
- Connections
- 8 pairs of types, where a type in Domain.BoundedContexts.UserAccountManagement.Events uses a type in SharedKernel.
- The types involved
foodtruacker.Domain.BoundedContexts.UserAccountManagement.Events.AdminAccountChangedEmailEvent→foodtruacker.SharedKernel.DomainEventfoodtruacker.Domain.BoundedContexts.UserAccountManagement.Events.AdminAccountChangedPasswordEvent→foodtruacker.SharedKernel.DomainEventfoodtruacker.Domain.BoundedContexts.UserAccountManagement.Events.AdminAccountCreatedEvent→foodtruacker.SharedKernel.DomainEventfoodtruacker.Domain.BoundedContexts.UserAccountManagement.Events.AdminAccountVerifiedEvent→foodtruacker.SharedKernel.DomainEventfoodtruacker.Domain.BoundedContexts.UserAccountManagement.Events.CustomerAccountChangedEmailEvent→foodtruacker.SharedKernel.DomainEventfoodtruacker.Domain.BoundedContexts.UserAccountManagement.Events.CustomerAccountChangedPasswordEvent→foodtruacker.SharedKernel.DomainEventfoodtruacker.Domain.BoundedContexts.UserAccountManagement.Events.CustomerAccountCreatedEvent→foodtruacker.SharedKernel.DomainEventfoodtruacker.Domain.BoundedContexts.UserAccountManagement.Events.CustomerAccountVerifiedEvent→foodtruacker.SharedKernel.DomainEvent
- Direction
- Domain.BoundedContexts.UserAccountManagement.Events uses SharedKernel, so a change to SharedKernel can break Domain.BoundedContexts.UserAccountManagement.Events, while a change to Domain.BoundedContexts.UserAccountManagement.Events can't break SharedKernel.
- Position
- Below the diagonal: Domain.BoundedContexts.UserAccountManagement.Events uses a module listed above it, which is the healthy direction.
24→19 Domain.BoundedContexts.UserAccountManagement.Events uses Domain.BoundedContexts.UserAccountManagement.ValueObjects✕
- Connections
- 16 pairs of types, where a type in Domain.BoundedContexts.UserAccountManagement.Events uses a type in Domain.BoundedContexts.UserAccountManagement.ValueObjects.
- The types involved
foodtruacker.Domain.BoundedContexts.UserAccountManagement.Events.AdminAccountChangedEmailEvent→foodtruacker.Domain.BoundedContexts.UserAccountManagement.ValueObjects.EmailAddressfoodtruacker.Domain.BoundedContexts.UserAccountManagement.Events.AdminAccountChangedEmailEvent→foodtruacker.Domain.BoundedContexts.UserAccountManagement.ValueObjects.UserFullNamefoodtruacker.Domain.BoundedContexts.UserAccountManagement.Events.AdminAccountChangedPasswordEvent→foodtruacker.Domain.BoundedContexts.UserAccountManagement.ValueObjects.HashedPasswordfoodtruacker.Domain.BoundedContexts.UserAccountManagement.Events.AdminAccountCreatedEvent→foodtruacker.Domain.BoundedContexts.UserAccountManagement.ValueObjects.EmailAddressfoodtruacker.Domain.BoundedContexts.UserAccountManagement.Events.AdminAccountCreatedEvent→foodtruacker.Domain.BoundedContexts.UserAccountManagement.ValueObjects.HashedPasswordfoodtruacker.Domain.BoundedContexts.UserAccountManagement.Events.AdminAccountCreatedEvent→foodtruacker.Domain.BoundedContexts.UserAccountManagement.ValueObjects.UserFullNamefoodtruacker.Domain.BoundedContexts.UserAccountManagement.Events.AdminAccountVerifiedEvent→foodtruacker.Domain.BoundedContexts.UserAccountManagement.ValueObjects.EmailAddressfoodtruacker.Domain.BoundedContexts.UserAccountManagement.Events.AdminAccountVerifiedEvent→foodtruacker.Domain.BoundedContexts.UserAccountManagement.ValueObjects.UserFullNamefoodtruacker.Domain.BoundedContexts.UserAccountManagement.Events.CustomerAccountChangedEmailEvent→foodtruacker.Domain.BoundedContexts.UserAccountManagement.ValueObjects.EmailAddressfoodtruacker.Domain.BoundedContexts.UserAccountManagement.Events.CustomerAccountChangedEmailEvent→foodtruacker.Domain.BoundedContexts.UserAccountManagement.ValueObjects.UserFullNamefoodtruacker.Domain.BoundedContexts.UserAccountManagement.Events.CustomerAccountChangedPasswordEvent→foodtruacker.Domain.BoundedContexts.UserAccountManagement.ValueObjects.HashedPasswordfoodtruacker.Domain.BoundedContexts.UserAccountManagement.Events.CustomerAccountCreatedEvent→foodtruacker.Domain.BoundedContexts.UserAccountManagement.ValueObjects.EmailAddressfoodtruacker.Domain.BoundedContexts.UserAccountManagement.Events.CustomerAccountCreatedEvent→foodtruacker.Domain.BoundedContexts.UserAccountManagement.ValueObjects.HashedPasswordfoodtruacker.Domain.BoundedContexts.UserAccountManagement.Events.CustomerAccountCreatedEvent→foodtruacker.Domain.BoundedContexts.UserAccountManagement.ValueObjects.UserFullNamefoodtruacker.Domain.BoundedContexts.UserAccountManagement.Events.CustomerAccountVerifiedEvent→foodtruacker.Domain.BoundedContexts.UserAccountManagement.ValueObjects.EmailAddressfoodtruacker.Domain.BoundedContexts.UserAccountManagement.Events.CustomerAccountVerifiedEvent→foodtruacker.Domain.BoundedContexts.UserAccountManagement.ValueObjects.UserFullName
- Direction
- Domain.BoundedContexts.UserAccountManagement.Events uses Domain.BoundedContexts.UserAccountManagement.ValueObjects, so a change to Domain.BoundedContexts.UserAccountManagement.ValueObjects can break Domain.BoundedContexts.UserAccountManagement.Events, while a change to Domain.BoundedContexts.UserAccountManagement.Events can't break Domain.BoundedContexts.UserAccountManagement.ValueObjects.
- Position
- Below the diagonal: Domain.BoundedContexts.UserAccountManagement.Events uses a module listed above it, which is the healthy direction.
25→20 EventSourcingRepository.Repository uses EventSourcingRepository.Client✕
- Connections
- 1 pair of types, where a type in EventSourcingRepository.Repository uses a type in EventSourcingRepository.Client.
- The types involved
foodtruacker.EventSourcingRepository.Repository.EventSourcingRepository→foodtruacker.EventSourcingRepository.Client.IEventSourcingClient
- Direction
- EventSourcingRepository.Repository uses EventSourcingRepository.Client, so a change to EventSourcingRepository.Client can break EventSourcingRepository.Repository, while a change to EventSourcingRepository.Repository can't break EventSourcingRepository.Client.
- Position
- Below the diagonal: EventSourcingRepository.Repository uses a module listed above it, which is the healthy direction.
26→22 foodtruacker uses Authentication.Repository✕
- Connections
- 1 pair of types, where a type in foodtruacker uses a type in Authentication.Repository.
- The types involved
foodtruacker.Startup→foodtruacker.Authentication.Repository.IdentityContext
- Direction
- foodtruacker uses Authentication.Repository, so a change to Authentication.Repository can break foodtruacker, while a change to foodtruacker can't break Authentication.Repository.
- Position
- Below the diagonal: foodtruacker uses a module listed above it, which is the healthy direction.
27→1 API.Controllers uses API.DTOs✕
- Connections
- 7 pairs of types, where a type in API.Controllers uses a type in API.DTOs.
- The types involved
foodtruacker.API.Controllers.AdministrationController→foodtruacker.API.DTOs.CreateAdminAccountDTOfoodtruacker.API.Controllers.AdministrationController→foodtruacker.API.DTOs.UpdateEmailAddressDTOfoodtruacker.API.Controllers.AdministrationController→foodtruacker.API.DTOs.UpdatePasswordDTOfoodtruacker.API.Controllers.AuthenticationController→foodtruacker.API.DTOs.LoginCredentialsDTOfoodtruacker.API.Controllers.CustomersController→foodtruacker.API.DTOs.CreateCustomerAccountDTOfoodtruacker.API.Controllers.CustomersController→foodtruacker.API.DTOs.UpdateEmailAddressDTOfoodtruacker.API.Controllers.CustomersController→foodtruacker.API.DTOs.UpdatePasswordDTO
- Direction
- API.Controllers uses API.DTOs, so a change to API.DTOs can break API.Controllers, while a change to API.Controllers can't break API.DTOs.
- Position
- Below the diagonal: API.Controllers uses a module listed above it, which is the healthy direction.
27→4 API.Controllers uses Application.Results✕
- Connections
- 1 pair of types, where a type in API.Controllers uses a type in Application.Results.
- The types involved
foodtruacker.API.Controllers.ApiController→foodtruacker.Application.Results.CommandResult
- Direction
- API.Controllers uses Application.Results, so a change to Application.Results can break API.Controllers, while a change to API.Controllers can't break Application.Results.
- Position
- Below the diagonal: API.Controllers uses a module listed above it, which is the healthy direction.
27→22 API.Controllers uses Authentication.Repository✕
- Connections
- 1 pair of types, where a type in API.Controllers uses a type in Authentication.Repository.
- The types involved
foodtruacker.API.Controllers.AuthenticationController→foodtruacker.Authentication.Repository.IAuthenticationRepository
- Direction
- API.Controllers uses Authentication.Repository, so a change to Authentication.Repository can break API.Controllers, while a change to API.Controllers can't break Authentication.Repository.
- Position
- Below the diagonal: API.Controllers uses a module listed above it, which is the healthy direction.
28→5 API.Extensions uses Authentication.Configuration✕
- Connections
- 2 pairs of types, where a type in API.Extensions uses a type in Authentication.Configuration.
- The types involved
foodtruacker.API.Extensions.AuthServicesExtensions→foodtruacker.Authentication.Configuration.JwtSettingsfoodtruacker.API.Extensions.IdentityMySqlServiceExtensions→foodtruacker.Authentication.Configuration.MySqlSettings
- Direction
- API.Extensions uses Authentication.Configuration, so a change to Authentication.Configuration can break API.Extensions, while a change to API.Extensions can't break Authentication.Configuration.
- Position
- Below the diagonal: API.Extensions uses a module listed above it, which is the healthy direction.
28→10 API.Extensions uses EventSourcingRepository.Configuration✕
- Connections
- 1 pair of types, where a type in API.Extensions uses a type in EventSourcingRepository.Configuration.
- The types involved
foodtruacker.API.Extensions.EventStoreDbServiceExtensions→foodtruacker.EventSourcingRepository.Configuration.EventStoreDbSettings
- Direction
- API.Extensions uses EventSourcingRepository.Configuration, so a change to EventSourcingRepository.Configuration can break API.Extensions, while a change to API.Extensions can't break EventSourcingRepository.Configuration.
- Position
- Below the diagonal: API.Extensions uses a module listed above it, which is the healthy direction.
28→11 API.Extensions uses QueryRepository.Configuration✕
- Connections
- 1 pair of types, where a type in API.Extensions uses a type in QueryRepository.Configuration.
- The types involved
foodtruacker.API.Extensions.MongoDbServiceExtensions→foodtruacker.QueryRepository.Configuration.MongoDbSettings
- Direction
- API.Extensions uses QueryRepository.Configuration, so a change to QueryRepository.Configuration can break API.Extensions, while a change to API.Extensions can't break QueryRepository.Configuration.
- Position
- Below the diagonal: API.Extensions uses a module listed above it, which is the healthy direction.
28→22 API.Extensions uses Authentication.Repository✕
- Connections
- 1 pair of types, where a type in API.Extensions uses a type in Authentication.Repository.
- The types involved
foodtruacker.API.Extensions.IdentityMySqlServiceExtensions→foodtruacker.Authentication.Repository.IdentityContext
- Direction
- API.Extensions uses Authentication.Repository, so a change to Authentication.Repository can break API.Extensions, while a change to API.Extensions can't break Authentication.Repository.
- Position
- Below the diagonal: API.Extensions uses a module listed above it, which is the healthy direction.
29→4 Application.BoundedContexts.TourPricingManagement.Commands uses Application.Results✕
- Connections
- 1 pair of types, where a type in Application.BoundedContexts.TourPricingManagement.Commands uses a type in Application.Results.
- The types involved
foodtruacker.Application.BoundedContexts.TourPricingManagement.Commands.TourStopPricingModelCreateCommandHandler→foodtruacker.Application.Results.CommandResult
- Direction
- Application.BoundedContexts.TourPricingManagement.Commands uses Application.Results, so a change to Application.Results can break Application.BoundedContexts.TourPricingManagement.Commands, while a change to Application.BoundedContexts.TourPricingManagement.Commands can't break Application.Results.
- Position
- Below the diagonal: Application.BoundedContexts.TourPricingManagement.Commands uses a module listed above it, which is the healthy direction.
29→23 Application.BoundedContexts.TourPricingManagement.Commands uses Domain.BoundedContexts.TourPricingManagement.Aggregates✕
- Connections
- 1 pair of types, where a type in Application.BoundedContexts.TourPricingManagement.Commands uses a type in Domain.BoundedContexts.TourPricingManagement.Aggregates.
- The types involved
foodtruacker.Application.BoundedContexts.TourPricingManagement.Commands.TourStopPricingModelCreateCommandHandler→foodtruacker.Domain.BoundedContexts.TourPricingManagement.Aggregates.TourStopPricingModel
- Direction
- Application.BoundedContexts.TourPricingManagement.Commands uses Domain.BoundedContexts.TourPricingManagement.Aggregates, so a change to Domain.BoundedContexts.TourPricingManagement.Aggregates can break Application.BoundedContexts.TourPricingManagement.Commands, while a change to Application.BoundedContexts.TourPricingManagement.Commands can't break Domain.BoundedContexts.TourPricingManagement.Aggregates.
- Position
- Below the diagonal: Application.BoundedContexts.TourPricingManagement.Commands uses a module listed above it, which is the healthy direction.
29→25 Application.BoundedContexts.TourPricingManagement.Commands uses EventSourcingRepository.Repository✕
- Connections
- 1 pair of types, where a type in Application.BoundedContexts.TourPricingManagement.Commands uses a type in EventSourcingRepository.Repository.
- The types involved
foodtruacker.Application.BoundedContexts.TourPricingManagement.Commands.TourStopPricingModelCreateCommandHandler→foodtruacker.EventSourcingRepository.Repository.IEventSourcingRepository
- Direction
- Application.BoundedContexts.TourPricingManagement.Commands uses EventSourcingRepository.Repository, so a change to EventSourcingRepository.Repository can break Application.BoundedContexts.TourPricingManagement.Commands, while a change to Application.BoundedContexts.TourPricingManagement.Commands can't break EventSourcingRepository.Repository.
- Position
- Below the diagonal: Application.BoundedContexts.TourPricingManagement.Commands uses a module listed above it, which is the healthy direction.
30→9 Application.BoundedContexts.UserAccountManagement.EventHandlers uses EmailService.Services✕
- Connections
- 1 pair of types, where a type in Application.BoundedContexts.UserAccountManagement.EventHandlers uses a type in EmailService.Services.
- The types involved
foodtruacker.Application.BoundedContexts.UserAccountManagement.EventHandlers.UserAccountSendEmailVerificationToken→foodtruacker.EmailService.Services.IEmailService
- Direction
- Application.BoundedContexts.UserAccountManagement.EventHandlers uses EmailService.Services, so a change to EmailService.Services can break Application.BoundedContexts.UserAccountManagement.EventHandlers, while a change to Application.BoundedContexts.UserAccountManagement.EventHandlers can't break EmailService.Services.
- Position
- Below the diagonal: Application.BoundedContexts.UserAccountManagement.EventHandlers uses a module listed above it, which is the healthy direction.
30→22 Application.BoundedContexts.UserAccountManagement.EventHandlers uses Authentication.Repository✕
- Connections
- 1 pair of types, where a type in Application.BoundedContexts.UserAccountManagement.EventHandlers uses a type in Authentication.Repository.
- The types involved
foodtruacker.Application.BoundedContexts.UserAccountManagement.EventHandlers.UserAccountSendEmailVerificationToken→foodtruacker.Authentication.Repository.IAuthenticationRepository
- Direction
- Application.BoundedContexts.UserAccountManagement.EventHandlers uses Authentication.Repository, so a change to Authentication.Repository can break Application.BoundedContexts.UserAccountManagement.EventHandlers, while a change to Application.BoundedContexts.UserAccountManagement.EventHandlers can't break Authentication.Repository.
- Position
- Below the diagonal: Application.BoundedContexts.UserAccountManagement.EventHandlers uses a module listed above it, which is the healthy direction.
30→24 Application.BoundedContexts.UserAccountManagement.EventHandlers uses Domain.BoundedContexts.UserAccountManagement.Events✕
- Connections
- 4 pairs of types, where a type in Application.BoundedContexts.UserAccountManagement.EventHandlers uses a type in Domain.BoundedContexts.UserAccountManagement.Events.
- The types involved
foodtruacker.Application.BoundedContexts.UserAccountManagement.EventHandlers.UserAccountSendEmailVerificationToken→foodtruacker.Domain.BoundedContexts.UserAccountManagement.Events.AdminAccountChangedEmailEventfoodtruacker.Application.BoundedContexts.UserAccountManagement.EventHandlers.UserAccountSendEmailVerificationToken→foodtruacker.Domain.BoundedContexts.UserAccountManagement.Events.AdminAccountCreatedEventfoodtruacker.Application.BoundedContexts.UserAccountManagement.EventHandlers.UserAccountSendEmailVerificationToken→foodtruacker.Domain.BoundedContexts.UserAccountManagement.Events.CustomerAccountChangedEmailEventfoodtruacker.Application.BoundedContexts.UserAccountManagement.EventHandlers.UserAccountSendEmailVerificationToken→foodtruacker.Domain.BoundedContexts.UserAccountManagement.Events.CustomerAccountCreatedEvent
- Direction
- Application.BoundedContexts.UserAccountManagement.EventHandlers uses Domain.BoundedContexts.UserAccountManagement.Events, so a change to Domain.BoundedContexts.UserAccountManagement.Events can break Application.BoundedContexts.UserAccountManagement.EventHandlers, while a change to Application.BoundedContexts.UserAccountManagement.EventHandlers can't break Domain.BoundedContexts.UserAccountManagement.Events.
- Position
- Below the diagonal: Application.BoundedContexts.UserAccountManagement.EventHandlers uses a module listed above it, which is the healthy direction.
31→12 Application.BoundedContexts.UserAccountManagement.Projections uses QueryRepository.Repository✕
- Connections
- 6 pairs of types, where a type in Application.BoundedContexts.UserAccountManagement.Projections uses a type in QueryRepository.Repository.
- The types involved
foodtruacker.Application.BoundedContexts.UserAccountManagement.Projections.AdminAccountChangedEmailProjection→foodtruacker.QueryRepository.Repository.IProjectionRepositoryfoodtruacker.Application.BoundedContexts.UserAccountManagement.Projections.AdminAccountChangedPasswordProjection→foodtruacker.QueryRepository.Repository.IProjectionRepositoryfoodtruacker.Application.BoundedContexts.UserAccountManagement.Projections.AdminAccountVerifiedProjection→foodtruacker.QueryRepository.Repository.IProjectionRepositoryfoodtruacker.Application.BoundedContexts.UserAccountManagement.Projections.CustomerAccountChangedEmailProjection→foodtruacker.QueryRepository.Repository.IProjectionRepositoryfoodtruacker.Application.BoundedContexts.UserAccountManagement.Projections.CustomerAccountChangedPasswordProjection→foodtruacker.QueryRepository.Repository.IProjectionRepositoryfoodtruacker.Application.BoundedContexts.UserAccountManagement.Projections.CustomerAccountVerifiedProjection→foodtruacker.QueryRepository.Repository.IProjectionRepository
- Direction
- Application.BoundedContexts.UserAccountManagement.Projections uses QueryRepository.Repository, so a change to QueryRepository.Repository can break Application.BoundedContexts.UserAccountManagement.Projections, while a change to Application.BoundedContexts.UserAccountManagement.Projections can't break QueryRepository.Repository.
- Position
- Below the diagonal: Application.BoundedContexts.UserAccountManagement.Projections uses a module listed above it, which is the healthy direction.
31→14 Application.BoundedContexts.UserAccountManagement.Projections uses Application.BoundedContexts.UserAccountManagement.QueryObjects✕
- Connections
- 6 pairs of types, where a type in Application.BoundedContexts.UserAccountManagement.Projections uses a type in Application.BoundedContexts.UserAccountManagement.QueryObjects.
- The types involved
foodtruacker.Application.BoundedContexts.UserAccountManagement.Projections.AdminAccountChangedEmailProjection→foodtruacker.Application.BoundedContexts.UserAccountManagement.QueryObjects.AdminInfofoodtruacker.Application.BoundedContexts.UserAccountManagement.Projections.AdminAccountChangedPasswordProjection→foodtruacker.Application.BoundedContexts.UserAccountManagement.QueryObjects.AdminInfofoodtruacker.Application.BoundedContexts.UserAccountManagement.Projections.AdminAccountVerifiedProjection→foodtruacker.Application.BoundedContexts.UserAccountManagement.QueryObjects.AdminInfofoodtruacker.Application.BoundedContexts.UserAccountManagement.Projections.CustomerAccountChangedEmailProjection→foodtruacker.Application.BoundedContexts.UserAccountManagement.QueryObjects.CustomerInfofoodtruacker.Application.BoundedContexts.UserAccountManagement.Projections.CustomerAccountChangedPasswordProjection→foodtruacker.Application.BoundedContexts.UserAccountManagement.QueryObjects.CustomerInfofoodtruacker.Application.BoundedContexts.UserAccountManagement.Projections.CustomerAccountVerifiedProjection→foodtruacker.Application.BoundedContexts.UserAccountManagement.QueryObjects.CustomerInfo
- Direction
- Application.BoundedContexts.UserAccountManagement.Projections uses Application.BoundedContexts.UserAccountManagement.QueryObjects, so a change to Application.BoundedContexts.UserAccountManagement.QueryObjects can break Application.BoundedContexts.UserAccountManagement.Projections, while a change to Application.BoundedContexts.UserAccountManagement.Projections can't break Application.BoundedContexts.UserAccountManagement.QueryObjects.
- Position
- Below the diagonal: Application.BoundedContexts.UserAccountManagement.Projections uses a module listed above it, which is the healthy direction.
31→22 Application.BoundedContexts.UserAccountManagement.Projections uses Authentication.Repository✕
- Connections
- 3 pairs of types, where a type in Application.BoundedContexts.UserAccountManagement.Projections uses a type in Authentication.Repository.
- The types involved
foodtruacker.Application.BoundedContexts.UserAccountManagement.Projections.AdminAccountChangedPasswordProjection→foodtruacker.Authentication.Repository.IAuthenticationRepositoryfoodtruacker.Application.BoundedContexts.UserAccountManagement.Projections.CustomerAccountChangedPasswordProjection→foodtruacker.Authentication.Repository.IAuthenticationRepositoryfoodtruacker.Application.BoundedContexts.UserAccountManagement.Projections.UserAccountCreatedProjection→foodtruacker.Authentication.Repository.IAuthenticationRepository
- Direction
- Application.BoundedContexts.UserAccountManagement.Projections uses Authentication.Repository, so a change to Authentication.Repository can break Application.BoundedContexts.UserAccountManagement.Projections, while a change to Application.BoundedContexts.UserAccountManagement.Projections can't break Authentication.Repository.
- Position
- Below the diagonal: Application.BoundedContexts.UserAccountManagement.Projections uses a module listed above it, which is the healthy direction.
31→24 Application.BoundedContexts.UserAccountManagement.Projections uses Domain.BoundedContexts.UserAccountManagement.Events✕
- Connections
- 8 pairs of types, where a type in Application.BoundedContexts.UserAccountManagement.Projections uses a type in Domain.BoundedContexts.UserAccountManagement.Events.
- The types involved
foodtruacker.Application.BoundedContexts.UserAccountManagement.Projections.AdminAccountChangedEmailProjection→foodtruacker.Domain.BoundedContexts.UserAccountManagement.Events.AdminAccountChangedEmailEventfoodtruacker.Application.BoundedContexts.UserAccountManagement.Projections.AdminAccountChangedPasswordProjection→foodtruacker.Domain.BoundedContexts.UserAccountManagement.Events.AdminAccountChangedPasswordEventfoodtruacker.Application.BoundedContexts.UserAccountManagement.Projections.AdminAccountVerifiedProjection→foodtruacker.Domain.BoundedContexts.UserAccountManagement.Events.AdminAccountVerifiedEventfoodtruacker.Application.BoundedContexts.UserAccountManagement.Projections.CustomerAccountChangedEmailProjection→foodtruacker.Domain.BoundedContexts.UserAccountManagement.Events.CustomerAccountChangedEmailEventfoodtruacker.Application.BoundedContexts.UserAccountManagement.Projections.CustomerAccountChangedPasswordProjection→foodtruacker.Domain.BoundedContexts.UserAccountManagement.Events.CustomerAccountChangedPasswordEventfoodtruacker.Application.BoundedContexts.UserAccountManagement.Projections.CustomerAccountVerifiedProjection→foodtruacker.Domain.BoundedContexts.UserAccountManagement.Events.CustomerAccountVerifiedEventfoodtruacker.Application.BoundedContexts.UserAccountManagement.Projections.UserAccountCreatedProjection→foodtruacker.Domain.BoundedContexts.UserAccountManagement.Events.AdminAccountCreatedEventfoodtruacker.Application.BoundedContexts.UserAccountManagement.Projections.UserAccountCreatedProjection→foodtruacker.Domain.BoundedContexts.UserAccountManagement.Events.CustomerAccountCreatedEvent
- Direction
- Application.BoundedContexts.UserAccountManagement.Projections uses Domain.BoundedContexts.UserAccountManagement.Events, so a change to Domain.BoundedContexts.UserAccountManagement.Events can break Application.BoundedContexts.UserAccountManagement.Projections, while a change to Application.BoundedContexts.UserAccountManagement.Projections can't break Domain.BoundedContexts.UserAccountManagement.Events.
- Position
- Below the diagonal: Application.BoundedContexts.UserAccountManagement.Projections uses a module listed above it, which is the healthy direction.
32→13 Domain.BoundedContexts.UserAccountManagement.Aggregates uses SharedKernel✕
- Connections
- 4 pairs of types, where a type in Domain.BoundedContexts.UserAccountManagement.Aggregates uses a type in SharedKernel.
- The types involved
foodtruacker.Domain.BoundedContexts.UserAccountManagement.Aggregates.Admin→foodtruacker.SharedKernel.AggregateRootfoodtruacker.Domain.BoundedContexts.UserAccountManagement.Aggregates.Admin→foodtruacker.SharedKernel.IDomainEventfoodtruacker.Domain.BoundedContexts.UserAccountManagement.Aggregates.Customer→foodtruacker.SharedKernel.AggregateRootfoodtruacker.Domain.BoundedContexts.UserAccountManagement.Aggregates.Customer→foodtruacker.SharedKernel.IDomainEvent
- Direction
- Domain.BoundedContexts.UserAccountManagement.Aggregates uses SharedKernel, so a change to SharedKernel can break Domain.BoundedContexts.UserAccountManagement.Aggregates, while a change to Domain.BoundedContexts.UserAccountManagement.Aggregates can't break SharedKernel.
- Position
- Below the diagonal: Domain.BoundedContexts.UserAccountManagement.Aggregates uses a module listed above it, which is the healthy direction.
32→19 Domain.BoundedContexts.UserAccountManagement.Aggregates uses Domain.BoundedContexts.UserAccountManagement.ValueObjects✕
- Connections
- 6 pairs of types, where a type in Domain.BoundedContexts.UserAccountManagement.Aggregates uses a type in Domain.BoundedContexts.UserAccountManagement.ValueObjects.
- The types involved
foodtruacker.Domain.BoundedContexts.UserAccountManagement.Aggregates.Admin→foodtruacker.Domain.BoundedContexts.UserAccountManagement.ValueObjects.EmailAddressfoodtruacker.Domain.BoundedContexts.UserAccountManagement.Aggregates.Admin→foodtruacker.Domain.BoundedContexts.UserAccountManagement.ValueObjects.HashedPasswordfoodtruacker.Domain.BoundedContexts.UserAccountManagement.Aggregates.Admin→foodtruacker.Domain.BoundedContexts.UserAccountManagement.ValueObjects.UserFullNamefoodtruacker.Domain.BoundedContexts.UserAccountManagement.Aggregates.Customer→foodtruacker.Domain.BoundedContexts.UserAccountManagement.ValueObjects.EmailAddressfoodtruacker.Domain.BoundedContexts.UserAccountManagement.Aggregates.Customer→foodtruacker.Domain.BoundedContexts.UserAccountManagement.ValueObjects.HashedPasswordfoodtruacker.Domain.BoundedContexts.UserAccountManagement.Aggregates.Customer→foodtruacker.Domain.BoundedContexts.UserAccountManagement.ValueObjects.UserFullName
- Direction
- Domain.BoundedContexts.UserAccountManagement.Aggregates uses Domain.BoundedContexts.UserAccountManagement.ValueObjects, so a change to Domain.BoundedContexts.UserAccountManagement.ValueObjects can break Domain.BoundedContexts.UserAccountManagement.Aggregates, while a change to Domain.BoundedContexts.UserAccountManagement.Aggregates can't break Domain.BoundedContexts.UserAccountManagement.ValueObjects.
- Position
- Below the diagonal: Domain.BoundedContexts.UserAccountManagement.Aggregates uses a module listed above it, which is the healthy direction.
32→24 Domain.BoundedContexts.UserAccountManagement.Aggregates uses Domain.BoundedContexts.UserAccountManagement.Events✕
- Connections
- 8 pairs of types, where a type in Domain.BoundedContexts.UserAccountManagement.Aggregates uses a type in Domain.BoundedContexts.UserAccountManagement.Events.
- The types involved
foodtruacker.Domain.BoundedContexts.UserAccountManagement.Aggregates.Admin→foodtruacker.Domain.BoundedContexts.UserAccountManagement.Events.AdminAccountChangedEmailEventfoodtruacker.Domain.BoundedContexts.UserAccountManagement.Aggregates.Admin→foodtruacker.Domain.BoundedContexts.UserAccountManagement.Events.AdminAccountChangedPasswordEventfoodtruacker.Domain.BoundedContexts.UserAccountManagement.Aggregates.Admin→foodtruacker.Domain.BoundedContexts.UserAccountManagement.Events.AdminAccountCreatedEventfoodtruacker.Domain.BoundedContexts.UserAccountManagement.Aggregates.Admin→foodtruacker.Domain.BoundedContexts.UserAccountManagement.Events.AdminAccountVerifiedEventfoodtruacker.Domain.BoundedContexts.UserAccountManagement.Aggregates.Customer→foodtruacker.Domain.BoundedContexts.UserAccountManagement.Events.CustomerAccountChangedEmailEventfoodtruacker.Domain.BoundedContexts.UserAccountManagement.Aggregates.Customer→foodtruacker.Domain.BoundedContexts.UserAccountManagement.Events.CustomerAccountChangedPasswordEventfoodtruacker.Domain.BoundedContexts.UserAccountManagement.Aggregates.Customer→foodtruacker.Domain.BoundedContexts.UserAccountManagement.Events.CustomerAccountCreatedEventfoodtruacker.Domain.BoundedContexts.UserAccountManagement.Aggregates.Customer→foodtruacker.Domain.BoundedContexts.UserAccountManagement.Events.CustomerAccountVerifiedEvent
- Direction
- Domain.BoundedContexts.UserAccountManagement.Aggregates uses Domain.BoundedContexts.UserAccountManagement.Events, so a change to Domain.BoundedContexts.UserAccountManagement.Events can break Domain.BoundedContexts.UserAccountManagement.Aggregates, while a change to Domain.BoundedContexts.UserAccountManagement.Aggregates can't break Domain.BoundedContexts.UserAccountManagement.Events.
- Position
- Below the diagonal: Domain.BoundedContexts.UserAccountManagement.Aggregates uses a module listed above it, which is the healthy direction.
33→4 Application.BoundedContexts.UserAccountManagement.Commands uses Application.Results✕
- Connections
- 8 pairs of types, where a type in Application.BoundedContexts.UserAccountManagement.Commands uses a type in Application.Results.
- The types involved
foodtruacker.Application.BoundedContexts.UserAccountManagement.Commands.AdminAccountChangeEmailCommandHandler→foodtruacker.Application.Results.CommandResultfoodtruacker.Application.BoundedContexts.UserAccountManagement.Commands.AdminAccountChangePasswordCommandHandler→foodtruacker.Application.Results.CommandResultfoodtruacker.Application.BoundedContexts.UserAccountManagement.Commands.AdminAccountCreateCommandHandler→foodtruacker.Application.Results.CommandResultfoodtruacker.Application.BoundedContexts.UserAccountManagement.Commands.AdminAccountVerifyCommandHandler→foodtruacker.Application.Results.CommandResultfoodtruacker.Application.BoundedContexts.UserAccountManagement.Commands.CustomerAccountChangeEmailCommandHandler→foodtruacker.Application.Results.CommandResultfoodtruacker.Application.BoundedContexts.UserAccountManagement.Commands.CustomerAccountChangePasswordCommandHandler→foodtruacker.Application.Results.CommandResultfoodtruacker.Application.BoundedContexts.UserAccountManagement.Commands.CustomerAccountCreateCommandHandler→foodtruacker.Application.Results.CommandResultfoodtruacker.Application.BoundedContexts.UserAccountManagement.Commands.CustomerAccountVerifyCommandHandler→foodtruacker.Application.Results.CommandResult
- Direction
- Application.BoundedContexts.UserAccountManagement.Commands uses Application.Results, so a change to Application.Results can break Application.BoundedContexts.UserAccountManagement.Commands, while a change to Application.BoundedContexts.UserAccountManagement.Commands can't break Application.Results.
- Position
- Below the diagonal: Application.BoundedContexts.UserAccountManagement.Commands uses a module listed above it, which is the healthy direction.
33→22 Application.BoundedContexts.UserAccountManagement.Commands uses Authentication.Repository✕
- Connections
- 6 pairs of types, where a type in Application.BoundedContexts.UserAccountManagement.Commands uses a type in Authentication.Repository.
- The types involved
foodtruacker.Application.BoundedContexts.UserAccountManagement.Commands.AdminAccountChangeEmailCommandHandler→foodtruacker.Authentication.Repository.IAuthenticationRepositoryfoodtruacker.Application.BoundedContexts.UserAccountManagement.Commands.AdminAccountChangePasswordCommandHandler→foodtruacker.Authentication.Repository.IAuthenticationRepositoryfoodtruacker.Application.BoundedContexts.UserAccountManagement.Commands.AdminAccountCreateCommandHandler→foodtruacker.Authentication.Repository.IAuthenticationRepositoryfoodtruacker.Application.BoundedContexts.UserAccountManagement.Commands.CustomerAccountChangeEmailCommandHandler→foodtruacker.Authentication.Repository.IAuthenticationRepositoryfoodtruacker.Application.BoundedContexts.UserAccountManagement.Commands.CustomerAccountChangePasswordCommandHandler→foodtruacker.Authentication.Repository.IAuthenticationRepositoryfoodtruacker.Application.BoundedContexts.UserAccountManagement.Commands.CustomerAccountCreateCommandHandler→foodtruacker.Authentication.Repository.IAuthenticationRepository
- Direction
- Application.BoundedContexts.UserAccountManagement.Commands uses Authentication.Repository, so a change to Authentication.Repository can break Application.BoundedContexts.UserAccountManagement.Commands, while a change to Application.BoundedContexts.UserAccountManagement.Commands can't break Authentication.Repository.
- Position
- Below the diagonal: Application.BoundedContexts.UserAccountManagement.Commands uses a module listed above it, which is the healthy direction.
33→25 Application.BoundedContexts.UserAccountManagement.Commands uses EventSourcingRepository.Repository✕
- Connections
- 8 pairs of types, where a type in Application.BoundedContexts.UserAccountManagement.Commands uses a type in EventSourcingRepository.Repository.
- The types involved
foodtruacker.Application.BoundedContexts.UserAccountManagement.Commands.AdminAccountChangeEmailCommandHandler→foodtruacker.EventSourcingRepository.Repository.IEventSourcingRepositoryfoodtruacker.Application.BoundedContexts.UserAccountManagement.Commands.AdminAccountChangePasswordCommandHandler→foodtruacker.EventSourcingRepository.Repository.IEventSourcingRepositoryfoodtruacker.Application.BoundedContexts.UserAccountManagement.Commands.AdminAccountCreateCommandHandler→foodtruacker.EventSourcingRepository.Repository.IEventSourcingRepositoryfoodtruacker.Application.BoundedContexts.UserAccountManagement.Commands.AdminAccountVerifyCommandHandler→foodtruacker.EventSourcingRepository.Repository.IEventSourcingRepositoryfoodtruacker.Application.BoundedContexts.UserAccountManagement.Commands.CustomerAccountChangeEmailCommandHandler→foodtruacker.EventSourcingRepository.Repository.IEventSourcingRepositoryfoodtruacker.Application.BoundedContexts.UserAccountManagement.Commands.CustomerAccountChangePasswordCommandHandler→foodtruacker.EventSourcingRepository.Repository.IEventSourcingRepositoryfoodtruacker.Application.BoundedContexts.UserAccountManagement.Commands.CustomerAccountCreateCommandHandler→foodtruacker.EventSourcingRepository.Repository.IEventSourcingRepositoryfoodtruacker.Application.BoundedContexts.UserAccountManagement.Commands.CustomerAccountVerifyCommandHandler→foodtruacker.EventSourcingRepository.Repository.IEventSourcingRepository
- Direction
- Application.BoundedContexts.UserAccountManagement.Commands uses EventSourcingRepository.Repository, so a change to EventSourcingRepository.Repository can break Application.BoundedContexts.UserAccountManagement.Commands, while a change to Application.BoundedContexts.UserAccountManagement.Commands can't break EventSourcingRepository.Repository.
- Position
- Below the diagonal: Application.BoundedContexts.UserAccountManagement.Commands uses a module listed above it, which is the healthy direction.
33→32 Application.BoundedContexts.UserAccountManagement.Commands uses Domain.BoundedContexts.UserAccountManagement.Aggregates✕
- Connections
- 8 pairs of types, where a type in Application.BoundedContexts.UserAccountManagement.Commands uses a type in Domain.BoundedContexts.UserAccountManagement.Aggregates.
- The types involved
foodtruacker.Application.BoundedContexts.UserAccountManagement.Commands.AdminAccountChangeEmailCommandHandler→foodtruacker.Domain.BoundedContexts.UserAccountManagement.Aggregates.Adminfoodtruacker.Application.BoundedContexts.UserAccountManagement.Commands.AdminAccountChangePasswordCommandHandler→foodtruacker.Domain.BoundedContexts.UserAccountManagement.Aggregates.Adminfoodtruacker.Application.BoundedContexts.UserAccountManagement.Commands.AdminAccountCreateCommandHandler→foodtruacker.Domain.BoundedContexts.UserAccountManagement.Aggregates.Adminfoodtruacker.Application.BoundedContexts.UserAccountManagement.Commands.AdminAccountVerifyCommandHandler→foodtruacker.Domain.BoundedContexts.UserAccountManagement.Aggregates.Adminfoodtruacker.Application.BoundedContexts.UserAccountManagement.Commands.CustomerAccountChangeEmailCommandHandler→foodtruacker.Domain.BoundedContexts.UserAccountManagement.Aggregates.Customerfoodtruacker.Application.BoundedContexts.UserAccountManagement.Commands.CustomerAccountChangePasswordCommandHandler→foodtruacker.Domain.BoundedContexts.UserAccountManagement.Aggregates.Customerfoodtruacker.Application.BoundedContexts.UserAccountManagement.Commands.CustomerAccountCreateCommandHandler→foodtruacker.Domain.BoundedContexts.UserAccountManagement.Aggregates.Customerfoodtruacker.Application.BoundedContexts.UserAccountManagement.Commands.CustomerAccountVerifyCommandHandler→foodtruacker.Domain.BoundedContexts.UserAccountManagement.Aggregates.Customer
- Direction
- Application.BoundedContexts.UserAccountManagement.Commands uses Domain.BoundedContexts.UserAccountManagement.Aggregates, so a change to Domain.BoundedContexts.UserAccountManagement.Aggregates can break Application.BoundedContexts.UserAccountManagement.Commands, while a change to Application.BoundedContexts.UserAccountManagement.Commands can't break Domain.BoundedContexts.UserAccountManagement.Aggregates.
- Position
- Below the diagonal: Application.BoundedContexts.UserAccountManagement.Commands 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 — Event Sourcing
At a glance — Performance
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A02:2025 — Security Misconfiguration | 9 | High / Critical |
| A07:2025 — Authentication Failures | 2 | High / Critical |
| A03:2025 — Software Supply Chain Failures | 2 | High / Critical |
Roadmap
First, address the missing test coverage in Test Distribution and remove the leaked secret from REDACTED to secure the codebase. Next, update the three outdated and two deprecated dependencies, prioritizing changes in the API and acceptance test projects. Finally, implement a CI workflow to automatically build and run tests on every push or pull request to prevent future regressions.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 1 No tests found finding(s) in Test Distribution. | +13.9 pts | Low | Test Distribution |
| Resolve the 1 Leaked secret finding(s) in Secret Scanning — start with REDACTED. | +11.3 pts | Low | Secret Scanning |
| Resolve the 3 Outdated finding(s) in Dependency Hygiene — start with foodtruacker.API.csproj (2), REDACTED. | +7.2 pts | Low | Dependency Hygiene |
| Resolve the 2 Deprecated finding(s) in Dependency Hygiene — start with REDACTED, foodtruacker.EmailService.csproj. | +4.8 pts | Low | Dependency Hygiene |
| Add a CI workflow that builds and runs the test suite on every push/PR. | +4.7 pts | Medium | CI/CD gates |
| Codify backups + geo-recovery in IaC and document RTO/RPO and the restore procedure — a persistence guard alone is not disaster recovery. | +4.7 pts | Medium | DR & Backup |
| Resolve the 1 No ADRs found finding(s) in ADR Quality. | +0.9 pts | Low | ADR Quality |
| Resolve the 19 Low coverage finding(s) in Code Coverage — start with DomainEvent.cs, ValueObject.cs, TourStopPricingModelCreatedEvent.cs. | +1.6 pts | Medium | Code Coverage |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 1.3 | Slop | IaC & Container Security: High IaC: REDACTED |
| REDACTED | 3.1 | Slop | Dependency Vulnerabilities: High CVE: REDACTED |
| REDACTED | 3.7 | Slop | IaC & Container Security: High IaC: REDACTED |
| REDACTED | 4.4 | Mixed | Secret Scanning: Leaked secret: REDACTED |
| foodtruacker.Framework/Authentication/Repository/IAuthenticationRepository.cs | 6.9 | Mixed | Explicit Debt: Dead code: GenerateChangeEmailValidationToken |
| foodtruacker.SharedKernel/ValueObject.cs | 7.8 | Mixed | Code Coverage: Low coverage: foodtruacker.SharedKernel/ValueObject.cs |
| foodtruacker.Framework/API/foodtruacker.API.csproj | 7.8 | Mixed | Code Coverage: No test project references foodtruacker.API |
| foodtruacker.SharedKernel/foodtruacker.SharedKernel.csproj | 7.9 | Mixed | Platform End-of-Life: End-of-life runtime: .NET net9.0 |
| foodtruacker.Domain/BoundedContexts/UserAccountManagement/Aggregates/Customer.cs | 8.2 | Near-clean | Explicit Debt: TodoComment |
| foodtruacker.Framework/EmailService/Services/DemoEmailService.cs | 8.2 | Near-clean | Explicit Debt: TodoComment |
| foodtruacker.Domain/BoundedContexts/TourPricingManagement/Exceptions/PricingModelNotFound.cs | 8.2 | Near-clean | Explicit Debt: Dead code: PricingModelNotFound |
| foodtruacker.Domain/BoundedContexts/UserAccountManagement/ValueObjects/EmailAddress.cs | 8.2 | Near-clean | Explicit Debt: Dead code: ConfirmIsEqual |
| foodtruacker.Framework/QueryRepository/Repository/IProjectionRepository.cs | 8.2 | Near-clean | Explicit Debt: Dead code: DeleteAsync |
| foodtruacker.AcceptanceTests/BoundedContexts/UserAccountManagement/When_changing_an_admins_email_address.cs | 8.2 | Near-clean | Explicit Debt: Dead code: When_changing_an_admins_email_address |
| foodtruacker.AcceptanceTests/BoundedContexts/UserAccountManagement/When_changing_an_admins_password.cs | 8.2 | Near-clean | Explicit Debt: Dead code: When_changing_an_admins_password |
| foodtruacker.AcceptanceTests/BoundedContexts/UserAccountManagement/When_changing_a_customers_email_address.cs | 8.2 | Near-clean | Explicit Debt: Dead code: When_changing_a_customers_email_address |
| foodtruacker.AcceptanceTests/BoundedContexts/UserAccountManagement/When_changing_a_customers_password.cs | 8.2 | Near-clean | Explicit Debt: Dead code: When_changing_a_customers_password |
| foodtruacker.AcceptanceTests/BoundedContexts/UserAccountManagement/When_registering_a_new_admin.cs | 8.2 | Near-clean | Explicit Debt: Dead code: When_registering_a_new_admin |
| foodtruacker.AcceptanceTests/BoundedContexts/UserAccountManagement/When_registering_a_new_customer.cs | 8.2 | Near-clean | Explicit Debt: Dead code: When_registering_a_new_Customer |
| foodtruacker.AcceptanceTests/BoundedContexts/UserAccountManagement/When_verifying_an_admin.cs | 8.2 | Near-clean | Explicit Debt: Dead code: When_verifying_an_admin |
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. 92 of 97 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 — 97 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, 116 of 164 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
- D15 Churn × Complexity Hotspots — measured, with a gap in what it reached — 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. Git history depth insufficient — this repository has 16 commit(s), too few for a reliable trend signal. The clone is complete, so there is no deeper history to fetch: the signal returns as the project accumulates history.
- D16 Bus Factor — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. Too few commits for a meaningful bus factor (16 commit(s) sampled, fewer than the 50 this dimension needs before a bus factor means anything).
- 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.
- D34 Knowledge Freshness — 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. Too few commits to judge knowledge freshness (16 commit(s) sampled).
- D35 Change Coupling — measured, with a gap in what it reached — 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. Git history depth insufficient — this repository has 16 commit(s), too few for a reliable change-coupling signal. The clone is complete, so there is no deeper history to fetch: the signal returns as the project accumulates history.
- 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 DockerCompose (REDACTED). compose up failed (exit 18 — an image could not be pulled) — foodtruacker-mysql-db Pulling foodtruacker-eventstore-db Pulling foodtruacker-mongo-db Pulling foodtruacker-eventstore-db Error Get "https://registry-1.docker.io/v2/": Forbidden foodtruacker-mysql-db Error Get "https://registry-1.docker.io/v2/": Forbidden foodtruacker-mongo-db Error context canceled Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the earlier `compose pull` step reported: foodtruacker-eventstore-db Pulling foodtruacker-mysql-db Pulling foodtruacker-mongo-db Pulling foodtruacker-eventstore-db Error Get "https://registry-1.docker.io/v2/": Forbidden foodtruacker-mysql-db Error Get "https://registry-1.docker.io/v2/": Forbidden foodtruacker-mongo-db Error context canceled Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the runtime sandbox reaches registries only through the in-fence pull-through mirror, so an image the mirror does not carry cannot be fetched — this is a limit of our sandbox, not of your stack; runtime evidence skipped.
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.
- 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 Secret Scanning: Secret detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
- D14 License Compliance: License compatibility is checked against declared package metadata and a policy — mislabelled or missing license metadata, and obligations that depend on how you distribute, are not resolved here.
- D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
- D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual — undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (scaffolded migrations, designer/codegen output, generated stubs) is excluded — it is never the team's dead code to delete.
- D18 Solution Shape: Build integrity reflects whether the solution compiled in this environment — a build that needs a private feed, a specific SDK, or a generated file absent from the repo can read as broken when it is merely unreproducible here.
- D19 Documentation Quality: Documentation quality is judged by an LLM over a bounded sample of docs — it reads what is written, not whether the docs match the running system, and it is advisory, not a measurement. Its critique rows are drawn from a closed category vocabulary and each row means the same thing in every run, so two scans can be compared row by row; the SET that fires is still a sample, and does not repeat exactly. Measured on one frozen input, six scans at one engine SHA: 2-5 critique rows per scan, 8 distinct rows across the six, 3 of those 8 seen in only one scan. So a D19 row is evidence about the documentation, but a COUNT of D19 rows is not a quantity — never read a change in it as an improvement or a regression.
- 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.
- D23 Boundary Type-Coupling: Boundary leakage is detected from type references across detected contexts — leaks that flow through primitives, serialization or shared infrastructure may not surface as a typed reference.
- 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.
- D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
- D44 Platform End-of-Life: The support table is FROZEN, so it goes out of date by losing RECALL: a release that ended support after the table was written is missed until the table is refreshed, and this dimension reading 10 is not evidence that a platform is current. Only platforms the repository DECLARES in a place this pass reads are seen — a runtime named only in a 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.
The LLM boundary
Dimensions
D1 · Cyclomatic Complexity
0 method(s) exceeded the cyclomatic complexity threshold of 15.
D2 · Cognitive Complexity
0 method(s) exceeded the cognitive complexity threshold of 15.
D3 · God Classes
0 god class(es) detected.
D4 · Code Duplication
3 duplicated block group(s) detected.
What to do
- Resolve the 1 Duplicated block (21 lines × 2) finding(s) in Code Duplication — start with AdminAccountChangePasswordCommand.cs. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Duplicated block (15 lines × 2) finding(s) in Code Duplication — start with AdminAccountChangeEmailCommand.cs. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Duplicated block (16 lines × 2) finding(s) in Code Duplication — start with AdminAccountCreateCommand.cs. — One of this dimension's main actionable groups (1 warning-level).
- Stand up a CI pipeline, then gate Code Duplication in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D5 · Coupling
9 projects, 0 dependency cycle(s), 0 unstable depended-on project(s).
D6 · Cohesion (LCOM4)
0 of 12 classes have LCOM4 above 3.
D8 · Code Coverage
Line coverage 52.9% — 19 file(s) below 50% · 1 method(s) over the CRAP-30 risk line.
What to do
- Resolve the 19 Low coverage finding(s) in Code Coverage — start with DomainEvent.cs, ValueObject.cs, TourStopPricingModelCreatedEvent.cs. — One of this dimension's main actionable groups (19 warning-level).
- Resolve the 1 No test project references foodtruacker.API finding(s) in Code Coverage — start with foodtruacker.API.csproj. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 CRAP 30 finding(s) in Code Coverage — start with ValueObject.cs. — One of this dimension's main actionable groups (1 warning-level).
- Stand up a CI pipeline, then gate Code Coverage in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D9 · Test Distribution
No test suite found.
What to do
- Resolve the 1 No tests found finding(s) in Test Distribution. — One of this dimension's main actionable groups (1 recommendation-level).
D11 · Test Reliability
0 flaky across 1 measured tier(s). unit: measured (0 flaky).
D12 · Dependency Hygiene
35 outdated, 0 vulnerable, 2 deprecated packages.
What to do
- Resolve the 3 Outdated finding(s) in Dependency Hygiene — start with foodtruacker.API.csproj (2), REDACTED. — One of this dimension's main actionable groups (3 recommendation-level).
- Resolve the 2 Deprecated finding(s) in Dependency Hygiene — start with REDACTED, foodtruacker.EmailService.csproj. — One of this dimension's main actionable groups (2 warning-level).
- Stand up a CI pipeline, then gate Dependency Hygiene in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D13 · Secret Scanning
1 secret(s) detected.
What to do
- Resolve the 1 Leaked secret finding(s) in Secret Scanning — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
- Stand up a CI pipeline, then gate Secret Scanning in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D14 · License Compliance
0 of 302 packages use a banned license. ★ DEPTH: this repository's MSBuild projects declare 35 direct `PackageReference`(s), and 202 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.
D17 · Explicit Debt
2 deducted debt markers + 14 dead symbols across 3106 LoC in the .NET projects (0.7/KLoC) → score 8.6.
What to do
- Resolve the 14 Dead code finding(s) in Explicit Debt — start with IAuthenticationRepository.cs (3), PricingModelNotFound.cs, EmailAddress.cs. — One of this dimension's main actionable groups (14 warning-level).
- Resolve the 2 TodoComment finding(s) in Explicit Debt — start with Customer.cs, DemoEmailService.cs. — One of this dimension's main actionable groups (2 warning-level).
- Stand up a CI pipeline, then gate Explicit Debt in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D18 · Solution Shape
9 projects, 116 source files, 3570 hand-written lines of code (3106 production / 464 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 640 generated (machine-written code — designer, scaffolded and tool-emitted files — excluded from quality), 14 inter-project edges.
D19 · Documentation Quality
The repository's root README is a strong overview of the project (what it implements and its motivation) plus an outline of features. It begins with a fictional business case as background but never explains what each feature does or how to use them; the document is thin on concrete usage examples for the listed components, leaving readers unable to run the code without further guidance. The README itself is not a deploy tier (it is the root level), so its overview and features are acceptable, but it lacks installation/build/usage content for the actual packages.
What to do
- Improve Documentation Quality — currently 4.0/10. — The repository's root README is a strong overview of the project (what it implements and its motivation) plus an outline of features. It begins with a fictional business case as background but never explains what each feature does or how to use them; the document is thin on concrete usage examples for the listed components, leaving readers unable to run the code without further guidance. The README itself is not a deploy tier (it is the root level), so its overview and features are acceptable, but it lacks installation/build/usage content for the actual packages.
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
1 naming inconsistencies across 200 sampled symbols.
D23 · Boundary Type-Coupling
No domain types leak across context boundaries (5 contexts).
D24 · Comment Value
0 valuable / 4 redundant across 5 sampled comments; 4 shown with locations.
What to do
- Resolve the 4 redundant comment finding(s) in Comment Value — start with IdentityMySqlServiceExtensions.cs (3), Startup.cs. — One of this dimension's main actionable groups (4 recommendation-level).
D26 · Project Cohesion
0 of 9 projects flagged as possibly oversized/incoherent.
D27 · Navigability
98 % of calls cross a namespace and 9 % 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)
1 finding(s): 0 critical, 1 high, 0 medium, 0 low.
What to do
- Resolve the 1 High secret finding(s) in Secrets (history) — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
D29 · Static Analysis (SAST)
semgrep found no security issues.
D30 · Dependency Vulnerabilities
2 finding(s): 0 critical, 1 high, 1 medium, 0 low.
What to do
- Resolve the 1 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED. — One of this dimension's main actionable groups (1 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
9 finding(s): 0 critical, 5 high, 3 medium, 1 low.
What to do
- Resolve the 5 High IaC finding(s) in IaC & Container Security — start with REDACTED (3), REDACTED (2). — One of this dimension's main actionable groups (5 issue-level).
- Resolve the 3 Medium IaC finding(s) in IaC & Container Security — start with REDACTED (2), REDACTED. — One of this dimension's main actionable groups (3 warning-level).
- Resolve the 1 Low IaC finding(s) in IaC & Container Security — start with REDACTED. — One of this dimension's main actionable groups (1 recommendation-level).
D35 · Change Coupling
No strong hidden change-coupling between production files.
D39 · IL Efficiency
0 of 258 first-party methods have an oversized IL body.
D44 · Platform End-of-Life
1 end-of-life runtime(s) and 0 end-of-life framework(s), read from 9 platform declaration(s) and 0 dependency declaration(s). This dimension reads what the repository says about ITSELF — a pinned target framework, a version file, a capped requires-python, a Rust toolchain pin, a framework major a constraint cannot move off. A FLOOR is deliberately never charged: `requires-python = ">=3.8"` states what the package SUPPORTS, not what it runs on, and a well-maintained library declares exactly that while running its own CI on a current release. The end-of-life facts are FROZEN and dated, so this dimension needs no network and answers identically inside a closed scan fence; as the table ages it loses recall and never precision, because a statement about support that ended in the past cannot become false. The OS layer of a container image is D31's question and the toolchain a CI workflow installs is D29's; this row is neither.
What to do
- Resolve the 1 End-of-life runtime finding(s) in Platform End-of-Life — start with foodtruacker.SharedKernel.csproj. — One of this dimension's main actionable groups (1 warning-level).
Frontend & cross-cutting dimensions
AX1 · Captive dependencies
AX10 · Code composition
AX3 · Project dependency cycles
AX5 · Architecture & structure
AX6 · Interface segregation
AX8 · Test isolation
AX9 · CQS / query purity
C1 · Data Protection
What to do
- Strengthen data-at-rest protection: vault your keys (Azure Key Vault / AWS KMS / IDataProtector key ring) and encrypt the most sensitive columns (EF HasConversion encryption or provider-native column encryption) — partial coverage still leaves gaps.
C2 · Access Controls
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
DM10 · One transaction, one aggregate
DM11 · Constructible invalid state
DM12 · Ambient inputs in the domain
DM2 · Strongly-typed ids
- `AggregateRoot.AggregateId` 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. — foodtruacker.SharedKernel/AggregateRoot.cs:10
- `DomainEvent.EventId` 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. — foodtruacker.SharedKernel/DomainEvent.cs:7
- `DomainEvent.AggregateId` 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. — foodtruacker.SharedKernel/DomainEvent.cs:8
What to do
- Adopt strongly-typed ids across the domain — finish the migration or document the boundary; primitive ids invite transposed-argument bugs.
DM4 · Rich vs anemic model
DM5 · Encapsulated state
DM6 · Domain ↔ infrastructure boundary
DM8 · Value-object opportunities
DM9 · Scattered domain decisions
ED1 · Handler temporal coupling
ED2 · Event/command shape
ED3 · Event naming
ED4 · Outbox / dual-write
ED5 · Idempotency
- `Commands.TourStopPricingModelCreateCommandHandler.Handle` mutates persistent state (a database save) 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. — foodtruacker.Application/BoundedContexts/TourPricingManagement/Commands/TourStopPricingModelCreateCommand.cs:26
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.
ES1 · Fold determinism
ES2 · Immutable events
- This persisted event exposes settable member(s) (AggregateVersion) — an event is an immutable historical fact. A public setter lets stored history be rewritten after the fact. Use `{ get; init; }` (records) or readonly fields. (×2) — foodtruacker.SharedKernel/DomainEvent.cs:5, foodtruacker.SharedKernel/IDomainEvent.cs:5
What to do
- Make every event type immutable: records with init-only properties, or classes with readonly fields set only in the constructor.
ES3 · PII in the event store
- Persisted event carries personal data (Email) — no crypto-shredding strategy covers it, so it collides with the GDPR right-to-erasure. (×6) — foodtruacker.Domain/BoundedContexts/UserAccountManagement/Events/AdminAccountChangedEmailEvent.cs:7, foodtruacker.Domain/BoundedContexts/UserAccountManagement/Events/AdminAccountCreatedEvent.cs:7, foodtruacker.Domain/BoundedContexts/UserAccountManagement/Events/AdminAccountVerifiedEvent.cs:7, …
What to do
- Adopt crypto-shredding (store PII encrypted with a per-subject key you can throw away) or keep PII out of events and reference it by id so erasure stays possible.
GD1 · Unfinished & placeholder code
IC1 · Incompleteness & stubs
M1 · Documentation (README)
What to do
- Explain in the README how to run the tests. Add a section called Testing to the README in the repository's top folder, saying how to run the test suite.
- Add a README to the 9 of 9 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'.
- Tests aren't grouped in a dedicated test folder — the test surface isn't separable from production code at a glance.
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.
- Group tests in the folder your build system expects (tests/, test/, spec/, or your module's test source set) so the test surface is discoverable and CI can scope it.
M4 · Documentation accuracy
- README advertises a microservices architecture, but the repo is a single project with no service manifests — searched for: `microservice`, `service-mesh`, `istio`. Each was matched case- and separator-insensitively against file and directory NAMES anywhere in the tree, and against the CONTENTS of manifest and configuration files (package.json and other *.json, *.csproj, *.props, *.sln/*.slnx, *.yml, *.toml, *.config, tool configs such as eslint.config.js, REDACTED); the README's own prose never counts, so a claim is never refuted by merely being made. Nothing outside that search was read — a footprint living only in a submodule, in a file type not listed here, or under a name none of those terms matches is not seen, and this row is then wrong. — README.md:293
- README.md names .NET 5, but the projects target .NET 9. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — README.md:263
What to do
- Reconcile the README with reality: README advertises a microservices architecture, but the repo is a single project with no service manifests; README.md names .NET 5, but the projects target .NET 9.
P1 · CI/CD gates
- No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, …) — changes aren't gated by an automated build/test.
What to do
- Add a CI workflow that builds and runs the test suite on every push/PR.
P2 · Observability
What to do
- Consider OpenTelemetry tracing/metrics and a health-check endpoint for operability.
P3 · Security & performance tooling
- No static application security testing detected. For this repository's stack, add CodeQL's csharp pack, or a .NET security analyzer package (or `semgrep --config=auto`, which runs on any language) — this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge's web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen — if that is your case the row is wrong, and saying so is more useful than adding a second scanner.
What to do
- Run what this repository's stack ships: CodeQL's csharp pack, or a .NET security analyzer package — or `semgrep --config=auto`, which runs on any language — locally for now, since there is no CI pipeline here yet, and as a step of the first workflow you add so a security regression fails the build instead of landing.
- Enable Dependabot/Renovate or a dependency-review gate.
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P4 · Deployment & Rollback
- Deployment is orchestrated by compose, but no service declares a `healthcheck:` and nothing pins a previous image to fall back to — the runtime can tell that the container is up, not that it is serving, so a bad release is harder to detect and reverse.
What to do
- Add a `healthcheck:` to the served compose service — probing the endpoint it already answers on where it has one — with `depends_on: condition: service_healthy` on whatever waits for it, and keep the deployed image tag immutable and recorded so rolling back is re-pointing at the previous tag rather than rebuilding.
- Add an approval/environment gate (required reviewers / protection rules) before production promotion.
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.
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
- `admin.Password != command.CurrentPassword` checks a password against the stored one in plaintext, so the store holds the password itself and whoever reads it holds every account. Store a salted KDF hash (PBKDF2/scrypt/Argon2/bcrypt) and verify by deriving again. — foodtruacker.Application/BoundedContexts/UserAccountManagement/Commands/AdminAccountChangePasswordCommand.cs:43
- `customer.Password != command.CurrentPassword` checks a password against the stored one in plaintext, so the store holds the password itself and whoever reads it holds every account. Store a salted KDF hash (PBKDF2/scrypt/Argon2/bcrypt) and verify by deriving again. — foodtruacker.Application/BoundedContexts/UserAccountManagement/Commands/CustomerAccountChangePasswordCommand.cs:43
- `RequireHttpsMetadata = false` allows the OIDC discovery doc to be fetched over plain HTTP. Safe for loopback-only fetches (Aspire / on-host); risky for any other path. — foodtruacker.Framework/API/Extensions/AuthServicesExtensions.cs:28
- 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. — foodtruacker.Framework/API/Program.cs:33
What to do
- Store passwords with a salted KDF — `Microsoft.AspNetCore.Identity.PasswordHasher<T>`, `Rfc2898DeriveBytes` (PBKDF2), or BCrypt/Argon2 — and compare with `CryptographicOperations.FixedTimeEquals`. (A fast/plain hash, or a client-hashed value stored and compared verbatim, is not password storage.) Start in `foodtruacker.Application/BoundedContexts/UserAccountManagement/Commands/AdminAccountChangePasswordCommand.cs:43`.
- Set RequireHttpsMetadata = true in prod (or pin MetadataAddress to a localhost URL the API can hit directly).
- 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
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
X19 · Unrestored process-global state
X2 · Cancellation propagation
- Only 26/48 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. (×21) — foodtruacker.Framework/API/Controllers/AdministrationController.cs:27, foodtruacker.Framework/API/Controllers/AdministrationController.cs:48, foodtruacker.Framework/API/Controllers/AdministrationController.cs:62, …
- 1 async method(s) await work their caller's cancellation cannot reach: a CancellationToken they hold (a parameter, or the one a framework-fixed signature carries) is never passed on, or the call is handed CancellationToken.None, default or an already-cancelled token. Forward the caller's token to that call.
- Its signature is fixed by the framework, and the token it carries (`httpContext.RequestAborted`) reaches none of the calls here that take one — so an aborted request or a stopping host still waits for that work. Pass `httpContext.RequestAborted` to them. — foodtruacker.Framework/API/Middleware/ExceptionMiddleware.cs:20
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
X30 · Support guard that admits what it rejects
X32 · Type resolved by simple name across every loaded assembly
X4 · Structured logging
- Logging an interpolated string (`$"..."`) collapses the event to plain text — you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: `LogInformation("User {UserId} did {Action}", id, action)`. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template+args overload that forwards to the underlying logger, then migrate call sites to it. (×5) — foodtruacker.Framework/API/Middleware/ExceptionMiddleware.cs:28, foodtruacker.Application/Pipelines/AppMetricsBehaviour.cs:25, foodtruacker.Application/Pipelines/LoggingBehaviour.cs:22, …
What to do
- Interpolated log message defeats structured logging
X5 · Nullable reference types
- 0/8 NRT-eligible project(s) enable <Nullable>enable</Nullable> (projects targeting a pre-C#-8 framework are excluded — NRTs aren't available there). NRTs catch a whole class of null-deref bugs at compile time.
What to do
- Enable <Nullable>enable</Nullable> across all projects and resolve warnings rather than suppressing with `!`.
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 55% | Adequate — gated by X4, X5 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Architecture | 89% | Strong | Solid. |
| Maturity | 63% | Adequate | Acceptable, with room to improve. |
| Readiness | 25% | Critical — gated by D9, P1, P3, P5 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 57% | Adequate | Acceptable, with room to improve. |
| Domain Modelling | 81% | Adequate — gated by DM2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Event-Driven | 100% | Exemplary | Strongest area. |
| Event Sourcing | 55% | Adequate — gated by ES3 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Performance | 100% | Exemplary | Solid. |
Unscored — 1 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.
Not evidenced — 3 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.
- P6 Release Hygiene — not evidenced — no changelog, version stamp or semver release tag in the repo
Not included — 35 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.
- AX2 Stateful singletons — no singleton implementations detected
- AX4 Dependency direction — not applicable to a CQRS architecture (the inward-dependency rule is for layered/clean styles)
- 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 — compose up failed (exit 18 — an image could not be pulled) — foodtruacker-mysql-db Pulling foodtruacker-eventstore-db Pulling foodtruacker-mongo-db Pulling foodtruacker-eventstore-db Error Get "https://registry-1.docker.io/v2/": Forbidden foodtruacker-mysql-db Error Get "https://registry-1.docker.io/v2/": Forbidden foodtruacker-mongo-db Error context canceled Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the earlier `compose pull` step reported: foodtruacker-eventstore-db Pulling foodtruacker-mysql-db Pulling foodtruacker-mongo-db Pulling foodtruacker-eventstore-db Error Get "https://registry-1.docker.io/v2/": Forbidden foodtruacker-mysql-db Error Get "https://registry-1.docker.io/v2/": Forbidden foodtruacker-mongo-db Error context canceled Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the runtime sandbox reaches registries only through the in-fence pull-through mirror, so an image the mirror does not carry cannot be fetched — this is a limit of our sandbox, not of your stack; runtime evidence skipped 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.
- D10 Test Quality — ~460 lines of test code exist on disk but weren't loaded from the analyzed solution (excluded from the .sln, or co-located/using a test attribute not loaded here), so test quality couldn't be assessed. Include the tests in the analyzed solution to enable this check.
- D16 Bus Factor — too few commits for a meaningful bus factor
- D22 Internal API Consistency — No intentionally-exposed public API to evaluate for consistency.
- 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.
- D34 Knowledge Freshness — too few commits to judge knowledge freshness
- D36 Supply-chain Provenance & Signing — No CI/build pipeline found (.github/.forgejo/.gitea workflows, .circleci, .buildkite, .woodpecker, .teamcity, .gitlab-ci.yml, .travis.yml, bitbucket-pipelines.yml, .drone.yml, .cirrus.yml, .woodpecker.yml, appveyor.yml, azure-pipelines*.yml, .pipelines/, .vsts-ci/, .azuredevops/, Jenkinsfile); there is no build to attest provenance for.
- D37 Vulnerability-disclosure Policy — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
- D40 Network Egress Confinement — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
- D41 Kernel & Syscall Confinement — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
- D42 Runtime Threat Enforcement — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
- D43 Malicious Dependencies — Not scored — no dependency manifest in a supported ecosystem was read for this repository. A gap in the analyzer's language coverage, NOT a finding that the repository is free of vulnerable dependencies (a Python pyproject.toml/requirements.txt (pip/uv/Poetry), a Swift Package.swift/Package.resolved, a Cargo manifest, a Go module (go.mod/go.sum), a Gradle version catalogue, a Maven POM, an sbt build (build.sbt), composer.json, package.json, a Dart pubspec.yaml, an Elixir mix.exs/mix.lock (Hex), a rebar.config / erlang.mk DEPS (Hex), a Ruby Gemfile/Gemfile.lock or .gemspec (Bundler/RubyGems) — not scanned yet).
- D7 Architectural Integrity — no checkable ADRs and no dependency cycles — architectural integrity not assessed
- DM3 Integration-event coupling — no integration events detected — coupling check not applicable
- DM7 Repository granularity — no repository abstraction detected (e.g. uses a document session)
- P12 CI test-gate honesty — no CI workflow found
- P7 Outbound HTTP resilience — no outbound HTTP usage detected — no HttpClient/IHttpClientFactory/AddHttpClient in source, and no Refit/RestSharp/Flurl.Http namespace or package reference
- 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.
- X10 Duplicated predicate — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- 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 — 12 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Mutable event: DomainEvent foodtruacker.SharedKernel/DomainEvent.cs:5
- Mutable event: IDomainEvent foodtruacker.SharedKernel/IDomainEvent.cs:5
- Password hashing without a KDF foodtruacker.Application/BoundedContexts/UserAccountManagement/Commands/AdminAccountChangePasswordCommand.cs:43
- Password hashing without a KDF foodtruacker.Application/BoundedContexts/UserAccountManagement/Commands/CustomerAccountChangePasswordCommand.cs:43
- REDACTED
- REDACTED
- REDACTED
Serious — 79 finding(s)
- Async method without CancellationToken: RegisterAdmin foodtruacker.Framework/API/Controllers/AdministrationController.cs:27
- Async method without CancellationToken: GetAdminInfo foodtruacker.Framework/API/Controllers/AdministrationController.cs:48
- Async method without CancellationToken: ChangeEmail foodtruacker.Framework/API/Controllers/AdministrationController.cs:62
- Async method without CancellationToken: ChangePassword foodtruacker.Framework/API/Controllers/AdministrationController.cs:81
- Async method without CancellationToken: VerifyEmailAddress foodtruacker.Framework/API/Controllers/AuthenticationController.cs:29
- Async method without CancellationToken: Login foodtruacker.Framework/API/Controllers/AuthenticationController.cs:61
- Async method without CancellationToken: GetAllCustomersInfo foodtruacker.Framework/API/Controllers/CustomersController.cs:28
- Async method without CancellationToken: GetCustomerInfo foodtruacker.Framework/API/Controllers/CustomersController.cs:42
- Async method without CancellationToken: RegisterCustomer foodtruacker.Framework/API/Controllers/CustomersController.cs:56
- Async method without CancellationToken: ChangeEmail foodtruacker.Framework/API/Controllers/CustomersController.cs:77
- Async method without CancellationToken: ChangePassword foodtruacker.Framework/API/Controllers/CustomersController.cs:97
- Async method without CancellationToken: FindAllAsync foodtruacker.Framework/QueryRepository/Repository/MongoDbRepository.cs:20
- Async method without CancellationToken: FindAllAsync foodtruacker.Framework/QueryRepository/Repository/MongoDbRepository.cs:27
- Async method without CancellationToken: FindByIdAsync foodtruacker.Framework/QueryRepository/Repository/MongoDbRepository.cs:34
- Async method without CancellationToken: InsertAsync foodtruacker.Framework/QueryRepository/Repository/MongoDbRepository.cs:43
- Async method without CancellationToken: UpdateAsync foodtruacker.Framework/QueryRepository/Repository/MongoDbRepository.cs:56
- Async method without CancellationToken: DeleteAsync foodtruacker.Framework/QueryRepository/Repository/MongoDbRepository.cs:74
- Async method without CancellationToken: AppendEventAsync foodtruacker.Framework/EventsourcingRepository/Client/EventStoreDbClient.cs:20
- Async method without CancellationToken: ReadEventsAsync foodtruacker.Framework/EventsourcingRepository/Client/EventStoreDbClient.cs:34
- Async method without CancellationToken: FindByIdAsync foodtruacker.Framework/EventsourcingRepository/Repository/EventSourcingRepository.cs:21
- Async method without CancellationToken: SaveAsync foodtruacker.Framework/EventsourcingRepository/Repository/EventSourcingRepository.cs:35
- Low coverage: foodtruacker.SharedKernel/DomainEvent.cs foodtruacker.SharedKernel/DomainEvent.cs:1
- Low coverage: foodtruacker.SharedKernel/ValueObject.cs foodtruacker.SharedKernel/ValueObject.cs:1
- Low coverage: foodtruacker.Domain/BoundedContexts/TourPricingManagement/Events/TourStopPricingModelCreatedEvent.cs foodtruacker.Domain/BoundedContexts/TourPricingManagement/Events/TourStopPricingModelCreatedEvent.cs:1
- Low coverage: foodtruacker.Domain/BoundedContexts/TourPricingManagement/Aggregates/TourStopPricingModel.cs foodtruacker.Domain/BoundedContexts/TourPricingManagement/Aggregates/TourStopPricingModel.cs:1
- Low coverage: foodtruacker.Application/Results/CommandResult.cs foodtruacker.Application/Results/CommandResult.cs:1
- Low coverage: foodtruacker.Application/Pipelines/AppMetricsBehaviour.cs foodtruacker.Application/Pipelines/AppMetricsBehaviour.cs:1
- Low coverage: foodtruacker.Application/Pipelines/LoggingBehaviour.cs foodtruacker.Application/Pipelines/LoggingBehaviour.cs:1
- Low coverage: foodtruacker.Application/BoundedContexts/UserAccountManagement/Queries/GetAdminInfoQuery.cs foodtruacker.Application/BoundedContexts/UserAccountManagement/Queries/GetAdminInfoQuery.cs:1
- Low coverage: foodtruacker.Application/BoundedContexts/UserAccountManagement/Queries/GetAllCustomerInfosQuery.cs foodtruacker.Application/BoundedContexts/UserAccountManagement/Queries/GetAllCustomerInfosQuery.cs:1
- Low coverage: foodtruacker.Application/BoundedContexts/UserAccountManagement/Queries/GetCustomerInfoQuery.cs foodtruacker.Application/BoundedContexts/UserAccountManagement/Queries/GetCustomerInfoQuery.cs:1
- Low coverage: foodtruacker.Application/BoundedContexts/UserAccountManagement/Projections/AdminAccountChangedEmailProjection.cs foodtruacker.Application/BoundedContexts/UserAccountManagement/Projections/AdminAccountChangedEmailProjection.cs:1
- Low coverage: foodtruacker.Application/BoundedContexts/UserAccountManagement/Projections/AdminAccountChangedPasswordProjection.cs foodtruacker.Application/BoundedContexts/UserAccountManagement/Projections/AdminAccountChangedPasswordProjection.cs:1
- Low coverage: foodtruacker.Application/BoundedContexts/UserAccountManagement/Projections/AdminAccountVerifiedProjection.cs foodtruacker.Application/BoundedContexts/UserAccountManagement/Projections/AdminAccountVerifiedProjection.cs:1
- Low coverage: foodtruacker.Application/BoundedContexts/UserAccountManagement/Projections/CustomerAccountChangedEmailProjection.cs foodtruacker.Application/BoundedContexts/UserAccountManagement/Projections/CustomerAccountChangedEmailProjection.cs:1
- Low coverage: foodtruacker.Application/BoundedContexts/UserAccountManagement/Projections/CustomerAccountChangedPasswordProjection.cs foodtruacker.Application/BoundedContexts/UserAccountManagement/Projections/CustomerAccountChangedPasswordProjection.cs:1
- Low coverage: foodtruacker.Application/BoundedContexts/UserAccountManagement/Projections/CustomerAccountVerifiedProjection.cs foodtruacker.Application/BoundedContexts/UserAccountManagement/Projections/CustomerAccountVerifiedProjection.cs:1
- Low coverage: foodtruacker.Application/BoundedContexts/UserAccountManagement/Projections/UserAccountCreatedProjection.cs foodtruacker.Application/BoundedContexts/UserAccountManagement/Projections/UserAccountCreatedProjection.cs:1
- Low coverage: foodtruacker.Application/BoundedContexts/UserAccountManagement/EventHandlers/UserAccountSendEmailVerificationToken.cs foodtruacker.Application/BoundedContexts/UserAccountManagement/EventHandlers/UserAccountSendEmailVerificationToken.cs:1
- Low coverage: foodtruacker.Application/BoundedContexts/TourPricingManagement/Commands/TourStopPricingModelCreateCommand.cs foodtruacker.Application/BoundedContexts/TourPricingManagement/Commands/TourStopPricingModelCreateCommand.cs:1
- Dead code: PricingModelNotFound foodtruacker.Domain/BoundedContexts/TourPricingManagement/Exceptions/PricingModelNotFound.cs:5
- Dead code: ConfirmIsEqual foodtruacker.Domain/BoundedContexts/UserAccountManagement/ValueObjects/EmailAddress.cs:33
- Dead code: DeleteAsync foodtruacker.Framework/QueryRepository/Repository/IProjectionRepository.cs:10
- Dead code: When_changing_an_admins_email_address foodtruacker.AcceptanceTests/BoundedContexts/UserAccountManagement/When_changing_an_admins_email_address.cs:16
- Dead code: When_changing_an_admins_password foodtruacker.AcceptanceTests/BoundedContexts/UserAccountManagement/When_changing_an_admins_password.cs:16
- Dead code: When_changing_a_customers_email_address foodtruacker.AcceptanceTests/BoundedContexts/UserAccountManagement/When_changing_a_customers_email_address.cs:16
- Dead code: When_changing_a_customers_password foodtruacker.AcceptanceTests/BoundedContexts/UserAccountManagement/When_changing_a_customers_password.cs:16
- Dead code: When_registering_a_new_admin foodtruacker.AcceptanceTests/BoundedContexts/UserAccountManagement/When_registering_a_new_admin.cs:15
- Dead code: When_registering_a_new_Customer foodtruacker.AcceptanceTests/BoundedContexts/UserAccountManagement/When_registering_a_new_customer.cs:15
- Dead code: When_verifying_an_admin foodtruacker.AcceptanceTests/BoundedContexts/UserAccountManagement/When_verifying_an_admin.cs:16
- Dead code: When_verifying_a_customer foodtruacker.AcceptanceTests/BoundedContexts/UserAccountManagement/When_verifying_a_customer.cs:16
- Dead code: GenerateChangeEmailValidationToken foodtruacker.Framework/Authentication/Repository/IAuthenticationRepository.cs:12
- Dead code: UserExists foodtruacker.Framework/Authentication/Repository/IAuthenticationRepository.cs:18
- Dead code: IsCurrentPassword foodtruacker.Framework/Authentication/Repository/IAuthenticationRepository.cs:20
- PII in event: AdminAccountChangedEmailEvent foodtruacker.Domain/BoundedContexts/UserAccountManagement/Events/AdminAccountChangedEmailEvent.cs:7
- PII in event: AdminAccountCreatedEvent foodtruacker.Domain/BoundedContexts/UserAccountManagement/Events/AdminAccountCreatedEvent.cs:7
- PII in event: AdminAccountVerifiedEvent foodtruacker.Domain/BoundedContexts/UserAccountManagement/Events/AdminAccountVerifiedEvent.cs:7
- PII in event: CustomerAccountChangedEmailEvent foodtruacker.Domain/BoundedContexts/UserAccountManagement/Events/CustomerAccountChangedEmailEvent.cs:7
- PII in event: CustomerAccountCreatedEvent foodtruacker.Domain/BoundedContexts/UserAccountManagement/Events/CustomerAccountCreatedEvent.cs:7
- PII in event: CustomerAccountVerifiedEvent foodtruacker.Domain/BoundedContexts/UserAccountManagement/Events/CustomerAccountVerifiedEvent.cs:7
- REDACTED
- REDACTED
- REDACTED
- Deprecated: xunit REDACTED:37
- Deprecated: Microsoft.AspNetCore.Http.Abstractions foodtruacker.Framework/EmailService/foodtruacker.EmailService.csproj:8
- TodoComment foodtruacker.Domain/BoundedContexts/UserAccountManagement/Aggregates/Customer.cs:22
- TodoComment foodtruacker.Framework/EmailService/Services/DemoEmailService.cs:25
- REDACTED
- Duplicated block (21 lines × 2) foodtruacker.Application/BoundedContexts/UserAccountManagement/Commands/AdminAccountChangePasswordCommand.cs:38
- Duplicated block (15 lines × 2) foodtruacker.Application/BoundedContexts/UserAccountManagement/Commands/AdminAccountChangeEmailCommand.cs:39
- Duplicated block (16 lines × 2) foodtruacker.Application/BoundedContexts/UserAccountManagement/Commands/AdminAccountCreateCommand.cs:42
- End-of-life runtime: .NET net9.0 foodtruacker.SharedKernel/foodtruacker.SharedKernel.csproj:4
- No test project references foodtruacker.API foodtruacker.Framework/API/foodtruacker.API.csproj
- CRAP 30: ValueObject.OperatorDeclaration foodtruacker.SharedKernel/ValueObject.cs:29
- Non-idempotent mutation: Commands.TourStopPricingModelCreateCommandHandler.Handle foodtruacker.Application/BoundedContexts/TourPricingManagement/Commands/TourStopPricingModelCreateCommand.cs:26
- No CI pipeline
- No DR/backup evidence
- NuGet dependencies are not locked
- Async method drops its ambient CancellationToken: InvokeAsync foodtruacker.Framework/API/Middleware/ExceptionMiddleware.cs:20
Minor — 33 finding(s)
- Interpolated log message defeats structured logging foodtruacker.Framework/API/Middleware/ExceptionMiddleware.cs:28
- Interpolated log message defeats structured logging foodtruacker.Application/Pipelines/AppMetricsBehaviour.cs:25
- Interpolated log message defeats structured logging foodtruacker.Application/Pipelines/LoggingBehaviour.cs:22
- Interpolated log message defeats structured logging foodtruacker.Application/Pipelines/LoggingBehaviour.cs:25
- Interpolated log message defeats structured logging foodtruacker.Framework/EmailService/Services/DemoEmailService.cs:26
- redundant comment foodtruacker.Framework/API/Extensions/IdentityMySqlServiceExtensions.cs:42
- redundant comment foodtruacker.Framework/API/Extensions/IdentityMySqlServiceExtensions.cs:48
- redundant comment foodtruacker.Framework/API/Extensions/IdentityMySqlServiceExtensions.cs:51
- redundant comment foodtruacker.Framework/API/Startup.cs:33
- Outdated: Swashbuckle.AspNetCore foodtruacker.Framework/API/foodtruacker.API.csproj:35
- Outdated: Swashbuckle.AspNetCore.Swagger foodtruacker.Framework/API/foodtruacker.API.csproj:36
- Outdated: coverlet.collector REDACTED:32
- Primitive id on a domain type: AggregateRoot.AggregateId foodtruacker.SharedKernel/AggregateRoot.cs:10
- Primitive id on a domain type: DomainEvent.EventId foodtruacker.SharedKernel/DomainEvent.cs:7
- Primitive id on a domain type: DomainEvent.AggregateId foodtruacker.SharedKernel/DomainEvent.cs:8
- README/code drift README.md:293
- README/code drift README.md:263
- No security response headers detected
- No security response headers detected foodtruacker.Framework/API/Program.cs:33
- Partial data-retention evidence
- No ADRs found
- Inconsistent naming for user name components: 'Firstname' and 'Lastname' are used in some DTOs and test fields, while 'Last' is used in the ValueObject. Additionally, 'PlainPassword' is used in tests while 'Password' is used in DTOs, and 'CurrentPassword'/'NewPassword' are used in other contexts. While 'Firstname'/'Lastname' vs 'First'/'Last' is a common variation, the mix of 'Firstname' (DTO/Test) and 'Last' (ValueObject) for the same semantic concept (surname) is inconsistent. Furthermore, 'PlainPassword' in tests vs 'Password' in DTOs creates confusion about whether the field contains the raw input or a hash, especially since the ValueObject is 'HashedPassword'.
- REDACTED
- No tests found
- No ADRs
- No src/ separation
- No tests/ separation
- No SAST
- No rollback/health safety
- OIDC metadata fetched over HTTP foodtruacker.Framework/API/Extensions/AuthServicesExtensions.cs:28
- Not all async methods take a CancellationToken
- Some async methods drop the CancellationToken they accept
- Nullable reference types not enabled everywhere
Minor — 40 finding(s)
- Outdated: EventStore.Client.Grpc
- Outdated: EventStore.Client.Grpc.Operations
- Outdated: EventStore.Client.Grpc.ProjectionManagement
- Outdated: EventStore.Client.Grpc.UserManagement
- Outdated: Grpc.Net.Client
- Outdated: MediatR
- Outdated: Microsoft.AspNetCore.Authentication.JwtBearer
- Outdated: Microsoft.AspNetCore.Identity.EntityFrameworkCore
- Outdated: Microsoft.EntityFrameworkCore.Design
- Outdated: Microsoft.EntityFrameworkCore.Relational
- Outdated: Microsoft.Extensions.Identity.Core
- Outdated: Microsoft.Extensions.Identity.Stores
- Outdated: Microsoft.Extensions.Logging.Abstractions
- Outdated: Microsoft.Extensions.Options
- Outdated: Microsoft.VisualStudio.Azure.Containers.Tools.Targets
- Outdated: MongoDB.Driver
- Outdated: Moq
- Outdated: Newtonsoft.Json
- Outdated: Pomelo.EntityFrameworkCore.MySql
- Outdated: Serilog.Extensions.Logging
- Outdated: Serilog.Sinks.Console
- Outdated: System.IdentityModel.Tokens.Jwt
- Outdated: System.Security.Permissions
- Outdated: System.Text.Encodings.Web
- Outdated: EventStore.Client.Grpc.Streams
- XML-doc coverage: foodtruacker.API foodtruacker.Framework/API/foodtruacker.API.csproj
- XML-doc coverage: foodtruacker.Application foodtruacker.Application/foodtruacker.Application.csproj
- XML-doc coverage: foodtruacker.Domain foodtruacker.Domain/foodtruacker.Domain.csproj
- XML-doc coverage: foodtruacker.SharedKernel foodtruacker.SharedKernel/foodtruacker.SharedKernel.csproj
- XML-doc coverage: foodtruacker.QueryRepository foodtruacker.Framework/QueryRepository/foodtruacker.QueryRepository.csproj
- XML-doc coverage: foodtruacker.EventSourcingRepository foodtruacker.Framework/EventsourcingRepository/foodtruacker.EventSourcingRepository.csproj
- XML-doc coverage: foodtruacker.EmailService foodtruacker.Framework/EmailService/foodtruacker.EmailService.csproj
- XML-doc coverage: foodtruacker.Authentication foodtruacker.Framework/Authentication/foodtruacker.Authentication.csproj
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-28173c5ecf8547e58cb40320dae78f99/history.json --exit-code 0 --source . | 0 | artifacts/raw/gitleaks-history.json |
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-git --no-banner --config /opt/gitleaks-rules/watchdog-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-28173c5ecf8547e58cb40320dae78f99/tree.json --exit-code 0 --source . | 0 | artifacts/raw/gitleaks-tree.json |
| D29 · Static Analysis (SAST) | semgrep | — | semgrep --config /opt/semgrep-rules/security-audit.yml --config /opt/semgrep-rules/owasp-top-ten.yml --config /opt/semgrep-rules/watchdog-sast.yml --json --quiet --timeout 10 --timeout-threshold 3 --metrics off . | 0 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | dotnet | — | dotnet list foodtruacker.sln package --vulnerable --include-transitive --format json | 2 | artifacts/raw/dotnet-vulnerable.json |
| D31 · IaC & Container Security | trivy | — | trivy config --format json --quiet . | 9 | 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 | — |
| D36 · Supply-chain Provenance & Signing | provenance | — | provenance: not applicable — No CI/build pipeline found (.github/.forgejo/.gitea workflows, .circleci, .buildkite, .woodpecker, .teamcity, .gitlab-ci.yml, .travis.yml, bitbucket-pipelines.yml, .drone.yml, .cirrus.yml, .woodpecker.yml, appveyor.yml, azure-pipelines*.yml, .pipelines/, .vsts-ci/, .azuredevops/, Jenkinsfile); there is no build to attest provenance for. | 0 | — |
| D37 · Vulnerability-disclosure Policy | disclosure | — | disclosure: not applicable — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed. | 0 | — |
| D40 · Network Egress Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here. | 0 | — |
| D41 · Kernel & Syscall Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here. | 0 | — |
| D42 · Runtime Threat Enforcement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here. | 0 | — |
| D43 · Malicious Dependencies | none (no readable dependency manifest) | — | none (no readable dependency manifest): not applicable — Not scored — no dependency manifest in a supported ecosystem was read for this repository. A gap in the analyzer's language coverage, NOT a finding that the repository is free of vulnerable dependencies (a Python pyproject.toml/requirements.txt (pip/uv/Poetry), a Swift Package.swift/Package.resolved, a Cargo manifest, a Go module (go.mod/go.sum), a Gradle version catalogue, a Maven POM, an sbt build (build.sbt), composer.json, package.json, a Dart pubspec.yaml, an Elixir mix.exs/mix.lock (Hex), a rebar.config / erlang.mk DEPS (Hex), a Ruby Gemfile/Gemfile.lock or .gemspec (Bundler/RubyGems) — not scanned yet). | 0 | — |
Appendix C — Personal-data map
Email — 18 field(s)
- AdminAccountChangeEmailCommand.NewEmail foodtruacker.Application/BoundedContexts/UserAccountManagement/Commands/AdminAccountChangeEmailCommand.cs:17
- AdminAccountCreateCommand.Email foodtruacker.Application/BoundedContexts/UserAccountManagement/Commands/AdminAccountCreateCommand.cs:15
- CustomerAccountChangeEmailCommand.NewEmail foodtruacker.Application/BoundedContexts/UserAccountManagement/Commands/CustomerAccountChangeEmailCommand.cs:17
- CustomerAccountCreateCommand.Email foodtruacker.Application/BoundedContexts/UserAccountManagement/Commands/CustomerAccountCreateCommand.cs:15
- AdminInfo.Email foodtruacker.Application/BoundedContexts/UserAccountManagement/QueryObjects/AdminInfo.cs:7
- CustomerInfo.Email foodtruacker.Application/BoundedContexts/UserAccountManagement/QueryObjects/CustomerInfo.cs:7
- Admin.Email foodtruacker.Domain/BoundedContexts/UserAccountManagement/Aggregates/Admin.cs:13
- Customer.Email foodtruacker.Domain/BoundedContexts/UserAccountManagement/Aggregates/Customer.cs:13
- AdminAccountChangedEmailEvent.Email foodtruacker.Domain/BoundedContexts/UserAccountManagement/Events/AdminAccountChangedEmailEvent.cs:9
- AdminAccountCreatedEvent.Email foodtruacker.Domain/BoundedContexts/UserAccountManagement/Events/AdminAccountCreatedEvent.cs:9
- AdminAccountVerifiedEvent.Email foodtruacker.Domain/BoundedContexts/UserAccountManagement/Events/AdminAccountVerifiedEvent.cs:10
- CustomerAccountChangedEmailEvent.Email foodtruacker.Domain/BoundedContexts/UserAccountManagement/Events/CustomerAccountChangedEmailEvent.cs:9
- CustomerAccountCreatedEvent.Email foodtruacker.Domain/BoundedContexts/UserAccountManagement/Events/CustomerAccountCreatedEvent.cs:9
- CustomerAccountVerifiedEvent.Email foodtruacker.Domain/BoundedContexts/UserAccountManagement/Events/CustomerAccountVerifiedEvent.cs:10
- CreateAdminAccountDTO.Email foodtruacker.Framework/API/DTOs/CreateAdminAccountDTO.cs:5
- CreateCustomerAccountDTO.Email foodtruacker.Framework/API/DTOs/CreateCustomerAccountDTO.cs:5
- UpdateEmailAddressDTO.Email foodtruacker.Framework/API/DTOs/UpdateEmailAddressDTO.cs:6
- User.UnConfirmedEmail foodtruacker.Framework/Authentication/Entities/User.cs:8
Name — 12 field(s)
- AdminAccountCreateCommand.Firstname foodtruacker.Application/BoundedContexts/UserAccountManagement/Commands/AdminAccountCreateCommand.cs:17
- AdminAccountCreateCommand.Lastname foodtruacker.Application/BoundedContexts/UserAccountManagement/Commands/AdminAccountCreateCommand.cs:18
- CustomerAccountCreateCommand.Firstname foodtruacker.Application/BoundedContexts/UserAccountManagement/Commands/CustomerAccountCreateCommand.cs:17
- CustomerAccountCreateCommand.Lastname foodtruacker.Application/BoundedContexts/UserAccountManagement/Commands/CustomerAccountCreateCommand.cs:18
- AdminInfo.FirstName foodtruacker.Application/BoundedContexts/UserAccountManagement/QueryObjects/AdminInfo.cs:8
- AdminInfo.LastName foodtruacker.Application/BoundedContexts/UserAccountManagement/QueryObjects/AdminInfo.cs:9
- CustomerInfo.FirstName foodtruacker.Application/BoundedContexts/UserAccountManagement/QueryObjects/CustomerInfo.cs:8
- CustomerInfo.LastName foodtruacker.Application/BoundedContexts/UserAccountManagement/QueryObjects/CustomerInfo.cs:9
- CreateAdminAccountDTO.Firstname foodtruacker.Framework/API/DTOs/CreateAdminAccountDTO.cs:7
- CreateAdminAccountDTO.Surname foodtruacker.Framework/API/DTOs/CreateAdminAccountDTO.cs:8
- CreateCustomerAccountDTO.Firstname foodtruacker.Framework/API/DTOs/CreateCustomerAccountDTO.cs:7
- CreateCustomerAccountDTO.Surname foodtruacker.Framework/API/DTOs/CreateCustomerAccountDTO.cs:8