Executive summary
devmentors/modular-framework scores 41 out of 100, but it is rated At risk while a critical security finding is open; the score itself is unchanged.
The weakest lens counts most in the score, and here that is Production Readiness, which scores 23 and is rated Critical. Its Code Coverage 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 automated tests finding(s) in Code Coverage and to resolve the 1 No tests found finding(s) in Test Distribution, and if Production Readiness rose to 70, the score would rise from 41 to about 56.
Six findings are critical: four in Dependency Vulnerabilities, one in Code Coverage and one in Dependency Hygiene.
The product code is 3,933 lines, which would take an estimated 0.1 person-years, around €5,700, to rebuild.
If Production Readiness rose from 23 to 70, the lowest score rated Strong, the score would rise from 41 to about 56.
New since the last survey: 9 findings
- Static Analysis (SAST) · REDACTED
- Cancellation propagation · Async method without CancellationToken: HandleAsync src/Modular.Infrastructure/Messaging/Outbox/EfInbox.cs
- Cancellation propagation · Async method without CancellationToken: CleanupAsync src/Modular.Infrastructure/Messaging/Outbox/EfInbox.cs
- Cancellation propagation · Async method without CancellationToken: SaveAsync src/Modular.Infrastructure/Messaging/Outbox/EfOutbox.cs
- Cancellation propagation · Async method without CancellationToken: PublishUnsentAsync src/Modular.Infrastructure/Messaging/Outbox/EfOutbox.cs
- Cancellation propagation · Async method without CancellationToken: CleanupAsync src/Modular.Infrastructure/Messaging/Outbox/EfOutbox.cs
- Cancellation propagation · Async method without CancellationToken: SendAsync src/Modular.Infrastructure/Messaging/Outbox/OutboxBroker.cs
- Cancellation propagation · Async method without CancellationToken: ExecuteAsync src/Modular.Infrastructure/Postgres/PostgresUnitOfWork.cs
- Outbound HTTP resilience · Outbound HTTP without resilience src/Modular.Infrastructure/Extensions.cs
Fixed since the last survey: 1 finding
- Outbound HTTP resilience · Outbound HTTP without resilience
Rebuild cost: about €5,700 · Estimate
| Cost to rebuild | €1,900 to €9,600, for 32 to 101 hours of work, about 0.1 person-years for one engineer |
|---|---|
| Difficulty of the problem | Standard, 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 41. Better code takes more work to write, so the factor is ×1.0 at a score of 70, lower below it and higher above it. |
| Size | Small: 3,933 lines of product code, of which 47% is declarations and boilerplate, 18% straight logic and 35% logic with branches |
| Comment lines | The estimate prices 3,927 lines. Comment lines count towards the size of 3,933 lines but aren't priced as work. |
Top priorities
Diagnosis: what the measurements show together
Architecture — module dependency graph
Architecture: which parts of the code depend on which
| uses → | 1 Abstractions.Auth | 2 Abstractions.Contexts | 3 Abstractions.Contracts | 4 Abstractions.Exceptions | 5 Abstractions.Kernel | 6 Abstractions.Modules | 7 Abstractions.Queries | 8 Abstractions.Storage | 9 Abstractions.Time | 10 Infrastructure.Logging.Options | 11 Infrastructure.Security.Encryption | 12 Infrastructure.Serialization | 13 Abstractions.Dispatchers | 14 Abstractions.Messaging | 15 Infrastructure | 16 Infrastructure.Auth | 17 Infrastructure.Cache | 18 Infrastructure.Contexts | 19 Infrastructure.Exceptions | 20 Infrastructure.Kernel | 21 Infrastructure.Postgres | 22 Infrastructure.Queries | 23 Infrastructure.Queries.Decorators | 24 Infrastructure.Security | 25 Infrastructure.Storage | 26 Infrastructure.Time | 27 Abstractions.Commands | 28 Abstractions.Events | 29 Infrastructure.Logging | 30 Infrastructure.Messaging.Contexts | 31 Infrastructure.Messaging.Dispatchers | 32 Infrastructure.Commands | 33 Infrastructure.Dispatchers | 34 Infrastructure.Events | 35 Infrastructure.Logging.Decorators | 36 Infrastructure.Messaging.Outbox | 37 Infrastructure.Modules | 38 Infrastructure.Postgres.Decorators | 39 Infrastructure.Contracts | 40 Infrastructure.Messaging.Brokers |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 Abstractions.Auth | ||||||||||||||||||||||||||||||||||||||||
| 2 Abstractions.Contexts | ||||||||||||||||||||||||||||||||||||||||
| 3 Abstractions.Contracts | ||||||||||||||||||||||||||||||||||||||||
| 4 Abstractions.Exceptions | ||||||||||||||||||||||||||||||||||||||||
| 5 Abstractions.Kernel | ||||||||||||||||||||||||||||||||||||||||
| 6 Abstractions.Modules | ||||||||||||||||||||||||||||||||||||||||
| 7 Abstractions.Queries | ||||||||||||||||||||||||||||||||||||||||
| 8 Abstractions.Storage | ||||||||||||||||||||||||||||||||||||||||
| 9 Abstractions.Time | ||||||||||||||||||||||||||||||||||||||||
| 10 Infrastructure.Logging.Options | ||||||||||||||||||||||||||||||||||||||||
| 11 Infrastructure.Security.Encryption | ||||||||||||||||||||||||||||||||||||||||
| 12 Infrastructure.Serialization | ||||||||||||||||||||||||||||||||||||||||
| 13 Abstractions.Dispatchers | 1 | |||||||||||||||||||||||||||||||||||||||
| 14 Abstractions.Messaging | 1 | |||||||||||||||||||||||||||||||||||||||
| 15 Infrastructure | 1 | |||||||||||||||||||||||||||||||||||||||
| 16 Infrastructure.Auth | 2 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 17 Infrastructure.Cache | 1 | |||||||||||||||||||||||||||||||||||||||
| 18 Infrastructure.Contexts | 5 | |||||||||||||||||||||||||||||||||||||||
| 19 Infrastructure.Exceptions | 4 | |||||||||||||||||||||||||||||||||||||||
| 20 Infrastructure.Kernel | 2 | |||||||||||||||||||||||||||||||||||||||
| 21 Infrastructure.Postgres | 2 | |||||||||||||||||||||||||||||||||||||||
| 22 Infrastructure.Queries | 2 | |||||||||||||||||||||||||||||||||||||||
| 23 Infrastructure.Queries.Decorators | 1 | |||||||||||||||||||||||||||||||||||||||
| 24 Infrastructure.Security | 4 | |||||||||||||||||||||||||||||||||||||||
| 25 Infrastructure.Storage | 1 | |||||||||||||||||||||||||||||||||||||||
| 26 Infrastructure.Time | 1 | |||||||||||||||||||||||||||||||||||||||
| 27 Abstractions.Commands | 1 | |||||||||||||||||||||||||||||||||||||||
| 28 Abstractions.Events | 1 | |||||||||||||||||||||||||||||||||||||||
| 29 Infrastructure.Logging | 3 | 1 | ||||||||||||||||||||||||||||||||||||||
| 30 Infrastructure.Messaging.Contexts | 1 | 8 | ||||||||||||||||||||||||||||||||||||||
| 31 Infrastructure.Messaging.Dispatchers | 1 | 3 | 1 | |||||||||||||||||||||||||||||||||||||
| 32 Infrastructure.Commands | 1 | |||||||||||||||||||||||||||||||||||||||
| 33 Infrastructure.Dispatchers | 2 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 34 Infrastructure.Events | 1 | |||||||||||||||||||||||||||||||||||||||
| 35 Infrastructure.Logging.Decorators | 3 | 1 | 2 | 1 | 1 | |||||||||||||||||||||||||||||||||||
| 36 Infrastructure.Messaging.Outbox | 1 | 4 | 1 | 7 | 1 | 1 | 2 | |||||||||||||||||||||||||||||||||
| 37 Infrastructure.Modules | 5 | 2 | 1 | |||||||||||||||||||||||||||||||||||||
| 38 Infrastructure.Postgres.Decorators | 2 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 39 Infrastructure.Contracts | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 40 Infrastructure.Messaging.Brokers | 1 | 1 | 2 | 1 | 2 | 1 |
13→7 Abstractions.Dispatchers uses Abstractions.Queries✕
- Connections
- 1 pair of types, where a type in Abstractions.Dispatchers uses a type in Abstractions.Queries.
- The types involved
Modular.Abstractions.Dispatchers.IDispatcher→Modular.Abstractions.Queries.IQuery
- Direction
- Abstractions.Dispatchers uses Abstractions.Queries, so a change to Abstractions.Queries can break Abstractions.Dispatchers, while a change to Abstractions.Dispatchers can't break Abstractions.Queries.
- Position
- Below the diagonal: Abstractions.Dispatchers uses a module listed above it, which is the healthy direction.
14→2 Abstractions.Messaging uses Abstractions.Contexts✕
- Connections
- 1 pair of types, where a type in Abstractions.Messaging uses a type in Abstractions.Contexts.
- The types involved
Modular.Abstractions.Messaging.IMessageContext→Modular.Abstractions.Contexts.IContext
- Direction
- Abstractions.Messaging uses Abstractions.Contexts, so a change to Abstractions.Contexts can break Abstractions.Messaging, while a change to Abstractions.Messaging can't break Abstractions.Contexts.
- Position
- Below the diagonal: Abstractions.Messaging uses a module listed above it, which is the healthy direction.
15→6 Infrastructure uses Abstractions.Modules✕
- Connections
- 1 pair of types, where a type in Infrastructure uses a type in Abstractions.Modules.
- The types involved
Modular.Infrastructure.Extensions→Modular.Abstractions.Modules.IModule
- Direction
- Infrastructure uses Abstractions.Modules, so a change to Abstractions.Modules can break Infrastructure, while a change to Infrastructure can't break Abstractions.Modules.
- Position
- Below the diagonal: Infrastructure uses a module listed above it, which is the healthy direction.
16→1 Infrastructure.Auth uses Abstractions.Auth✕
- Connections
- 2 pairs of types, where a type in Infrastructure.Auth uses a type in Abstractions.Auth.
- The types involved
Modular.Infrastructure.Auth.AuthManager→Modular.Abstractions.Auth.IAuthManagerModular.Infrastructure.Auth.AuthManager→Modular.Abstractions.Auth.JsonWebToken
- Direction
- Infrastructure.Auth uses Abstractions.Auth, so a change to Abstractions.Auth can break Infrastructure.Auth, while a change to Infrastructure.Auth can't break Abstractions.Auth.
- Position
- Below the diagonal: Infrastructure.Auth uses a module listed above it, which is the healthy direction.
16→6 Infrastructure.Auth uses Abstractions.Modules✕
- Connections
- 1 pair of types, where a type in Infrastructure.Auth uses a type in Abstractions.Modules.
- The types involved
Modular.Infrastructure.Auth.Extensions→Modular.Abstractions.Modules.IModule
- Direction
- Infrastructure.Auth uses Abstractions.Modules, so a change to Abstractions.Modules can break Infrastructure.Auth, while a change to Infrastructure.Auth can't break Abstractions.Modules.
- Position
- Below the diagonal: Infrastructure.Auth uses a module listed above it, which is the healthy direction.
16→9 Infrastructure.Auth uses Abstractions.Time✕
- Connections
- 1 pair of types, where a type in Infrastructure.Auth uses a type in Abstractions.Time.
- The types involved
Modular.Infrastructure.Auth.AuthManager→Modular.Abstractions.Time.IClock
- Direction
- Infrastructure.Auth uses Abstractions.Time, so a change to Abstractions.Time can break Infrastructure.Auth, while a change to Infrastructure.Auth can't break Abstractions.Time.
- Position
- Below the diagonal: Infrastructure.Auth uses a module listed above it, which is the healthy direction.
17→12 Infrastructure.Cache uses Infrastructure.Serialization✕
- Connections
- 1 pair of types, where a type in Infrastructure.Cache uses a type in Infrastructure.Serialization.
- The types involved
Modular.Infrastructure.Cache.RedisCache→Modular.Infrastructure.Serialization.IJsonSerializer
- Direction
- Infrastructure.Cache uses Infrastructure.Serialization, so a change to Infrastructure.Serialization can break Infrastructure.Cache, while a change to Infrastructure.Cache can't break Infrastructure.Serialization.
- Position
- Below the diagonal: Infrastructure.Cache uses a module listed above it, which is the healthy direction.
18→2 Infrastructure.Contexts uses Abstractions.Contexts✕
- Connections
- 5 pairs of types, where a type in Infrastructure.Contexts uses a type in Abstractions.Contexts.
- The types involved
Modular.Infrastructure.Contexts.Context→Modular.Abstractions.Contexts.IContextModular.Infrastructure.Contexts.Context→Modular.Abstractions.Contexts.IIdentityContextModular.Infrastructure.Contexts.ContextAccessor→Modular.Abstractions.Contexts.IContextModular.Infrastructure.Contexts.ContextHolder→Modular.Abstractions.Contexts.IContextModular.Infrastructure.Contexts.IdentityContext→Modular.Abstractions.Contexts.IIdentityContext
- Direction
- Infrastructure.Contexts uses Abstractions.Contexts, so a change to Abstractions.Contexts can break Infrastructure.Contexts, while a change to Infrastructure.Contexts can't break Abstractions.Contexts.
- Position
- Below the diagonal: Infrastructure.Contexts uses a module listed above it, which is the healthy direction.
19→4 Infrastructure.Exceptions uses Abstractions.Exceptions✕
- Connections
- 4 pairs of types, where a type in Infrastructure.Exceptions uses a type in Abstractions.Exceptions.
- The types involved
Modular.Infrastructure.Exceptions.ExceptionCompositionRoot→Modular.Abstractions.Exceptions.ExceptionResponseModular.Infrastructure.Exceptions.ExceptionToResponseMapper→Modular.Abstractions.Exceptions.ExceptionResponseModular.Infrastructure.Exceptions.ExceptionToResponseMapper→Modular.Abstractions.Exceptions.IExceptionToResponseMapperModular.Infrastructure.Exceptions.IExceptionCompositionRoot→Modular.Abstractions.Exceptions.ExceptionResponse
- Direction
- Infrastructure.Exceptions uses Abstractions.Exceptions, so a change to Abstractions.Exceptions can break Infrastructure.Exceptions, while a change to Infrastructure.Exceptions can't break Abstractions.Exceptions.
- Position
- Below the diagonal: Infrastructure.Exceptions uses a module listed above it, which is the healthy direction.
20→5 Infrastructure.Kernel uses Abstractions.Kernel✕
- Connections
- 2 pairs of types, where a type in Infrastructure.Kernel uses a type in Abstractions.Kernel.
- The types involved
Modular.Infrastructure.Kernel.DomainEventDispatcher→Modular.Abstractions.Kernel.IDomainEventModular.Infrastructure.Kernel.DomainEventDispatcher→Modular.Abstractions.Kernel.IDomainEventDispatcher
- Direction
- Infrastructure.Kernel uses Abstractions.Kernel, so a change to Abstractions.Kernel can break Infrastructure.Kernel, while a change to Infrastructure.Kernel can't break Abstractions.Kernel.
- Position
- Below the diagonal: Infrastructure.Kernel uses a module listed above it, which is the healthy direction.
21→7 Infrastructure.Postgres uses Abstractions.Queries✕
- Connections
- 2 pairs of types, where a type in Infrastructure.Postgres uses a type in Abstractions.Queries.
- The types involved
Modular.Infrastructure.Postgres.Extensions→Modular.Abstractions.Queries.IPagedQueryModular.Infrastructure.Postgres.Extensions→Modular.Abstractions.Queries.Paged
- Direction
- Infrastructure.Postgres uses Abstractions.Queries, so a change to Abstractions.Queries can break Infrastructure.Postgres, while a change to Infrastructure.Postgres can't break Abstractions.Queries.
- Position
- Below the diagonal: Infrastructure.Postgres uses a module listed above it, which is the healthy direction.
22→7 Infrastructure.Queries uses Abstractions.Queries✕
- Connections
- 2 pairs of types, where a type in Infrastructure.Queries uses a type in Abstractions.Queries.
- The types involved
Modular.Infrastructure.Queries.QueryDispatcher→Modular.Abstractions.Queries.IQueryModular.Infrastructure.Queries.QueryDispatcher→Modular.Abstractions.Queries.IQueryDispatcher
- Direction
- Infrastructure.Queries uses Abstractions.Queries, so a change to Abstractions.Queries can break Infrastructure.Queries, while a change to Infrastructure.Queries can't break Abstractions.Queries.
- Position
- Below the diagonal: Infrastructure.Queries uses a module listed above it, which is the healthy direction.
23→7 Infrastructure.Queries.Decorators uses Abstractions.Queries✕
- Connections
- 1 pair of types, where a type in Infrastructure.Queries.Decorators uses a type in Abstractions.Queries.
- The types involved
Modular.Infrastructure.Queries.Decorators.PagedQueryHandlerDecorator→Modular.Abstractions.Queries.IQueryHandler
- Direction
- Infrastructure.Queries.Decorators uses Abstractions.Queries, so a change to Abstractions.Queries can break Infrastructure.Queries.Decorators, while a change to Infrastructure.Queries.Decorators can't break Abstractions.Queries.
- Position
- Below the diagonal: Infrastructure.Queries.Decorators uses a module listed above it, which is the healthy direction.
24→11 Infrastructure.Security uses Infrastructure.Security.Encryption✕
- Connections
- 4 pairs of types, where a type in Infrastructure.Security uses a type in Infrastructure.Security.Encryption.
- The types involved
Modular.Infrastructure.Security.SecurityProvider→Modular.Infrastructure.Security.Encryption.IEncryptorModular.Infrastructure.Security.SecurityProvider→Modular.Infrastructure.Security.Encryption.IHasherModular.Infrastructure.Security.SecurityProvider→Modular.Infrastructure.Security.Encryption.IRngModular.Infrastructure.Security.SecurityProvider→Modular.Infrastructure.Security.Encryption.ISecurityProvider
- Direction
- Infrastructure.Security uses Infrastructure.Security.Encryption, so a change to Infrastructure.Security.Encryption can break Infrastructure.Security, while a change to Infrastructure.Security can't break Infrastructure.Security.Encryption.
- Position
- Below the diagonal: Infrastructure.Security uses a module listed above it, which is the healthy direction.
25→8 Infrastructure.Storage uses Abstractions.Storage✕
- Connections
- 1 pair of types, where a type in Infrastructure.Storage uses a type in Abstractions.Storage.
- The types involved
Modular.Infrastructure.Storage.RequestStorage→Modular.Abstractions.Storage.IRequestStorage
- Direction
- Infrastructure.Storage uses Abstractions.Storage, so a change to Abstractions.Storage can break Infrastructure.Storage, while a change to Infrastructure.Storage can't break Abstractions.Storage.
- Position
- Below the diagonal: Infrastructure.Storage uses a module listed above it, which is the healthy direction.
26→9 Infrastructure.Time uses Abstractions.Time✕
- Connections
- 1 pair of types, where a type in Infrastructure.Time uses a type in Abstractions.Time.
- The types involved
Modular.Infrastructure.Time.UtcClock→Modular.Abstractions.Time.IClock
- Direction
- Infrastructure.Time uses Abstractions.Time, so a change to Abstractions.Time can break Infrastructure.Time, while a change to Infrastructure.Time can't break Abstractions.Time.
- Position
- Below the diagonal: Infrastructure.Time uses a module listed above it, which is the healthy direction.
27→14 Abstractions.Commands uses Abstractions.Messaging✕
- Connections
- 1 pair of types, where a type in Abstractions.Commands uses a type in Abstractions.Messaging.
- The types involved
Modular.Abstractions.Commands.ICommand→Modular.Abstractions.Messaging.IMessage
- Direction
- Abstractions.Commands uses Abstractions.Messaging, so a change to Abstractions.Messaging can break Abstractions.Commands, while a change to Abstractions.Commands can't break Abstractions.Messaging.
- Position
- Below the diagonal: Abstractions.Commands uses a module listed above it, which is the healthy direction.
28→14 Abstractions.Events uses Abstractions.Messaging✕
- Connections
- 1 pair of types, where a type in Abstractions.Events uses a type in Abstractions.Messaging.
- The types involved
Modular.Abstractions.Events.IEvent→Modular.Abstractions.Messaging.IMessage
- Direction
- Abstractions.Events uses Abstractions.Messaging, so a change to Abstractions.Messaging can break Abstractions.Events, while a change to Abstractions.Events can't break Abstractions.Messaging.
- Position
- Below the diagonal: Abstractions.Events uses a module listed above it, which is the healthy direction.
29→10 Infrastructure.Logging uses Infrastructure.Logging.Options✕
- Connections
- 3 pairs of types, where a type in Infrastructure.Logging uses a type in Infrastructure.Logging.Options.
- The types involved
Modular.Infrastructure.Logging.LoggerOptions→Modular.Infrastructure.Logging.Options.ConsoleOptionsModular.Infrastructure.Logging.LoggerOptions→Modular.Infrastructure.Logging.Options.FileOptionsModular.Infrastructure.Logging.LoggerOptions→Modular.Infrastructure.Logging.Options.SeqOptions
- Direction
- Infrastructure.Logging uses Infrastructure.Logging.Options, so a change to Infrastructure.Logging.Options can break Infrastructure.Logging, while a change to Infrastructure.Logging can't break Infrastructure.Logging.Options.
- Position
- Below the diagonal: Infrastructure.Logging uses a module listed above it, which is the healthy direction.
29→15 Infrastructure.Logging uses Infrastructure✕
- Connections
- 1 pair of types, where a type in Infrastructure.Logging uses a type in Infrastructure.
- The types involved
Modular.Infrastructure.Logging.Extensions→Modular.Infrastructure.AppOptions
- Direction
- Infrastructure.Logging uses Infrastructure, so a change to Infrastructure can break Infrastructure.Logging, while a change to Infrastructure.Logging can't break Infrastructure.
- Position
- Below the diagonal: Infrastructure.Logging uses a module listed above it, which is the healthy direction.
30→2 Infrastructure.Messaging.Contexts uses Abstractions.Contexts✕
- Connections
- 1 pair of types, where a type in Infrastructure.Messaging.Contexts uses a type in Abstractions.Contexts.
- The types involved
Modular.Infrastructure.Messaging.Contexts.MessageContext→Modular.Abstractions.Contexts.IContext
- Direction
- Infrastructure.Messaging.Contexts uses Abstractions.Contexts, so a change to Abstractions.Contexts can break Infrastructure.Messaging.Contexts, while a change to Infrastructure.Messaging.Contexts can't break Abstractions.Contexts.
- Position
- Below the diagonal: Infrastructure.Messaging.Contexts uses a module listed above it, which is the healthy direction.
30→14 Infrastructure.Messaging.Contexts uses Abstractions.Messaging✕
- Connections
- 8 pairs of types, where a type in Infrastructure.Messaging.Contexts uses a type in Abstractions.Messaging.
- The types involved
Modular.Infrastructure.Messaging.Contexts.IMessageContextRegistry→Modular.Abstractions.Messaging.IMessageModular.Infrastructure.Messaging.Contexts.IMessageContextRegistry→Modular.Abstractions.Messaging.IMessageContextModular.Infrastructure.Messaging.Contexts.MessageContext→Modular.Abstractions.Messaging.IMessageContextModular.Infrastructure.Messaging.Contexts.MessageContextProvider→Modular.Abstractions.Messaging.IMessageModular.Infrastructure.Messaging.Contexts.MessageContextProvider→Modular.Abstractions.Messaging.IMessageContextModular.Infrastructure.Messaging.Contexts.MessageContextProvider→Modular.Abstractions.Messaging.IMessageContextProviderModular.Infrastructure.Messaging.Contexts.MessageContextRegistry→Modular.Abstractions.Messaging.IMessageModular.Infrastructure.Messaging.Contexts.MessageContextRegistry→Modular.Abstractions.Messaging.IMessageContext
- Direction
- Infrastructure.Messaging.Contexts uses Abstractions.Messaging, so a change to Abstractions.Messaging can break Infrastructure.Messaging.Contexts, while a change to Infrastructure.Messaging.Contexts can't break Abstractions.Messaging.
- Position
- Below the diagonal: Infrastructure.Messaging.Contexts uses a module listed above it, which is the healthy direction.
31→6 Infrastructure.Messaging.Dispatchers uses Abstractions.Modules✕
- Connections
- 1 pair of types, where a type in Infrastructure.Messaging.Dispatchers uses a type in Abstractions.Modules.
- The types involved
Modular.Infrastructure.Messaging.Dispatchers.AsyncDispatcherJob→Modular.Abstractions.Modules.IModuleClient
- Direction
- Infrastructure.Messaging.Dispatchers uses Abstractions.Modules, so a change to Abstractions.Modules can break Infrastructure.Messaging.Dispatchers, while a change to Infrastructure.Messaging.Dispatchers can't break Abstractions.Modules.
- Position
- Below the diagonal: Infrastructure.Messaging.Dispatchers uses a module listed above it, which is the healthy direction.
31→14 Infrastructure.Messaging.Dispatchers uses Abstractions.Messaging✕
- Connections
- 3 pairs of types, where a type in Infrastructure.Messaging.Dispatchers uses a type in Abstractions.Messaging.
- The types involved
Modular.Infrastructure.Messaging.Dispatchers.AsyncMessageDispatcher→Modular.Abstractions.Messaging.IMessageContextProviderModular.Infrastructure.Messaging.Dispatchers.MessageEnvelope→Modular.Abstractions.Messaging.IMessageModular.Infrastructure.Messaging.Dispatchers.MessageEnvelope→Modular.Abstractions.Messaging.IMessageContext
- Direction
- Infrastructure.Messaging.Dispatchers uses Abstractions.Messaging, so a change to Abstractions.Messaging can break Infrastructure.Messaging.Dispatchers, while a change to Infrastructure.Messaging.Dispatchers can't break Abstractions.Messaging.
- Position
- Below the diagonal: Infrastructure.Messaging.Dispatchers uses a module listed above it, which is the healthy direction.
31→18 Infrastructure.Messaging.Dispatchers uses Infrastructure.Contexts✕
- Connections
- 1 pair of types, where a type in Infrastructure.Messaging.Dispatchers uses a type in Infrastructure.Contexts.
- The types involved
Modular.Infrastructure.Messaging.Dispatchers.AsyncDispatcherJob→Modular.Infrastructure.Contexts.ContextAccessor
- Direction
- Infrastructure.Messaging.Dispatchers uses Infrastructure.Contexts, so a change to Infrastructure.Contexts can break Infrastructure.Messaging.Dispatchers, while a change to Infrastructure.Messaging.Dispatchers can't break Infrastructure.Contexts.
- Position
- Below the diagonal: Infrastructure.Messaging.Dispatchers uses a module listed above it, which is the healthy direction.
32→27 Infrastructure.Commands uses Abstractions.Commands✕
- Connections
- 1 pair of types, where a type in Infrastructure.Commands uses a type in Abstractions.Commands.
- The types involved
Modular.Infrastructure.Commands.CommandDispatcher→Modular.Abstractions.Commands.ICommandDispatcher
- Direction
- Infrastructure.Commands uses Abstractions.Commands, so a change to Abstractions.Commands can break Infrastructure.Commands, while a change to Infrastructure.Commands can't break Abstractions.Commands.
- Position
- Below the diagonal: Infrastructure.Commands uses a module listed above it, which is the healthy direction.
33→7 Infrastructure.Dispatchers uses Abstractions.Queries✕
- Connections
- 2 pairs of types, where a type in Infrastructure.Dispatchers uses a type in Abstractions.Queries.
- The types involved
Modular.Infrastructure.Dispatchers.InMemoryDispatcher→Modular.Abstractions.Queries.IQueryModular.Infrastructure.Dispatchers.InMemoryDispatcher→Modular.Abstractions.Queries.IQueryDispatcher
- Direction
- Infrastructure.Dispatchers uses Abstractions.Queries, so a change to Abstractions.Queries can break Infrastructure.Dispatchers, while a change to Infrastructure.Dispatchers can't break Abstractions.Queries.
- Position
- Below the diagonal: Infrastructure.Dispatchers uses a module listed above it, which is the healthy direction.
33→13 Infrastructure.Dispatchers uses Abstractions.Dispatchers✕
- Connections
- 1 pair of types, where a type in Infrastructure.Dispatchers uses a type in Abstractions.Dispatchers.
- The types involved
Modular.Infrastructure.Dispatchers.InMemoryDispatcher→Modular.Abstractions.Dispatchers.IDispatcher
- Direction
- Infrastructure.Dispatchers uses Abstractions.Dispatchers, so a change to Abstractions.Dispatchers can break Infrastructure.Dispatchers, while a change to Infrastructure.Dispatchers can't break Abstractions.Dispatchers.
- Position
- Below the diagonal: Infrastructure.Dispatchers uses a module listed above it, which is the healthy direction.
33→27 Infrastructure.Dispatchers uses Abstractions.Commands✕
- Connections
- 1 pair of types, where a type in Infrastructure.Dispatchers uses a type in Abstractions.Commands.
- The types involved
Modular.Infrastructure.Dispatchers.InMemoryDispatcher→Modular.Abstractions.Commands.ICommandDispatcher
- Direction
- Infrastructure.Dispatchers uses Abstractions.Commands, so a change to Abstractions.Commands can break Infrastructure.Dispatchers, while a change to Infrastructure.Dispatchers can't break Abstractions.Commands.
- Position
- Below the diagonal: Infrastructure.Dispatchers uses a module listed above it, which is the healthy direction.
33→28 Infrastructure.Dispatchers uses Abstractions.Events✕
- Connections
- 1 pair of types, where a type in Infrastructure.Dispatchers uses a type in Abstractions.Events.
- The types involved
Modular.Infrastructure.Dispatchers.InMemoryDispatcher→Modular.Abstractions.Events.IEventDispatcher
- Direction
- Infrastructure.Dispatchers uses Abstractions.Events, so a change to Abstractions.Events can break Infrastructure.Dispatchers, while a change to Infrastructure.Dispatchers can't break Abstractions.Events.
- Position
- Below the diagonal: Infrastructure.Dispatchers uses a module listed above it, which is the healthy direction.
34→28 Infrastructure.Events uses Abstractions.Events✕
- Connections
- 1 pair of types, where a type in Infrastructure.Events uses a type in Abstractions.Events.
- The types involved
Modular.Infrastructure.Events.EventDispatcher→Modular.Abstractions.Events.IEventDispatcher
- Direction
- Infrastructure.Events uses Abstractions.Events, so a change to Abstractions.Events can break Infrastructure.Events, while a change to Infrastructure.Events can't break Abstractions.Events.
- Position
- Below the diagonal: Infrastructure.Events uses a module listed above it, which is the healthy direction.
35→2 Infrastructure.Logging.Decorators uses Abstractions.Contexts✕
- Connections
- 3 pairs of types, where a type in Infrastructure.Logging.Decorators uses a type in Abstractions.Contexts.
- The types involved
Modular.Infrastructure.Logging.Decorators.LoggingCommandHandlerDecorator→Modular.Abstractions.Contexts.IContextModular.Infrastructure.Logging.Decorators.LoggingEventHandlerDecorator→Modular.Abstractions.Contexts.IContextModular.Infrastructure.Logging.Decorators.LoggingQueryHandlerDecorator→Modular.Abstractions.Contexts.IContext
- Direction
- Infrastructure.Logging.Decorators uses Abstractions.Contexts, so a change to Abstractions.Contexts can break Infrastructure.Logging.Decorators, while a change to Infrastructure.Logging.Decorators can't break Abstractions.Contexts.
- Position
- Below the diagonal: Infrastructure.Logging.Decorators uses a module listed above it, which is the healthy direction.
35→7 Infrastructure.Logging.Decorators uses Abstractions.Queries✕
- Connections
- 1 pair of types, where a type in Infrastructure.Logging.Decorators uses a type in Abstractions.Queries.
- The types involved
Modular.Infrastructure.Logging.Decorators.LoggingQueryHandlerDecorator→Modular.Abstractions.Queries.IQueryHandler
- Direction
- Infrastructure.Logging.Decorators uses Abstractions.Queries, so a change to Abstractions.Queries can break Infrastructure.Logging.Decorators, while a change to Infrastructure.Logging.Decorators can't break Abstractions.Queries.
- Position
- Below the diagonal: Infrastructure.Logging.Decorators uses a module listed above it, which is the healthy direction.
35→14 Infrastructure.Logging.Decorators uses Abstractions.Messaging✕
- Connections
- 2 pairs of types, where a type in Infrastructure.Logging.Decorators uses a type in Abstractions.Messaging.
- The types involved
Modular.Infrastructure.Logging.Decorators.LoggingCommandHandlerDecorator→Modular.Abstractions.Messaging.IMessageContextProviderModular.Infrastructure.Logging.Decorators.LoggingEventHandlerDecorator→Modular.Abstractions.Messaging.IMessageContextProvider
- Direction
- Infrastructure.Logging.Decorators uses Abstractions.Messaging, so a change to Abstractions.Messaging can break Infrastructure.Logging.Decorators, while a change to Infrastructure.Logging.Decorators can't break Abstractions.Messaging.
- Position
- Below the diagonal: Infrastructure.Logging.Decorators uses a module listed above it, which is the healthy direction.
35→27 Infrastructure.Logging.Decorators uses Abstractions.Commands✕
- Connections
- 1 pair of types, where a type in Infrastructure.Logging.Decorators uses a type in Abstractions.Commands.
- The types involved
Modular.Infrastructure.Logging.Decorators.LoggingCommandHandlerDecorator→Modular.Abstractions.Commands.ICommandHandler
- Direction
- Infrastructure.Logging.Decorators uses Abstractions.Commands, so a change to Abstractions.Commands can break Infrastructure.Logging.Decorators, while a change to Infrastructure.Logging.Decorators can't break Abstractions.Commands.
- Position
- Below the diagonal: Infrastructure.Logging.Decorators uses a module listed above it, which is the healthy direction.
35→28 Infrastructure.Logging.Decorators uses Abstractions.Events✕
- Connections
- 1 pair of types, where a type in Infrastructure.Logging.Decorators uses a type in Abstractions.Events.
- The types involved
Modular.Infrastructure.Logging.Decorators.LoggingEventHandlerDecorator→Modular.Abstractions.Events.IEventHandler
- Direction
- Infrastructure.Logging.Decorators uses Abstractions.Events, so a change to Abstractions.Events can break Infrastructure.Logging.Decorators, while a change to Infrastructure.Logging.Decorators can't break Abstractions.Events.
- Position
- Below the diagonal: Infrastructure.Logging.Decorators uses a module listed above it, which is the healthy direction.
36→6 Infrastructure.Messaging.Outbox uses Abstractions.Modules✕
- Connections
- 1 pair of types, where a type in Infrastructure.Messaging.Outbox uses a type in Abstractions.Modules.
- The types involved
Modular.Infrastructure.Messaging.Outbox.EfOutbox→Modular.Abstractions.Modules.IModuleClient
- Direction
- Infrastructure.Messaging.Outbox uses Abstractions.Modules, so a change to Abstractions.Modules can break Infrastructure.Messaging.Outbox, while a change to Infrastructure.Messaging.Outbox can't break Abstractions.Modules.
- Position
- Below the diagonal: Infrastructure.Messaging.Outbox uses a module listed above it, which is the healthy direction.
36→9 Infrastructure.Messaging.Outbox uses Abstractions.Time✕
- Connections
- 4 pairs of types, where a type in Infrastructure.Messaging.Outbox uses a type in Abstractions.Time.
- The types involved
Modular.Infrastructure.Messaging.Outbox.EfInbox→Modular.Abstractions.Time.IClockModular.Infrastructure.Messaging.Outbox.EfOutbox→Modular.Abstractions.Time.IClockModular.Infrastructure.Messaging.Outbox.InboxCleanupProcessor→Modular.Abstractions.Time.IClockModular.Infrastructure.Messaging.Outbox.OutboxCleanupProcessor→Modular.Abstractions.Time.IClock
- Direction
- Infrastructure.Messaging.Outbox uses Abstractions.Time, so a change to Abstractions.Time can break Infrastructure.Messaging.Outbox, while a change to Infrastructure.Messaging.Outbox can't break Abstractions.Time.
- Position
- Below the diagonal: Infrastructure.Messaging.Outbox uses a module listed above it, which is the healthy direction.
36→12 Infrastructure.Messaging.Outbox uses Infrastructure.Serialization✕
- Connections
- 1 pair of types, where a type in Infrastructure.Messaging.Outbox uses a type in Infrastructure.Serialization.
- The types involved
Modular.Infrastructure.Messaging.Outbox.EfOutbox→Modular.Infrastructure.Serialization.IJsonSerializer
- Direction
- Infrastructure.Messaging.Outbox uses Infrastructure.Serialization, so a change to Infrastructure.Serialization can break Infrastructure.Messaging.Outbox, while a change to Infrastructure.Messaging.Outbox can't break Infrastructure.Serialization.
- Position
- Below the diagonal: Infrastructure.Messaging.Outbox uses a module listed above it, which is the healthy direction.
36→14 Infrastructure.Messaging.Outbox uses Abstractions.Messaging✕
- Connections
- 7 pairs of types, where a type in Infrastructure.Messaging.Outbox uses a type in Abstractions.Messaging.
- The types involved
Modular.Infrastructure.Messaging.Outbox.EfOutbox→Modular.Abstractions.Messaging.IMessageModular.Infrastructure.Messaging.Outbox.EfOutbox→Modular.Abstractions.Messaging.IMessageContextProviderModular.Infrastructure.Messaging.Outbox.IOutbox→Modular.Abstractions.Messaging.IMessageModular.Infrastructure.Messaging.Outbox.IOutboxBroker→Modular.Abstractions.Messaging.IMessageModular.Infrastructure.Messaging.Outbox.InboxEventHandlerDecorator→Modular.Abstractions.Messaging.IMessageContextProviderModular.Infrastructure.Messaging.Outbox.OutboxBroker→Modular.Abstractions.Messaging.IMessageModular.Infrastructure.Messaging.Outbox.OutboxTypeRegistry→Modular.Abstractions.Messaging.IMessage
- Direction
- Infrastructure.Messaging.Outbox uses Abstractions.Messaging, so a change to Abstractions.Messaging can break Infrastructure.Messaging.Outbox, while a change to Infrastructure.Messaging.Outbox can't break Abstractions.Messaging.
- Position
- Below the diagonal: Infrastructure.Messaging.Outbox uses a module listed above it, which is the healthy direction.
36→28 Infrastructure.Messaging.Outbox uses Abstractions.Events✕
- Connections
- 1 pair of types, where a type in Infrastructure.Messaging.Outbox uses a type in Abstractions.Events.
- The types involved
Modular.Infrastructure.Messaging.Outbox.InboxEventHandlerDecorator→Modular.Abstractions.Events.IEventHandler
- Direction
- Infrastructure.Messaging.Outbox uses Abstractions.Events, so a change to Abstractions.Events can break Infrastructure.Messaging.Outbox, while a change to Infrastructure.Messaging.Outbox can't break Abstractions.Events.
- Position
- Below the diagonal: Infrastructure.Messaging.Outbox uses a module listed above it, which is the healthy direction.
36→30 Infrastructure.Messaging.Outbox uses Infrastructure.Messaging.Contexts✕
- Connections
- 1 pair of types, where a type in Infrastructure.Messaging.Outbox uses a type in Infrastructure.Messaging.Contexts.
- The types involved
Modular.Infrastructure.Messaging.Outbox.EfOutbox→Modular.Infrastructure.Messaging.Contexts.IMessageContextRegistry
- Direction
- Infrastructure.Messaging.Outbox uses Infrastructure.Messaging.Contexts, so a change to Infrastructure.Messaging.Contexts can break Infrastructure.Messaging.Outbox, while a change to Infrastructure.Messaging.Outbox can't break Infrastructure.Messaging.Contexts.
- Position
- Below the diagonal: Infrastructure.Messaging.Outbox uses a module listed above it, which is the healthy direction.
36→31 Infrastructure.Messaging.Outbox uses Infrastructure.Messaging.Dispatchers✕
- Connections
- 2 pairs of types, where a type in Infrastructure.Messaging.Outbox uses a type in Infrastructure.Messaging.Dispatchers.
- The types involved
Modular.Infrastructure.Messaging.Outbox.EfOutbox→Modular.Infrastructure.Messaging.Dispatchers.IAsyncMessageDispatcherModular.Infrastructure.Messaging.Outbox.EfOutbox→Modular.Infrastructure.Messaging.Dispatchers.MessagingOptions
- Direction
- Infrastructure.Messaging.Outbox uses Infrastructure.Messaging.Dispatchers, so a change to Infrastructure.Messaging.Dispatchers can break Infrastructure.Messaging.Outbox, while a change to Infrastructure.Messaging.Outbox can't break Infrastructure.Messaging.Dispatchers.
- Position
- Below the diagonal: Infrastructure.Messaging.Outbox uses a module listed above it, which is the healthy direction.
37→6 Infrastructure.Modules uses Abstractions.Modules✕
- Connections
- 5 pairs of types, where a type in Infrastructure.Modules uses a type in Abstractions.Modules.
- The types involved
Modular.Infrastructure.Modules.Extensions→Modular.Abstractions.Modules.IModuleModular.Infrastructure.Modules.Extensions→Modular.Abstractions.Modules.IModuleSubscriberModular.Infrastructure.Modules.ModuleClient→Modular.Abstractions.Modules.IModuleClientModular.Infrastructure.Modules.ModuleLoader→Modular.Abstractions.Modules.IModuleModular.Infrastructure.Modules.ModuleSubscriber→Modular.Abstractions.Modules.IModuleSubscriber
- Direction
- Infrastructure.Modules uses Abstractions.Modules, so a change to Abstractions.Modules can break Infrastructure.Modules, while a change to Infrastructure.Modules can't break Abstractions.Modules.
- Position
- Below the diagonal: Infrastructure.Modules uses a module listed above it, which is the healthy direction.
37→14 Infrastructure.Modules uses Abstractions.Messaging✕
- Connections
- 2 pairs of types, where a type in Infrastructure.Modules uses a type in Abstractions.Messaging.
- The types involved
Modular.Infrastructure.Modules.ModuleClient→Modular.Abstractions.Messaging.IMessageContextProviderModular.Infrastructure.Modules.ModuleClient→Modular.Abstractions.Messaging.MessageAttribute
- Direction
- Infrastructure.Modules uses Abstractions.Messaging, so a change to Abstractions.Messaging can break Infrastructure.Modules, while a change to Infrastructure.Modules can't break Abstractions.Messaging.
- Position
- Below the diagonal: Infrastructure.Modules uses a module listed above it, which is the healthy direction.
37→30 Infrastructure.Modules uses Infrastructure.Messaging.Contexts✕
- Connections
- 1 pair of types, where a type in Infrastructure.Modules uses a type in Infrastructure.Messaging.Contexts.
- The types involved
Modular.Infrastructure.Modules.ModuleClient→Modular.Infrastructure.Messaging.Contexts.IMessageContextRegistry
- Direction
- Infrastructure.Modules uses Infrastructure.Messaging.Contexts, so a change to Infrastructure.Messaging.Contexts can break Infrastructure.Modules, while a change to Infrastructure.Modules can't break Infrastructure.Messaging.Contexts.
- Position
- Below the diagonal: Infrastructure.Modules uses a module listed above it, which is the healthy direction.
38→21 Infrastructure.Postgres.Decorators uses Infrastructure.Postgres✕
- Connections
- 2 pairs of types, where a type in Infrastructure.Postgres.Decorators uses a type in Infrastructure.Postgres.
- The types involved
Modular.Infrastructure.Postgres.Decorators.TransactionalCommandHandlerDecorator→Modular.Infrastructure.Postgres.UnitOfWorkTypeRegistryModular.Infrastructure.Postgres.Decorators.TransactionalEventHandlerDecorator→Modular.Infrastructure.Postgres.UnitOfWorkTypeRegistry
- Direction
- Infrastructure.Postgres.Decorators uses Infrastructure.Postgres, so a change to Infrastructure.Postgres can break Infrastructure.Postgres.Decorators, while a change to Infrastructure.Postgres.Decorators can't break Infrastructure.Postgres.
- Position
- Below the diagonal: Infrastructure.Postgres.Decorators uses a module listed above it, which is the healthy direction.
38→27 Infrastructure.Postgres.Decorators uses Abstractions.Commands✕
- Connections
- 1 pair of types, where a type in Infrastructure.Postgres.Decorators uses a type in Abstractions.Commands.
- The types involved
Modular.Infrastructure.Postgres.Decorators.TransactionalCommandHandlerDecorator→Modular.Abstractions.Commands.ICommandHandler
- Direction
- Infrastructure.Postgres.Decorators uses Abstractions.Commands, so a change to Abstractions.Commands can break Infrastructure.Postgres.Decorators, while a change to Infrastructure.Postgres.Decorators can't break Abstractions.Commands.
- Position
- Below the diagonal: Infrastructure.Postgres.Decorators uses a module listed above it, which is the healthy direction.
38→28 Infrastructure.Postgres.Decorators uses Abstractions.Events✕
- Connections
- 1 pair of types, where a type in Infrastructure.Postgres.Decorators uses a type in Abstractions.Events.
- The types involved
Modular.Infrastructure.Postgres.Decorators.TransactionalEventHandlerDecorator→Modular.Abstractions.Events.IEventHandler
- Direction
- Infrastructure.Postgres.Decorators uses Abstractions.Events, so a change to Abstractions.Events can break Infrastructure.Postgres.Decorators, while a change to Infrastructure.Postgres.Decorators can't break Abstractions.Events.
- Position
- Below the diagonal: Infrastructure.Postgres.Decorators uses a module listed above it, which is the healthy direction.
39→3 Infrastructure.Contracts uses Abstractions.Contracts✕
- Connections
- 1 pair of types, where a type in Infrastructure.Contracts uses a type in Abstractions.Contracts.
- The types involved
Modular.Infrastructure.Contracts.EmptyContract→Modular.Abstractions.Contracts.Contract
- Direction
- Infrastructure.Contracts uses Abstractions.Contracts, so a change to Abstractions.Contracts can break Infrastructure.Contracts, while a change to Infrastructure.Contracts can't break Abstractions.Contracts.
- Position
- Below the diagonal: Infrastructure.Contracts uses a module listed above it, which is the healthy direction.
39→14 Infrastructure.Contracts uses Abstractions.Messaging✕
- Connections
- 1 pair of types, where a type in Infrastructure.Contracts uses a type in Abstractions.Messaging.
- The types involved
Modular.Infrastructure.Contracts.Empty→Modular.Abstractions.Messaging.IMessage
- Direction
- Infrastructure.Contracts uses Abstractions.Messaging, so a change to Abstractions.Messaging can break Infrastructure.Contracts, while a change to Infrastructure.Contracts can't break Abstractions.Messaging.
- Position
- Below the diagonal: Infrastructure.Contracts uses a module listed above it, which is the healthy direction.
39→37 Infrastructure.Contracts uses Infrastructure.Modules✕
- Connections
- 1 pair of types, where a type in Infrastructure.Contracts uses a type in Infrastructure.Modules.
- The types involved
Modular.Infrastructure.Contracts.ContractRegistry→Modular.Infrastructure.Modules.IModuleRegistry
- Direction
- Infrastructure.Contracts uses Infrastructure.Modules, so a change to Infrastructure.Modules can break Infrastructure.Contracts, while a change to Infrastructure.Contracts can't break Infrastructure.Modules.
- Position
- Below the diagonal: Infrastructure.Contracts uses a module listed above it, which is the healthy direction.
40→2 Infrastructure.Messaging.Brokers uses Abstractions.Contexts✕
- Connections
- 1 pair of types, where a type in Infrastructure.Messaging.Brokers uses a type in Abstractions.Contexts.
- The types involved
Modular.Infrastructure.Messaging.Brokers.InMemoryMessageBroker→Modular.Abstractions.Contexts.IContext
- Direction
- Infrastructure.Messaging.Brokers uses Abstractions.Contexts, so a change to Abstractions.Contexts can break Infrastructure.Messaging.Brokers, while a change to Infrastructure.Messaging.Brokers can't break Abstractions.Contexts.
- Position
- Below the diagonal: Infrastructure.Messaging.Brokers uses a module listed above it, which is the healthy direction.
40→6 Infrastructure.Messaging.Brokers uses Abstractions.Modules✕
- Connections
- 1 pair of types, where a type in Infrastructure.Messaging.Brokers uses a type in Abstractions.Modules.
- The types involved
Modular.Infrastructure.Messaging.Brokers.InMemoryMessageBroker→Modular.Abstractions.Modules.IModuleClient
- Direction
- Infrastructure.Messaging.Brokers uses Abstractions.Modules, so a change to Abstractions.Modules can break Infrastructure.Messaging.Brokers, while a change to Infrastructure.Messaging.Brokers can't break Abstractions.Modules.
- Position
- Below the diagonal: Infrastructure.Messaging.Brokers uses a module listed above it, which is the healthy direction.
40→14 Infrastructure.Messaging.Brokers uses Abstractions.Messaging✕
- Connections
- 2 pairs of types, where a type in Infrastructure.Messaging.Brokers uses a type in Abstractions.Messaging.
- The types involved
Modular.Infrastructure.Messaging.Brokers.InMemoryMessageBroker→Modular.Abstractions.Messaging.IMessageModular.Infrastructure.Messaging.Brokers.InMemoryMessageBroker→Modular.Abstractions.Messaging.IMessageBroker
- Direction
- Infrastructure.Messaging.Brokers uses Abstractions.Messaging, so a change to Abstractions.Messaging can break Infrastructure.Messaging.Brokers, while a change to Infrastructure.Messaging.Brokers can't break Abstractions.Messaging.
- Position
- Below the diagonal: Infrastructure.Messaging.Brokers uses a module listed above it, which is the healthy direction.
40→30 Infrastructure.Messaging.Brokers uses Infrastructure.Messaging.Contexts✕
- Connections
- 1 pair of types, where a type in Infrastructure.Messaging.Brokers uses a type in Infrastructure.Messaging.Contexts.
- The types involved
Modular.Infrastructure.Messaging.Brokers.InMemoryMessageBroker→Modular.Infrastructure.Messaging.Contexts.IMessageContextRegistry
- Direction
- Infrastructure.Messaging.Brokers uses Infrastructure.Messaging.Contexts, so a change to Infrastructure.Messaging.Contexts can break Infrastructure.Messaging.Brokers, while a change to Infrastructure.Messaging.Brokers can't break Infrastructure.Messaging.Contexts.
- Position
- Below the diagonal: Infrastructure.Messaging.Brokers uses a module listed above it, which is the healthy direction.
40→31 Infrastructure.Messaging.Brokers uses Infrastructure.Messaging.Dispatchers✕
- Connections
- 2 pairs of types, where a type in Infrastructure.Messaging.Brokers uses a type in Infrastructure.Messaging.Dispatchers.
- The types involved
Modular.Infrastructure.Messaging.Brokers.InMemoryMessageBroker→Modular.Infrastructure.Messaging.Dispatchers.IAsyncMessageDispatcherModular.Infrastructure.Messaging.Brokers.InMemoryMessageBroker→Modular.Infrastructure.Messaging.Dispatchers.MessagingOptions
- Direction
- Infrastructure.Messaging.Brokers uses Infrastructure.Messaging.Dispatchers, so a change to Infrastructure.Messaging.Dispatchers can break Infrastructure.Messaging.Brokers, while a change to Infrastructure.Messaging.Brokers can't break Infrastructure.Messaging.Dispatchers.
- Position
- Below the diagonal: Infrastructure.Messaging.Brokers uses a module listed above it, which is the healthy direction.
40→36 Infrastructure.Messaging.Brokers uses Infrastructure.Messaging.Outbox✕
- Connections
- 1 pair of types, where a type in Infrastructure.Messaging.Brokers uses a type in Infrastructure.Messaging.Outbox.
- The types involved
Modular.Infrastructure.Messaging.Brokers.InMemoryMessageBroker→Modular.Infrastructure.Messaging.Outbox.IOutboxBroker
- Direction
- Infrastructure.Messaging.Brokers uses Infrastructure.Messaging.Outbox, so a change to Infrastructure.Messaging.Outbox can break Infrastructure.Messaging.Brokers, while a change to Infrastructure.Messaging.Brokers can't break Infrastructure.Messaging.Outbox.
- Position
- Below the diagonal: Infrastructure.Messaging.Brokers 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 — Performance
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A03:2025 — Software Supply Chain Failures | 6 | High / Critical |
| A05:2025 — Injection | 1 | Medium |
Roadmap
Begin by establishing a CI workflow to automatically build and test the codebase on every push or pull request. Next, address the single gaps in test coverage and distribution to ensure all code is properly validated. Finally, improve dependency hygiene by updating the seventeen outdated packages, prioritizing Modular.Infrastructure and Modular.Abstractions, and resolving the one identified vulnerability.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 1 No automated tests finding(s) in Code Coverage. | +15.1 pts | Low | Code Coverage |
| Resolve the 1 No tests found finding(s) in Test Distribution. | +15.1 pts | Low | Test Distribution |
| Resolve the 1 Vulnerable finding(s) in Dependency Hygiene. | +9.3 pts | Low | Dependency Hygiene |
| Resolve the 17 Outdated finding(s) in Dependency Hygiene — start with REDACTED (15), Modular.Abstractions.csproj (2). | +12.2 pts | Medium | Dependency Hygiene |
| Resolve the 2 redundant comment finding(s) in Comment Value — start with ICommand.cs, REDACTED. | +2.8 pts | Low | Comment Value |
| Add a CI workflow that builds and runs the test suite on every push/PR. | +5.3 pts | Medium | CI/CD gates |
| Run what this repository's stack ships: CodeQL's csharp pack, or a .NET security analyzer package — or `semgrep --config=auto`, which runs on any language — locally for now, since there is no CI pipeline here yet, and as a step of the first workflow you add so a security regression fails the build instead of landing. | +5.3 pts | Medium | Security & performance tooling |
| Resolve the 2 Low XML-doc coverage finding(s) in Documentation Quality — start with Modular.Abstractions.csproj, REDACTED. | +2.1 pts | Low | Documentation Quality |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 0.0 | Slop | Dependency Vulnerabilities: Critical CVE: REDACTED |
| REDACTED | 7.4 | Mixed | Static Analysis (SAST): Medium: REDACTED |
| src/Modular.Abstractions/Modular.Abstractions.csproj | 7.8 | Mixed | Documentation Quality: Low XML-doc coverage: Modular.Abstractions |
| src/Modular.Infrastructure/Contracts/ContractRegistry.cs | 8.2 | Near-clean | Explicit Debt: Dead code: EmptyContract |
| src/Modular.Infrastructure/Messaging/Outbox/InboxCleanupProcessor.cs | 8.5 | Near-clean | Code Duplication: Duplicated block (13 lines × 2) |
| src/Modular.Infrastructure/Postgres/Decorators/TransactionalCommandHandlerDecorator.cs | 8.5 | Near-clean | Code Duplication: Duplicated block (13 lines × 2) |
| src/Modular.Infrastructure/Services/AppInitializer.cs | 8.5 | Near-clean | Code Duplication: Duplicated block (14 lines × 2) |
| src/Modular.Infrastructure/Messaging/Outbox/OutboxCleanupProcessor.cs | 8.5 | Near-clean | Code Duplication: Duplicated block (11 lines × 2) |
| src/Modular.Infrastructure/Logging/Decorators/LoggingCommandHandlerDecorator.cs | 8.5 | Near-clean | Code Duplication: Duplicated block (5 lines × 2) |
| src/Modular.Abstractions/Commands/ICommand.cs | 9.3 | Near-clean | Comment Value: misleading comment |
| src/Modular.Infrastructure/Auth/Extensions.cs | 9.5 | Near-clean | IL Efficiency: IL efficiency: 1 authored method(s) exceed the IL budget |
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. 69 of 74 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 — 74 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, 90 of 109 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line.
- Is there a tool behind the number? Every score below names the method that produced it — Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled · advisory — not a narrative.
- Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.
Tools & methods
| Method | Backs | Version | Evaluator |
|---|---|---|---|
| Roslyn static analysis | Complexity, cohesion, coupling, dead code, API surface, layering | 5.3.0 | ✓ deterministic |
| Native secret scanner | Hardcoded secrets / credentials | 1.0.0 | ✓ deterministic |
| Watchdog duplication detector (in-process) | Code duplication | 1.0.0 | ✓ deterministic |
| Coverage (coverlet / dotnet-coverage) | Line & branch coverage | 10.0.400 | ✓ deterministic |
| NuGet / dotnet | Outdated, vulnerable & deprecated dependencies | 10.0.400 | ✓ deterministic |
| git / LibGit2Sharp | Churn hotspots, knowledge concentration, history | 2.43.0 · 0.31.0 | ✓ deterministic |
| gitleaks · semgrep · trivy | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 | ✓ deterministic |
| LLM (sampled · advisory) | Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurement | Local LLM | ◐ LLM · sampled · advisory |
Run transparency — what happened this run
- D15 Churn × Complexity Hotspots — measured, with a gap in what it reached — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. Git history depth insufficient — this repository has 9 commit(s), too few for a reliable trend signal. The clone is complete, so there is no deeper history to fetch: the signal returns as the project accumulates history.
- D16 Bus Factor — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. Too few commits for a meaningful bus factor (9 commit(s) sampled, fewer than the 50 this dimension needs before a bus factor means anything).
- D22 Internal API Consistency — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. The loaded project set declares no packable project and no `.Contracts` project, so there is no intentionally-exposed surface for API consistency to be judged over.
- D34 Knowledge Freshness — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. Too few commits to judge knowledge freshness (9 commit(s) sampled).
- D35 Change Coupling — measured, with a gap in what it reached — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. Git history depth insufficient — this repository has 9 commit(s), too few for a reliable change-coupling signal. The clone is complete, so there is no deeper history to fetch: the signal returns as the project accumulates history.
Limitations & what we did not check
Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.
Per-dimension blind spots
- D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically — it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
- D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
- D3 God Classes: "God class" is sized by members and responsibilities visible in the type — a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module — one class/IIFE — earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
- D4 Code Duplication: Duplication is token-similarity — an in-process token-stream comparison over sliding windows, with type-aware normalization — so it finds copy-paste, not semantic duplication expressed differently. Committed machine-written code (scaffolded migrations, designer/codegen output, protobuf/OpenAPI stubs, model snapshots) is EXCLUDED — its repetition is the tool's, not the team's — so the score reflects hand-written duplication only.
- D5 Coupling: Coupling is measured between projects/assemblies — runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
- D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic — it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
- D8 Code Coverage: Coverage is measured by building and running the test suite inside Watchdog's isolated image — the target repo is never modified, and nothing on your systems runs. So coverage exists only when the suite builds and runs within the inline time budget; one that needs external services, can't build, or exceeds the budget yields no coverage (D8 then degrades to not-measured, not a low score). Line coverage also says nothing about assertion quality.
- D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals — a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
- 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.
- 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.
- D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
- D44 Platform End-of-Life: The support table is FROZEN, so it goes out of date by losing RECALL: a release that ended support after the table was written is missed until the table is refreshed, and this dimension reading 10 is not evidence that a platform is current. Only platforms the repository DECLARES in a place this pass reads are seen — a runtime named only in a Dockerfile (D31's subject), in a CI workflow (D29's), or in a file this pass does not parse (go.mod, a Gemfile ruby directive) is invisible here, which is why a repository declaring none of them abstains rather than scoring. Only frameworks with a PUBLISHED support policy are tracked: React, Flask and Express publish none, so their age cannot be judged and their absence from a report is not a statement that they are supported.
- AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
- AX9 CQS / query purity: Handlers are found by interface/name convention — a query handler using neither is not seen. Mutation is a resolved write/publish invocation (SaveChanges/repository/bus), so a write hidden behind a hand-rolled wrapper, reflection, or a string-keyed service locator resolves to a non-persistence type and isn't flagged; it detects that a query writes state, not whether the write is a legitimate read-side cache update. Clean means "no resolved write/publish in a query body", not a proof of CQS purity.
- C4 Data Retention: This control is scored from in-repo evidence only — its real-world effectiveness, exercised only at runtime, is outside a static scan.
- 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.
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
5 duplicated block group(s) detected.
What to do
- Resolve the 2 Duplicated block (13 lines × 2) finding(s) in Code Duplication — start with InboxCleanupProcessor.cs, TransactionalCommandHandlerDecorator.cs. — One of this dimension's main actionable groups (2 warning-level).
- Resolve the 1 Duplicated block (14 lines × 2) finding(s) in Code Duplication — start with AppInitializer.cs. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Duplicated block (11 lines × 2) finding(s) in Code Duplication — start with OutboxCleanupProcessor.cs. — One of this dimension's main actionable groups (1 warning-level).
- Stand up a CI pipeline, then gate Code Duplication in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D5 · Coupling
2 projects, 0 dependency cycle(s), 0 unstable depended-on project(s).
D6 · Cohesion (LCOM4)
0 of 15 classes have LCOM4 above 3.
D8 · Code Coverage
No automated tests — no test code was found in this repository.
What to do
- Resolve the 1 No automated tests finding(s) in Code Coverage. — One of this dimension's main actionable groups (1 issue-level).
- Stand up a CI pipeline, then gate Code Coverage in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D9 · Test Distribution
No test suite found.
What to do
- Resolve the 1 No tests found finding(s) in Test Distribution. — One of this dimension's main actionable groups (1 recommendation-level).
D12 · Dependency Hygiene
23 outdated, 1 vulnerable, 0 deprecated packages.
What to do
- Resolve the 17 Outdated finding(s) in Dependency Hygiene — start with REDACTED (15), Modular.Abstractions.csproj (2). — One of this dimension's main actionable groups (17 recommendation-level).
- Resolve the 1 Vulnerable finding(s) in Dependency Hygiene. — One of this dimension's main actionable groups (1 issue-level).
- Stand up a CI pipeline, then gate Dependency Hygiene in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D13 · Secret Scanning
Secret scan ran and found no leaked secrets.
D14 · License Compliance
0 of 246 packages use a banned license. ★ DEPTH: this repository's MSBuild projects declare 23 direct `PackageReference`(s), and 223 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
0 deducted debt markers + 1 dead symbols across 3933 LoC in the .NET projects (0.0/KLoC) → score 9.9.
What to do
- Resolve the 1 Dead code finding(s) in Explicit Debt — start with ContractRegistry.cs. — One of this dimension's main actionable groups (1 warning-level).
- Stand up a CI pipeline, then gate Explicit Debt in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D18 · Solution Shape
2 projects, 153 source files, 3933 hand-written lines of code (3933 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), 1 inter-project edges.
D19 · Documentation Quality
The repository's root README gives a strong overview (Modular framework is a set of components for the Modular Monolith architecture, written in C# on .NET, split into Abstractions and Infrastructure projects; it lists every component plus four sample projects) and links to comprehensive learning resources. It also begins with an opening that could be considered an 'overview' but does not quote itself (the README's About section is the first visible text), so the overview discipline is borderline thin. The document is clipped mid-sentence inside a bulleted list, so further sections are not flagged as missing.
What to do
- Resolve the 2 Low XML-doc coverage finding(s) in Documentation Quality — start with Modular.Abstractions.csproj, REDACTED. — One of this dimension's main actionable groups (2 warning-level).
D21 · Naming Consistency
0 naming inconsistencies across 200 sampled symbols.
D24 · Comment Value
1 valuable / 2 redundant across 6 sampled comments; 3 shown with locations.
What to do
- Resolve the 2 redundant comment finding(s) in Comment Value — start with ICommand.cs, REDACTED. — One of this dimension's main actionable groups (2 recommendation-level).
- Resolve the 1 misleading comment finding(s) in Comment Value — start with ICommand.cs. — One of this dimension's main actionable groups (1 recommendation-level).
D26 · Project Cohesion
0 of 2 projects flagged as possibly oversized/incoherent.
D27 · Navigability
91 % of calls cross a namespace and 16 % go through an interface, but 100 % of collaborators are co-located — so a call's collaborators sit together and tracing stays easy. Baseline: small — navigation cost is tolerated.
D28 · Secrets (history)
gitleaks scanned the full history AND the current working tree and found no secrets.
D29 · Static Analysis (SAST)
1 finding(s): 0 critical, 0 high, 1 medium, 0 low.
What to do
- Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 warning-level).
D30 · Dependency Vulnerabilities
6 finding(s): 1 critical, 3 high, 2 medium, 0 low.
What to do
- Resolve the 3 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (3). — One of this dimension's main actionable groups (3 issue-level).
- Resolve the 1 Critical CVE finding(s) in Dependency Vulnerabilities — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
- Resolve the 2 Medium CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (2). — One of this dimension's main actionable groups (2 warning-level).
D35 · Change Coupling
No strong hidden change-coupling between production files.
D39 · IL Efficiency
1 of 291 first-party methods have an oversized IL body.
D44 · Platform End-of-Life
1 end-of-life runtime(s) and 0 end-of-life framework(s), read from 2 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
- `ContractRegistry` is a singleton (one shared instance) but mutates instance state outside any lock (_types; e.g. `_types` at line 66). — src/Modular.Infrastructure/Contracts/ContractRegistry.cs:13
- `InboxTypeRegistry` is a singleton (one shared instance) but mutates instance state outside any lock (_types; e.g. `_types` at line 10). — src/Modular.Infrastructure/Messaging/Outbox/InboxTypeRegistry.cs:6
- `OutboxTypeRegistry` is a singleton (one shared instance) but mutates instance state outside any lock (_types; e.g. `_types` at line 11). — src/Modular.Infrastructure/Messaging/Outbox/OutboxTypeRegistry.cs:7
- `UnitOfWorkTypeRegistry` is a singleton (one shared instance) but mutates instance state outside any lock (_types; e.g. `_types` at line 10). — src/Modular.Infrastructure/Postgres/UnitOfWorkTypeRegistry.cs:6
What to do
- Keep singletons stateless or back their state with thread-safe types (Concurrent*/Immutable*); otherwise concurrent callers race.
AX3 · Project dependency cycles
AX5 · Architecture & structure
AX6 · Interface segregation
AX9 · CQS / query purity
C1 · Data Protection
- No in-app HTTPS enforcement, but ForwardedHeaders / 127.0.0.1 binding indicates a reverse-proxy topology — adding UseHttpsRedirection in the app would be wrong in this layout. Verify the reverse proxy enforces TLS. — src/Modular.Infrastructure/Extensions.cs:124
What to do
- Strengthen data-at-rest protection: vault your keys (Azure Key Vault / AWS KMS / IDataProtector key ring) and encrypt the most sensitive columns (EF HasConversion encryption or provider-native column encryption) — partial coverage still leaves gaps.
C2 · Access Controls
- Authorization machinery exists but no [Authorize] usage and no imperative guard calls were found at handlers.
What to do
- Enforce authorization at every handler — call the guard method (throw-on-violation) from each one, or adopt [Authorize] so protected-by-default is demonstrable.
C4 · Data Retention
- A retention mechanism is present, but the data-lifecycle is not yet complete — missing: a documented retention period / data-expiry.
What to do
- Complete the data-lifecycle story: an expiry limit (a declared maximum age for the stored data — a retention-age setting, or a store-level TTL where your storage offers one), a scheduled purge/cleanup job that enforces it, and a documented retention period covering the personal data.
ED5 · Idempotency
- `Dispatchers.AsyncDispatcherJob.ExecuteAsync` mutates persistent state (an event publish) with no idempotency guard, and the model confirms a re-run would double-apply it. A retry or at-least-once redelivery means it can run twice — add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write. — src/Modular.Infrastructure/Messaging/Dispatchers/AsyncDispatcherJob.cs:27
What to do
- Make retry-prone mutations idempotent — guard each write with an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write, so a re-run doesn't double-apply.
GD1 · Unfinished & placeholder code
IC1 · Incompleteness & stubs
- A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers). — REDACTED:63
What to do
- Clear the softer debt: remove commented-out code and dead branches, re-enable or delete skipped tests, and replace blanket warning suppressions with targeted ones.
M1 · Documentation (README)
What to do
- Add a build/run (quick start) section to the root README — the first thing a newcomer needs.
- 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 an 'Architecture' / 'How it works' section to the root README — the high-level shape.
- Add a README to the 2 of 2 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.
- No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named `architecture` or `design` in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape — no `## Architecture` heading, no "architecture overview"/"high-level design" phrasing, no "the architecture is …" introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document — not evidence that nobody wrote the shape down.
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.
- Add a C4 context/container diagram (Structurizr, PlantUML or Mermaid) or an architecture.md overview.
M3 · Folder & project structure
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.
M4 · Documentation accuracy
P1 · CI/CD gates
- No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, …) — changes aren't gated by an automated build/test.
What to do
- Add a CI workflow that builds and runs the test suite on every push/PR.
P2 · Observability
What to do
- Consider OpenTelemetry tracing/metrics and a health-check endpoint for operability.
P3 · Security & performance tooling
- No static application security testing detected. For this repository's stack, add CodeQL's csharp pack, or a .NET security analyzer package (or `semgrep --config=auto`, which runs on any language) — this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge's web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen — if that is your case the row is wrong, and saying so is more useful than adding a second scanner.
What to do
- Run what this repository's stack ships: CodeQL's csharp pack, or a .NET security analyzer package — or `semgrep --config=auto`, which runs on any language — locally for now, since there is no CI pipeline here yet, and as a step of the first workflow you add so a security regression fails the build instead of landing.
- Enable Dependabot/Renovate or a dependency-review gate.
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P7 · Outbound HTTP resilience
- `services.AddHttpClient()` registers an outbound HTTP client with no resilience handler, retry policy or timeout of its own in its builder chain. A slow or failing dependency will hold this service's request, thread or connection — and cascade — until the call gives up on its own (100 s for HttpClient's default). — src/Modular.Infrastructure/Extensions.cs:82
What to do
- Add `AddStandardResilienceHandler()` (or a Polly policy and an explicit timeout) to each client registration flagged here, so a flaky dependency can't take the app down.
P8 · Schema migrations
PF3 · Async & latency hygiene
S1 · Web-Security Posture
- MD5/SHA1 is constructed here, and both are collision-broken. If this digest protects anything — a signature, an integrity or tamper check, a credential, or any value an attacker can influence — that is a real weakness: use SHA-256+ for content integrity, or a KDF (PBKDF2/Argon2/BCrypt) for password storage. If it only derives a non-security identifier (a cache key, a file or mutex name), collision resistance carries no security consequence here; make that intent explicit instead — a non-cryptographic hash such as `System.IO.Hashing.XxHash64`/`Crc32` says it in code — since the algorithm alone cannot distinguish the two uses. — src/Modular.Infrastructure/Security/Encryption/Md5.cs:10
- This type encrypts through `SymmetricAlgorithm`, whose every cipher mode (CBC/ECB/OFB/CFB/CTS) is unauthenticated, and no keyed MAC or AEAD cipher appears anywhere in it — so nothing establishes that the ciphertext it produced is the ciphertext it later reads back. Encryption alone provides confidentiality, not integrity: unauthenticated CBC is MALLEABLE, and an attacker who can modify stored or transmitted ciphertext can flip chosen plaintext bits in the following block by flipping ciphertext bits in the preceding one, without ever knowing the key. Where the decrypt path reports failure differently for a padding error than for a downstream one — a broad `catch` that returns null is the usual spelling — the same construction also answers the attacker's questions, which is the padding-oracle shape that recovers plaintext outright. Prefer an AEAD cipher: `AesGcm` or `ChaCha20Poly1305` authenticate the ciphertext as part of encrypting it, and give you an associated-data slot for the surrounding context. Where the format cannot change, MAC it with encrypt-then-MAC — HMAC-SHA256 over the IV and the ciphertext together, with a key derived separately from the encryption key — and verify that tag with `CryptographicOperations.FixedTimeEquals` BEFORE decrypting anything. — src/Modular.Infrastructure/Security/Encryption/Encryptor.cs:25
- 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.)
What to do
- Review each MD5/SHA1 use by what it protects: replace it with SHA-256+ (or a KDF for passwords) where the digest is security-relevant, and switch it to a non-cryptographic hash (`System.IO.Hashing.XxHash64`/`Crc32`) where it only derives an identifier such as a cache key or a mutex name.
- Authenticate ciphertext, do not just encrypt it: move to an AEAD cipher (`AesGcm`, `ChaCha20Poly1305`), or where the wire format is fixed, add encrypt-then-MAC with HMAC-SHA256 over IV+ciphertext under a separately derived key and verify the tag with `CryptographicOperations.FixedTimeEquals` before decrypting. Unauthenticated CBC is malleable, and a decrypt path that distinguishes padding failures from other failures is a padding oracle.
- Add security response headers (Content-Security-Policy first, then Strict-Transport-Security, X-Content-Type-Options and a frame policy) — defense in depth, even when a reverse proxy could set them.
X1 · Async correctness
X12 · Unreachable branch
X13 · Undrained process stream
X14 · Bypassable address classification
X15 · Unvalidated length from an untrusted reader
X16 · Unfloored truncation loop
X17 · Uncapped recursion over a caller-supplied document
X18 · Disposal-pattern correctness
X19 · Unrestored process-global state
X2 · Cancellation propagation
- Only 23/31 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, and the token `context.RequestAborted` carries reaches none of the calls here that take one — this work can't be stopped early once started. Pass `context.RequestAborted` on, or take a CancellationToken. — src/Modular.Infrastructure/Exceptions/ErrorHandlerMiddleware.cs:34
- No CancellationToken parameter — this work can't be stopped early once started. (×7) — src/Modular.Infrastructure/Messaging/Outbox/EfInbox.cs:30, src/Modular.Infrastructure/Messaging/Outbox/EfInbox.cs:101, src/Modular.Infrastructure/Messaging/Outbox/EfOutbox.cs:51, …
What to do
- Thread a CancellationToken through async methods so work stops promptly on cancellation.
X20 · Mistyped argument guard
X21 · Side-effecting pattern guard
X22 · Contradicted release guard
X23 · Unguarded diagnostic materialisation
X24 · Document value interpolated into markup unescaped
X25 · Inert configuration knob
X26 · Unsynchronised callback handoff
X27 · Collection changed while being enumerated
X28 · Index access outside its own emptiness guard
X29 · Per-element action decided by a fixed element
X3 · Exception handling
X30 · Support guard that admits what it rejects
X32 · Type resolved by simple name across every loaded assembly
X4 · Structured logging
- Logging an interpolated string (`$"..."`) collapses the event to plain text — you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: `LogInformation("User {UserId} did {Action}", id, action)`. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template+args overload that forwards to the underlying logger, then migrate call sites to it. (×35) — src/Modular.Infrastructure/Exceptions/ErrorHandlerMiddleware.cs:29, src/Modular.Infrastructure/Messaging/Dispatchers/AsyncDispatcherJob.cs:39, src/Modular.Infrastructure/Messaging/Outbox/EfInbox.cs:35, …
What to do
- Interpolated log message defeats structured logging
X5 · Nullable reference types
- 0/2 NRT-eligible project(s) enable <Nullable>enable</Nullable> (projects targeting a pre-C#-8 framework are excluded — NRTs aren't available there). NRTs catch a whole class of null-deref bugs at compile time.
What to do
- Enable <Nullable>enable</Nullable> across all projects and resolve warnings rather than suppressing with `!`.
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 61% | Adequate — gated by X4, X5 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Architecture | 73% | Strong | Solid. |
| Maturity | 48% | Weak — gated by M2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 23% | Critical — gated by D8, D9, P1, P3, P7 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 55% | Adequate — gated by C2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Performance | 100% | Exemplary | Strongest area. |
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.
- X7 Silent fallback defaults — 1 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
Not evidenced — 5 control(s) we could not find positive evidence for
- C3 Audit Trail — Repo shows no audit-logging mechanism (IAuditable, an immutable audit log, an EF SaveChanges interceptor) for sensitive changes — absence of evidence is not evidence of a working control. Record an audit trail in code (or document where it lives) so this dimension can be scored.
- C5 Data-Subject Rights — Repo shows no corroborated data-subject-rights mechanism (erasure / export-portability / consent) tied to a subject id or GDPR vocabulary — absence of evidence is not evidence of a working control. Implement erasure, data export/portability and consent tracking over the subject's records.
- P4 Deployment & Rollback — not evidenced — no deploy/rollback/approval signal in the repo; absence of evidence is not evidence of a manual release
- P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
- P6 Release Hygiene — not evidenced — no changelog, version stamp or semver release tag in the repo
Not included — 38 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
- AXB1 Runtime evidence locked — no reproducible boot — This repository has nothing the runtime tiers could boot or serve — no markup, no UI framework or web-server dependency, no UI component source, no native UI project and no API definition — nothing here is a surface to boot — so runtime a11y/egress/header evidence has no subject here. Not applicable: this is neither a gap in the scan nor a finding about your code.
- 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 — too few commits for a meaningful bus factor
- D20 ADR Quality — N/A — ADRs are expected on deployable products with a user-facing host, not consumed libraries; no ADR log is required here.
- D22 Internal API Consistency — No intentionally-exposed public API to evaluate for consistency.
- D23 Boundary Type-Coupling — small single-context codebase (3,933 production LoC in the .NET projects) — bounded contexts are not needed at this size No bounded-context organisation was detected either — neither a context-shaped layout, nor 2+ sibling source directories each declaring an aggregate root, nor 2+ projects each declaring an entity of their own. Declaring this codebase's bounded contexts (≥2) would let cross-boundary type coupling be assessed. Declare them in `.codehealth/config.yaml` at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it — e.g. `architecture:` → `contexts:` → `Billing: ["src/billing", "Acme.Billing"]`, `Catalog: ["src/catalog", "Acme.Catalog"]`.
- D25 ADR Conformance — no ADRs to check
- D31 IaC & Container Security — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan.
- D32 Data Compliance (PII/GDPR) — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that.
- D34 Knowledge Freshness — too few commits to judge knowledge freshness
- D36 Supply-chain Provenance & Signing — No CI/build pipeline found (.github/.forgejo/.gitea workflows, .circleci, .buildkite, .woodpecker, .teamcity, .gitlab-ci.yml, .travis.yml, bitbucket-pipelines.yml, .drone.yml, .cirrus.yml, .woodpecker.yml, appveyor.yml, azure-pipelines*.yml, .pipelines/, .vsts-ci/, .azuredevops/, Jenkinsfile); there is no build to attest provenance for.
- D37 Vulnerability-disclosure Policy — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
- D40 Network Egress Confinement — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
- D41 Kernel & Syscall Confinement — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
- D42 Runtime Threat Enforcement — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
- D43 Malicious Dependencies — Not scored — no dependency manifest in a supported ecosystem was read for this repository. A gap in the analyzer's language coverage, NOT a finding that the repository is free of vulnerable dependencies (a Python pyproject.toml/requirements.txt (pip/uv/Poetry), a Swift Package.swift/Package.resolved, a Cargo manifest, a Go module (go.mod/go.sum), a Gradle version catalogue, a Maven POM, an sbt build (build.sbt), composer.json, package.json, a Dart pubspec.yaml, an Elixir mix.exs/mix.lock (Hex), a rebar.config / erlang.mk DEPS (Hex), a Ruby Gemfile/Gemfile.lock or .gemspec (Bundler/RubyGems) — not scanned yet).
- D7 Architectural Integrity — no checkable ADRs and no dependency cycles — architectural integrity not assessed
- DM1 Domain Modelling — not scored — this repository shows none of the 3 signals this lens looks for
- ED1 Event-Driven — applicable but not scored (2 of 3 signals for this style — below the bar we score at): 7 event handler(s); 9 CQRS handler(s)
- ES1 Event Sourcing — not scored — this repository shows none of the 3 signals this lens looks for
- P12 CI test-gate honesty — no CI workflow found
- 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.
- X10 Duplicated predicate — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X6 Hand-rolled structured-format parsing — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- 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 — 6 finding(s)
- REDACTED
- REDACTED
- REDACTED
- Vulnerable: MessagePack
- REDACTED
- No automated tests
Serious — 30 finding(s)
- Async method without CancellationToken: HandleErrorAsync src/Modular.Infrastructure/Exceptions/ErrorHandlerMiddleware.cs:34
- Async method without CancellationToken: HandleAsync src/Modular.Infrastructure/Messaging/Outbox/EfInbox.cs:30
- Async method without CancellationToken: CleanupAsync src/Modular.Infrastructure/Messaging/Outbox/EfInbox.cs:101
- Async method without CancellationToken: SaveAsync src/Modular.Infrastructure/Messaging/Outbox/EfOutbox.cs:51
- Async method without CancellationToken: PublishUnsentAsync src/Modular.Infrastructure/Messaging/Outbox/EfOutbox.cs:94
- Async method without CancellationToken: CleanupAsync src/Modular.Infrastructure/Messaging/Outbox/EfOutbox.cs:148
- Async method without CancellationToken: SendAsync src/Modular.Infrastructure/Messaging/Outbox/OutboxBroker.cs:24
- Async method without CancellationToken: ExecuteAsync src/Modular.Infrastructure/Postgres/PostgresUnitOfWork.cs:16
- Stateful singleton: ContractRegistry src/Modular.Infrastructure/Contracts/ContractRegistry.cs:13
- Stateful singleton: InboxTypeRegistry src/Modular.Infrastructure/Messaging/Outbox/InboxTypeRegistry.cs:6
- Stateful singleton: OutboxTypeRegistry src/Modular.Infrastructure/Messaging/Outbox/OutboxTypeRegistry.cs:7
- Stateful singleton: UnitOfWorkTypeRegistry src/Modular.Infrastructure/Postgres/UnitOfWorkTypeRegistry.cs:6
- Low XML-doc coverage: Modular.Abstractions src/Modular.Abstractions/Modular.Abstractions.csproj
- Low XML-doc coverage: Modular.Infrastructure REDACTED
- REDACTED
- REDACTED
- Duplicated block (13 lines × 2) src/Modular.Infrastructure/Messaging/Outbox/InboxCleanupProcessor.cs:37
- Duplicated block (13 lines × 2) src/Modular.Infrastructure/Postgres/Decorators/TransactionalCommandHandlerDecorator.cs:31
- Dead code: EmptyContract src/Modular.Infrastructure/Contracts/ContractRegistry.cs:224
- REDACTED
- Duplicated block (14 lines × 2) src/Modular.Infrastructure/Services/AppInitializer.cs:24
- Duplicated block (11 lines × 2) src/Modular.Infrastructure/Messaging/Outbox/OutboxCleanupProcessor.cs:60
- Duplicated block (5 lines × 2) src/Modular.Infrastructure/Logging/Decorators/LoggingCommandHandlerDecorator.cs:34
- End-of-life runtime: .NET net7.0 REDACTED:4
- Non-idempotent mutation: Dispatchers.AsyncDispatcherJob.ExecuteAsync src/Modular.Infrastructure/Messaging/Dispatchers/AsyncDispatcherJob.cs:27
- No CI pipeline
- Outbound HTTP without resilience src/Modular.Infrastructure/Extensions.cs:82
- Weak hash algorithm src/Modular.Infrastructure/Security/Encryption/Md5.cs:10
- Ciphertext is encrypted but not authenticated src/Modular.Infrastructure/Security/Encryption/Encryptor.cs:25
- NuGet dependencies are not locked
Minor — 67 finding(s)
- Interpolated log message defeats structured logging src/Modular.Infrastructure/Exceptions/ErrorHandlerMiddleware.cs:29
- Interpolated log message defeats structured logging src/Modular.Infrastructure/Messaging/Dispatchers/AsyncDispatcherJob.cs:39
- Interpolated log message defeats structured logging src/Modular.Infrastructure/Messaging/Outbox/EfInbox.cs:35
- Interpolated log message defeats structured logging src/Modular.Infrastructure/Messaging/Outbox/EfInbox.cs:48
- Interpolated log message defeats structured logging src/Modular.Infrastructure/Messaging/Outbox/EfInbox.cs:51
- Interpolated log message defeats structured logging src/Modular.Infrastructure/Messaging/Outbox/EfInbox.cs:55
- Interpolated log message defeats structured logging src/Modular.Infrastructure/Messaging/Outbox/EfInbox.cs:75
- Interpolated log message defeats structured logging src/Modular.Infrastructure/Messaging/Outbox/EfInbox.cs:82
- Interpolated log message defeats structured logging src/Modular.Infrastructure/Messaging/Outbox/EfInbox.cs:106
- Interpolated log message defeats structured logging src/Modular.Infrastructure/Messaging/Outbox/EfInbox.cs:114
- Interpolated log message defeats structured logging src/Modular.Infrastructure/Messaging/Outbox/EfInbox.cs:118
- Interpolated log message defeats structured logging src/Modular.Infrastructure/Messaging/Outbox/EfInbox.cs:121
- Interpolated log message defeats structured logging src/Modular.Infrastructure/Messaging/Outbox/EfOutbox.cs:56
- Interpolated log message defeats structured logging src/Modular.Infrastructure/Messaging/Outbox/EfOutbox.cs:62
- Interpolated log message defeats structured logging src/Modular.Infrastructure/Messaging/Outbox/EfOutbox.cs:85
- Interpolated log message defeats structured logging src/Modular.Infrastructure/Messaging/Outbox/EfOutbox.cs:91
- Interpolated log message defeats structured logging src/Modular.Infrastructure/Messaging/Outbox/EfOutbox.cs:99
- Interpolated log message defeats structured logging src/Modular.Infrastructure/Messaging/Outbox/EfOutbox.cs:106
- Interpolated log message defeats structured logging src/Modular.Infrastructure/Messaging/Outbox/EfOutbox.cs:110
- Interpolated log message defeats structured logging src/Modular.Infrastructure/Messaging/Outbox/EfOutbox.cs:117
- Interpolated log message defeats structured logging src/Modular.Infrastructure/Messaging/Outbox/EfOutbox.cs:153
- Interpolated log message defeats structured logging src/Modular.Infrastructure/Messaging/Outbox/EfOutbox.cs:161
- Interpolated log message defeats structured logging src/Modular.Infrastructure/Messaging/Outbox/EfOutbox.cs:165
- Interpolated log message defeats structured logging src/Modular.Infrastructure/Messaging/Outbox/EfOutbox.cs:168
- Interpolated log message defeats structured logging src/Modular.Infrastructure/Messaging/Outbox/InboxCleanupProcessor.cs:65
- Outdated: Microsoft.Extensions.Configuration.Abstractions src/Modular.Abstractions/Modular.Abstractions.csproj:8
- Outdated: Microsoft.Extensions.DependencyInjection.Abstractions src/Modular.Abstractions/Modular.Abstractions.csproj:9
- Outdated: Microsoft.AspNetCore.Authentication.JwtBearer REDACTED:14
- Outdated: Microsoft.AspNetCore.Authorization REDACTED:15
- Outdated: Microsoft.Extensions.Caching.StackExchangeRedis REDACTED:16
- Outdated: Microsoft.Extensions.Http.Polly REDACTED:17
- Outdated: Npgsql.EntityFrameworkCore.PostgreSQL REDACTED:18
- Outdated: Scrutor REDACTED:19
- Outdated: Serilog.AspNetCore REDACTED:21
- Outdated: Serilog.Extensions.Logging REDACTED:22
- Outdated: Serilog.Sinks.Seq REDACTED:25
- Outdated: Swashbuckle.AspNetCore REDACTED:27
- Outdated: Swashbuckle.AspNetCore.Annotations REDACTED:28
- Outdated: Swashbuckle.AspNetCore.ReDoc REDACTED:29
- Outdated: Swashbuckle.AspNetCore.Swagger REDACTED:30
- Outdated: Swashbuckle.AspNetCore.SwaggerGen REDACTED:31
- Outdated: Swashbuckle.AspNetCore.SwaggerUI REDACTED:32
- redundant comment src/Modular.Abstractions/Commands/ICommand.cs:5
- redundant comment REDACTED:63
- Thin authorization enforcement
- Partial data-retention evidence
- misleading comment src/Modular.Abstractions/Commands/ICommand.cs:5
- IL efficiency: 1 authored method(s) exceed the IL budget src/Modular.Infrastructure/Auth/Extensions.cs:28
- No tests found
- Commented-out code REDACTED:63
- No ADRs
- No architecture diagram/doc
- No SAST
- No security response headers detected
- Not all async methods take a CancellationToken
- Nullable reference types not enabled everywhere
- Silent fallback default on parse failure src/Modular.Infrastructure/Logging/Extensions.cs:130
Minor — 6 finding(s)
- Outdated: Humanizer
- Outdated: MessagePack
- Outdated: Serilog
- Outdated: Serilog.Sinks.Console
- Outdated: Serilog.Sinks.File
- Outdated: SmartFormat.NET
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-6918987cf5c445ffb8e27c1699c4d45d/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-6918987cf5c445ffb8e27c1699c4d45d/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 . | 1 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | dotnet | — | dotnet list Modular.sln package --vulnerable --include-transitive --format json | 6 | artifacts/raw/dotnet-vulnerable.json |
| D31 · IaC & Container Security | trivy | — | trivy: not applicable — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan. | 0 | — |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that. | 0 | — |
| D36 · Supply-chain Provenance & Signing | provenance | — | provenance: not applicable — No CI/build pipeline found (.github/.forgejo/.gitea workflows, .circleci, .buildkite, .woodpecker, .teamcity, .gitlab-ci.yml, .travis.yml, bitbucket-pipelines.yml, .drone.yml, .cirrus.yml, .woodpecker.yml, appveyor.yml, azure-pipelines*.yml, .pipelines/, .vsts-ci/, .azuredevops/, Jenkinsfile); there is no build to attest provenance for. | 0 | — |
| D37 · Vulnerability-disclosure Policy | disclosure | — | disclosure: not applicable — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed. | 0 | — |
| D40 · Network Egress Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here. | 0 | — |
| D41 · Kernel & Syscall Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here. | 0 | — |
| D42 · Runtime Threat Enforcement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here. | 0 | — |
| D43 · Malicious Dependencies | none (no readable dependency manifest) | — | none (no readable dependency manifest): not applicable — Not scored — no dependency manifest in a supported ecosystem was read for this repository. A gap in the analyzer's language coverage, NOT a finding that the repository is free of vulnerable dependencies (a Python pyproject.toml/requirements.txt (pip/uv/Poetry), a Swift Package.swift/Package.resolved, a Cargo manifest, a Go module (go.mod/go.sum), a Gradle version catalogue, a Maven POM, an sbt build (build.sbt), composer.json, package.json, a Dart pubspec.yaml, an Elixir mix.exs/mix.lock (Hex), a rebar.config / erlang.mk DEPS (Hex), a Ruby Gemfile/Gemfile.lock or .gemspec (Bundler/RubyGems) — not scanned yet). | 0 | — |
Appendix C — Personal-data map
Email — 1 field(s)
- JsonWebToken.Email src/Modular.Abstractions/Auth/JsonWebToken.cs:12