Executive summary
madslundt/NetCoreMicroservicesSample scores 40 out of 100, but it is rated At risk while a critical security finding is open; the score itself is unchanged. Watchdog judged it as a template, sample or demo, meant to be read or copied, so the dimensions about building, releasing and running a product don't apply, and its lenses are rated against a lower bar. The score itself is worked out as for any repository.
The weakest lens counts most in the score, and here that is Production Readiness, which scores 18 and is rated Weak. 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 9 Prerelease dependency finding(s) in Dependency Hygiene, and if Production Readiness rose to 70, the score would rise from 40 to about 58.
35 findings are critical: 14 in IaC & Container Security, 11 in Dependency Vulnerabilities, three in Explicit Debt, two in Dependency Hygiene, two in Project dependency cycles, two in Static Analysis (SAST) and one in Outbox / dual-write.
Watchdog couldn't measure IL Efficiency and Runtime accessibility in this code, so those dimensions are left out of the score. The product code is 4,351 lines, which would take an estimated 0.1 person-years, around €5,800, to rebuild.
If Production Readiness rose from 18 to 70, the lowest score rated Strong, the score would rise from 40 to about 58.
New since the last survey: 46 findings
- Dependency Hygiene · Deprecated: FluentValidation.AspNetCore REDACTED
- Dependency Hygiene · Deprecated: FluentValidation.AspNetCore Src/UsersService/UsersService.csproj
- Explicit Debt · Dead code: AddSnapshot Infrastructure/EventStores/IEventStore.cs
- Explicit Debt · Dead code: AddProjection Infrastructure/EventStores/IEventStore.cs
- Explicit Debt · Dead code: Update Infrastructure/EventStores/Repository/IRepository.cs
- Explicit Debt · Dead code: Update Infrastructure/EventStores/Repository/IRepository.cs
- Explicit Debt · Dead code: UseDapr Infrastructure/MessageBrokers/Dapr/DaprExtensions.cs
- Explicit Debt · Dead code: UseKafkaSubscribe Infrastructure/MessageBrokers/Kafka/KafkaExtensions.cs
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Cancellation propagation · Async method without CancellationToken: PublishLocal Infrastructure/Core/Events/EventBus.cs
- Cancellation propagation · Async method without CancellationToken: Commit Infrastructure/Core/Events/EventBus.cs
- Cancellation propagation · Async method without CancellationToken: Commit Infrastructure/Core/Events/EventBus.cs
- Cancellation propagation · Async method without CancellationToken: AggregateStream REDACTED
- Cancellation propagation · Async method without CancellationToken: AggregateStream REDACTED
- Cancellation propagation · Async method without CancellationToken: AppendEvent REDACTED
- Cancellation propagation · Async method without CancellationToken: GetEvents REDACTED
- Cancellation propagation · Async method without CancellationToken: Store REDACTED
- Cancellation propagation · Async method without CancellationToken: Store REDACTED
- Cancellation propagation · Async method without CancellationToken: Add Infrastructure/EventStores/Repository/Repository.cs
- Cancellation propagation · Async method without CancellationToken: Add Infrastructure/EventStores/Repository/Repository.cs
- Cancellation propagation · Async method without CancellationToken: Delete Infrastructure/EventStores/Repository/Repository.cs
- Cancellation propagation · Async method without CancellationToken: Delete Infrastructure/EventStores/Repository/Repository.cs
- Cancellation propagation · Async method without CancellationToken: Find Infrastructure/EventStores/Repository/Repository.cs
- Cancellation propagation · Async method without CancellationToken: Find Infrastructure/EventStores/Repository/Repository.cs
- Cancellation propagation · Async method without CancellationToken: Update Infrastructure/EventStores/Repository/Repository.cs
- Cancellation propagation · Async method without CancellationToken: Update Infrastructure/EventStores/Repository/Repository.cs
- Cancellation propagation · Async method without CancellationToken: Add Infrastructure/EventStores/Stores/EfCore/EfCoreEventStore.cs
- Cancellation propagation · Async method without CancellationToken: GetEvents Infrastructure/EventStores/Stores/EfCore/EfCoreEventStore.cs
- Cancellation propagation · Async method without CancellationToken: Add Infrastructure/EventStores/Stores/MongoDb/MongoDbEventStore.cs
- Cancellation propagation · Async method without CancellationToken: GetEvents Infrastructure/EventStores/Stores/MongoDb/MongoDbEventStore.cs
- Cancellation propagation · Async method without CancellationToken: Publish Infrastructure/MessageBrokers/Kafka/KafkaListener.cs
- Cancellation propagation · Async method without CancellationToken: Publish Infrastructure/MessageBrokers/Kafka/KafkaListener.cs
- Cancellation propagation · Async method without CancellationToken: Publish Infrastructure/MessageBrokers/RabbitMQ/RabbitMQListener.cs
- Cancellation propagation · Async method without CancellationToken: Publish Infrastructure/MessageBrokers/RabbitMQ/RabbitMQListener.cs
- Cancellation propagation · Async method without CancellationToken: Commit REDACTED
- Cancellation propagation · Async method without CancellationToken: Commit REDACTED
- Cancellation propagation · Async method without CancellationToken: Add Infrastructure/Outbox/Stores/EfCore/EfCoreOutboxStore.cs
- Cancellation propagation · Async method without CancellationToken: Delete Infrastructure/Outbox/Stores/EfCore/EfCoreOutboxStore.cs
- Schema migrations · Schema created with EnsureCreated() outside the migrations Infrastructure/EventStores/Stores/EfCore/EfCoreEventStoreContext.cs
- Schema migrations · Schema created with EnsureCreated() outside the migrations Infrastructure/Outbox/Stores/EfCore/EfCoreOutboxContext.cs
- Async & latency hygiene · Sync-over-async blocking
- Async & latency hygiene · Sync-over-async blocking Infrastructure/Consul/ConsulExtensions.cs
- Async & latency hygiene · Sync-over-async blocking Infrastructure/Consul/ConsulExtensions.cs
- Async & latency hygiene · Sync-over-async blocking Infrastructure/Consul/ConsulExtensions.cs
- Async & latency hygiene · Sync-over-async blocking ApiGateway/Ocelot/Startup.cs
Fixed since the last survey: 8 findings
- Coupling · Off the main sequence: Events
- Dependency Hygiene · Deprecated: FluentValidation.AspNetCore
- Static Analysis (SAST) · Medium: missing-or-broken-authorization Src/MoviesService/Controllers/MovieController.cs
- Static Analysis (SAST) · Medium: missing-or-broken-authorization Src/MoviesService/Controllers/UsersController.cs
- Static Analysis (SAST) · Medium: missing-or-broken-authorization Src/ReviewsService/Controllers/MovieController.cs
- Static Analysis (SAST) · Medium: missing-or-broken-authorization Src/ReviewsService/Controllers/ReviewController.cs
- Static Analysis (SAST) · Medium: missing-or-broken-authorization Src/ReviewsService/Controllers/UserController.cs
- Static Analysis (SAST) · Medium: missing-or-broken-authorization Src/UsersService/Controllers/UserController.cs
Rebuild cost: about €5,800 · Estimate
| Cost to rebuild | €2,000 to €9,600, for 33 to 102 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 40. Better code takes more work to write, so the factor is ×1.0 at a score of 70, lower below it and higher above it. |
| Size | Small: 4,351 lines of product code, of which 51% is declarations and boilerplate, 40% straight logic and 9% 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 DataModel.Models.Rating | 2 DataModel.Models.UserStatus | 3 Infrastructure.Core.Commands | 4 Infrastructure.Core.Queries | 5 Infrastructure.MessageBrokers | 6 DataModel.Models.Review | 7 DataModel.Models.User | 8 Infrastructure.EventStores.Aggregate | 9 Infrastructure.EventStores.Projection | 10 Infrastructure.EventStores.Stores | 11 Infrastructure.Outbox.Stores | 12 ReviewsService.Dtos | 13 DataModel | 14 Infrastructure.EventStores.Snapshot | 15 Infrastructure.Outbox | 16 Infrastructure.EventStores | 17 Infrastructure.Outbox.Providers.MongoDb | 18 Infrastructure.Outbox.Stores.EfCore | 19 MoviesService.Queries | 20 ReviewsService.Queries | 21 UsersService.Queries | 22 Infrastructure.Core.Events | 23 Infrastructure.EventStores.Stores.EfCore | 24 Infrastructure.EventStores.Stores.MongoDb | 25 Infrastructure.Outbox.Stores.MongoDb | 26 Events.Movies | 27 Events.Reviews | 28 Events.Users | 29 Infrastructure.EventStores.Repository | 30 UsersService.Commands | 31 DataModel.UpdateHandlers | 32 MoviesService | 33 MoviesService.EventHandlers | 34 ReviewsService | 35 ReviewsService.EventHandlers | 36 UsersService.Controllers | 37 MoviesService.Commands | 38 ReviewsService.Commands | 39 MoviesService.Controllers | 40 ReviewsService.Controllers |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 DataModel.Models.Rating | ||||||||||||||||||||||||||||||||||||||||
| 2 DataModel.Models.UserStatus | ||||||||||||||||||||||||||||||||||||||||
| 3 Infrastructure.Core.Commands | ||||||||||||||||||||||||||||||||||||||||
| 4 Infrastructure.Core.Queries | ||||||||||||||||||||||||||||||||||||||||
| 5 Infrastructure.MessageBrokers | ||||||||||||||||||||||||||||||||||||||||
| 6 DataModel.Models.Review | 2 | |||||||||||||||||||||||||||||||||||||||
| 7 DataModel.Models.User | 2 | |||||||||||||||||||||||||||||||||||||||
| 8 Infrastructure.EventStores.Aggregate | 2 | |||||||||||||||||||||||||||||||||||||||
| 9 Infrastructure.EventStores.Projection | 2 | |||||||||||||||||||||||||||||||||||||||
| 10 Infrastructure.EventStores.Stores | 1 | |||||||||||||||||||||||||||||||||||||||
| 11 Infrastructure.Outbox.Stores | 1 | |||||||||||||||||||||||||||||||||||||||
| 12 ReviewsService.Dtos | 1 | |||||||||||||||||||||||||||||||||||||||
| 13 DataModel | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 14 Infrastructure.EventStores.Snapshot | 1 | |||||||||||||||||||||||||||||||||||||||
| 15 Infrastructure.Outbox | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 16 Infrastructure.EventStores | 2 | 1 | 2 | 2 | ||||||||||||||||||||||||||||||||||||
| 17 Infrastructure.Outbox.Providers.MongoDb | 1 | |||||||||||||||||||||||||||||||||||||||
| 18 Infrastructure.Outbox.Stores.EfCore | 1 | 2 | ||||||||||||||||||||||||||||||||||||||
| 19 MoviesService.Queries | 2 | 1 | ||||||||||||||||||||||||||||||||||||||
| 20 ReviewsService.Queries | 2 | 2 | 1 | |||||||||||||||||||||||||||||||||||||
| 21 UsersService.Queries | 2 | 1 | ||||||||||||||||||||||||||||||||||||||
| 22 Infrastructure.Core.Events | 1 | 1 | 2 | |||||||||||||||||||||||||||||||||||||
| 23 Infrastructure.EventStores.Stores.EfCore | 1 | 2 | ||||||||||||||||||||||||||||||||||||||
| 24 Infrastructure.EventStores.Stores.MongoDb | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 25 Infrastructure.Outbox.Stores.MongoDb | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 26 Events.Movies | 2 | |||||||||||||||||||||||||||||||||||||||
| 27 Events.Reviews | 2 | |||||||||||||||||||||||||||||||||||||||
| 28 Events.Users | 2 | |||||||||||||||||||||||||||||||||||||||
| 29 Infrastructure.EventStores.Repository | 2 | 1 | ||||||||||||||||||||||||||||||||||||||
| 30 UsersService.Commands | 2 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 31 DataModel.UpdateHandlers | 4 | 4 | 2 | 2 | ||||||||||||||||||||||||||||||||||||
| 32 MoviesService | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 33 MoviesService.EventHandlers | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 34 ReviewsService | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 35 ReviewsService.EventHandlers | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 36 UsersService.Controllers | 1 | 1 | 1 | 2 | ||||||||||||||||||||||||||||||||||||
| 37 MoviesService.Commands | 2 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 38 ReviewsService.Commands | 1 | 2 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 39 MoviesService.Controllers | 1 | 2 | 2 | 1 | ||||||||||||||||||||||||||||||||||||
| 40 ReviewsService.Controllers | 1 | 3 | 1 | 3 | 1 |
6→1 DataModel.Models.Review uses DataModel.Models.Rating✕
- Connections
- 2 pairs of types, where a type in DataModel.Models.Review uses a type in DataModel.Models.Rating.
- The types involved
DataModel.Models.Review.Review→DataModel.Models.Rating.RatingEnumDataModel.Models.Review.Review→DataModel.Models.Rating.RatingRef
- Direction
- DataModel.Models.Review uses DataModel.Models.Rating, so a change to DataModel.Models.Rating can break DataModel.Models.Review, while a change to DataModel.Models.Review can't break DataModel.Models.Rating.
- Position
- Below the diagonal: DataModel.Models.Review uses a module listed above it, which is the healthy direction.
7→2 DataModel.Models.User uses DataModel.Models.UserStatus✕
- Connections
- 2 pairs of types, where a type in DataModel.Models.User uses a type in DataModel.Models.UserStatus.
- The types involved
DataModel.Models.User.User→DataModel.Models.UserStatus.UserStatusEnumDataModel.Models.User.User→DataModel.Models.UserStatus.UserStatusRef
- Direction
- DataModel.Models.User uses DataModel.Models.UserStatus, so a change to DataModel.Models.UserStatus can break DataModel.Models.User, while a change to DataModel.Models.User can't break DataModel.Models.UserStatus.
- Position
- Below the diagonal: DataModel.Models.User uses a module listed above it, which is the healthy direction.
8→22 Infrastructure.EventStores.Aggregate uses Infrastructure.Core.Events part of a loop✕
- Connections
- 2 pairs of types, where a type in Infrastructure.EventStores.Aggregate uses a type in Infrastructure.Core.Events.
- The types involved
Infrastructure.EventStores.Aggregate.Aggregate→Infrastructure.Core.Events.IEventInfrastructure.EventStores.Aggregate.IAggregate→Infrastructure.Core.Events.IEvent
- Direction
- Infrastructure.EventStores.Aggregate uses Infrastructure.Core.Events, so a change to Infrastructure.Core.Events can break Infrastructure.EventStores.Aggregate, while a change to Infrastructure.EventStores.Aggregate can't break Infrastructure.Core.Events.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
9→22 Infrastructure.EventStores.Projection uses Infrastructure.Core.Events part of a loop✕
- Connections
- 2 pairs of types, where a type in Infrastructure.EventStores.Projection uses a type in Infrastructure.Core.Events.
- The types involved
Infrastructure.EventStores.Projection.IProjection→Infrastructure.Core.Events.IEventInfrastructure.EventStores.Projection.Projection→Infrastructure.Core.Events.IEvent
- Direction
- Infrastructure.EventStores.Projection uses Infrastructure.Core.Events, so a change to Infrastructure.Core.Events can break Infrastructure.EventStores.Projection, while a change to Infrastructure.EventStores.Projection can't break Infrastructure.Core.Events.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
10→16 Infrastructure.EventStores.Stores uses Infrastructure.EventStores part of a loop✕
- Connections
- 1 pair of types, where a type in Infrastructure.EventStores.Stores uses a type in Infrastructure.EventStores.
- The types involved
Infrastructure.EventStores.Stores.IStore→Infrastructure.EventStores.StreamState
- Direction
- Infrastructure.EventStores.Stores uses Infrastructure.EventStores, so a change to Infrastructure.EventStores can break Infrastructure.EventStores.Stores, while a change to Infrastructure.EventStores.Stores can't break Infrastructure.EventStores.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
11→15 Infrastructure.Outbox.Stores uses Infrastructure.Outbox part of a loop✕
- Connections
- 1 pair of types, where a type in Infrastructure.Outbox.Stores uses a type in Infrastructure.Outbox.
- The types involved
Infrastructure.Outbox.Stores.IOutboxStore→Infrastructure.Outbox.OutboxMessage
- Direction
- Infrastructure.Outbox.Stores uses Infrastructure.Outbox, so a change to Infrastructure.Outbox can break Infrastructure.Outbox.Stores, while a change to Infrastructure.Outbox.Stores can't break Infrastructure.Outbox.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
12→1 ReviewsService.Dtos uses DataModel.Models.Rating✕
- Connections
- 1 pair of types, where a type in ReviewsService.Dtos uses a type in DataModel.Models.Rating.
- The types involved
ReviewsService.Dtos.CreateReviewDto→DataModel.Models.Rating.RatingEnum
- Direction
- ReviewsService.Dtos uses DataModel.Models.Rating, so a change to DataModel.Models.Rating can break ReviewsService.Dtos, while a change to ReviewsService.Dtos can't break DataModel.Models.Rating.
- Position
- Below the diagonal: ReviewsService.Dtos uses a module listed above it, which is the healthy direction.
13→1 DataModel uses DataModel.Models.Rating✕
- Connections
- 1 pair of types, where a type in DataModel uses a type in DataModel.Models.Rating.
- The types involved
DataModel.DatabaseContext→DataModel.Models.Rating.RatingRef
- Direction
- DataModel uses DataModel.Models.Rating, so a change to DataModel.Models.Rating can break DataModel, while a change to DataModel can't break DataModel.Models.Rating.
- Position
- Below the diagonal: DataModel uses a module listed above it, which is the healthy direction.
13→6 DataModel uses DataModel.Models.Review✕
- Connections
- 1 pair of types, where a type in DataModel uses a type in DataModel.Models.Review.
- The types involved
DataModel.DatabaseContext→DataModel.Models.Review.Review
- Direction
- DataModel uses DataModel.Models.Review, so a change to DataModel.Models.Review can break DataModel, while a change to DataModel can't break DataModel.Models.Review.
- Position
- Below the diagonal: DataModel uses a module listed above it, which is the healthy direction.
14→8 Infrastructure.EventStores.Snapshot uses Infrastructure.EventStores.Aggregate✕
- Connections
- 1 pair of types, where a type in Infrastructure.EventStores.Snapshot uses a type in Infrastructure.EventStores.Aggregate.
- The types involved
Infrastructure.EventStores.Snapshot.ISnapshot→Infrastructure.EventStores.Aggregate.IAggregate
- Direction
- Infrastructure.EventStores.Snapshot uses Infrastructure.EventStores.Aggregate, so a change to Infrastructure.EventStores.Aggregate can break Infrastructure.EventStores.Snapshot, while a change to Infrastructure.EventStores.Snapshot can't break Infrastructure.EventStores.Aggregate.
- Position
- Below the diagonal: Infrastructure.EventStores.Snapshot uses a module listed above it, which is the healthy direction.
15→5 Infrastructure.Outbox uses Infrastructure.MessageBrokers✕
- Connections
- 1 pair of types, where a type in Infrastructure.Outbox uses a type in Infrastructure.MessageBrokers.
- The types involved
Infrastructure.Outbox.OutboxProcessor→Infrastructure.MessageBrokers.IEventListener
- Direction
- Infrastructure.Outbox uses Infrastructure.MessageBrokers, so a change to Infrastructure.MessageBrokers can break Infrastructure.Outbox, while a change to Infrastructure.Outbox can't break Infrastructure.MessageBrokers.
- Position
- Below the diagonal: Infrastructure.Outbox uses a module listed above it, which is the healthy direction.
15→11 Infrastructure.Outbox uses Infrastructure.Outbox.Stores✕
- Connections
- 1 pair of types, where a type in Infrastructure.Outbox uses a type in Infrastructure.Outbox.Stores.
- The types involved
Infrastructure.Outbox.OutboxListener→Infrastructure.Outbox.Stores.IOutboxStore
- Direction
- Infrastructure.Outbox uses Infrastructure.Outbox.Stores, so a change to Infrastructure.Outbox.Stores can break Infrastructure.Outbox, while a change to Infrastructure.Outbox can't break Infrastructure.Outbox.Stores.
- Position
- Below the diagonal: Infrastructure.Outbox uses a module listed above it, which is the healthy direction.
16→9 Infrastructure.EventStores uses Infrastructure.EventStores.Projection✕
- Connections
- 2 pairs of types, where a type in Infrastructure.EventStores uses a type in Infrastructure.EventStores.Projection.
- The types involved
Infrastructure.EventStores.EventStore→Infrastructure.EventStores.Projection.IProjectionInfrastructure.EventStores.IEventStore→Infrastructure.EventStores.Projection.IProjection
- Direction
- Infrastructure.EventStores uses Infrastructure.EventStores.Projection, so a change to Infrastructure.EventStores.Projection can break Infrastructure.EventStores, while a change to Infrastructure.EventStores can't break Infrastructure.EventStores.Projection.
- Position
- Below the diagonal: Infrastructure.EventStores uses a module listed above it, which is the healthy direction.
16→10 Infrastructure.EventStores uses Infrastructure.EventStores.Stores✕
- Connections
- 1 pair of types, where a type in Infrastructure.EventStores uses a type in Infrastructure.EventStores.Stores.
- The types involved
Infrastructure.EventStores.EventStore→Infrastructure.EventStores.Stores.IStore
- Direction
- Infrastructure.EventStores uses Infrastructure.EventStores.Stores, so a change to Infrastructure.EventStores.Stores can break Infrastructure.EventStores, while a change to Infrastructure.EventStores can't break Infrastructure.EventStores.Stores.
- Position
- Below the diagonal: Infrastructure.EventStores uses a module listed above it, which is the healthy direction.
16→14 Infrastructure.EventStores uses Infrastructure.EventStores.Snapshot✕
- Connections
- 2 pairs of types, where a type in Infrastructure.EventStores uses a type in Infrastructure.EventStores.Snapshot.
- The types involved
Infrastructure.EventStores.EventStore→Infrastructure.EventStores.Snapshot.ISnapshotInfrastructure.EventStores.IEventStore→Infrastructure.EventStores.Snapshot.ISnapshot
- Direction
- Infrastructure.EventStores uses Infrastructure.EventStores.Snapshot, so a change to Infrastructure.EventStores.Snapshot can break Infrastructure.EventStores, while a change to Infrastructure.EventStores can't break Infrastructure.EventStores.Snapshot.
- Position
- Below the diagonal: Infrastructure.EventStores uses a module listed above it, which is the healthy direction.
16→22 Infrastructure.EventStores uses Infrastructure.Core.Events part of a loop✕
- Connections
- 2 pairs of types, where a type in Infrastructure.EventStores uses a type in Infrastructure.Core.Events.
- The types involved
Infrastructure.EventStores.EventStore→Infrastructure.Core.Events.IEventInfrastructure.EventStores.IEventStore→Infrastructure.Core.Events.IEvent
- Direction
- Infrastructure.EventStores uses Infrastructure.Core.Events, so a change to Infrastructure.Core.Events can break Infrastructure.EventStores, while a change to Infrastructure.EventStores can't break Infrastructure.Core.Events.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
17→15 Infrastructure.Outbox.Providers.MongoDb uses Infrastructure.Outbox✕
- Connections
- 1 pair of types, where a type in Infrastructure.Outbox.Providers.MongoDb uses a type in Infrastructure.Outbox.
- The types involved
Infrastructure.Outbox.Providers.MongoDb.MongoDbOutboxOptions→Infrastructure.Outbox.OutboxOptions
- Direction
- Infrastructure.Outbox.Providers.MongoDb uses Infrastructure.Outbox, so a change to Infrastructure.Outbox can break Infrastructure.Outbox.Providers.MongoDb, while a change to Infrastructure.Outbox.Providers.MongoDb can't break Infrastructure.Outbox.
- Position
- Below the diagonal: Infrastructure.Outbox.Providers.MongoDb uses a module listed above it, which is the healthy direction.
18→11 Infrastructure.Outbox.Stores.EfCore uses Infrastructure.Outbox.Stores✕
- Connections
- 1 pair of types, where a type in Infrastructure.Outbox.Stores.EfCore uses a type in Infrastructure.Outbox.Stores.
- The types involved
Infrastructure.Outbox.Stores.EfCore.EfCoreOutboxStore→Infrastructure.Outbox.Stores.IOutboxStore
- Direction
- Infrastructure.Outbox.Stores.EfCore uses Infrastructure.Outbox.Stores, so a change to Infrastructure.Outbox.Stores can break Infrastructure.Outbox.Stores.EfCore, while a change to Infrastructure.Outbox.Stores.EfCore can't break Infrastructure.Outbox.Stores.
- Position
- Below the diagonal: Infrastructure.Outbox.Stores.EfCore uses a module listed above it, which is the healthy direction.
18→15 Infrastructure.Outbox.Stores.EfCore uses Infrastructure.Outbox✕
- Connections
- 2 pairs of types, where a type in Infrastructure.Outbox.Stores.EfCore uses a type in Infrastructure.Outbox.
- The types involved
Infrastructure.Outbox.Stores.EfCore.EfCoreOutboxContext→Infrastructure.Outbox.OutboxMessageInfrastructure.Outbox.Stores.EfCore.EfCoreOutboxStore→Infrastructure.Outbox.OutboxMessage
- Direction
- Infrastructure.Outbox.Stores.EfCore uses Infrastructure.Outbox, so a change to Infrastructure.Outbox can break Infrastructure.Outbox.Stores.EfCore, while a change to Infrastructure.Outbox.Stores.EfCore can't break Infrastructure.Outbox.
- Position
- Below the diagonal: Infrastructure.Outbox.Stores.EfCore uses a module listed above it, which is the healthy direction.
19→4 MoviesService.Queries uses Infrastructure.Core.Queries✕
- Connections
- 2 pairs of types, where a type in MoviesService.Queries uses a type in Infrastructure.Core.Queries.
- The types involved
MoviesService.Queries.Handler→Infrastructure.Core.Queries.IQueryHandlerMoviesService.Queries.Query→Infrastructure.Core.Queries.IQuery
- Direction
- MoviesService.Queries uses Infrastructure.Core.Queries, so a change to Infrastructure.Core.Queries can break MoviesService.Queries, while a change to MoviesService.Queries can't break Infrastructure.Core.Queries.
- Position
- Below the diagonal: MoviesService.Queries uses a module listed above it, which is the healthy direction.
19→13 MoviesService.Queries uses DataModel✕
- Connections
- 1 pair of types, where a type in MoviesService.Queries uses a type in DataModel.
- The types involved
MoviesService.Queries.Handler→DataModel.DatabaseContext
- Direction
- MoviesService.Queries uses DataModel, so a change to DataModel can break MoviesService.Queries, while a change to MoviesService.Queries can't break DataModel.
- Position
- Below the diagonal: MoviesService.Queries uses a module listed above it, which is the healthy direction.
20→1 ReviewsService.Queries uses DataModel.Models.Rating✕
- Connections
- 2 pairs of types, where a type in ReviewsService.Queries uses a type in DataModel.Models.Rating.
- The types involved
ReviewsService.Queries.Result→DataModel.Models.Rating.RatingEnumReviewsService.Queries.ReviewItem→DataModel.Models.Rating.RatingEnum
- Direction
- ReviewsService.Queries uses DataModel.Models.Rating, so a change to DataModel.Models.Rating can break ReviewsService.Queries, while a change to ReviewsService.Queries can't break DataModel.Models.Rating.
- Position
- Below the diagonal: ReviewsService.Queries uses a module listed above it, which is the healthy direction.
20→4 ReviewsService.Queries uses Infrastructure.Core.Queries✕
- Connections
- 2 pairs of types, where a type in ReviewsService.Queries uses a type in Infrastructure.Core.Queries.
- The types involved
ReviewsService.Queries.Handler→Infrastructure.Core.Queries.IQueryHandlerReviewsService.Queries.Query→Infrastructure.Core.Queries.IQuery
- Direction
- ReviewsService.Queries uses Infrastructure.Core.Queries, so a change to Infrastructure.Core.Queries can break ReviewsService.Queries, while a change to ReviewsService.Queries can't break Infrastructure.Core.Queries.
- Position
- Below the diagonal: ReviewsService.Queries uses a module listed above it, which is the healthy direction.
20→13 ReviewsService.Queries uses DataModel✕
- Connections
- 1 pair of types, where a type in ReviewsService.Queries uses a type in DataModel.
- The types involved
ReviewsService.Queries.Handler→DataModel.DatabaseContext
- Direction
- ReviewsService.Queries uses DataModel, so a change to DataModel can break ReviewsService.Queries, while a change to ReviewsService.Queries can't break DataModel.
- Position
- Below the diagonal: ReviewsService.Queries uses a module listed above it, which is the healthy direction.
21→4 UsersService.Queries uses Infrastructure.Core.Queries✕
- Connections
- 2 pairs of types, where a type in UsersService.Queries uses a type in Infrastructure.Core.Queries.
- The types involved
UsersService.Queries.Handler→Infrastructure.Core.Queries.IQueryHandlerUsersService.Queries.Query→Infrastructure.Core.Queries.IQuery
- Direction
- UsersService.Queries uses Infrastructure.Core.Queries, so a change to Infrastructure.Core.Queries can break UsersService.Queries, while a change to UsersService.Queries can't break Infrastructure.Core.Queries.
- Position
- Below the diagonal: UsersService.Queries uses a module listed above it, which is the healthy direction.
21→13 UsersService.Queries uses DataModel✕
- Connections
- 1 pair of types, where a type in UsersService.Queries uses a type in DataModel.
- The types involved
UsersService.Queries.Handler→DataModel.DatabaseContext
- Direction
- UsersService.Queries uses DataModel, so a change to DataModel can break UsersService.Queries, while a change to UsersService.Queries can't break DataModel.
- Position
- Below the diagonal: UsersService.Queries uses a module listed above it, which is the healthy direction.
22→5 Infrastructure.Core.Events uses Infrastructure.MessageBrokers✕
- Connections
- 1 pair of types, where a type in Infrastructure.Core.Events uses a type in Infrastructure.MessageBrokers.
- The types involved
Infrastructure.Core.Events.EventBus→Infrastructure.MessageBrokers.IEventListener
- Direction
- Infrastructure.Core.Events uses Infrastructure.MessageBrokers, so a change to Infrastructure.MessageBrokers can break Infrastructure.Core.Events, while a change to Infrastructure.Core.Events can't break Infrastructure.MessageBrokers.
- Position
- Below the diagonal: Infrastructure.Core.Events uses a module listed above it, which is the healthy direction.
22→15 Infrastructure.Core.Events uses Infrastructure.Outbox✕
- Connections
- 1 pair of types, where a type in Infrastructure.Core.Events uses a type in Infrastructure.Outbox.
- The types involved
Infrastructure.Core.Events.EventBus→Infrastructure.Outbox.IOutboxListener
- Direction
- Infrastructure.Core.Events uses Infrastructure.Outbox, so a change to Infrastructure.Outbox can break Infrastructure.Core.Events, while a change to Infrastructure.Core.Events can't break Infrastructure.Outbox.
- Position
- Below the diagonal: Infrastructure.Core.Events uses a module listed above it, which is the healthy direction.
22→16 Infrastructure.Core.Events uses Infrastructure.EventStores✕
- Connections
- 2 pairs of types, where a type in Infrastructure.Core.Events uses a type in Infrastructure.EventStores.
- The types involved
Infrastructure.Core.Events.EventBus→Infrastructure.EventStores.StreamStateInfrastructure.Core.Events.IEventBus→Infrastructure.EventStores.StreamState
- Direction
- Infrastructure.Core.Events uses Infrastructure.EventStores, so a change to Infrastructure.EventStores can break Infrastructure.Core.Events, while a change to Infrastructure.Core.Events can't break Infrastructure.EventStores.
- Position
- Below the diagonal: Infrastructure.Core.Events uses a module listed above it, which is the healthy direction.
23→10 Infrastructure.EventStores.Stores.EfCore uses Infrastructure.EventStores.Stores✕
- Connections
- 1 pair of types, where a type in Infrastructure.EventStores.Stores.EfCore uses a type in Infrastructure.EventStores.Stores.
- The types involved
Infrastructure.EventStores.Stores.EfCore.EfCoreEventStore→Infrastructure.EventStores.Stores.IStore
- Direction
- Infrastructure.EventStores.Stores.EfCore uses Infrastructure.EventStores.Stores, so a change to Infrastructure.EventStores.Stores can break Infrastructure.EventStores.Stores.EfCore, while a change to Infrastructure.EventStores.Stores.EfCore can't break Infrastructure.EventStores.Stores.
- Position
- Below the diagonal: Infrastructure.EventStores.Stores.EfCore uses a module listed above it, which is the healthy direction.
23→16 Infrastructure.EventStores.Stores.EfCore uses Infrastructure.EventStores✕
- Connections
- 2 pairs of types, where a type in Infrastructure.EventStores.Stores.EfCore uses a type in Infrastructure.EventStores.
- The types involved
Infrastructure.EventStores.Stores.EfCore.EfCoreEventStore→Infrastructure.EventStores.StreamStateInfrastructure.EventStores.Stores.EfCore.EfCoreEventStoreContext→Infrastructure.EventStores.StreamState
- Direction
- Infrastructure.EventStores.Stores.EfCore uses Infrastructure.EventStores, so a change to Infrastructure.EventStores can break Infrastructure.EventStores.Stores.EfCore, while a change to Infrastructure.EventStores.Stores.EfCore can't break Infrastructure.EventStores.
- Position
- Below the diagonal: Infrastructure.EventStores.Stores.EfCore uses a module listed above it, which is the healthy direction.
24→10 Infrastructure.EventStores.Stores.MongoDb uses Infrastructure.EventStores.Stores✕
- Connections
- 1 pair of types, where a type in Infrastructure.EventStores.Stores.MongoDb uses a type in Infrastructure.EventStores.Stores.
- The types involved
Infrastructure.EventStores.Stores.MongoDb.MongoDbEventStore→Infrastructure.EventStores.Stores.IStore
- Direction
- Infrastructure.EventStores.Stores.MongoDb uses Infrastructure.EventStores.Stores, so a change to Infrastructure.EventStores.Stores can break Infrastructure.EventStores.Stores.MongoDb, while a change to Infrastructure.EventStores.Stores.MongoDb can't break Infrastructure.EventStores.Stores.
- Position
- Below the diagonal: Infrastructure.EventStores.Stores.MongoDb uses a module listed above it, which is the healthy direction.
24→16 Infrastructure.EventStores.Stores.MongoDb uses Infrastructure.EventStores✕
- Connections
- 1 pair of types, where a type in Infrastructure.EventStores.Stores.MongoDb uses a type in Infrastructure.EventStores.
- The types involved
Infrastructure.EventStores.Stores.MongoDb.MongoDbEventStore→Infrastructure.EventStores.StreamState
- Direction
- Infrastructure.EventStores.Stores.MongoDb uses Infrastructure.EventStores, so a change to Infrastructure.EventStores can break Infrastructure.EventStores.Stores.MongoDb, while a change to Infrastructure.EventStores.Stores.MongoDb can't break Infrastructure.EventStores.
- Position
- Below the diagonal: Infrastructure.EventStores.Stores.MongoDb uses a module listed above it, which is the healthy direction.
25→11 Infrastructure.Outbox.Stores.MongoDb uses Infrastructure.Outbox.Stores✕
- Connections
- 1 pair of types, where a type in Infrastructure.Outbox.Stores.MongoDb uses a type in Infrastructure.Outbox.Stores.
- The types involved
Infrastructure.Outbox.Stores.MongoDb.MongoDbOutboxStore→Infrastructure.Outbox.Stores.IOutboxStore
- Direction
- Infrastructure.Outbox.Stores.MongoDb uses Infrastructure.Outbox.Stores, so a change to Infrastructure.Outbox.Stores can break Infrastructure.Outbox.Stores.MongoDb, while a change to Infrastructure.Outbox.Stores.MongoDb can't break Infrastructure.Outbox.Stores.
- Position
- Below the diagonal: Infrastructure.Outbox.Stores.MongoDb uses a module listed above it, which is the healthy direction.
25→15 Infrastructure.Outbox.Stores.MongoDb uses Infrastructure.Outbox✕
- Connections
- 1 pair of types, where a type in Infrastructure.Outbox.Stores.MongoDb uses a type in Infrastructure.Outbox.
- The types involved
Infrastructure.Outbox.Stores.MongoDb.MongoDbOutboxStore→Infrastructure.Outbox.OutboxMessage
- Direction
- Infrastructure.Outbox.Stores.MongoDb uses Infrastructure.Outbox, so a change to Infrastructure.Outbox can break Infrastructure.Outbox.Stores.MongoDb, while a change to Infrastructure.Outbox.Stores.MongoDb can't break Infrastructure.Outbox.
- Position
- Below the diagonal: Infrastructure.Outbox.Stores.MongoDb uses a module listed above it, which is the healthy direction.
25→17 Infrastructure.Outbox.Stores.MongoDb uses Infrastructure.Outbox.Providers.MongoDb✕
- Connections
- 1 pair of types, where a type in Infrastructure.Outbox.Stores.MongoDb uses a type in Infrastructure.Outbox.Providers.MongoDb.
- The types involved
Infrastructure.Outbox.Stores.MongoDb.MongoDbOutboxStore→Infrastructure.Outbox.Providers.MongoDb.MongoDbOutboxOptions
- Direction
- Infrastructure.Outbox.Stores.MongoDb uses Infrastructure.Outbox.Providers.MongoDb, so a change to Infrastructure.Outbox.Providers.MongoDb can break Infrastructure.Outbox.Stores.MongoDb, while a change to Infrastructure.Outbox.Stores.MongoDb can't break Infrastructure.Outbox.Providers.MongoDb.
- Position
- Below the diagonal: Infrastructure.Outbox.Stores.MongoDb uses a module listed above it, which is the healthy direction.
26→22 Events.Movies uses Infrastructure.Core.Events✕
- Connections
- 2 pairs of types, where a type in Events.Movies uses a type in Infrastructure.Core.Events.
- The types involved
Events.Movies.MovieCreatedEvent→Infrastructure.Core.Events.EventEvents.Movies.MovieDeletedEvent→Infrastructure.Core.Events.Event
- Direction
- Events.Movies uses Infrastructure.Core.Events, so a change to Infrastructure.Core.Events can break Events.Movies, while a change to Events.Movies can't break Infrastructure.Core.Events.
- Position
- Below the diagonal: Events.Movies uses a module listed above it, which is the healthy direction.
27→22 Events.Reviews uses Infrastructure.Core.Events✕
- Connections
- 2 pairs of types, where a type in Events.Reviews uses a type in Infrastructure.Core.Events.
- The types involved
Events.Reviews.ReviewCreatedEvent→Infrastructure.Core.Events.EventEvents.Reviews.ReviewDeletedEvent→Infrastructure.Core.Events.Event
- Direction
- Events.Reviews uses Infrastructure.Core.Events, so a change to Infrastructure.Core.Events can break Events.Reviews, while a change to Events.Reviews can't break Infrastructure.Core.Events.
- Position
- Below the diagonal: Events.Reviews uses a module listed above it, which is the healthy direction.
28→22 Events.Users uses Infrastructure.Core.Events✕
- Connections
- 2 pairs of types, where a type in Events.Users uses a type in Infrastructure.Core.Events.
- The types involved
Events.Users.UserCreatedEvent→Infrastructure.Core.Events.IEventEvents.Users.UserDeletedEvent→Infrastructure.Core.Events.Event
- Direction
- Events.Users uses Infrastructure.Core.Events, so a change to Infrastructure.Core.Events can break Events.Users, while a change to Events.Users can't break Infrastructure.Core.Events.
- Position
- Below the diagonal: Events.Users uses a module listed above it, which is the healthy direction.
29→16 Infrastructure.EventStores.Repository uses Infrastructure.EventStores✕
- Connections
- 2 pairs of types, where a type in Infrastructure.EventStores.Repository uses a type in Infrastructure.EventStores.
- The types involved
Infrastructure.EventStores.Repository.Repository→Infrastructure.EventStores.IEventStoreInfrastructure.EventStores.Repository.Repository→Infrastructure.EventStores.StreamState
- Direction
- Infrastructure.EventStores.Repository uses Infrastructure.EventStores, so a change to Infrastructure.EventStores can break Infrastructure.EventStores.Repository, while a change to Infrastructure.EventStores.Repository can't break Infrastructure.EventStores.
- Position
- Below the diagonal: Infrastructure.EventStores.Repository uses a module listed above it, which is the healthy direction.
29→22 Infrastructure.EventStores.Repository uses Infrastructure.Core.Events✕
- Connections
- 1 pair of types, where a type in Infrastructure.EventStores.Repository uses a type in Infrastructure.Core.Events.
- The types involved
Infrastructure.EventStores.Repository.Repository→Infrastructure.Core.Events.IEventBus
- Direction
- Infrastructure.EventStores.Repository uses Infrastructure.Core.Events, so a change to Infrastructure.Core.Events can break Infrastructure.EventStores.Repository, while a change to Infrastructure.EventStores.Repository can't break Infrastructure.Core.Events.
- Position
- Below the diagonal: Infrastructure.EventStores.Repository uses a module listed above it, which is the healthy direction.
30→3 UsersService.Commands uses Infrastructure.Core.Commands✕
- Connections
- 2 pairs of types, where a type in UsersService.Commands uses a type in Infrastructure.Core.Commands.
- The types involved
UsersService.Commands.Command→Infrastructure.Core.Commands.ICommandUsersService.Commands.Handler→Infrastructure.Core.Commands.ICommandHandler
- Direction
- UsersService.Commands uses Infrastructure.Core.Commands, so a change to Infrastructure.Core.Commands can break UsersService.Commands, while a change to UsersService.Commands can't break Infrastructure.Core.Commands.
- Position
- Below the diagonal: UsersService.Commands uses a module listed above it, which is the healthy direction.
30→13 UsersService.Commands uses DataModel✕
- Connections
- 1 pair of types, where a type in UsersService.Commands uses a type in DataModel.
- The types involved
UsersService.Commands.Handler→DataModel.DatabaseContext
- Direction
- UsersService.Commands uses DataModel, so a change to DataModel can break UsersService.Commands, while a change to UsersService.Commands can't break DataModel.
- Position
- Below the diagonal: UsersService.Commands uses a module listed above it, which is the healthy direction.
30→22 UsersService.Commands uses Infrastructure.Core.Events✕
- Connections
- 1 pair of types, where a type in UsersService.Commands uses a type in Infrastructure.Core.Events.
- The types involved
UsersService.Commands.Handler→Infrastructure.Core.Events.IEventBus
- Direction
- UsersService.Commands uses Infrastructure.Core.Events, so a change to Infrastructure.Core.Events can break UsersService.Commands, while a change to UsersService.Commands can't break Infrastructure.Core.Events.
- Position
- Below the diagonal: UsersService.Commands uses a module listed above it, which is the healthy direction.
31→13 DataModel.UpdateHandlers uses DataModel✕
- Connections
- 4 pairs of types, where a type in DataModel.UpdateHandlers uses a type in DataModel.
- The types involved
DataModel.UpdateHandlers.MovieCreatedHandler→DataModel.DatabaseContextDataModel.UpdateHandlers.MovieDeletedHandler→DataModel.DatabaseContextDataModel.UpdateHandlers.ReviewCreatedHandler→DataModel.DatabaseContextDataModel.UpdateHandlers.ReviewDeletedHandler→DataModel.DatabaseContext
- Direction
- DataModel.UpdateHandlers uses DataModel, so a change to DataModel can break DataModel.UpdateHandlers, while a change to DataModel.UpdateHandlers can't break DataModel.
- Position
- Below the diagonal: DataModel.UpdateHandlers uses a module listed above it, which is the healthy direction.
31→22 DataModel.UpdateHandlers uses Infrastructure.Core.Events✕
- Connections
- 4 pairs of types, where a type in DataModel.UpdateHandlers uses a type in Infrastructure.Core.Events.
- The types involved
DataModel.UpdateHandlers.MovieCreatedHandler→Infrastructure.Core.Events.IEventHandlerDataModel.UpdateHandlers.MovieDeletedHandler→Infrastructure.Core.Events.IEventHandlerDataModel.UpdateHandlers.ReviewCreatedHandler→Infrastructure.Core.Events.IEventHandlerDataModel.UpdateHandlers.ReviewDeletedHandler→Infrastructure.Core.Events.IEventHandler
- Direction
- DataModel.UpdateHandlers uses Infrastructure.Core.Events, so a change to Infrastructure.Core.Events can break DataModel.UpdateHandlers, while a change to DataModel.UpdateHandlers can't break Infrastructure.Core.Events.
- Position
- Below the diagonal: DataModel.UpdateHandlers uses a module listed above it, which is the healthy direction.
31→26 DataModel.UpdateHandlers uses Events.Movies✕
- Connections
- 2 pairs of types, where a type in DataModel.UpdateHandlers uses a type in Events.Movies.
- The types involved
DataModel.UpdateHandlers.MovieCreatedHandler→Events.Movies.MovieCreatedEventDataModel.UpdateHandlers.MovieDeletedHandler→Events.Movies.MovieDeletedEvent
- Direction
- DataModel.UpdateHandlers uses Events.Movies, so a change to Events.Movies can break DataModel.UpdateHandlers, while a change to DataModel.UpdateHandlers can't break Events.Movies.
- Position
- Below the diagonal: DataModel.UpdateHandlers uses a module listed above it, which is the healthy direction.
31→27 DataModel.UpdateHandlers uses Events.Reviews✕
- Connections
- 2 pairs of types, where a type in DataModel.UpdateHandlers uses a type in Events.Reviews.
- The types involved
DataModel.UpdateHandlers.ReviewCreatedHandler→Events.Reviews.ReviewCreatedEventDataModel.UpdateHandlers.ReviewDeletedHandler→Events.Reviews.ReviewDeletedEvent
- Direction
- DataModel.UpdateHandlers uses Events.Reviews, so a change to Events.Reviews can break DataModel.UpdateHandlers, while a change to DataModel.UpdateHandlers can't break Events.Reviews.
- Position
- Below the diagonal: DataModel.UpdateHandlers uses a module listed above it, which is the healthy direction.
32→8 MoviesService uses Infrastructure.EventStores.Aggregate✕
- Connections
- 1 pair of types, where a type in MoviesService uses a type in Infrastructure.EventStores.Aggregate.
- The types involved
MoviesService.MovieAggregate→Infrastructure.EventStores.Aggregate.Aggregate
- Direction
- MoviesService uses Infrastructure.EventStores.Aggregate, so a change to Infrastructure.EventStores.Aggregate can break MoviesService, while a change to MoviesService can't break Infrastructure.EventStores.Aggregate.
- Position
- Below the diagonal: MoviesService uses a module listed above it, which is the healthy direction.
32→26 MoviesService uses Events.Movies✕
- Connections
- 1 pair of types, where a type in MoviesService uses a type in Events.Movies.
- The types involved
MoviesService.MovieAggregate→Events.Movies.MovieCreatedEvent
- Direction
- MoviesService uses Events.Movies, so a change to Events.Movies can break MoviesService, while a change to MoviesService can't break Events.Movies.
- Position
- Below the diagonal: MoviesService uses a module listed above it, which is the healthy direction.
33→3 MoviesService.EventHandlers uses Infrastructure.Core.Commands✕
- Connections
- 1 pair of types, where a type in MoviesService.EventHandlers uses a type in Infrastructure.Core.Commands.
- The types involved
MoviesService.EventHandlers.UserDeletedEventHandler→Infrastructure.Core.Commands.ICommandBus
- Direction
- MoviesService.EventHandlers uses Infrastructure.Core.Commands, so a change to Infrastructure.Core.Commands can break MoviesService.EventHandlers, while a change to MoviesService.EventHandlers can't break Infrastructure.Core.Commands.
- Position
- Below the diagonal: MoviesService.EventHandlers uses a module listed above it, which is the healthy direction.
33→22 MoviesService.EventHandlers uses Infrastructure.Core.Events✕
- Connections
- 1 pair of types, where a type in MoviesService.EventHandlers uses a type in Infrastructure.Core.Events.
- The types involved
MoviesService.EventHandlers.UserDeletedEventHandler→Infrastructure.Core.Events.IEventHandler
- Direction
- MoviesService.EventHandlers uses Infrastructure.Core.Events, so a change to Infrastructure.Core.Events can break MoviesService.EventHandlers, while a change to MoviesService.EventHandlers can't break Infrastructure.Core.Events.
- Position
- Below the diagonal: MoviesService.EventHandlers uses a module listed above it, which is the healthy direction.
33→28 MoviesService.EventHandlers uses Events.Users✕
- Connections
- 1 pair of types, where a type in MoviesService.EventHandlers uses a type in Events.Users.
- The types involved
MoviesService.EventHandlers.UserDeletedEventHandler→Events.Users.UserDeletedEvent
- Direction
- MoviesService.EventHandlers uses Events.Users, so a change to Events.Users can break MoviesService.EventHandlers, while a change to MoviesService.EventHandlers can't break Events.Users.
- Position
- Below the diagonal: MoviesService.EventHandlers uses a module listed above it, which is the healthy direction.
34→1 ReviewsService uses DataModel.Models.Rating✕
- Connections
- 1 pair of types, where a type in ReviewsService uses a type in DataModel.Models.Rating.
- The types involved
ReviewsService.ReviewAggregate→DataModel.Models.Rating.RatingEnum
- Direction
- ReviewsService uses DataModel.Models.Rating, so a change to DataModel.Models.Rating can break ReviewsService, while a change to ReviewsService can't break DataModel.Models.Rating.
- Position
- Below the diagonal: ReviewsService uses a module listed above it, which is the healthy direction.
34→8 ReviewsService uses Infrastructure.EventStores.Aggregate✕
- Connections
- 1 pair of types, where a type in ReviewsService uses a type in Infrastructure.EventStores.Aggregate.
- The types involved
ReviewsService.ReviewAggregate→Infrastructure.EventStores.Aggregate.Aggregate
- Direction
- ReviewsService uses Infrastructure.EventStores.Aggregate, so a change to Infrastructure.EventStores.Aggregate can break ReviewsService, while a change to ReviewsService can't break Infrastructure.EventStores.Aggregate.
- Position
- Below the diagonal: ReviewsService uses a module listed above it, which is the healthy direction.
34→27 ReviewsService uses Events.Reviews✕
- Connections
- 1 pair of types, where a type in ReviewsService uses a type in Events.Reviews.
- The types involved
ReviewsService.ReviewAggregate→Events.Reviews.ReviewCreatedEvent
- Direction
- ReviewsService uses Events.Reviews, so a change to Events.Reviews can break ReviewsService, while a change to ReviewsService can't break Events.Reviews.
- Position
- Below the diagonal: ReviewsService uses a module listed above it, which is the healthy direction.
35→3 ReviewsService.EventHandlers uses Infrastructure.Core.Commands✕
- Connections
- 1 pair of types, where a type in ReviewsService.EventHandlers uses a type in Infrastructure.Core.Commands.
- The types involved
ReviewsService.EventHandlers.MovieDeletedEventHandler→Infrastructure.Core.Commands.ICommandBus
- Direction
- ReviewsService.EventHandlers uses Infrastructure.Core.Commands, so a change to Infrastructure.Core.Commands can break ReviewsService.EventHandlers, while a change to ReviewsService.EventHandlers can't break Infrastructure.Core.Commands.
- Position
- Below the diagonal: ReviewsService.EventHandlers uses a module listed above it, which is the healthy direction.
35→22 ReviewsService.EventHandlers uses Infrastructure.Core.Events✕
- Connections
- 1 pair of types, where a type in ReviewsService.EventHandlers uses a type in Infrastructure.Core.Events.
- The types involved
ReviewsService.EventHandlers.MovieDeletedEventHandler→Infrastructure.Core.Events.IEventHandler
- Direction
- ReviewsService.EventHandlers uses Infrastructure.Core.Events, so a change to Infrastructure.Core.Events can break ReviewsService.EventHandlers, while a change to ReviewsService.EventHandlers can't break Infrastructure.Core.Events.
- Position
- Below the diagonal: ReviewsService.EventHandlers uses a module listed above it, which is the healthy direction.
35→26 ReviewsService.EventHandlers uses Events.Movies✕
- Connections
- 1 pair of types, where a type in ReviewsService.EventHandlers uses a type in Events.Movies.
- The types involved
ReviewsService.EventHandlers.MovieDeletedEventHandler→Events.Movies.MovieDeletedEvent
- Direction
- ReviewsService.EventHandlers uses Events.Movies, so a change to Events.Movies can break ReviewsService.EventHandlers, while a change to ReviewsService.EventHandlers can't break Events.Movies.
- Position
- Below the diagonal: ReviewsService.EventHandlers uses a module listed above it, which is the healthy direction.
36→3 UsersService.Controllers uses Infrastructure.Core.Commands✕
- Connections
- 1 pair of types, where a type in UsersService.Controllers uses a type in Infrastructure.Core.Commands.
- The types involved
UsersService.Controllers.UserController→Infrastructure.Core.Commands.ICommandBus
- Direction
- UsersService.Controllers uses Infrastructure.Core.Commands, so a change to Infrastructure.Core.Commands can break UsersService.Controllers, while a change to UsersService.Controllers can't break Infrastructure.Core.Commands.
- Position
- Below the diagonal: UsersService.Controllers uses a module listed above it, which is the healthy direction.
36→4 UsersService.Controllers uses Infrastructure.Core.Queries✕
- Connections
- 1 pair of types, where a type in UsersService.Controllers uses a type in Infrastructure.Core.Queries.
- The types involved
UsersService.Controllers.UserController→Infrastructure.Core.Queries.IQueryBus
- Direction
- UsersService.Controllers uses Infrastructure.Core.Queries, so a change to Infrastructure.Core.Queries can break UsersService.Controllers, while a change to UsersService.Controllers can't break Infrastructure.Core.Queries.
- Position
- Below the diagonal: UsersService.Controllers uses a module listed above it, which is the healthy direction.
36→21 UsersService.Controllers uses UsersService.Queries✕
- Connections
- 1 pair of types, where a type in UsersService.Controllers uses a type in UsersService.Queries.
- The types involved
UsersService.Controllers.UserController→UsersService.Queries.Result
- Direction
- UsersService.Controllers uses UsersService.Queries, so a change to UsersService.Queries can break UsersService.Controllers, while a change to UsersService.Controllers can't break UsersService.Queries.
- Position
- Below the diagonal: UsersService.Controllers uses a module listed above it, which is the healthy direction.
36→30 UsersService.Controllers uses UsersService.Commands✕
- Connections
- 2 pairs of types, where a type in UsersService.Controllers uses a type in UsersService.Commands.
- The types involved
UsersService.Controllers.UserController→UsersService.Commands.CommandUsersService.Controllers.UserController→UsersService.Commands.Result
- Direction
- UsersService.Controllers uses UsersService.Commands, so a change to UsersService.Commands can break UsersService.Controllers, while a change to UsersService.Controllers can't break UsersService.Commands.
- Position
- Below the diagonal: UsersService.Controllers uses a module listed above it, which is the healthy direction.
37→3 MoviesService.Commands uses Infrastructure.Core.Commands✕
- Connections
- 2 pairs of types, where a type in MoviesService.Commands uses a type in Infrastructure.Core.Commands.
- The types involved
MoviesService.Commands.Command→Infrastructure.Core.Commands.ICommandMoviesService.Commands.Handler→Infrastructure.Core.Commands.ICommandHandler
- Direction
- MoviesService.Commands uses Infrastructure.Core.Commands, so a change to Infrastructure.Core.Commands can break MoviesService.Commands, while a change to MoviesService.Commands can't break Infrastructure.Core.Commands.
- Position
- Below the diagonal: MoviesService.Commands uses a module listed above it, which is the healthy direction.
37→29 MoviesService.Commands uses Infrastructure.EventStores.Repository✕
- Connections
- 1 pair of types, where a type in MoviesService.Commands uses a type in Infrastructure.EventStores.Repository.
- The types involved
MoviesService.Commands.Handler→Infrastructure.EventStores.Repository.IRepository
- Direction
- MoviesService.Commands uses Infrastructure.EventStores.Repository, so a change to Infrastructure.EventStores.Repository can break MoviesService.Commands, while a change to MoviesService.Commands can't break Infrastructure.EventStores.Repository.
- Position
- Below the diagonal: MoviesService.Commands uses a module listed above it, which is the healthy direction.
37→32 MoviesService.Commands uses MoviesService✕
- Connections
- 1 pair of types, where a type in MoviesService.Commands uses a type in MoviesService.
- The types involved
MoviesService.Commands.Handler→MoviesService.MovieAggregate
- Direction
- MoviesService.Commands uses MoviesService, so a change to MoviesService can break MoviesService.Commands, while a change to MoviesService.Commands can't break MoviesService.
- Position
- Below the diagonal: MoviesService.Commands uses a module listed above it, which is the healthy direction.
38→1 ReviewsService.Commands uses DataModel.Models.Rating✕
- Connections
- 1 pair of types, where a type in ReviewsService.Commands uses a type in DataModel.Models.Rating.
- The types involved
ReviewsService.Commands.Command→DataModel.Models.Rating.RatingEnum
- Direction
- ReviewsService.Commands uses DataModel.Models.Rating, so a change to DataModel.Models.Rating can break ReviewsService.Commands, while a change to ReviewsService.Commands can't break DataModel.Models.Rating.
- Position
- Below the diagonal: ReviewsService.Commands uses a module listed above it, which is the healthy direction.
38→3 ReviewsService.Commands uses Infrastructure.Core.Commands✕
- Connections
- 2 pairs of types, where a type in ReviewsService.Commands uses a type in Infrastructure.Core.Commands.
- The types involved
ReviewsService.Commands.Command→Infrastructure.Core.Commands.ICommandReviewsService.Commands.Handler→Infrastructure.Core.Commands.ICommandHandler
- Direction
- ReviewsService.Commands uses Infrastructure.Core.Commands, so a change to Infrastructure.Core.Commands can break ReviewsService.Commands, while a change to ReviewsService.Commands can't break Infrastructure.Core.Commands.
- Position
- Below the diagonal: ReviewsService.Commands uses a module listed above it, which is the healthy direction.
38→29 ReviewsService.Commands uses Infrastructure.EventStores.Repository✕
- Connections
- 1 pair of types, where a type in ReviewsService.Commands uses a type in Infrastructure.EventStores.Repository.
- The types involved
ReviewsService.Commands.Handler→Infrastructure.EventStores.Repository.IRepository
- Direction
- ReviewsService.Commands uses Infrastructure.EventStores.Repository, so a change to Infrastructure.EventStores.Repository can break ReviewsService.Commands, while a change to ReviewsService.Commands can't break Infrastructure.EventStores.Repository.
- Position
- Below the diagonal: ReviewsService.Commands uses a module listed above it, which is the healthy direction.
38→34 ReviewsService.Commands uses ReviewsService✕
- Connections
- 1 pair of types, where a type in ReviewsService.Commands uses a type in ReviewsService.
- The types involved
ReviewsService.Commands.Handler→ReviewsService.ReviewAggregate
- Direction
- ReviewsService.Commands uses ReviewsService, so a change to ReviewsService can break ReviewsService.Commands, while a change to ReviewsService.Commands can't break ReviewsService.
- Position
- Below the diagonal: ReviewsService.Commands uses a module listed above it, which is the healthy direction.
39→3 MoviesService.Controllers uses Infrastructure.Core.Commands✕
- Connections
- 1 pair of types, where a type in MoviesService.Controllers uses a type in Infrastructure.Core.Commands.
- The types involved
MoviesService.Controllers.MovieController→Infrastructure.Core.Commands.ICommandBus
- Direction
- MoviesService.Controllers uses Infrastructure.Core.Commands, so a change to Infrastructure.Core.Commands can break MoviesService.Controllers, while a change to MoviesService.Controllers can't break Infrastructure.Core.Commands.
- Position
- Below the diagonal: MoviesService.Controllers uses a module listed above it, which is the healthy direction.
39→4 MoviesService.Controllers uses Infrastructure.Core.Queries✕
- Connections
- 2 pairs of types, where a type in MoviesService.Controllers uses a type in Infrastructure.Core.Queries.
- The types involved
MoviesService.Controllers.MovieController→Infrastructure.Core.Queries.IQueryBusMoviesService.Controllers.UserController→Infrastructure.Core.Queries.IQueryBus
- Direction
- MoviesService.Controllers uses Infrastructure.Core.Queries, so a change to Infrastructure.Core.Queries can break MoviesService.Controllers, while a change to MoviesService.Controllers can't break Infrastructure.Core.Queries.
- Position
- Below the diagonal: MoviesService.Controllers uses a module listed above it, which is the healthy direction.
39→19 MoviesService.Controllers uses MoviesService.Queries✕
- Connections
- 2 pairs of types, where a type in MoviesService.Controllers uses a type in MoviesService.Queries.
- The types involved
MoviesService.Controllers.MovieController→MoviesService.Queries.ResultMoviesService.Controllers.UserController→MoviesService.Queries.Result
- Direction
- MoviesService.Controllers uses MoviesService.Queries, so a change to MoviesService.Queries can break MoviesService.Controllers, while a change to MoviesService.Controllers can't break MoviesService.Queries.
- Position
- Below the diagonal: MoviesService.Controllers uses a module listed above it, which is the healthy direction.
39→37 MoviesService.Controllers uses MoviesService.Commands✕
- Connections
- 1 pair of types, where a type in MoviesService.Controllers uses a type in MoviesService.Commands.
- The types involved
MoviesService.Controllers.MovieController→MoviesService.Commands.Result
- Direction
- MoviesService.Controllers uses MoviesService.Commands, so a change to MoviesService.Commands can break MoviesService.Controllers, while a change to MoviesService.Controllers can't break MoviesService.Commands.
- Position
- Below the diagonal: MoviesService.Controllers uses a module listed above it, which is the healthy direction.
40→3 ReviewsService.Controllers uses Infrastructure.Core.Commands✕
- Connections
- 1 pair of types, where a type in ReviewsService.Controllers uses a type in Infrastructure.Core.Commands.
- The types involved
ReviewsService.Controllers.ReviewController→Infrastructure.Core.Commands.ICommandBus
- Direction
- ReviewsService.Controllers uses Infrastructure.Core.Commands, so a change to Infrastructure.Core.Commands can break ReviewsService.Controllers, while a change to ReviewsService.Controllers can't break Infrastructure.Core.Commands.
- Position
- Below the diagonal: ReviewsService.Controllers uses a module listed above it, which is the healthy direction.
40→4 ReviewsService.Controllers uses Infrastructure.Core.Queries✕
- Connections
- 3 pairs of types, where a type in ReviewsService.Controllers uses a type in Infrastructure.Core.Queries.
- The types involved
ReviewsService.Controllers.MovieController→Infrastructure.Core.Queries.IQueryBusReviewsService.Controllers.ReviewController→Infrastructure.Core.Queries.IQueryBusReviewsService.Controllers.UserController→Infrastructure.Core.Queries.IQueryBus
- Direction
- ReviewsService.Controllers uses Infrastructure.Core.Queries, so a change to Infrastructure.Core.Queries can break ReviewsService.Controllers, while a change to ReviewsService.Controllers can't break Infrastructure.Core.Queries.
- Position
- Below the diagonal: ReviewsService.Controllers uses a module listed above it, which is the healthy direction.
40→12 ReviewsService.Controllers uses ReviewsService.Dtos✕
- Connections
- 1 pair of types, where a type in ReviewsService.Controllers uses a type in ReviewsService.Dtos.
- The types involved
ReviewsService.Controllers.ReviewController→ReviewsService.Dtos.CreateReviewDto
- Direction
- ReviewsService.Controllers uses ReviewsService.Dtos, so a change to ReviewsService.Dtos can break ReviewsService.Controllers, while a change to ReviewsService.Controllers can't break ReviewsService.Dtos.
- Position
- Below the diagonal: ReviewsService.Controllers uses a module listed above it, which is the healthy direction.
40→20 ReviewsService.Controllers uses ReviewsService.Queries✕
- Connections
- 3 pairs of types, where a type in ReviewsService.Controllers uses a type in ReviewsService.Queries.
- The types involved
ReviewsService.Controllers.MovieController→ReviewsService.Queries.ResultReviewsService.Controllers.ReviewController→ReviewsService.Queries.ResultReviewsService.Controllers.UserController→ReviewsService.Queries.Result
- Direction
- ReviewsService.Controllers uses ReviewsService.Queries, so a change to ReviewsService.Queries can break ReviewsService.Controllers, while a change to ReviewsService.Controllers can't break ReviewsService.Queries.
- Position
- Below the diagonal: ReviewsService.Controllers uses a module listed above it, which is the healthy direction.
40→38 ReviewsService.Controllers uses ReviewsService.Commands✕
- Connections
- 1 pair of types, where a type in ReviewsService.Controllers uses a type in ReviewsService.Commands.
- The types involved
ReviewsService.Controllers.ReviewController→ReviewsService.Commands.Result
- Direction
- ReviewsService.Controllers uses ReviewsService.Commands, so a change to ReviewsService.Commands can break ReviewsService.Controllers, while a change to ReviewsService.Controllers can't break ReviewsService.Commands.
- Position
- Below the diagonal: ReviewsService.Controllers 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 | 31 | High / Critical |
| A03:2025 — Software Supply Chain Failures | 20 | High / Critical |
| A05:2025 — Injection | 2 | High / Critical |
Roadmap
Begin by resolving the single missing test in Test Distribution to ensure basic coverage. Next, address the nine prerelease dependencies and two vulnerable packages to stabilize the supply chain, followed by updating seven deprecated dependencies starting with Infrastructure, ApiGateway, and UsersService. Finally, codify backups and geo-recovery in infrastructure as code while documenting RTO, RPO, and restore procedures to establish a true disaster recovery posture.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 1 No tests found finding(s) in Test Distribution. | +18.4 pts | Low | Test Distribution |
| Resolve the 9 Prerelease dependency finding(s) in Dependency Hygiene. | +9.2 pts | Low | Dependency Hygiene |
| Resolve the 2 Vulnerable finding(s) in Dependency Hygiene. | +9.0 pts | Low | Dependency Hygiene |
| Resolve the 7 Deprecated finding(s) in Dependency Hygiene — start with REDACTED (4), REDACTED (2), UsersService.csproj. | +7.2 pts | Low | Dependency Hygiene |
| Codify backups + geo-recovery in IaC and document RTO/RPO and the restore procedure — a persistence guard alone is not disaster recovery. | +5.1 pts | Medium | DR & Backup |
| Replace each EnsureCreated() in production code with the migrations the rest of the repository already uses (`Database.Migrate()` or a migrations bundle), so every database gets its schema from the one versioned path. | +2.9 pts | Medium | Schema migrations |
| Resolve the 2 redundant comment finding(s) in Comment Value — start with ExceptionFilter.cs, Startup.cs. | +1.3 pts | Low | Comment Value |
| 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. | +1.8 pts | Medium | Deployment & Rollback |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 0.0 | Slop | Dependency Vulnerabilities: Critical CVE: REDACTED |
| REDACTED | 0.0 | Slop | Dependency Vulnerabilities: Critical CVE: REDACTED |
| REDACTED | 1.3 | Slop | IaC & Container Security: High IaC: REDACTED |
| REDACTED | 1.3 | Slop | IaC & Container Security: High IaC: REDACTED |
| REDACTED | 1.3 | Slop | IaC & Container Security: High IaC: REDACTED |
| REDACTED | 1.3 | Slop | IaC & Container Security: High IaC: REDACTED |
| REDACTED | 1.7 | Slop | IaC & Container Security: High IaC: REDACTED |
| REDACTED | 6.5 | Near-clean | Dependency Vulnerabilities: High CVE: REDACTED |
| REDACTED | 7.2 | Near-clean | Static Analysis (SAST): High: REDACTED |
| REDACTED | 7.2 | Near-clean | Static Analysis (SAST): High: REDACTED |
| Infrastructure/EventStores/IEventStore.cs | 7.3 | Near-clean | Explicit Debt: Dead code: AddSnapshot |
| Infrastructure/EventStores/Repository/IRepository.cs | 7.3 | Near-clean | Explicit Debt: Dead code: Update |
| Src/UsersService/Commands/CreateUserCommand.cs | 7.6 | Near-clean | Explicit Debt: WriteOnlyPrivateField |
| Src/UsersService/Commands/DeleteUserCommand.cs | 7.6 | Near-clean | Explicit Debt: WriteOnlyPrivateField |
| Src/UsersService/Startup.cs | 7.6 | Near-clean | Explicit Debt: WriteOnlyPrivateField |
| Src/MoviesService/Startup.cs | 8.0 | Near-clean | Code Duplication: Duplicated block (43 lines × 2) |
| Src/ReviewsService/Commands/DeleteReviewsByUserIdCommand.cs | 8.2 | Near-clean | Explicit Debt: Dead code: DeleteReviewsByUserIdCommand |
| Infrastructure/MessageBrokers/Dapr/DaprExtensions.cs | 8.2 | Near-clean | Explicit Debt: Dead code: UseDapr |
| Infrastructure/MessageBrokers/Kafka/KafkaExtensions.cs | 8.2 | Near-clean | Explicit Debt: Dead code: UseKafkaSubscribe |
| Src/ReviewsService/DataModel/EnumExtensions.cs | 8.5 | Near-clean | Code Duplication: Duplicated block (22 lines × 2) |
How the grades work
A definite problem that already costs you something and drags the score down: a missing authorisation check, a dependency with a known exploit, a build that does not reproduce. Failure here tends to cause failures elsewhere.
Likely wrong, but not failing yet. It degrades the codebase over a longer horizon and can cause failures elsewhere — not urgent this week, not something to carry for two years either.
Recorded, with no effect on how the codebase functions. Present so the survey is complete, not because it needs doing.
Something this survey could not settle from the outside, and which could be critical or serious. Either a control was required and no positive evidence of it exists in the repository — a backup job that nothing shows was ever restored from proves nothing about restores — or our own analysis could not run over that part of the tree. This is not a clean result. These are excluded from the score rather than awarded a pass, so the number on the cover neither rewards nor penalises them: if you act on this survey without resolving them, you carry that risk yourself. Each one is named under Limitations.
Methodology & how to trust this report
Watchdog is a deep, periodic assessment — run each sprint, monthly, or quarterly, taking the time to go wider and deeper than a quick check and surfacing in one coherent report what you'd otherwise piece together from a dozen separate tools. It scores deterministically: the same commit yields the same score, every run. 80 of 85 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 0.9 — the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.
What we checked — 85 dimensions across the health lenses
- Can you open the finding? Real findings cite a repo-relative file and line you can open at the cited line — never an absolute scratch path. Here, 194 of 231 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
- D16 Bus Factor — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. Single-maintainer repository — bus factor is not applicable (2 contributor(s) across 116 commit(s) sampled, automation and bot accounts excluded). One of them holds 96% of the history; the other 1 hold 4% each on average, below the 5% at which there is somebody to hand the work to. That is a single maintainer with drive-by contributors, not a team whose knowledge has concentrated — so the bus factor is not applicable and there is nothing here for the owner to act on.
- 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.
- D39 IL Efficiency — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. IL NOT MEASURED: the analyzer's own build of this repository failed for an ENVIRONMENT reason (exit 1) — MSBuild's engine or the CLR gave up, or our image does not carry the SDK band/targeting pack this repository needs. This is OUR limitation, not a defect in the repo, and it is not a statement that this repository fails to build. D18 owns the question of whether this repository builds; it was not answered here.
- 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) — elasticsearch Pulling kibana Pulling rabbitmq Error Get "https://registry-1.docker.io/v2/": Forbidden consul Error context canceled kibana Error context canceled apm Error context canceled elasticsearch Error context canceled db Error context canceled mongo Error Get "https://registry-1.docker.io/v2/": Forbidden Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the earlier `compose pull` step reported: consul Pulling elasticsearch Pulling db Pulling kibana Pulling mongo Error Get "https://registry-1.docker.io/v2/": Forbidden rabbitmq Error context canceled consul Error context canceled db Error context canceled apm Error context canceled kibana Error context canceled elasticsearch 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.
- X2 Cancellation propagation — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. 23 further occurrence(s) are not listed individually; the score already reflects all 63.
Limitations & what we did not check
Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.
Per-dimension blind spots
- D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically — it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
- D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
- D3 God Classes: "God class" is sized by members and responsibilities visible in the type — a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module — one class/IIFE — earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
- D4 Code Duplication: Duplication is token-similarity — an in-process token-stream comparison over sliding windows, with type-aware normalization — so it finds copy-paste, not semantic duplication expressed differently. Committed machine-written code (scaffolded migrations, designer/codegen output, protobuf/OpenAPI stubs, model snapshots) is EXCLUDED — its repetition is the tool's, not the team's — so the score reflects hand-written duplication only.
- D5 Coupling: Coupling is measured between projects/assemblies — runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
- D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic — it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
- D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals — a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
- 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.
- 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.
- D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension — code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
- D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
- D44 Platform End-of-Life: The support table is FROZEN, so it goes out of date by losing RECALL: a release that ended support after the table was written is missed until the table is refreshed, and this dimension reading 10 is not evidence that a platform is current. Only platforms the repository DECLARES in a place this pass reads are seen — a runtime named only in a 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.
- 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.
- 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
4 duplicated block group(s) detected.
What to do
- Resolve the 1 Duplicated block (22 lines × 2) finding(s) in Code Duplication — start with EnumExtensions.cs. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Duplicated block (7 lines × 3) finding(s) in Code Duplication — start with Program.cs. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Duplicated block (43 lines × 2) finding(s) in Code Duplication — start with Startup.cs. — One of this dimension's main actionable groups (1 warning-level).
- Enforce Code Duplication in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D5 · Coupling
9 projects, 0 dependency cycle(s), 0 unstable depended-on project(s).
D6 · Cohesion (LCOM4)
0 of 30 classes have LCOM4 above 3.
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).
D12 · Dependency Hygiene
38 outdated, 2 vulnerable, 6 deprecated, 9 prerelease packages.
What to do
- Resolve the 9 Prerelease dependency finding(s) in Dependency Hygiene. — One of this dimension's main actionable groups (9 warning-level).
- Resolve the 2 Vulnerable finding(s) in Dependency Hygiene. — One of this dimension's main actionable groups (2 issue-level).
- Resolve the 7 Deprecated finding(s) in Dependency Hygiene — start with REDACTED (4), REDACTED (2), UsersService.csproj. — One of this dimension's main actionable groups (7 warning-level).
- Enforce Dependency Hygiene in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D13 · Secret Scanning
Secret scan ran and found no leaked secrets.
D14 · License Compliance
0 of 284 packages use a banned license. ★ DEPTH: this repository's MSBuild projects declare 46 direct `PackageReference`(s), and 204 further package(s) were reached beyond them by closing the graph over nuget.org's own nuspec dependency graph — so a banned licence pulled in only by a dependency's OWN dependencies is inside this verdict. A package whose licence nuget.org could not be asked for is not graded, and version ranges are taken at their lower bound, so this is the closure as that graph states it rather than a restored consumer's exact resolution.
D15 · Churn × Complexity Hotspots
No churn × complexity hotspots in the window.
D17 · Explicit Debt
3 deducted debt markers + 7 dead symbols across 4351 LoC in the .NET projects (0.7/KLoC) → score 8.5.
What to do
- Resolve the 3 WriteOnlyPrivateField finding(s) in Explicit Debt — start with CreateUserCommand.cs, DeleteUserCommand.cs, Startup.cs. — One of this dimension's main actionable groups (3 issue-level).
- Resolve the 7 Dead code finding(s) in Explicit Debt — start with IEventStore.cs (2), IRepository.cs (2), DeleteReviewsByUserIdCommand.cs. — One of this dimension's main actionable groups (7 warning-level).
- Enforce Explicit Debt in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D18 · Solution Shape
9 projects, 141 source files, 4351 hand-written lines of code (4351 production / 0 test — the split is derived per file: test is what its project, its own path, or a compile-guarded region marks as test, and a file carrying no test signal counts as production), plus 564 generated (machine-written code — designer, scaffolded and tool-emitted files — excluded from quality), 14 inter-project edges. Measured across 4 solutions loaded as one workspace: `Src/ReviewsService/ReviewsService.sln`, `Src/MoviesService/MoviesService.sln`, `Src/UsersService/UsersService.sln`, `ApiGateway/Ocelot/ApiGateway.sln`.
D19 · Documentation Quality
The repository's root README is a well-written overview of the NetCoreMicroservicesSample project (an API with microservices using CQRS, event sourcing, message brokers), its requirements list, and how to run it via Docker. It also begins with an external link to a Medium post explaining the repo and states it is work in progress. The document is clipped mid-architecture section, so any outline sections beyond Architecture are not flagged as missing; the visible content is strong for an overview plus installation/run guide.
What to do
- Improve Documentation Quality — currently 6.0/10. — The repository's root README is a well-written overview of the NetCoreMicroservicesSample project (an API with microservices using CQRS, event sourcing, message brokers), its requirements list, and how to run it via Docker. It also begins with an external link to a Medium post explaining the repo and states it is work in progress. The document is clipped mid-architecture section, so any outline sections beyond Architecture are not flagged as missing; the visible content is strong for an overview plus installation/run guide.
D21 · Naming Consistency
0 naming inconsistencies across 200 sampled symbols.
D23 · Boundary Type-Coupling
No domain types leak across context boundaries (6 contexts).
D24 · Comment Value
4 valuable / 2 redundant across 16 sampled comments; 2 shown with locations.
What to do
- Resolve the 2 redundant comment finding(s) in Comment Value — start with ExceptionFilter.cs, Startup.cs. — One of this dimension's main actionable groups (2 recommendation-level).
D26 · Project Cohesion
0 of 9 projects flagged as possibly oversized/incoherent.
D27 · Navigability
95 % of calls cross a namespace and 14 % go through an interface, but 75 % of collaborators are co-located — so following a call takes several hops. Baseline: small — navigation cost is tolerated.
What to do
- Improve Navigability — currently 8.1/10. — 95 % of calls cross a namespace and 14 % go through an interface, but 75 % of collaborators are co-located — so following a call takes several hops. Baseline: small — navigation cost is tolerated.
D28 · Secrets (history)
gitleaks scanned the full history AND the current working tree and found no secrets.
D29 · Static Analysis (SAST)
2 finding(s): 0 critical, 2 high, 0 medium, 0 low.
What to do
- Resolve the 2 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED, REDACTED. — One of this dimension's main actionable groups (2 issue-level).
D30 · Dependency Vulnerabilities
20 finding(s): 2 critical, 9 high, 8 medium, 1 low.
What to do
- Resolve the 9 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (6), REDACTED (2), REDACTED. — One of this dimension's main actionable groups (9 issue-level).
- Resolve the 8 Medium CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (5), REDACTED (3). — One of this dimension's main actionable groups (8 warning-level).
- Resolve the 2 Critical CVE finding(s) in Dependency Vulnerabilities — start with REDACTED, REDACTED. — One of this dimension's main actionable groups (2 issue-level).
D31 · IaC & Container Security
31 finding(s): 0 critical, 14 high, 13 medium, 4 low.
What to do
- Resolve the 14 High IaC finding(s) in IaC & Container Security — start with REDACTED (12), REDACTED (2). — One of this dimension's main actionable groups (14 issue-level).
- Resolve the 13 Medium IaC finding(s) in IaC & Container Security — start with REDACTED (8), REDACTED (5). — One of this dimension's main actionable groups (13 warning-level).
- Resolve the 4 Low IaC finding(s) in IaC & Container Security — start with REDACTED (4). — One of this dimension's main actionable groups (4 recommendation-level).
D34 · Knowledge Freshness
10 of 10 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is REDACTED. Counted over 10 of the 141 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
What to do
- Resolve the 10 Orphaned file finding(s) in Knowledge Freshness — start with Startup.cs (4), REDACTED, ConsulExtensions.cs. — One of this dimension's main actionable groups (10 recommendation-level).
- Resolve the 1 Orphaned files with no living knowledge finding(s) in Knowledge Freshness. — One of this dimension's main actionable groups (1 recommendation-level).
D35 · Change Coupling
No strong hidden change-coupling between production files.
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 REDACTED. — One of this dimension's main actionable groups (1 warning-level).
Frontend & cross-cutting dimensions
AX1 · Captive dependencies
AX10 · Code composition
What to do
- The domain core is a small share of production code, but most of the rest matched no layer vocabulary at all — so this is not yet an anemic-domain finding. The namespace/path convention could not place that code, which makes the composition above a statement about the naming, not about the design. Name the layers (or check that the repository's conventions differ from the ones this check knows) before reading a thin domain into it.
AX2 · Stateful singletons
AX3 · Project dependency cycles
- The namespaces Infrastructure.Outbox ↔ Infrastructure.Outbox.Stores depend on each other. The lightest dependency in the cycle is Infrastructure.Outbox → Infrastructure.Outbox.Stores (Infrastructure.Outbox.OutboxListener → Infrastructure.Outbox.Stores.IOutboxStore, 1 type pair(s)); cut that one first, e.g. by moving the shared type to a namespace both can use or inverting it behind an interface. — REDACTED:3
- The namespaces Infrastructure.Core.Events ↔ Infrastructure.EventStores ↔ Infrastructure.EventStores.Aggregate ↔ Infrastructure.EventStores.Projection ↔ Infrastructure.EventStores.Snapshot ↔ Infrastructure.EventStores.Stores depend on each other. The lightest dependency in the cycle is Infrastructure.EventStores → Infrastructure.EventStores.Stores (Infrastructure.EventStores.EventStore → Infrastructure.EventStores.Stores.IStore, 1 type pair(s)); cut that one first, e.g. by moving the shared type to a namespace both can use or inverting it behind an interface. — REDACTED:6
What to do
- Break namespace cycles inside a project by moving the shared type to a namespace both sides can use, or by inverting the back edge behind an interface.
AX5 · Architecture & structure
AX6 · Interface segregation
AX9 · CQS / query purity
DM1 · Aggregate boundaries
DM10 · One transaction, one aggregate
DM11 · Constructible invalid state
DM2 · Strongly-typed ids
- `ReviewAggregate.MovieId` 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. — Src/ReviewsService/ReviewAggregate.cs:13
- `ReviewAggregate.UserId` is a raw `Guid` — give it a strongly-typed id: a dedicated single-field type wrapping the `Guid`, in whatever form your language spells that. — Src/ReviewsService/ReviewAggregate.cs:14
- `MovieAggregate.UserId` is a raw `Guid` — give it a strongly-typed id: a dedicated single-field type wrapping the `Guid`, in whatever form your language spells that. — Src/MoviesService/MovieAggregate.cs:9
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
- `ReviewAggregate` is an aggregate/entity with 4 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — Src/ReviewsService/ReviewAggregate.cs:11
- `MovieAggregate` is an aggregate/entity with 3 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — Src/MoviesService/MovieAggregate.cs:7
What to do
- Move business rules onto the aggregates/entities they govern so invariants are enforced at the source, not in anemic services.
DM5 · Encapsulated state
DM8 · Value-object opportunities
DM9 · Scattered domain decisions
ED1 · Handler temporal coupling
ED2 · Event/command shape
ED4 · Outbox / dual-write
- `MovieDeletedHandler.Handle` writes to the database while `MovieDeletedEventHandler.Handle` publishes to the message bus in the same command-handling flow, with no outbox referenced on either path. Splitting the persist and the publish across sibling methods (or two collaborating actors) doesn't make them atomic — a crash between the two either loses the message or emits a phantom event. Use the transactional outbox pattern so the message is committed in the same transaction as the state change and dispatched afterwards. — Src/MoviesService/DataModel/UpdateHandlers/MovieDeletedHandler.cs:19
What to do
- Adopt the transactional outbox pattern so DB writes and message publishes commit atomically — no lost or phantom events on a crash.
ED5 · Idempotency
ES1 · Fold determinism
ES2 · Immutable events
ES3 · PII in the event store
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
- Only 3/9 projects share a common root namespace — the code's module identity is inconsistent.
What to do
- Start a test surface where your build system looks for one (tests/, test/, spec/, or your ecosystem's test source set) — the separation follows from putting the first tests in the right place.
- Adopt a consistent root-namespace convention (a shared prefix, e.g. Acme.*); short project-file/directory names are fine as long as the RootNamespace is uniform.
M4 · Documentation accuracy
P2 · Observability
- Only 4/5 service-like projects use logging (pure contract/DTO projects are excluded — they have nothing to log). Of those 5, 4 ship a process this repository operates; the rest are libraries their consumer hosts, where the logging decision belongs to the host.
What to do
- Extend structured logging across the projects you operate, and give the library ones a diagnostics seam instead — an `EventSource`/`ActivitySource` the host can subscribe to, or an optional logger on your options object — rather than taking a logging dependency on your consumers' behalf.
- Add OpenTelemetry tracing/metrics (ActivitySource / AddMetrics) so requests are traceable across the system, not just health-probable.
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
- This repository evolves its schema with versioned migrations, but `EnsureCreated()` here builds a schema straight from the model instead — with no migrations-history row, so a database it creates can't be upgraded by `Migrate()` afterwards and the two paths can disagree about the shape. Apply the migrations here (`Migrate()` / a migrations bundle) rather than creating the schema. (×2) — Infrastructure/EventStores/Stores/EfCore/EfCoreEventStoreContext.cs:12, Infrastructure/Outbox/Stores/EfCore/EfCoreOutboxContext.cs:11
What to do
- Replace each EnsureCreated() in production code with the migrations the rest of the repository already uses (`Database.Migrate()` or a migrations bundle), so every database gets its schema from the one versioned path.
PF3 · Async & latency hygiene
- 4 blocking call(s) on async work (.Wait()/.GetAwaiter().GetResult()) — these waste a thread and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one).
- `.Wait()` blocks this thread until the async work completes — it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one). (×4) — Infrastructure/Consul/ConsulExtensions.cs:79, Infrastructure/Consul/ConsulExtensions.cs:80, Infrastructure/Consul/ConsulExtensions.cs:85, …
What to do
- Make the call chain async end-to-end and await it — never block on a Task with .Wait()/.GetAwaiter().GetResult().
S1 · Web-Security Posture
- 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. (×4) — ApiGateway/Ocelot/Program.cs:14, Src/MoviesService/Program.cs:15, Src/ReviewsService/Program.cs:21, …
- No UseHttpsRedirection/UseHsts and no reverse-proxy signal — transport security is unverified at the app layer. (−2.0 on this card.)
- This web host's pipeline is composed here with no UseHttpsRedirection/UseHsts, and nothing says a reverse proxy terminates TLS in front of it. (×4) — ApiGateway/Ocelot/Program.cs:14, Src/MoviesService/Program.cs:15, Src/ReviewsService/Program.cs:21, …
What to do
- 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.
- Enforce HTTPS at the app layer (UseHttpsRedirection / UseHsts) — only skip this if a reverse proxy demonstrably terminates TLS.
X1 · Async correctness
- Blocking on a Task with `.Wait()`/`.GetAwaiter().GetResult()` can deadlock (and wastes a thread). Prefer awaiting it: make the caller `async` and `await` instead. Where a synchronous entry point must stay — a public sync API you cannot break, or a process entry point that must not return until the work finishes — the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process. (×4) — Infrastructure/Consul/ConsulExtensions.cs:79, Infrastructure/Consul/ConsulExtensions.cs:80, Infrastructure/Consul/ConsulExtensions.cs:85, …
What to do
- Sync-over-async (deadlock risk)
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 39/93 async methods accept a CancellationToken, so in-flight work can't be stopped early when the caller gives up — whatever ends it in your host (shutdown signal, timeout, abandoned request, user cancel). Thread a token through the call chain and honour it at each await and loop; where a method genuinely cannot be interrupted, omitting it is a deliberate choice — judge against your hosting model.
- No CancellationToken parameter — this work can't be stopped early once started. (×39) — Src/ReviewsService/Commands/DeleteReviewsByMovieIdCommand.cs:57, Src/ReviewsService/Commands/DeleteReviewsByUserIdCommand.cs:57, Src/ReviewsService/Queries/GetReviewQuery.cs:57, …
What to do
- Thread a CancellationToken through async methods so work stops promptly on cancellation.
X20 · Mistyped argument guard
- The guard on line 64 rejects `message` and line 66 reports that rejection as `ArgumentNullException` — but the condition's own test `string.IsNullOrWhiteSpace(message)` is true of a value that is NOT null: it is satisfied by an EMPTY `message`, and on that path `message` was already proven non-null by the very expression that decided it (`||` short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching `ArgumentNullException` to handle a real null swallows the empty case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose — `ArgumentNullException.ThrowIfNull` and `ArgumentException.ThrowIfNullOrEmpty` are two helpers because they are two failures. Throw `ArgumentException` for the empty case, or split the guard and throw each on its own condition. — Infrastructure/MessageBrokers/Kafka/KafkaListener.cs:66
- The guard on line 69 rejects `type` and line 71 reports that rejection as `ArgumentNullException` — but the condition's own test `string.IsNullOrWhiteSpace(type)` is true of a value that is NOT null: it is satisfied by an EMPTY `type`, and on that path `type` was already proven non-null by the very expression that decided it (`||` short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching `ArgumentNullException` to handle a real null swallows the empty case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose — `ArgumentNullException.ThrowIfNull` and `ArgumentException.ThrowIfNullOrEmpty` are two helpers because they are two failures. Throw `ArgumentException` for the empty case, or split the guard and throw each on its own condition. — Infrastructure/MessageBrokers/Kafka/KafkaListener.cs:71
- The guard on line 68 rejects `message` and line 70 reports that rejection as `ArgumentNullException` — but the condition's own test `string.IsNullOrWhiteSpace(message)` is true of a value that is NOT null: it is satisfied by an EMPTY `message`, and on that path `message` was already proven non-null by the very expression that decided it (`||` short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching `ArgumentNullException` to handle a real null swallows the empty case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose — `ArgumentNullException.ThrowIfNull` and `ArgumentException.ThrowIfNullOrEmpty` are two helpers because they are two failures. Throw `ArgumentException` for the empty case, or split the guard and throw each on its own condition. — Infrastructure/MessageBrokers/RabbitMQ/RabbitMQListener.cs:70
- The guard on line 73 rejects `type` and line 75 reports that rejection as `ArgumentNullException` — but the condition's own test `string.IsNullOrWhiteSpace(type)` is true of a value that is NOT null: it is satisfied by an EMPTY `type`, and on that path `type` was already proven non-null by the very expression that decided it (`||` short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching `ArgumentNullException` to handle a real null swallows the empty case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose — `ArgumentNullException.ThrowIfNull` and `ArgumentException.ThrowIfNullOrEmpty` are two helpers because they are two failures. Throw `ArgumentException` for the empty case, or split the guard and throw each on its own condition. — Infrastructure/MessageBrokers/RabbitMQ/RabbitMQListener.cs:75
What to do
- Each finding names the throw and the test in its own condition that is true of a NON-null value. Confirm from the two, then throw the exception that describes what was actually wrong: `ArgumentException` for a value that arrived empty, or the .NET 8 helpers that spell the whole guard in one line and pick the type for you — `ArgumentException.ThrowIfNullOrEmpty(s)` / `ThrowIfNullOrWhiteSpace(s)` for strings, `ArgumentNullException.ThrowIfNull(x)` followed by `ArgumentOutOfRangeException.ThrowIfZero(x.Count)` for a collection. Splitting the two conditions is usually clearer than picking one exception for both: they are different failures and the caller may want to handle them differently.
X21 · Side-effecting pattern guard
X22 · Contradicted release guard
X23 · Unguarded diagnostic materialisation
X24 · Document value interpolated into markup unescaped
X25 · Inert configuration knob
X26 · Unsynchronised callback handoff
X27 · Collection changed while being enumerated
X28 · Index access outside its own emptiness guard
X29 · Per-element action decided by a fixed element
X3 · Exception handling
X30 · Support guard that admits what it rejects
X32 · Type resolved by simple name across every loaded assembly
X4 · Structured logging
X5 · Nullable reference types
- This method contradicts itself about `features`: line 49 assigns it with `as FeatureCollection`, which hands back null rather than throwing when the value is not a `FeatureCollection`, but line 50 then dereferences it directly as `features.Get` with no null test between them and no guard around it. If the `as` is right, that dereference throws NullReferenceException on the input it was written for — and the NullReferenceException names neither the cast nor the type that failed. Settle it one way — test `features` once before the first use and handle the null case, or cast with `(FeatureCollection)` so the failure is reported where it happens — rather than leaving the two readings side by side. — Infrastructure/Consul/ConsulExtensions.cs:50
- This method contradicts itself about `@event`: line 53 writes `@event?.Data`, which says `@event` can be null, but line 55 then dereferences it directly as `@event.CreatedUtc` with no null test between them and no guard around it. If the `?.` is right, that dereference throws NullReferenceException on the input it was written for; if `@event` truly cannot be null here, the `?.` is misleading. Settle it one way — test `@event` once before the first use and handle the null case, or drop the `?.` — rather than leaving the two readings side by side. — REDACTED:55
- 0/9 NRT-eligible project(s) enable <Nullable>enable</Nullable> (projects targeting a pre-C#-8 framework are excluded — NRTs aren't available there). NRTs catch a whole class of null-deref bugs at compile time.
What to do
- Where a method uses `?.` on a symbol and then dereferences it directly, settle the question once: test it before the first use and handle null, or drop the `?.`.
- Enable <Nullable>enable</Nullable> across all projects and resolve warnings rather than suppressing with `!`.
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 63% | Adequate — gated by X5 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Architecture | 83% | Exemplary | Solid. |
| Maturity | 56% | Adequate — gated by D34 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 18% | Weak — gated by D9, D12, P5, P8 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 57% | Adequate — gated by D30, D31 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Domain Modelling | 63% | Adequate — gated by DM2, DM4 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Event-Driven | 86% | Exemplary | Solid. |
| Event Sourcing | 100% | Exemplary | Strongest area. |
| Performance | 60% | Strong | Solid. |
Unscored — 2 check(s) recorded observations but carry no score
- SC1 Supply-chain hygiene — 1 observation(s) recorded · Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X10 Duplicated predicate — 1 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
Not evidenced — 4 control(s) we could not find positive evidence for
- 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.
- C4 Data Retention — Repo shows no data-retention / TTL / cleanup mechanism for personal data (event-sourced storage — lifecycle is stream archival / event TTL, not row CASCADE) — absence of evidence is not evidence of a working control. Define retention periods and a purge/cleanup job (or TTL) in code, or document where retention is enforced, so this dimension can be scored.
- C5 Data-Subject Rights — Repo shows no corroborated data-subject-rights mechanism (erasure / export-portability / consent) tied to a subject id or GDPR vocabulary — absence of evidence is not evidence of a working control. Implement erasure, data export/portability and consent tracking over the subject's records.
- P6 Release Hygiene — not evidenced — no changelog, version stamp or semver release tag in the repo
Not included — 45 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.
- 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
- AX8 Test isolation — no test/production split to check
- 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) — elasticsearch Pulling kibana Pulling rabbitmq Error Get "https://registry-1.docker.io/v2/": Forbidden consul Error context canceled kibana Error context canceled apm Error context canceled elasticsearch Error context canceled db Error context canceled mongo Error Get "https://registry-1.docker.io/v2/": Forbidden Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the earlier `compose pull` step reported: consul Pulling elasticsearch Pulling db Pulling kibana Pulling mongo Error Get "https://registry-1.docker.io/v2/": Forbidden rabbitmq Error context canceled consul Error context canceled db Error context canceled apm Error context canceled kibana Error context canceled elasticsearch 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.
- C1 Data Protection — This is a dotnet-new template — at-rest encryption and key-vaulting are deferred to the application you build from it. Add ASP.NET Data Protection / column encryption + a key vault for your real data store when you productionise.
- C2 Access Controls — This is a dotnet-new template — authorization is deferred to the application you build from it. Add [Authorize]/policies (or imperative guards) when you wire up real users; until then there are no real endpoints to protect.
- D10 Test Quality — No tests were found in the analyzed repository to assess for quality.
- D11 Test Reliability — No test suite was found to re-run, so reliability couldn't be assessed. Two searches produced that zero and both came back empty: the classifier that reads the loaded workspace recognised no suite it could run, and a walk of the source on disk — which covers the JS/TS `*.test.*` and `*.spec.*` conventions and probes for a Pester suite — found no test source in any other ecosystem either. Neither search reaches a suite that is missing from the loaded workspace and carries no name either walk recognises, so this is 'no suite found by those two searches', not a verdict that the repository has none.
- D16 Bus Factor — single-maintainer repository — bus factor is not applicable
- D20 ADR Quality — N/A — this repo declares itself a template / kata / sample / demo; a formal ADR log is deferred to a real application built from it.
- 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.
- D36 Supply-chain Provenance & Signing — No CI/build pipeline found (.github/.forgejo/.gitea workflows, .circleci, .buildkite, .woodpecker, .teamcity, .gitlab-ci.yml, .travis.yml, bitbucket-pipelines.yml, .drone.yml, .cirrus.yml, .woodpecker.yml, appveyor.yml, azure-pipelines*.yml, .pipelines/, .vsts-ci/, .azuredevops/, Jenkinsfile); there is no build to attest provenance for.
- D37 Vulnerability-disclosure Policy — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
- D39 IL Efficiency — IL not measured — the analyzer's build of the target did not succeed
- D40 Network Egress Confinement — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
- D41 Kernel & Syscall Confinement — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
- D42 Runtime Threat Enforcement — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
- D43 Malicious Dependencies — Not scored — no dependency manifest in a supported ecosystem was read for this repository. A gap in the analyzer's language coverage, NOT a finding that the repository is free of vulnerable dependencies (a Python pyproject.toml/requirements.txt (pip/uv/Poetry), a Swift Package.swift/Package.resolved, a Cargo manifest, a Go module (go.mod/go.sum), a Gradle version catalogue, a Maven POM, an sbt build (build.sbt), composer.json, package.json, a Dart pubspec.yaml, an Elixir mix.exs/mix.lock (Hex), a rebar.config / erlang.mk DEPS (Hex), a Ruby Gemfile/Gemfile.lock or .gemspec (Bundler/RubyGems) — not scanned yet).
- D7 Architectural Integrity — no checkable ADRs and no dependency cycles — architectural integrity not assessed
- D8 Code Coverage — This repo declares itself a template / kata / sample; tests are deferred to the application built from it, so coverage is not scored here.
- DM12 Ambient inputs in the domain — no domain-layer types detected — ambient-input check not applicable
- DM3 Integration-event coupling — no integration events detected — coupling check not applicable
- DM6 Domain ↔ infrastructure boundary — no domain-layer types detected — domain↔infrastructure boundary check not applicable
- DM7 Repository granularity — no repository abstraction detected (e.g. uses a document session)
- ED3 Event naming — no domain or integration events detected — event-naming check not applicable
- P1 CI/CD gates — This repo declares itself a template / kata / sample / demo — code meant to be read or copied, not operated. Automated CI/CD gates are deferred to the application you build from it, so their absence is not a defect here. The dimension reactivates once the repo becomes a real app.
- P12 CI test-gate honesty — no CI workflow found
- P3 Security & performance tooling — This repo declares itself a template / kata / sample / demo — code meant to be read or copied, not operated. SAST, secret/dependency scanning and performance benchmarks are deferred to the application you build from it, so their absence is not a defect here. The dimension reactivates once the repo becomes a real app.
- P7 Outbound HTTP resilience — no outbound HTTP usage detected — no HttpClient/IHttpClientFactory/AddHttpClient in source, and no Refit/RestSharp/Flurl.Http namespace or package reference
- P9 Domain vs controller coverage — no coverage report found on disk — produce a coverage report in a standard format (Cobertura — `dotnet test --collect:"XPlat Code Coverage"` with a `coverlet.collector` PackageReference) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures, or wire coverage collection into CI, to enable this cross-layer check
- PF1 Benchmark discipline — Performance is assessed only for perf-relevant repos — a packaged library, one that ships benchmarks, or one already using allocation-aware APIs. This repo isn't one, so the Performance lens is not applicable and is excluded from the score.
- PF2 Allocation hygiene — Performance is assessed only for perf-relevant repos — a packaged library, one that ships benchmarks, or one already using allocation-aware APIs. This repo isn't one, so the Performance lens is not applicable and is excluded from the score.
- X6 Hand-rolled structured-format parsing — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X7 Silent fallback defaults — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X9 Subsumed condition operand — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
Appendix A — Findings (grouped)
Critical — 35 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- WriteOnlyPrivateField Src/UsersService/Commands/CreateUserCommand.cs:41
- WriteOnlyPrivateField Src/UsersService/Commands/DeleteUserCommand.cs:35
- WriteOnlyPrivateField Src/UsersService/Startup.cs:28
- Namespace dependency cycle REDACTED:3
- Namespace dependency cycle REDACTED:6
- Vulnerable: AutoMapper
- Vulnerable: MongoDB.Driver
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Dual write (no outbox): MovieDeletedHandler.Handle persists, MovieDeletedEventHandler.Handle publishes Src/MoviesService/DataModel/UpdateHandlers/MovieDeletedHandler.cs:19
Serious — 109 finding(s)
- Async method without CancellationToken: GetReviewIds Src/ReviewsService/Commands/DeleteReviewsByMovieIdCommand.cs:57
- Async method without CancellationToken: GetReviewIds Src/ReviewsService/Commands/DeleteReviewsByUserIdCommand.cs:57
- Async method without CancellationToken: GetReview Src/ReviewsService/Queries/GetReviewQuery.cs:57
- Async method without CancellationToken: GetReviews Src/ReviewsService/Queries/GetReviewsByMovieIdQuery.cs:64
- Async method without CancellationToken: GetReviews Src/ReviewsService/Queries/GetReviewsByUserIdQuery.cs:64
- Async method without CancellationToken: PublishLocal Infrastructure/Core/Events/EventBus.cs:23
- Async method without CancellationToken: Commit Infrastructure/Core/Events/EventBus.cs:31
- Async method without CancellationToken: Commit Infrastructure/Core/Events/EventBus.cs:39
- Async method without CancellationToken: SendToMessageBroker Infrastructure/Core/Events/EventBus.cs:56
- Async method without CancellationToken: AggregateStream REDACTED:44
- Async method without CancellationToken: AggregateStream REDACTED:61
- Async method without CancellationToken: AppendEvent REDACTED:73
- Async method without CancellationToken: GetEvents REDACTED:109
- Async method without CancellationToken: Store REDACTED:116
- Async method without CancellationToken: Store REDACTED:146
- Async method without CancellationToken: Add Infrastructure/EventStores/Repository/Repository.cs:22
- Async method without CancellationToken: Add Infrastructure/EventStores/Repository/Repository.cs:27
- Async method without CancellationToken: Delete Infrastructure/EventStores/Repository/Repository.cs:32
- Async method without CancellationToken: Delete Infrastructure/EventStores/Repository/Repository.cs:37
- Async method without CancellationToken: Find Infrastructure/EventStores/Repository/Repository.cs:42
- Async method without CancellationToken: Find Infrastructure/EventStores/Repository/Repository.cs:49
- Async method without CancellationToken: Update Infrastructure/EventStores/Repository/Repository.cs:56
- Async method without CancellationToken: Update Infrastructure/EventStores/Repository/Repository.cs:61
- Async method without CancellationToken: PublishEvent Infrastructure/EventStores/Repository/Repository.cs:66
- Async method without CancellationToken: Add Infrastructure/EventStores/Stores/EfCore/EfCoreEventStore.cs:18
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Prerelease dependency: Dapr.AspNetCore
- Prerelease dependency: RawRabbit
- Prerelease dependency: RawRabbit.DependencyInjection.ServiceCollection
- Prerelease dependency: RawRabbit.Operations.Publish
- Prerelease dependency: RawRabbit.Operations.Subscribe
- Prerelease dependency: Serilog.Extensions.Logging
- Prerelease dependency: RawRabbit.Enrichers.RetryLater
- Prerelease dependency: RawRabbit.Operations.Tools
- Prerelease dependency: RawRabbit.vNext
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Deprecated: FluentValidation.AspNetCore REDACTED:14
- Deprecated: FluentValidation.AspNetCore Src/UsersService/UsersService.csproj:20
- Deprecated: Microsoft.AspNetCore.Hosting REDACTED:17
- Deprecated: Microsoft.AspNetCore.Http.Abstractions REDACTED:18
- Deprecated: Microsoft.AspNetCore.Mvc REDACTED:19
- Deprecated: Ocelot.Administration REDACTED:15
- Deprecated: Ocelot.Provider.Consul REDACTED:16
- Dead code: DeleteReviewsByUserIdCommand Src/ReviewsService/Commands/DeleteReviewsByUserIdCommand.cs:15
- Dead code: AddSnapshot Infrastructure/EventStores/IEventStore.cs:13
- Dead code: AddProjection Infrastructure/EventStores/IEventStore.cs:15
- Dead code: Update Infrastructure/EventStores/Repository/IRepository.cs:14
- Dead code: Update Infrastructure/EventStores/Repository/IRepository.cs:15
- Dead code: UseDapr Infrastructure/MessageBrokers/Dapr/DaprExtensions.cs:25
- Dead code: UseKafkaSubscribe Infrastructure/MessageBrokers/Kafka/KafkaExtensions.cs:21
- Sync-over-async blocking
- Sync-over-async blocking Infrastructure/Consul/ConsulExtensions.cs:79
- Sync-over-async blocking Infrastructure/Consul/ConsulExtensions.cs:80
- Sync-over-async blocking Infrastructure/Consul/ConsulExtensions.cs:85
- Sync-over-async blocking ApiGateway/Ocelot/Startup.cs:73
- Sync-over-async (deadlock risk) Infrastructure/Consul/ConsulExtensions.cs:79
- Sync-over-async (deadlock risk) Infrastructure/Consul/ConsulExtensions.cs:80
- Sync-over-async (deadlock risk) Infrastructure/Consul/ConsulExtensions.cs:85
- Sync-over-async (deadlock risk) ApiGateway/Ocelot/Startup.cs:71
- Argument guard throws the exception its own condition disproves Infrastructure/MessageBrokers/Kafka/KafkaListener.cs:66
- Argument guard throws the exception its own condition disproves Infrastructure/MessageBrokers/Kafka/KafkaListener.cs:71
- Argument guard throws the exception its own condition disproves Infrastructure/MessageBrokers/RabbitMQ/RabbitMQListener.cs:70
- Argument guard throws the exception its own condition disproves Infrastructure/MessageBrokers/RabbitMQ/RabbitMQListener.cs:75
- Anemic entity: ReviewAggregate Src/ReviewsService/ReviewAggregate.cs:11
- Anemic entity: MovieAggregate Src/MoviesService/MovieAggregate.cs:7
- Schema created with EnsureCreated() outside the migrations Infrastructure/EventStores/Stores/EfCore/EfCoreEventStoreContext.cs:12
- Schema created with EnsureCreated() outside the migrations Infrastructure/Outbox/Stores/EfCore/EfCoreOutboxContext.cs:11
- Symbol treated as nullable, then dereferenced unguarded Infrastructure/Consul/ConsulExtensions.cs:50
- Symbol treated as nullable, then dereferenced unguarded REDACTED:55
- Duplicated block (22 lines × 2) Src/ReviewsService/DataModel/EnumExtensions.cs:12
- Duplicated block (7 lines × 3) Src/MoviesService/Program.cs:14
- Duplicated block (43 lines × 2) Src/MoviesService/Startup.cs:38
- Duplicated block (20 lines × 3) Src/MoviesService/DataModel/DatabaseContextFactory.cs:12
- End-of-life runtime: .NET netcoreapp3.1 REDACTED:4
- No DR/backup evidence
- NuGet dependencies are not locked
Minor — 66 finding(s)
- Outdated: Microsoft.EntityFrameworkCore.SqlServer Src/MoviesService/DataModel/DataModel.csproj:16
- Outdated: Microsoft.EntityFrameworkCore.Tools REDACTED:17
- Outdated: AutoMapper REDACTED:8
- Outdated: FluentValidation REDACTED:13
- Outdated: MediatR REDACTED:15
- Outdated: MediatR.Extensions.Microsoft.DependencyInjection REDACTED:16
- Outdated: Microsoft.AspNetCore.Mvc.NewtonsoftJson REDACTED:20
- Outdated: Microsoft.EntityFrameworkCore REDACTED:21
- Outdated: Microsoft.Extensions.Configuration REDACTED:22
- Outdated: Microsoft.Extensions.Configuration.Binder REDACTED:23
- Outdated: Microsoft.Extensions.Configuration.EnvironmentVariables REDACTED:24
- Outdated: Microsoft.Extensions.DependencyInjection REDACTED:25
- Outdated: Microsoft.Extensions.Hosting REDACTED:11
- Outdated: Microsoft.Extensions.Options.ConfigurationExtensions REDACTED:27
- Outdated: Serilog.AspNetCore REDACTED:34
- Outdated: Serilog.Exceptions REDACTED:36
- Outdated: Serilog.Extensions.Logging REDACTED:37
- Outdated: Swashbuckle.AspNetCore REDACTED:39
- Outdated: Microsoft.EntityFrameworkCore.Design Src/MoviesService/DataModel/DataModel.csproj:12
- Outdated: Microsoft.VisualStudio.Web.CodeGeneration.Design REDACTED:22
- Outdated: Microsoft.Extensions.Configuration.FileExtensions Src/UsersService/DataModel/DataModel.csproj:15
- Outdated: Microsoft.Extensions.Configuration.Json Src/UsersService/DataModel/DataModel.csproj:16
- Outdated: MMLib.SwaggerForOcelot REDACTED:13
- Outdated: Ocelot REDACTED:14
- Outdated: Ocelot.Administration REDACTED:15
- Orphaned file REDACTED:1
- Orphaned file Infrastructure/Consul/ConsulExtensions.cs:1
- Orphaned file Infrastructure/MessageBrokers/RabbitMQ/RabbitMQListener.cs:1
- Orphaned file Src/MoviesService/Startup.cs:1
- Orphaned file Src/UsersService/Startup.cs:1
- Orphaned file Src/ReviewsService/Startup.cs:1
- Orphaned file Infrastructure/MessageBrokers/Kafka/KafkaListener.cs:1
- Orphaned file Infrastructure/Core/ExceptionFilter.cs:1
- Orphaned file ApiGateway/Ocelot/Startup.cs:1
- Orphaned file Infrastructure/Outbox/OutboxProcessor.cs:1
- No security response headers detected
- No security response headers detected ApiGateway/Ocelot/Program.cs:14
- No security response headers detected Src/MoviesService/Program.cs:15
- No security response headers detected Src/ReviewsService/Program.cs:21
- No security response headers detected Src/UsersService/Program.cs:15
- No app-layer HTTPS enforcement detected
- No app-layer HTTPS enforcement detected ApiGateway/Ocelot/Program.cs:14
- No app-layer HTTPS enforcement detected Src/MoviesService/Program.cs:15
- No app-layer HTTPS enforcement detected Src/ReviewsService/Program.cs:21
- No app-layer HTTPS enforcement detected Src/UsersService/Program.cs:15
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Primitive id on a domain type: ReviewAggregate.MovieId Src/ReviewsService/ReviewAggregate.cs:13
- Primitive id on a domain type: ReviewAggregate.UserId Src/ReviewsService/ReviewAggregate.cs:14
- Primitive id on a domain type: MovieAggregate.UserId Src/MoviesService/MovieAggregate.cs:9
- redundant comment Infrastructure/Core/ExceptionFilter.cs:18
- redundant comment Src/MoviesService/Startup.cs:48
- REDACTED
- Orphaned files with no living knowledge
- No tests — template/sample
- No tests found
- No ADRs
- Inconsistent root namespaces
- Logging is not universal
- No rollback/health safety
- Duplicated predicate Src/ReviewsService/DataModel/EnumExtensions.cs:21
- Not all async methods take a CancellationToken
- Nullable reference types not enabled everywhere
Minor — 21 finding(s)
- Outdated: Microsoft.VisualStudio.Azure.Containers.Tools.Targets
- Outdated: Confluent.Kafka
- Outdated: Consul
- Outdated: Dapr.AspNetCore
- Outdated: Elastic.Apm.NetCoreAll
- Outdated: FluentValidation.AspNetCore
- Outdated: Microsoft.AspNetCore.Hosting
- Outdated: Microsoft.AspNetCore.Http.Abstractions
- Outdated: Microsoft.AspNetCore.Mvc
- Outdated: MongoDB.Driver
- Outdated: Serilog
- Outdated: Serilog.Sinks.Elasticsearch
- XML-doc coverage: ReviewsService Src/ReviewsService/ReviewsService.csproj
- XML-doc coverage: Events Src/Events/Events.csproj
- XML-doc coverage: Infrastructure REDACTED
- XML-doc coverage: DataModel Src/ReviewsService/DataModel/DataModel.csproj
- XML-doc coverage: MoviesService REDACTED
- XML-doc coverage: DataModel Src/MoviesService/DataModel/DataModel.csproj
- XML-doc coverage: UsersService Src/UsersService/UsersService.csproj
- XML-doc coverage: DataModel Src/UsersService/DataModel/DataModel.csproj
- XML-doc coverage: ApiGateway REDACTED
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-d2b01ab2b6674a908c17111ae8bb89e5/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-d2b01ab2b6674a908c17111ae8bb89e5/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 . | 2 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | dotnet | — | dotnet list Src/ReviewsService/ReviewsService.sln package --vulnerable --include-transitive --format json | 20 | artifacts/raw/dotnet-vulnerable.json |
| D31 · IaC & Container Security | trivy | — | trivy config --format json --quiet . | 31 | 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
Name — 10 field(s)
- UserCreatedEvent.FirstName Src/Events/Users/UserCreatedEvent.cs:10
- UserCreatedEvent.LastName Src/Events/Users/UserCreatedEvent.cs:11
- Command.FirstName Src/UsersService/Commands/CreateUserCommand.cs:18
- Command.LastName Src/UsersService/Commands/CreateUserCommand.cs:19
- User.FirstName Src/UsersService/DataModel/Models/User/User.cs:10
- User.LastName Src/UsersService/DataModel/Models/User/User.cs:11
- Result.FirstName Src/UsersService/Queries/GetUserQuery.cs:21
- Result.LastName Src/UsersService/Queries/GetUserQuery.cs:22
- User.FirstName Src/UsersService/Queries/GetUsersQuery.cs:22
- User.LastName Src/UsersService/Queries/GetUsersQuery.cs:23
Email — 5 field(s)
- UserCreatedEvent.Email Src/Events/Users/UserCreatedEvent.cs:12
- Command.Email Src/UsersService/Commands/CreateUserCommand.cs:20
- User.Email Src/UsersService/DataModel/Models/User/User.cs:13
- Result.Email Src/UsersService/Queries/GetUserQuery.cs:23
- User.Email Src/UsersService/Queries/GetUsersQuery.cs:24