Executive summary
youssefbennour/AspNetCore.Starter scores 42 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 15 and is rated Critical. Its REDACTED Scanning 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 8 Leaked secret finding(s) in REDACTED Scanning and to resolve the 2 Banned license finding(s) in License Compliance, and if Production Readiness rose to 70, the score would rise from 42 to about 64.
33 findings are critical: nine in Secrets (history), eight in REDACTED Scanning, five in Dependency Vulnerabilities, two in Dependency Hygiene, two in Explicit Debt, two in IaC & Container Security, two in License Compliance, two in Outbox / dual-write and one in Project dependency cycles.
Watchdog couldn't measure Runtime accessibility in this code, so that dimension is left out of the score. The product code is 2,491 lines, which would take an estimated 0.1 person-years, around €4,200, to rebuild.
If Production Readiness rose from 15 to 70, the lowest score rated Strong, the score would rise from 42 to about 64.
New since the last survey: 52 findings
- Dependency Hygiene · Deprecated: FluentValidation.AspNetCore src/Starter/Starter.csproj
- Dependency Hygiene · Deprecated: FluentValidation.AspNetCore REDACTED
- Dependency Hygiene · Deprecated: Microsoft.IdentityModel.Abstractions src/Starter/Starter.csproj
- Dependency Hygiene · Deprecated: Microsoft.IdentityModel.Abstractions src/Starter.BFF/Starter.BFF.csproj
- Dependency Hygiene · Deprecated: Microsoft.IdentityModel.Abstractions REDACTED
- Dependency Hygiene · Deprecated: Microsoft.IdentityModel.JsonWebTokens src/Starter/Starter.csproj
- Dependency Hygiene · Deprecated: Microsoft.IdentityModel.JsonWebTokens src/Starter.BFF/Starter.BFF.csproj
- Dependency Hygiene · Deprecated: Microsoft.IdentityModel.JsonWebTokens REDACTED
- Dependency Hygiene · Deprecated: Microsoft.IdentityModel.Logging src/Starter/Starter.csproj
- Dependency Hygiene · Deprecated: Microsoft.IdentityModel.Logging src/Starter.BFF/Starter.BFF.csproj
- Dependency Hygiene · Deprecated: Microsoft.IdentityModel.Logging REDACTED
- Dependency Hygiene · Deprecated: Microsoft.IdentityModel.Protocols src/Starter/Starter.csproj
- Dependency Hygiene · Deprecated: Microsoft.IdentityModel.Protocols src/Starter.BFF/Starter.BFF.csproj
- Dependency Hygiene · Deprecated: Microsoft.IdentityModel.Protocols REDACTED
- Dependency Hygiene · Deprecated: Microsoft.IdentityModel.Protocols.OpenIdConnect src/Starter/Starter.csproj
- Dependency Hygiene · Deprecated: Microsoft.IdentityModel.Protocols.OpenIdConnect src/Starter.BFF/Starter.BFF.csproj
- Dependency Hygiene · Deprecated: Microsoft.IdentityModel.Protocols.OpenIdConnect REDACTED
- Dependency Hygiene · Deprecated: Microsoft.IdentityModel.Tokens src/Starter/Starter.csproj
- Dependency Hygiene · Deprecated: Microsoft.IdentityModel.Tokens src/Starter.BFF/Starter.BFF.csproj
- Dependency Hygiene · Deprecated: Microsoft.IdentityModel.Tokens REDACTED
- Dependency Hygiene · Deprecated: System.IdentityModel.Tokens.Jwt src/Starter/Starter.csproj
- Dependency Hygiene · Deprecated: System.IdentityModel.Tokens.Jwt src/Starter.BFF/Starter.BFF.csproj
- Dependency Hygiene · Deprecated: System.IdentityModel.Tokens.Jwt REDACTED
- Dependency Hygiene · Deprecated: xunit src/Starter.UnitTests/Starter.UnitTests.csproj
- Dependency Hygiene · Deprecated: xunit REDACTED
- REDACTED Scanning · REDACTED
- REDACTED Scanning · REDACTED
- REDACTED Scanning · REDACTED
- REDACTED Scanning · REDACTED
- REDACTED Scanning · REDACTED
- Explicit Debt · Dead code: ISoftDeletable src/Starter.Common/DataAccess/Auditing/ISoftDeletable.cs
- Explicit Debt · Dead code: ToPaginatedList src/Starter.Common/DataAccess/Orms/EfCore/PaginationExtensions.cs
- Explicit Debt · Dead code: Search src/Starter.Common/DataAccess/Orms/EfCore/SearchExtensions.cs
- Explicit Debt · Dead code: ToBusinessRuleValidationException src/Starter.Common/ErrorHandling/ErrorHandlingExtensions.cs
- Explicit Debt · Dead code: PublishManyAsync src/Starter.Common/Events/EventBus/InMemory/InMemoryEventBus.cs
- Explicit Debt · Dead code: PublishManyAsync src/Starter.Common/Events/EventBus/Persistent/PersistentEventBus.cs
- Explicit Debt · Dead code: MustBeNumeric src/Starter.Common/Validation/Requests/RequestValidationsExtensions.cs
- Explicit Debt · Dead code: MustBeGreaterThanOrEquals src/Starter.Common/Validation/Requests/RequestValidationsExtensions.cs
- Explicit Debt · Dead code: NumberMustBeInRange src/Starter.Common/Validation/Requests/RequestValidationsExtensions.cs
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Dependency Vulnerabilities · REDACTED
- Cancellation propagation · Async call defeats the CancellationToken: ExecuteAsync src/Starter/Contracts/EventBus/Persistent/ContractsOutboxWorker.cs
- Cancellation propagation · Async call defeats the CancellationToken: ExecuteAsync src/Starter/Offers/EventBus/Persistent/OffersOutboxWorker.cs
- Cancellation propagation · Async call defeats the CancellationToken: ExecuteAsync src/Starter/Passes/EventBus/Persistent/PassesOutboxWorker.cs
- Cancellation propagation · Async call defeats the CancellationToken: PublishManyAsync src/Starter.Common/Events/EventBus/Persistent/PersistentEventBus.cs
- Cancellation propagation · Async call defeats the CancellationToken: ProcessEventAsync src/Starter.Common/EventualConsistency/Outbox/OutboxProcessor.cs
- Cancellation propagation · Async method drops its ambient CancellationToken: InvokeAsync src/Starter.Common/Validation/Requests/RequestValidationApiFilter.cs
- Incompleteness & stubs · Hollow method — returns a constant without doing the work src/Starter/Reports/ReportsModule.cs
Fixed since the last survey: 9 findings
- Dependency Hygiene · Deprecated: FluentValidation.AspNetCore
- Dependency Hygiene · Deprecated: Microsoft.IdentityModel.Abstractions
- Dependency Hygiene · Deprecated: Microsoft.IdentityModel.JsonWebTokens
- Dependency Hygiene · Deprecated: Microsoft.IdentityModel.Logging
- Dependency Hygiene · Deprecated: Microsoft.IdentityModel.Protocols
- Dependency Hygiene · Deprecated: Microsoft.IdentityModel.Protocols.OpenIdConnect
- Dependency Hygiene · Deprecated: Microsoft.IdentityModel.Tokens
- Dependency Hygiene · Deprecated: System.IdentityModel.Tokens.Jwt
- Dependency Hygiene · Deprecated: xunit
Rebuild cost: about €4,200 · Estimate
| Cost to rebuild | €1,400 to €7,000, for 24 to 74 hours of work, about 0.1 person-years for one engineer |
|---|---|
| Difficulty of the problem | High, judged from the kind of software and how it is built. Code that solves a harder problem, such as payments or medical bookings, costs more per line to write. |
| Quality factor | ×0.7 at a score of 42. 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: 2,491 lines of product code, of which 45% is declarations and boilerplate, 50% straight logic and 5% logic with branches |
Top priorities
Diagnosis: what the measurements show together
Architecture — module dependency graph
Architecture: which parts of the code depend on which
| uses → | 1 Common.ErrorHandling.ErrorModels | 2 Common.ErrorHandling.Exceptions.Abstractions | 3 Common.Events | 4 Common.Events.EventBus | 5 Common.Events.Publisher | 6 Common.Requests.Models | 7 Contracts.Data | 8 Passes.Data | 9 Reports.GenerateNewPassesRegistrationsPerMonthReport.DataRetriever | 10 Common.ErrorHandling.Exceptions | 11 Common.Events.EventBus.InMemory | 12 Common.Events.Publisher.InMemory | 13 Common.EventualConsistency.Outbox | 14 Common.Responses.Models | 15 Contracts.EventBus | 16 Contracts.GetAllContracts | 17 Contracts.SignContract | 18 Contracts.SignContract.Events | 19 Offers.EventBus | 20 Passes.EventBus | 21 Passes.MarkPassAsExpired.Events | 22 Common.BusinessRulesEngine | 23 Common.DataAccess.Orms.EfCore | 24 Common.DataAccess.Orms.EfCore.DbContexts | 25 Common.ErrorHandling | 26 Contracts.EventBus.InMemory | 27 Offers.EventBus.InMemory | 28 Passes.EventBus.InMemory | 29 Common.Events.EventBus.Persistent | 30 Contracts.Data.Database | 31 Contracts.PrepareContract.BusinessRules | 32 Contracts.SignContract.BusinessRules | 33 Offers.Data.Database | 34 Passes.Data.Database | 35 Contracts.EventBus.Persistent | 36 Contracts.PrepareContract | 37 Offers.EventBus.Persistent | 38 Offers.Prepare | 39 Passes.EventBus.Persistent | 40 Passes.RegisterPass |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 Common.ErrorHandling.ErrorModels | ||||||||||||||||||||||||||||||||||||||||
| 2 Common.ErrorHandling.Exceptions.Abstractions | ||||||||||||||||||||||||||||||||||||||||
| 3 Common.Events | ||||||||||||||||||||||||||||||||||||||||
| 4 Common.Events.EventBus | ||||||||||||||||||||||||||||||||||||||||
| 5 Common.Events.Publisher | ||||||||||||||||||||||||||||||||||||||||
| 6 Common.Requests.Models | ||||||||||||||||||||||||||||||||||||||||
| 7 Contracts.Data | ||||||||||||||||||||||||||||||||||||||||
| 8 Passes.Data | ||||||||||||||||||||||||||||||||||||||||
| 9 Reports.GenerateNewPassesRegistrationsPerMonthReport.DataRetriever | ||||||||||||||||||||||||||||||||||||||||
| 10 Common.ErrorHandling.Exceptions | 7 | |||||||||||||||||||||||||||||||||||||||
| 11 Common.Events.EventBus.InMemory | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 12 Common.Events.Publisher.InMemory | 1 | |||||||||||||||||||||||||||||||||||||||
| 13 Common.EventualConsistency.Outbox | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 14 Common.Responses.Models | 2 | |||||||||||||||||||||||||||||||||||||||
| 15 Contracts.EventBus | 1 | |||||||||||||||||||||||||||||||||||||||
| 16 Contracts.GetAllContracts | 1 | |||||||||||||||||||||||||||||||||||||||
| 17 Contracts.SignContract | 1 | |||||||||||||||||||||||||||||||||||||||
| 18 Contracts.SignContract.Events | 1 | |||||||||||||||||||||||||||||||||||||||
| 19 Offers.EventBus | 1 | |||||||||||||||||||||||||||||||||||||||
| 20 Passes.EventBus | 1 | |||||||||||||||||||||||||||||||||||||||
| 21 Passes.MarkPassAsExpired.Events | 1 | |||||||||||||||||||||||||||||||||||||||
| 22 Common.BusinessRulesEngine | 1 | |||||||||||||||||||||||||||||||||||||||
| 23 Common.DataAccess.Orms.EfCore | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 24 Common.DataAccess.Orms.EfCore.DbContexts | 1 | |||||||||||||||||||||||||||||||||||||||
| 25 Common.ErrorHandling | 2 | 1 | ||||||||||||||||||||||||||||||||||||||
| 26 Contracts.EventBus.InMemory | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 27 Offers.EventBus.InMemory | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 28 Passes.EventBus.InMemory | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 29 Common.Events.EventBus.Persistent | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 30 Contracts.Data.Database | 2 | 1 | ||||||||||||||||||||||||||||||||||||||
| 31 Contracts.PrepareContract.BusinessRules | 3 | |||||||||||||||||||||||||||||||||||||||
| 32 Contracts.SignContract.BusinessRules | 1 | |||||||||||||||||||||||||||||||||||||||
| 33 Offers.Data.Database | 1 | |||||||||||||||||||||||||||||||||||||||
| 34 Passes.Data.Database | 2 | 1 | ||||||||||||||||||||||||||||||||||||||
| 35 Contracts.EventBus.Persistent | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 36 Contracts.PrepareContract | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 37 Offers.EventBus.Persistent | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 38 Offers.Prepare | 2 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 39 Passes.EventBus.Persistent | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 40 Passes.RegisterPass | 1 | 1 | 1 | 1 |
10→2 Common.ErrorHandling.Exceptions uses Common.ErrorHandling.Exceptions.Abstractions✕
- Connections
- 7 pairs of types, where a type in Common.ErrorHandling.Exceptions uses a type in Common.ErrorHandling.Exceptions.Abstractions.
- The types involved
Starter.Common.ErrorHandling.Exceptions.AlreadyExistsException→Starter.Common.ErrorHandling.Exceptions.Abstractions.AppExceptionStarter.Common.ErrorHandling.Exceptions.BadRequestException→Starter.Common.ErrorHandling.Exceptions.Abstractions.AppExceptionStarter.Common.ErrorHandling.Exceptions.BusinessRuleValidationException→Starter.Common.ErrorHandling.Exceptions.Abstractions.AppExceptionStarter.Common.ErrorHandling.Exceptions.ForbiddenException→Starter.Common.ErrorHandling.Exceptions.Abstractions.AppExceptionStarter.Common.ErrorHandling.Exceptions.InternalServerException→Starter.Common.ErrorHandling.Exceptions.Abstractions.AppExceptionStarter.Common.ErrorHandling.Exceptions.NotFoundException→Starter.Common.ErrorHandling.Exceptions.Abstractions.AppExceptionStarter.Common.ErrorHandling.Exceptions.UnauthorizedException→Starter.Common.ErrorHandling.Exceptions.Abstractions.AppException
- Direction
- Common.ErrorHandling.Exceptions uses Common.ErrorHandling.Exceptions.Abstractions, so a change to Common.ErrorHandling.Exceptions.Abstractions can break Common.ErrorHandling.Exceptions, while a change to Common.ErrorHandling.Exceptions can't break Common.ErrorHandling.Exceptions.Abstractions.
- Position
- Below the diagonal: Common.ErrorHandling.Exceptions uses a module listed above it, which is the healthy direction.
11→4 Common.Events.EventBus.InMemory uses Common.Events.EventBus✕
- Connections
- 1 pair of types, where a type in Common.Events.EventBus.InMemory uses a type in Common.Events.EventBus.
- The types involved
Starter.Common.Events.EventBus.InMemory.InMemoryEventBus→Starter.Common.Events.EventBus.IEventBus
- Direction
- Common.Events.EventBus.InMemory uses Common.Events.EventBus, so a change to Common.Events.EventBus can break Common.Events.EventBus.InMemory, while a change to Common.Events.EventBus.InMemory can't break Common.Events.EventBus.
- Position
- Below the diagonal: Common.Events.EventBus.InMemory uses a module listed above it, which is the healthy direction.
11→5 Common.Events.EventBus.InMemory uses Common.Events.Publisher✕
- Connections
- 1 pair of types, where a type in Common.Events.EventBus.InMemory uses a type in Common.Events.Publisher.
- The types involved
Starter.Common.Events.EventBus.InMemory.InMemoryEventBus→Starter.Common.Events.Publisher.IPublisher
- Direction
- Common.Events.EventBus.InMemory uses Common.Events.Publisher, so a change to Common.Events.Publisher can break Common.Events.EventBus.InMemory, while a change to Common.Events.EventBus.InMemory can't break Common.Events.Publisher.
- Position
- Below the diagonal: Common.Events.EventBus.InMemory uses a module listed above it, which is the healthy direction.
12→5 Common.Events.Publisher.InMemory uses Common.Events.Publisher✕
- Connections
- 1 pair of types, where a type in Common.Events.Publisher.InMemory uses a type in Common.Events.Publisher.
- The types involved
Starter.Common.Events.Publisher.InMemory.InMemoryPublisher→Starter.Common.Events.Publisher.IPublisher
- Direction
- Common.Events.Publisher.InMemory uses Common.Events.Publisher, so a change to Common.Events.Publisher can break Common.Events.Publisher.InMemory, while a change to Common.Events.Publisher.InMemory can't break Common.Events.Publisher.
- Position
- Below the diagonal: Common.Events.Publisher.InMemory uses a module listed above it, which is the healthy direction.
13→3 Common.EventualConsistency.Outbox uses Common.Events✕
- Connections
- 1 pair of types, where a type in Common.EventualConsistency.Outbox uses a type in Common.Events.
- The types involved
Starter.Common.EventualConsistency.Outbox.OutboxMessage→Starter.Common.Events.IIntegrationEvent
- Direction
- Common.EventualConsistency.Outbox uses Common.Events, so a change to Common.Events can break Common.EventualConsistency.Outbox, while a change to Common.EventualConsistency.Outbox can't break Common.Events.
- Position
- Below the diagonal: Common.EventualConsistency.Outbox uses a module listed above it, which is the healthy direction.
13→5 Common.EventualConsistency.Outbox uses Common.Events.Publisher✕
- Connections
- 1 pair of types, where a type in Common.EventualConsistency.Outbox uses a type in Common.Events.Publisher.
- The types involved
Starter.Common.EventualConsistency.Outbox.OutboxProcessor→Starter.Common.Events.Publisher.IPublisher
- Direction
- Common.EventualConsistency.Outbox uses Common.Events.Publisher, so a change to Common.Events.Publisher can break Common.EventualConsistency.Outbox, while a change to Common.EventualConsistency.Outbox can't break Common.Events.Publisher.
- Position
- Below the diagonal: Common.EventualConsistency.Outbox uses a module listed above it, which is the healthy direction.
13→24 Common.EventualConsistency.Outbox uses Common.DataAccess.Orms.EfCore.DbContexts part of a loop✕
- Connections
- 1 pair of types, where a type in Common.EventualConsistency.Outbox uses a type in Common.DataAccess.Orms.EfCore.DbContexts.
- The types involved
Starter.Common.EventualConsistency.Outbox.OutboxProcessor→Starter.Common.DataAccess.Orms.EfCore.DbContexts.OutboxPersistence
- Direction
- Common.EventualConsistency.Outbox uses Common.DataAccess.Orms.EfCore.DbContexts, so a change to Common.DataAccess.Orms.EfCore.DbContexts can break Common.EventualConsistency.Outbox, while a change to Common.EventualConsistency.Outbox can't break Common.DataAccess.Orms.EfCore.DbContexts.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
14→6 Common.Responses.Models uses Common.Requests.Models✕
- Connections
- 2 pairs of types, where a type in Common.Responses.Models uses a type in Common.Requests.Models.
- The types involved
Starter.Common.Responses.Models.PaginatedList→Starter.Common.Requests.Models.QueryParametersStarter.Common.Responses.Models.ResponseMetadata→Starter.Common.Requests.Models.QueryParameters
- Direction
- Common.Responses.Models uses Common.Requests.Models, so a change to Common.Requests.Models can break Common.Responses.Models, while a change to Common.Responses.Models can't break Common.Requests.Models.
- Position
- Below the diagonal: Common.Responses.Models uses a module listed above it, which is the healthy direction.
15→4 Contracts.EventBus uses Common.Events.EventBus✕
- Connections
- 1 pair of types, where a type in Contracts.EventBus uses a type in Common.Events.EventBus.
- The types involved
Starter.Contracts.EventBus.IContractsEventBus→Starter.Common.Events.EventBus.IEventBus
- Direction
- Contracts.EventBus uses Common.Events.EventBus, so a change to Common.Events.EventBus can break Contracts.EventBus, while a change to Contracts.EventBus can't break Common.Events.EventBus.
- Position
- Below the diagonal: Contracts.EventBus uses a module listed above it, which is the healthy direction.
16→7 Contracts.GetAllContracts uses Contracts.Data✕
- Connections
- 1 pair of types, where a type in Contracts.GetAllContracts uses a type in Contracts.Data.
- The types involved
Starter.Contracts.GetAllContracts.ContractResponse→Starter.Contracts.Data.Contract
- Direction
- Contracts.GetAllContracts uses Contracts.Data, so a change to Contracts.Data can break Contracts.GetAllContracts, while a change to Contracts.GetAllContracts can't break Contracts.Data.
- Position
- Below the diagonal: Contracts.GetAllContracts uses a module listed above it, which is the healthy direction.
17→7 Contracts.SignContract uses Contracts.Data✕
- Connections
- 1 pair of types, where a type in Contracts.SignContract uses a type in Contracts.Data.
- The types involved
Starter.Contracts.SignContract.SignContractRequest→Starter.Contracts.Data.Contract
- Direction
- Contracts.SignContract uses Contracts.Data, so a change to Contracts.Data can break Contracts.SignContract, while a change to Contracts.SignContract can't break Contracts.Data.
- Position
- Below the diagonal: Contracts.SignContract uses a module listed above it, which is the healthy direction.
18→3 Contracts.SignContract.Events uses Common.Events✕
- Connections
- 1 pair of types, where a type in Contracts.SignContract.Events uses a type in Common.Events.
- The types involved
Starter.Contracts.SignContract.Events.ContractSignedEvent→Starter.Common.Events.IIntegrationEvent
- Direction
- Contracts.SignContract.Events uses Common.Events, so a change to Common.Events can break Contracts.SignContract.Events, while a change to Contracts.SignContract.Events can't break Common.Events.
- Position
- Below the diagonal: Contracts.SignContract.Events uses a module listed above it, which is the healthy direction.
19→4 Offers.EventBus uses Common.Events.EventBus✕
- Connections
- 1 pair of types, where a type in Offers.EventBus uses a type in Common.Events.EventBus.
- The types involved
Starter.Offers.EventBus.IOffersEventBus→Starter.Common.Events.EventBus.IEventBus
- Direction
- Offers.EventBus uses Common.Events.EventBus, so a change to Common.Events.EventBus can break Offers.EventBus, while a change to Offers.EventBus can't break Common.Events.EventBus.
- Position
- Below the diagonal: Offers.EventBus uses a module listed above it, which is the healthy direction.
20→4 Passes.EventBus uses Common.Events.EventBus✕
- Connections
- 1 pair of types, where a type in Passes.EventBus uses a type in Common.Events.EventBus.
- The types involved
Starter.Passes.EventBus.IPassesEventBus→Starter.Common.Events.EventBus.IEventBus
- Direction
- Passes.EventBus uses Common.Events.EventBus, so a change to Common.Events.EventBus can break Passes.EventBus, while a change to Passes.EventBus can't break Common.Events.EventBus.
- Position
- Below the diagonal: Passes.EventBus uses a module listed above it, which is the healthy direction.
21→3 Passes.MarkPassAsExpired.Events uses Common.Events✕
- Connections
- 1 pair of types, where a type in Passes.MarkPassAsExpired.Events uses a type in Common.Events.
- The types involved
Starter.Passes.MarkPassAsExpired.Events.PassExpiredEvent→Starter.Common.Events.IIntegrationEvent
- Direction
- Passes.MarkPassAsExpired.Events uses Common.Events, so a change to Common.Events can break Passes.MarkPassAsExpired.Events, while a change to Passes.MarkPassAsExpired.Events can't break Common.Events.
- Position
- Below the diagonal: Passes.MarkPassAsExpired.Events uses a module listed above it, which is the healthy direction.
22→10 Common.BusinessRulesEngine uses Common.ErrorHandling.Exceptions✕
- Connections
- 1 pair of types, where a type in Common.BusinessRulesEngine uses a type in Common.ErrorHandling.Exceptions.
- The types involved
Starter.Common.BusinessRulesEngine.BusinessRuleValidator→Starter.Common.ErrorHandling.Exceptions.BusinessRuleValidationException
- Direction
- Common.BusinessRulesEngine uses Common.ErrorHandling.Exceptions, so a change to Common.ErrorHandling.Exceptions can break Common.BusinessRulesEngine, while a change to Common.BusinessRulesEngine can't break Common.ErrorHandling.Exceptions.
- Position
- Below the diagonal: Common.BusinessRulesEngine uses a module listed above it, which is the healthy direction.
23→6 Common.DataAccess.Orms.EfCore uses Common.Requests.Models✕
- Connections
- 1 pair of types, where a type in Common.DataAccess.Orms.EfCore uses a type in Common.Requests.Models.
- The types involved
Starter.Common.DataAccess.Orms.EfCore.PaginationExtensions→Starter.Common.Requests.Models.QueryParameters
- Direction
- Common.DataAccess.Orms.EfCore uses Common.Requests.Models, so a change to Common.Requests.Models can break Common.DataAccess.Orms.EfCore, while a change to Common.DataAccess.Orms.EfCore can't break Common.Requests.Models.
- Position
- Below the diagonal: Common.DataAccess.Orms.EfCore uses a module listed above it, which is the healthy direction.
23→14 Common.DataAccess.Orms.EfCore uses Common.Responses.Models✕
- Connections
- 1 pair of types, where a type in Common.DataAccess.Orms.EfCore uses a type in Common.Responses.Models.
- The types involved
Starter.Common.DataAccess.Orms.EfCore.PaginationExtensions→Starter.Common.Responses.Models.PaginatedList
- Direction
- Common.DataAccess.Orms.EfCore uses Common.Responses.Models, so a change to Common.Responses.Models can break Common.DataAccess.Orms.EfCore, while a change to Common.DataAccess.Orms.EfCore can't break Common.Responses.Models.
- Position
- Below the diagonal: Common.DataAccess.Orms.EfCore uses a module listed above it, which is the healthy direction.
24→13 Common.DataAccess.Orms.EfCore.DbContexts uses Common.EventualConsistency.Outbox✕
- Connections
- 1 pair of types, where a type in Common.DataAccess.Orms.EfCore.DbContexts uses a type in Common.EventualConsistency.Outbox.
- The types involved
Starter.Common.DataAccess.Orms.EfCore.DbContexts.OutBoxMessageConfiguration→Starter.Common.EventualConsistency.Outbox.OutboxMessage
- Direction
- Common.DataAccess.Orms.EfCore.DbContexts uses Common.EventualConsistency.Outbox, so a change to Common.EventualConsistency.Outbox can break Common.DataAccess.Orms.EfCore.DbContexts, while a change to Common.DataAccess.Orms.EfCore.DbContexts can't break Common.EventualConsistency.Outbox.
- Position
- Below the diagonal: Common.DataAccess.Orms.EfCore.DbContexts uses a module listed above it, which is the healthy direction.
25→1 Common.ErrorHandling uses Common.ErrorHandling.ErrorModels✕
- Connections
- 2 pairs of types, where a type in Common.ErrorHandling uses a type in Common.ErrorHandling.ErrorModels.
- The types involved
Starter.Common.ErrorHandling.AppProblemDetails→Starter.Common.ErrorHandling.ErrorModels.FieldValidationErrorStarter.Common.ErrorHandling.ErrorHandlingExtensions→Starter.Common.ErrorHandling.ErrorModels.FieldValidationError
- Direction
- Common.ErrorHandling uses Common.ErrorHandling.ErrorModels, so a change to Common.ErrorHandling.ErrorModels can break Common.ErrorHandling, while a change to Common.ErrorHandling can't break Common.ErrorHandling.ErrorModels.
- Position
- Below the diagonal: Common.ErrorHandling uses a module listed above it, which is the healthy direction.
25→10 Common.ErrorHandling uses Common.ErrorHandling.Exceptions✕
- Connections
- 1 pair of types, where a type in Common.ErrorHandling uses a type in Common.ErrorHandling.Exceptions.
- The types involved
Starter.Common.ErrorHandling.ErrorHandlingExtensions→Starter.Common.ErrorHandling.Exceptions.BusinessRuleValidationException
- Direction
- Common.ErrorHandling uses Common.ErrorHandling.Exceptions, so a change to Common.ErrorHandling.Exceptions can break Common.ErrorHandling, while a change to Common.ErrorHandling can't break Common.ErrorHandling.Exceptions.
- Position
- Below the diagonal: Common.ErrorHandling uses a module listed above it, which is the healthy direction.
26→5 Contracts.EventBus.InMemory uses Common.Events.Publisher✕
- Connections
- 1 pair of types, where a type in Contracts.EventBus.InMemory uses a type in Common.Events.Publisher.
- The types involved
Starter.Contracts.EventBus.InMemory.InMemoryContractsEventBus→Starter.Common.Events.Publisher.IPublisher
- Direction
- Contracts.EventBus.InMemory uses Common.Events.Publisher, so a change to Common.Events.Publisher can break Contracts.EventBus.InMemory, while a change to Contracts.EventBus.InMemory can't break Common.Events.Publisher.
- Position
- Below the diagonal: Contracts.EventBus.InMemory uses a module listed above it, which is the healthy direction.
26→11 Contracts.EventBus.InMemory uses Common.Events.EventBus.InMemory✕
- Connections
- 1 pair of types, where a type in Contracts.EventBus.InMemory uses a type in Common.Events.EventBus.InMemory.
- The types involved
Starter.Contracts.EventBus.InMemory.InMemoryContractsEventBus→Starter.Common.Events.EventBus.InMemory.InMemoryEventBus
- Direction
- Contracts.EventBus.InMemory uses Common.Events.EventBus.InMemory, so a change to Common.Events.EventBus.InMemory can break Contracts.EventBus.InMemory, while a change to Contracts.EventBus.InMemory can't break Common.Events.EventBus.InMemory.
- Position
- Below the diagonal: Contracts.EventBus.InMemory uses a module listed above it, which is the healthy direction.
26→15 Contracts.EventBus.InMemory uses Contracts.EventBus✕
- Connections
- 1 pair of types, where a type in Contracts.EventBus.InMemory uses a type in Contracts.EventBus.
- The types involved
Starter.Contracts.EventBus.InMemory.InMemoryContractsEventBus→Starter.Contracts.EventBus.IContractsEventBus
- Direction
- Contracts.EventBus.InMemory uses Contracts.EventBus, so a change to Contracts.EventBus can break Contracts.EventBus.InMemory, while a change to Contracts.EventBus.InMemory can't break Contracts.EventBus.
- Position
- Below the diagonal: Contracts.EventBus.InMemory uses a module listed above it, which is the healthy direction.
27→5 Offers.EventBus.InMemory uses Common.Events.Publisher✕
- Connections
- 1 pair of types, where a type in Offers.EventBus.InMemory uses a type in Common.Events.Publisher.
- The types involved
Starter.Offers.EventBus.InMemory.InMemoryOffersEventBus→Starter.Common.Events.Publisher.IPublisher
- Direction
- Offers.EventBus.InMemory uses Common.Events.Publisher, so a change to Common.Events.Publisher can break Offers.EventBus.InMemory, while a change to Offers.EventBus.InMemory can't break Common.Events.Publisher.
- Position
- Below the diagonal: Offers.EventBus.InMemory uses a module listed above it, which is the healthy direction.
27→11 Offers.EventBus.InMemory uses Common.Events.EventBus.InMemory✕
- Connections
- 1 pair of types, where a type in Offers.EventBus.InMemory uses a type in Common.Events.EventBus.InMemory.
- The types involved
Starter.Offers.EventBus.InMemory.InMemoryOffersEventBus→Starter.Common.Events.EventBus.InMemory.InMemoryEventBus
- Direction
- Offers.EventBus.InMemory uses Common.Events.EventBus.InMemory, so a change to Common.Events.EventBus.InMemory can break Offers.EventBus.InMemory, while a change to Offers.EventBus.InMemory can't break Common.Events.EventBus.InMemory.
- Position
- Below the diagonal: Offers.EventBus.InMemory uses a module listed above it, which is the healthy direction.
27→19 Offers.EventBus.InMemory uses Offers.EventBus✕
- Connections
- 1 pair of types, where a type in Offers.EventBus.InMemory uses a type in Offers.EventBus.
- The types involved
Starter.Offers.EventBus.InMemory.InMemoryOffersEventBus→Starter.Offers.EventBus.IOffersEventBus
- Direction
- Offers.EventBus.InMemory uses Offers.EventBus, so a change to Offers.EventBus can break Offers.EventBus.InMemory, while a change to Offers.EventBus.InMemory can't break Offers.EventBus.
- Position
- Below the diagonal: Offers.EventBus.InMemory uses a module listed above it, which is the healthy direction.
28→5 Passes.EventBus.InMemory uses Common.Events.Publisher✕
- Connections
- 1 pair of types, where a type in Passes.EventBus.InMemory uses a type in Common.Events.Publisher.
- The types involved
Starter.Passes.EventBus.InMemory.InMemoryPassesEventBus→Starter.Common.Events.Publisher.IPublisher
- Direction
- Passes.EventBus.InMemory uses Common.Events.Publisher, so a change to Common.Events.Publisher can break Passes.EventBus.InMemory, while a change to Passes.EventBus.InMemory can't break Common.Events.Publisher.
- Position
- Below the diagonal: Passes.EventBus.InMemory uses a module listed above it, which is the healthy direction.
28→11 Passes.EventBus.InMemory uses Common.Events.EventBus.InMemory✕
- Connections
- 1 pair of types, where a type in Passes.EventBus.InMemory uses a type in Common.Events.EventBus.InMemory.
- The types involved
Starter.Passes.EventBus.InMemory.InMemoryPassesEventBus→Starter.Common.Events.EventBus.InMemory.InMemoryEventBus
- Direction
- Passes.EventBus.InMemory uses Common.Events.EventBus.InMemory, so a change to Common.Events.EventBus.InMemory can break Passes.EventBus.InMemory, while a change to Passes.EventBus.InMemory can't break Common.Events.EventBus.InMemory.
- Position
- Below the diagonal: Passes.EventBus.InMemory uses a module listed above it, which is the healthy direction.
28→20 Passes.EventBus.InMemory uses Passes.EventBus✕
- Connections
- 1 pair of types, where a type in Passes.EventBus.InMemory uses a type in Passes.EventBus.
- The types involved
Starter.Passes.EventBus.InMemory.InMemoryPassesEventBus→Starter.Passes.EventBus.IPassesEventBus
- Direction
- Passes.EventBus.InMemory uses Passes.EventBus, so a change to Passes.EventBus can break Passes.EventBus.InMemory, while a change to Passes.EventBus.InMemory can't break Passes.EventBus.
- Position
- Below the diagonal: Passes.EventBus.InMemory uses a module listed above it, which is the healthy direction.
29→4 Common.Events.EventBus.Persistent uses Common.Events.EventBus✕
- Connections
- 1 pair of types, where a type in Common.Events.EventBus.Persistent uses a type in Common.Events.EventBus.
- The types involved
Starter.Common.Events.EventBus.Persistent.PersistentEventBus→Starter.Common.Events.EventBus.IEventBus
- Direction
- Common.Events.EventBus.Persistent uses Common.Events.EventBus, so a change to Common.Events.EventBus can break Common.Events.EventBus.Persistent, while a change to Common.Events.EventBus.Persistent can't break Common.Events.EventBus.
- Position
- Below the diagonal: Common.Events.EventBus.Persistent uses a module listed above it, which is the healthy direction.
29→24 Common.Events.EventBus.Persistent uses Common.DataAccess.Orms.EfCore.DbContexts✕
- Connections
- 1 pair of types, where a type in Common.Events.EventBus.Persistent uses a type in Common.DataAccess.Orms.EfCore.DbContexts.
- The types involved
Starter.Common.Events.EventBus.Persistent.PersistentEventBus→Starter.Common.DataAccess.Orms.EfCore.DbContexts.OutboxPersistence
- Direction
- Common.Events.EventBus.Persistent uses Common.DataAccess.Orms.EfCore.DbContexts, so a change to Common.DataAccess.Orms.EfCore.DbContexts can break Common.Events.EventBus.Persistent, while a change to Common.Events.EventBus.Persistent can't break Common.DataAccess.Orms.EfCore.DbContexts.
- Position
- Below the diagonal: Common.Events.EventBus.Persistent uses a module listed above it, which is the healthy direction.
30→7 Contracts.Data.Database uses Contracts.Data✕
- Connections
- 2 pairs of types, where a type in Contracts.Data.Database uses a type in Contracts.Data.
- The types involved
Starter.Contracts.Data.Database.ContractEntityConfiguration→Starter.Contracts.Data.ContractStarter.Contracts.Data.Database.ContractsPersistence→Starter.Contracts.Data.Contract
- Direction
- Contracts.Data.Database uses Contracts.Data, so a change to Contracts.Data can break Contracts.Data.Database, while a change to Contracts.Data.Database can't break Contracts.Data.
- Position
- Below the diagonal: Contracts.Data.Database uses a module listed above it, which is the healthy direction.
30→24 Contracts.Data.Database uses Common.DataAccess.Orms.EfCore.DbContexts✕
- Connections
- 1 pair of types, where a type in Contracts.Data.Database uses a type in Common.DataAccess.Orms.EfCore.DbContexts.
- The types involved
Starter.Contracts.Data.Database.ContractsPersistence→Starter.Common.DataAccess.Orms.EfCore.DbContexts.OutboxPersistence
- Direction
- Contracts.Data.Database uses Common.DataAccess.Orms.EfCore.DbContexts, so a change to Common.DataAccess.Orms.EfCore.DbContexts can break Contracts.Data.Database, while a change to Contracts.Data.Database can't break Common.DataAccess.Orms.EfCore.DbContexts.
- Position
- Below the diagonal: Contracts.Data.Database uses a module listed above it, which is the healthy direction.
31→22 Contracts.PrepareContract.BusinessRules uses Common.BusinessRulesEngine✕
- Connections
- 3 pairs of types, where a type in Contracts.PrepareContract.BusinessRules uses a type in Common.BusinessRulesEngine.
- The types involved
Starter.Contracts.PrepareContract.BusinessRules.ContractCanBePreparedOnlyForAdultRule→Starter.Common.BusinessRulesEngine.IBusinessRuleStarter.Contracts.PrepareContract.BusinessRules.CustomerMustBeSmallerThanMaximumHeightLimitRule→Starter.Common.BusinessRulesEngine.IBusinessRuleStarter.Contracts.PrepareContract.BusinessRules.PreviousContractHasToBeSignedRule→Starter.Common.BusinessRulesEngine.IBusinessRule
- Direction
- Contracts.PrepareContract.BusinessRules uses Common.BusinessRulesEngine, so a change to Common.BusinessRulesEngine can break Contracts.PrepareContract.BusinessRules, while a change to Contracts.PrepareContract.BusinessRules can't break Common.BusinessRulesEngine.
- Position
- Below the diagonal: Contracts.PrepareContract.BusinessRules uses a module listed above it, which is the healthy direction.
32→22 Contracts.SignContract.BusinessRules uses Common.BusinessRulesEngine✕
- Connections
- 1 pair of types, where a type in Contracts.SignContract.BusinessRules uses a type in Common.BusinessRulesEngine.
- The types involved
Starter.Contracts.SignContract.BusinessRules.ContractCanOnlyBeSignedWithin30DaysFromPreparation→Starter.Common.BusinessRulesEngine.IBusinessRule
- Direction
- Contracts.SignContract.BusinessRules uses Common.BusinessRulesEngine, so a change to Common.BusinessRulesEngine can break Contracts.SignContract.BusinessRules, while a change to Contracts.SignContract.BusinessRules can't break Common.BusinessRulesEngine.
- Position
- Below the diagonal: Contracts.SignContract.BusinessRules uses a module listed above it, which is the healthy direction.
33→24 Offers.Data.Database uses Common.DataAccess.Orms.EfCore.DbContexts✕
- Connections
- 1 pair of types, where a type in Offers.Data.Database uses a type in Common.DataAccess.Orms.EfCore.DbContexts.
- The types involved
Starter.Offers.Data.Database.OffersPersistence→Starter.Common.DataAccess.Orms.EfCore.DbContexts.OutboxPersistence
- Direction
- Offers.Data.Database uses Common.DataAccess.Orms.EfCore.DbContexts, so a change to Common.DataAccess.Orms.EfCore.DbContexts can break Offers.Data.Database, while a change to Offers.Data.Database can't break Common.DataAccess.Orms.EfCore.DbContexts.
- Position
- Below the diagonal: Offers.Data.Database uses a module listed above it, which is the healthy direction.
34→8 Passes.Data.Database uses Passes.Data✕
- Connections
- 2 pairs of types, where a type in Passes.Data.Database uses a type in Passes.Data.
- The types involved
Starter.Passes.Data.Database.PassEntityConfiguration→Starter.Passes.Data.PassStarter.Passes.Data.Database.PassesPersistence→Starter.Passes.Data.Pass
- Direction
- Passes.Data.Database uses Passes.Data, so a change to Passes.Data can break Passes.Data.Database, while a change to Passes.Data.Database can't break Passes.Data.
- Position
- Below the diagonal: Passes.Data.Database uses a module listed above it, which is the healthy direction.
34→24 Passes.Data.Database uses Common.DataAccess.Orms.EfCore.DbContexts✕
- Connections
- 1 pair of types, where a type in Passes.Data.Database uses a type in Common.DataAccess.Orms.EfCore.DbContexts.
- The types involved
Starter.Passes.Data.Database.PassesPersistence→Starter.Common.DataAccess.Orms.EfCore.DbContexts.OutboxPersistence
- Direction
- Passes.Data.Database uses Common.DataAccess.Orms.EfCore.DbContexts, so a change to Common.DataAccess.Orms.EfCore.DbContexts can break Passes.Data.Database, while a change to Passes.Data.Database can't break Common.DataAccess.Orms.EfCore.DbContexts.
- Position
- Below the diagonal: Passes.Data.Database uses a module listed above it, which is the healthy direction.
35→15 Contracts.EventBus.Persistent uses Contracts.EventBus✕
- Connections
- 1 pair of types, where a type in Contracts.EventBus.Persistent uses a type in Contracts.EventBus.
- The types involved
Starter.Contracts.EventBus.Persistent.PersistentContractsEventBus→Starter.Contracts.EventBus.IContractsEventBus
- Direction
- Contracts.EventBus.Persistent uses Contracts.EventBus, so a change to Contracts.EventBus can break Contracts.EventBus.Persistent, while a change to Contracts.EventBus.Persistent can't break Contracts.EventBus.
- Position
- Below the diagonal: Contracts.EventBus.Persistent uses a module listed above it, which is the healthy direction.
35→29 Contracts.EventBus.Persistent uses Common.Events.EventBus.Persistent✕
- Connections
- 1 pair of types, where a type in Contracts.EventBus.Persistent uses a type in Common.Events.EventBus.Persistent.
- The types involved
Starter.Contracts.EventBus.Persistent.PersistentContractsEventBus→Starter.Common.Events.EventBus.Persistent.PersistentEventBus
- Direction
- Contracts.EventBus.Persistent uses Common.Events.EventBus.Persistent, so a change to Common.Events.EventBus.Persistent can break Contracts.EventBus.Persistent, while a change to Contracts.EventBus.Persistent can't break Common.Events.EventBus.Persistent.
- Position
- Below the diagonal: Contracts.EventBus.Persistent uses a module listed above it, which is the healthy direction.
35→30 Contracts.EventBus.Persistent uses Contracts.Data.Database✕
- Connections
- 1 pair of types, where a type in Contracts.EventBus.Persistent uses a type in Contracts.Data.Database.
- The types involved
Starter.Contracts.EventBus.Persistent.PersistentContractsEventBus→Starter.Contracts.Data.Database.ContractsPersistence
- Direction
- Contracts.EventBus.Persistent uses Contracts.Data.Database, so a change to Contracts.Data.Database can break Contracts.EventBus.Persistent, while a change to Contracts.EventBus.Persistent can't break Contracts.Data.Database.
- Position
- Below the diagonal: Contracts.EventBus.Persistent uses a module listed above it, which is the healthy direction.
36→7 Contracts.PrepareContract uses Contracts.Data✕
- Connections
- 1 pair of types, where a type in Contracts.PrepareContract uses a type in Contracts.Data.
- The types involved
Starter.Contracts.PrepareContract.PrepareContractEndpoint→Starter.Contracts.Data.Contract
- Direction
- Contracts.PrepareContract uses Contracts.Data, so a change to Contracts.Data can break Contracts.PrepareContract, while a change to Contracts.PrepareContract can't break Contracts.Data.
- Position
- Below the diagonal: Contracts.PrepareContract uses a module listed above it, which is the healthy direction.
36→30 Contracts.PrepareContract uses Contracts.Data.Database✕
- Connections
- 1 pair of types, where a type in Contracts.PrepareContract uses a type in Contracts.Data.Database.
- The types involved
Starter.Contracts.PrepareContract.PrepareContractEndpoint→Starter.Contracts.Data.Database.ContractsPersistence
- Direction
- Contracts.PrepareContract uses Contracts.Data.Database, so a change to Contracts.Data.Database can break Contracts.PrepareContract, while a change to Contracts.PrepareContract can't break Contracts.Data.Database.
- Position
- Below the diagonal: Contracts.PrepareContract uses a module listed above it, which is the healthy direction.
37→19 Offers.EventBus.Persistent uses Offers.EventBus✕
- Connections
- 1 pair of types, where a type in Offers.EventBus.Persistent uses a type in Offers.EventBus.
- The types involved
Starter.Offers.EventBus.Persistent.PersistentOffersEventBus→Starter.Offers.EventBus.IOffersEventBus
- Direction
- Offers.EventBus.Persistent uses Offers.EventBus, so a change to Offers.EventBus can break Offers.EventBus.Persistent, while a change to Offers.EventBus.Persistent can't break Offers.EventBus.
- Position
- Below the diagonal: Offers.EventBus.Persistent uses a module listed above it, which is the healthy direction.
37→29 Offers.EventBus.Persistent uses Common.Events.EventBus.Persistent✕
- Connections
- 1 pair of types, where a type in Offers.EventBus.Persistent uses a type in Common.Events.EventBus.Persistent.
- The types involved
Starter.Offers.EventBus.Persistent.PersistentOffersEventBus→Starter.Common.Events.EventBus.Persistent.PersistentEventBus
- Direction
- Offers.EventBus.Persistent uses Common.Events.EventBus.Persistent, so a change to Common.Events.EventBus.Persistent can break Offers.EventBus.Persistent, while a change to Offers.EventBus.Persistent can't break Common.Events.EventBus.Persistent.
- Position
- Below the diagonal: Offers.EventBus.Persistent uses a module listed above it, which is the healthy direction.
37→33 Offers.EventBus.Persistent uses Offers.Data.Database✕
- Connections
- 1 pair of types, where a type in Offers.EventBus.Persistent uses a type in Offers.Data.Database.
- The types involved
Starter.Offers.EventBus.Persistent.PersistentOffersEventBus→Starter.Offers.Data.Database.OffersPersistence
- Direction
- Offers.EventBus.Persistent uses Offers.Data.Database, so a change to Offers.Data.Database can break Offers.EventBus.Persistent, while a change to Offers.EventBus.Persistent can't break Offers.Data.Database.
- Position
- Below the diagonal: Offers.EventBus.Persistent uses a module listed above it, which is the healthy direction.
38→3 Offers.Prepare uses Common.Events✕
- Connections
- 2 pairs of types, where a type in Offers.Prepare uses a type in Common.Events.
- The types involved
Starter.Offers.Prepare.OfferPrepareEvent→Starter.Common.Events.IIntegrationEventStarter.Offers.Prepare.PassExpiredEventHandler→Starter.Common.Events.IIntegrationEventHandler
- Direction
- Offers.Prepare uses Common.Events, so a change to Common.Events can break Offers.Prepare, while a change to Offers.Prepare can't break Common.Events.
- Position
- Below the diagonal: Offers.Prepare uses a module listed above it, which is the healthy direction.
38→19 Offers.Prepare uses Offers.EventBus✕
- Connections
- 1 pair of types, where a type in Offers.Prepare uses a type in Offers.EventBus.
- The types involved
Starter.Offers.Prepare.PassExpiredEventHandler→Starter.Offers.EventBus.IOffersEventBus
- Direction
- Offers.Prepare uses Offers.EventBus, so a change to Offers.EventBus can break Offers.Prepare, while a change to Offers.Prepare can't break Offers.EventBus.
- Position
- Below the diagonal: Offers.Prepare uses a module listed above it, which is the healthy direction.
38→21 Offers.Prepare uses Passes.MarkPassAsExpired.Events✕
- Connections
- 1 pair of types, where a type in Offers.Prepare uses a type in Passes.MarkPassAsExpired.Events.
- The types involved
Starter.Offers.Prepare.PassExpiredEventHandler→Starter.Passes.MarkPassAsExpired.Events.PassExpiredEvent
- Direction
- Offers.Prepare uses Passes.MarkPassAsExpired.Events, so a change to Passes.MarkPassAsExpired.Events can break Offers.Prepare, while a change to Offers.Prepare can't break Passes.MarkPassAsExpired.Events.
- Position
- Below the diagonal: Offers.Prepare uses a module listed above it, which is the healthy direction.
38→33 Offers.Prepare uses Offers.Data.Database✕
- Connections
- 1 pair of types, where a type in Offers.Prepare uses a type in Offers.Data.Database.
- The types involved
Starter.Offers.Prepare.PassExpiredEventHandler→Starter.Offers.Data.Database.OffersPersistence
- Direction
- Offers.Prepare uses Offers.Data.Database, so a change to Offers.Data.Database can break Offers.Prepare, while a change to Offers.Prepare can't break Offers.Data.Database.
- Position
- Below the diagonal: Offers.Prepare uses a module listed above it, which is the healthy direction.
39→20 Passes.EventBus.Persistent uses Passes.EventBus✕
- Connections
- 1 pair of types, where a type in Passes.EventBus.Persistent uses a type in Passes.EventBus.
- The types involved
Starter.Passes.EventBus.Persistent.PersistentPassesEventBus→Starter.Passes.EventBus.IPassesEventBus
- Direction
- Passes.EventBus.Persistent uses Passes.EventBus, so a change to Passes.EventBus can break Passes.EventBus.Persistent, while a change to Passes.EventBus.Persistent can't break Passes.EventBus.
- Position
- Below the diagonal: Passes.EventBus.Persistent uses a module listed above it, which is the healthy direction.
39→29 Passes.EventBus.Persistent uses Common.Events.EventBus.Persistent✕
- Connections
- 1 pair of types, where a type in Passes.EventBus.Persistent uses a type in Common.Events.EventBus.Persistent.
- The types involved
Starter.Passes.EventBus.Persistent.PersistentPassesEventBus→Starter.Common.Events.EventBus.Persistent.PersistentEventBus
- Direction
- Passes.EventBus.Persistent uses Common.Events.EventBus.Persistent, so a change to Common.Events.EventBus.Persistent can break Passes.EventBus.Persistent, while a change to Passes.EventBus.Persistent can't break Common.Events.EventBus.Persistent.
- Position
- Below the diagonal: Passes.EventBus.Persistent uses a module listed above it, which is the healthy direction.
39→34 Passes.EventBus.Persistent uses Passes.Data.Database✕
- Connections
- 1 pair of types, where a type in Passes.EventBus.Persistent uses a type in Passes.Data.Database.
- The types involved
Starter.Passes.EventBus.Persistent.PersistentPassesEventBus→Starter.Passes.Data.Database.PassesPersistence
- Direction
- Passes.EventBus.Persistent uses Passes.Data.Database, so a change to Passes.Data.Database can break Passes.EventBus.Persistent, while a change to Passes.EventBus.Persistent can't break Passes.Data.Database.
- Position
- Below the diagonal: Passes.EventBus.Persistent uses a module listed above it, which is the healthy direction.
40→3 Passes.RegisterPass uses Common.Events✕
- Connections
- 1 pair of types, where a type in Passes.RegisterPass uses a type in Common.Events.
- The types involved
Starter.Passes.RegisterPass.ContractSignedEventHandler→Starter.Common.Events.IIntegrationEventHandler
- Direction
- Passes.RegisterPass uses Common.Events, so a change to Common.Events can break Passes.RegisterPass, while a change to Passes.RegisterPass can't break Common.Events.
- Position
- Below the diagonal: Passes.RegisterPass uses a module listed above it, which is the healthy direction.
40→18 Passes.RegisterPass uses Contracts.SignContract.Events✕
- Connections
- 1 pair of types, where a type in Passes.RegisterPass uses a type in Contracts.SignContract.Events.
- The types involved
Starter.Passes.RegisterPass.ContractSignedEventHandler→Starter.Contracts.SignContract.Events.ContractSignedEvent
- Direction
- Passes.RegisterPass uses Contracts.SignContract.Events, so a change to Contracts.SignContract.Events can break Passes.RegisterPass, while a change to Passes.RegisterPass can't break Contracts.SignContract.Events.
- Position
- Below the diagonal: Passes.RegisterPass uses a module listed above it, which is the healthy direction.
40→20 Passes.RegisterPass uses Passes.EventBus✕
- Connections
- 1 pair of types, where a type in Passes.RegisterPass uses a type in Passes.EventBus.
- The types involved
Starter.Passes.RegisterPass.ContractSignedEventHandler→Starter.Passes.EventBus.IPassesEventBus
- Direction
- Passes.RegisterPass uses Passes.EventBus, so a change to Passes.EventBus can break Passes.RegisterPass, while a change to Passes.RegisterPass can't break Passes.EventBus.
- Position
- Below the diagonal: Passes.RegisterPass uses a module listed above it, which is the healthy direction.
40→34 Passes.RegisterPass uses Passes.Data.Database✕
- Connections
- 1 pair of types, where a type in Passes.RegisterPass uses a type in Passes.Data.Database.
- The types involved
Starter.Passes.RegisterPass.ContractSignedEventHandler→Starter.Passes.Data.Database.PassesPersistence
- Direction
- Passes.RegisterPass uses Passes.Data.Database, so a change to Passes.Data.Database can break Passes.RegisterPass, while a change to Passes.RegisterPass can't break Passes.Data.Database.
- Position
- Below the diagonal: Passes.RegisterPass 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 — Event-Driven
At a glance — Performance
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A07:2025 — Authentication Failures | 18 | High / Critical |
| A02:2025 — Security Misconfiguration | 15 | High / Critical |
| A03:2025 — Software Supply Chain Failures | 7 | High / Critical |
| A05:2025 — Injection | 5 | Medium |
Roadmap
Begin by addressing the 28 deprecated dependencies, focusing first on the Starter project files, and immediately remediate the 8 leaked secrets in configuration files like REDACTED. Next, resolve the 2 banned licenses in REDACTED and the 2 vulnerable dependencies to ensure compliance and security. Finally, improve the 60 low-coverage areas, prioritizing AutomaticMigrationsExtensions.cs, DatabaseModule.cs, and ReportsModule.cs to strengthen overall code reliability.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 8 Leaked secret finding(s) in REDACTED Scanning — start with REDACTED (4), REDACTED (2), REDACTED (2). | +21.2 pts | Low | REDACTED Scanning |
| Resolve the 2 Banned license finding(s) in License Compliance — start with REDACTED. | +18.3 pts | Low | License Compliance |
| Resolve the 28 Deprecated finding(s) in Dependency Hygiene — start with REDACTED (9), Starter.csproj (8), Starter.BFF.csproj (8). | +22.6 pts | Medium | Dependency Hygiene |
| Resolve the 2 Vulnerable finding(s) in Dependency Hygiene. | +9.1 pts | Low | Dependency Hygiene |
| Resolve the 60 Low coverage finding(s) in Code Coverage — start with AutomaticMigrationsExtensions.cs (3), DatabaseModule.cs (3), ReportsModule.cs. | +7.9 pts | Medium | Code Coverage |
| Resolve the 5 Orphaned file finding(s) in Knowledge Freshness — start with OpenTelemetryModule.cs, ErrorHandlingExtensions.cs, SearchExtensions.cs. | +2.4 pts | Low | Knowledge Freshness |
| Add a CI workflow that builds and runs the test suite on every push/PR. | +3.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. | +3.3 pts | Medium | Security & performance tooling |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 0.0 | Slop | License Compliance: Banned license: SonarAnalyzer.CSharp |
| REDACTED | 0.9 | Slop | REDACTED Scanning: Leaked secret: REDACTED |
| REDACTED | 0.9 | Slop | REDACTED Scanning: Leaked secret: REDACTED |
| REDACTED | 2.0 | Slop | REDACTED Scanning: Leaked secret: REDACTED |
| REDACTED | 2.8 | Slop | Dependency Vulnerabilities: High CVE: REDACTED |
| REDACTED | 3.4 | Slop | IaC & Container Security: High IaC: REDACTED |
| REDACTED | 3.4 | Slop | IaC & Container Security: High IaC: REDACTED |
| src/Starter/Starter.csproj | 4.9 | Mixed | Platform End-of-Life: End-of-life runtime: .NET net9.0 |
| src/Starter.BFF/Starter.BFF.csproj | 5.5 | Mixed | Code Coverage: No test project references Starter.BFF |
| REDACTED | 5.8 | Mixed | IaC & Container Security: Medium IaC: REDACTED |
| src/Starter.Common/Validation/Requests/RequestValidationsExtensions.cs | 6.0 | Mixed | Explicit Debt: Dead code: MustBeNumeric |
| REDACTED | 6.4 | Mixed | Static Analysis (SAST): Medium: REDACTED |
| REDACTED | 6.4 | Mixed | Static Analysis (SAST): Medium: REDACTED |
| REDACTED | 6.4 | Mixed | Static Analysis (SAST): Medium: REDACTED |
| REDACTED | 6.4 | Mixed | Static Analysis (SAST): Medium: REDACTED |
| REDACTED | 6.4 | Mixed | Static Analysis (SAST): Medium: REDACTED |
| src/Starter.Common/Events/EventBus/Persistent/PersistentEventBus.cs | 6.7 | Mixed | Explicit Debt: Dead code: PublishManyAsync |
| src/Starter.Common/Events/EventBus/InMemory/InMemoryEventBus.cs | 6.7 | Mixed | Explicit Debt: Dead code: PublishManyAsync |
| src/Starter.Common/ErrorHandling/ErrorHandlingExtensions.cs | 6.7 | Mixed | Explicit Debt: Dead code: ToBusinessRuleValidationException |
| src/Starter.Common/DataAccess/Orms/EfCore/PaginationExtensions.cs | 6.7 | Mixed | Explicit Debt: Dead code: ToPaginatedList |
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. 77 of 84 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 7 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 1.0 — the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.
What we checked — 84 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, 187 of 267 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line.
- Is there a tool behind the number? Every score below names the method that produced it — Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled · advisory — not a narrative.
- Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.
Tools & methods
| Method | Backs | Version | Evaluator |
|---|---|---|---|
| Roslyn static analysis | Complexity, cohesion, coupling, dead code, API surface, layering | 5.3.0 | ✓ deterministic |
| Native secret scanner | Hardcoded secrets / credentials | 1.0.0 | ✓ deterministic |
| Watchdog duplication detector (in-process) | Code duplication | 1.0.0 | ✓ deterministic |
| Coverage (coverlet / dotnet-coverage) | Line & branch coverage | 10.0.400 | ✓ deterministic |
| NuGet / dotnet | Outdated, vulnerable & deprecated dependencies | 10.0.400 | ✓ deterministic |
| git / LibGit2Sharp | Churn hotspots, knowledge concentration, history | 2.43.0 · 0.31.0 | ✓ deterministic |
| gitleaks · semgrep · trivy · checkov | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 · 3.2.533 | ✓ deterministic |
| LLM (sampled · advisory) | Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurement | Local LLM | ◐ LLM · sampled · advisory |
Run transparency — what happened this run
- D16 Bus Factor — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. Single-maintainer repository — bus factor is not applicable (2 contributor(s) across 151 commit(s) sampled, automation and bot accounts excluded). One of them holds 99% of the history; the other 1 hold 1% each on average, below the 5% at which there is somebody to hand the work to. That is a single maintainer with drive-by contributors, not a team whose knowledge has concentrated — so the bus factor is not applicable and there is nothing here for the owner to act on.
- D22 Internal API Consistency — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. The loaded project set declares no packable project and no `.Contracts` project, so there is no intentionally-exposed surface for API consistency to be judged over.
- D32 Data Compliance (PII/GDPR) — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. `src/Starter.Common/ErrorHandling/Exceptions/Abstractions/AppException.cs`, `src/Starter.Common/ErrorHandling/Exceptions/AlreadyExistsException.cs`, `src/Starter.Common/ErrorHandling/Exceptions/BadRequestException.cs`, `src/Starter.Common/ErrorHandling/Exceptions/BusinessRuleValidationException.cs`, `src/Starter.Common/ErrorHandling/Exceptions/ForbiddenException.cs`, … (+26 more) produced a parse error, so every rule in this engine's `gdpr.yml` was absent there. That absence is NOT a clean result: these rules detect personal data crossing a boundary into a log sink, a URL or browser storage, and a file that was never parsed cannot report any of the three. The rest of the tree analysed normally and its rows above stand; only these files are unaccounted for. You can widen what we reach: fix the syntax error (or exclude the file deliberately) and re-scan to cover it.
- AXR1 Runtime accessibility — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Render strategy: boot via DockerCompose (REDACTED). compose up failed (exit 18 — an image could not be pulled) — loki Pulling grafana Pulling jaeger Pulling keycloak Pulling postgres Error Get "https://registry-1.docker.io/v2/": Forbidden grafana Error context canceled prometheus Error context canceled keycloak Error context canceled otel-collector Error context canceled loki Error context canceled jaeger Error context canceled Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the earlier `compose pull` step reported: postgres Error context canceled keycloak Error context canceled loki Error Get "https://registry-1.docker.io/v2/": Forbidden grafana Error context canceled jaeger Error context canceled prometheus Error Get "https://registry-1.docker.io/v2/": Forbidden Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the runtime sandbox reaches registries only through the in-fence pull-through mirror, so an image the mirror does not carry cannot be fetched — this is a limit of our sandbox, not of your stack; runtime evidence skipped.
Limitations & what we did not check
Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.
Per-dimension blind spots
- D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically — it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
- D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
- D3 God Classes: "God class" is sized by members and responsibilities visible in the type — a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module — one class/IIFE — earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
- D4 Code Duplication: Duplication is token-similarity — an in-process token-stream comparison over sliding windows, with type-aware normalization — so it finds copy-paste, not semantic duplication expressed differently. Committed machine-written code (scaffolded migrations, designer/codegen output, protobuf/OpenAPI stubs, model snapshots) is EXCLUDED — its repetition is the tool's, not the team's — so the score reflects hand-written duplication only.
- D5 Coupling: Coupling is measured between projects/assemblies — runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
- D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic — it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
- D7 Architectural Integrity: Layering is checked against detected/declared rules — an architecture whose boundaries live in convention or in code review, not in a rule a scanner can read, is not enforced here.
- D8 Code Coverage: Coverage is measured by building and running the test suite inside Watchdog's isolated image — the target repo is never modified, and nothing on your systems runs. So coverage exists only when the suite builds and runs within the inline time budget; one that needs external services, can't build, or exceeds the budget yields no coverage (D8 then degrades to not-measured, not a low score). Line coverage also says nothing about assertion quality.
- D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals — a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
- D10 Test Quality: Assertion density is structural — it cannot tell a meaningful behavioural assertion from a trivial one, only that an assertion is present.
- D11 Test Reliability: Flakiness is inferred from history/markers — Watchdog runs the suite once (for coverage), not the repeated runs under varied conditions that reveal nondeterminism, so a flaky test never recorded as failing is invisible here.
- D12 Dependency Hygiene: Dependency health reads manifests and lockfiles — a vulnerability in a vendored/copied dependency, or risk from how a dependency is actually used, is outside this view.
- D13 REDACTED Scanning: REDACTED detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
- D14 License Compliance: License compatibility is checked against declared package metadata and a policy — mislabelled or missing license metadata, and obligations that depend on how you distribute, are not resolved here.
- D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
- D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual — undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (scaffolded migrations, designer/codegen output, generated stubs) is excluded — it is never the team's dead code to delete.
- D18 Solution Shape: Build integrity reflects whether the solution compiled in this environment — a build that needs a private feed, a specific SDK, or a generated file absent from the repo can read as broken when it is merely unreproducible here.
- D19 Documentation Quality: Documentation quality is judged by an LLM over a bounded sample of docs — it reads what is written, not whether the docs match the running system, and it is advisory, not a measurement. Its critique rows are drawn from a closed category vocabulary and each row means the same thing in every run, so two scans can be compared row by row; the SET that fires is still a sample, and does not repeat exactly. Measured on one frozen input, six scans at one engine SHA: 2-5 critique rows per scan, 8 distinct rows across the six, 3 of those 8 seen in only one scan. So a D19 row is evidence about the documentation, but a COUNT of D19 rows is not a quantity — never read a change in it as an improvement or a regression.
- D20 ADR Quality: ADR quality is an LLM read of the decision records present — it cannot know about decisions made and never recorded, and its verdict is sampled and advisory.
- D21 Naming Consistency: Naming quality is an LLM judgement over a bounded sample — it assesses clarity/consistency of the names it sees, not domain-correctness, and is advisory.
- D24 Comment Value: Comment value (WHY vs WHAT) is an LLM judgement over a bounded sample — it is advisory and cannot weigh a comment against the precise code change it was written to explain.
- D25 ADR Conformance: ADR conformance is the LLM-scored fraction of sampled code that follows recorded decisions — it checks the decisions that were written down and the slices it sampled, not unrecorded rules or the whole tree.
- D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
- D27 Navigability: Indirection/navigability is structural — it measures hops to follow a call, not whether that indirection buys real flexibility or just ceremony.
- D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
- D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
- D30 Dependency Vulnerabilities: CVE matching depends on accurate package/version metadata and on the advisory databases — a vulnerability with no published advisory, or in code not declared as a dependency, is not seen. Coverage needs a RESOLVED graph: an unpinned requirements.txt, or a pom without a resolved build, yields partial coverage rather than a clean verdict. An ecosystem the analyzer cannot scan is reported as unmeasured, never as clean.
- D31 IaC & Container Security: IaC scanning checks Dockerfiles/Terraform/Kubernetes against best-practice rules — it cannot see the live cloud account, runtime configuration, or drift between the committed config and what is actually deployed.
- D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension — code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
- D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
- D44 Platform End-of-Life: The support table is FROZEN, so it goes out of date by losing RECALL: a release that ended support after the table was written is missed until the table is refreshed, and this dimension reading 10 is not evidence that a platform is current. Only platforms the repository DECLARES in a place this pass reads are seen — a runtime named only in a REDACTED (D31's subject), in a CI workflow (D29's), or in a file this pass does not parse (go.mod, a Gemfile ruby directive) is invisible here, which is why a repository declaring none of them abstains rather than scoring. Only frameworks with a PUBLISHED support policy are tracked: React, Flask and Express publish none, so their age cannot be judged and their absence from a report is not a statement that they are supported.
- AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
- ED5 Idempotency: Idempotency is judged from the handler body's visible writes and guards — a guard enforced by a database unique constraint, a broker's exactly-once delivery, or a domain method whose no-op-when-applied logic the scan can't follow may read as at-risk; the at-risk candidates are confirmed by a SAMPLED LLM verdict (advisory, not exhaustive) and degrade to heuristic-only when no model is configured. It flags the at-least-once double-apply SHAPE, not a runtime proof of a duplicate effect.
- M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present — it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.
- P4 Deployment & Rollback: Approval/branch-protection rules live in repository settings the scan cannot see — only their in-repo evidence (config files, workflows) is checked, so a control enforced purely in the host's settings reads as "not evidenced".
- P5 DR & Backup: Backup/restore and disaster-recovery readiness is judged from in-repo evidence — a config that exists is not a tested restore, so the absence of positive evidence is reported as "not evidenced", never scored as present.
The LLM boundary
Dimensions
D1 · Cyclomatic Complexity
0 method(s) exceeded the cyclomatic complexity threshold of 15.
D2 · Cognitive Complexity
0 method(s) exceeded the cognitive complexity threshold of 15.
D3 · God Classes
0 god class(es) detected.
D4 · Code Duplication
1 duplicated block group(s) detected.
What to do
- Resolve the 1 Duplicated block (9 lines × 3) finding(s) in Code Duplication — start with ContractsOutboxWorker.cs. — One of this dimension's main actionable groups (1 warning-level).
D5 · Coupling
5 projects, 0 dependency cycle(s), 0 unstable depended-on project(s).
D6 · Cohesion (LCOM4)
0 of 6 classes have LCOM4 above 3.
D7 · Architectural Integrity
All 3 mechanizable ADR(s) are enforced: 2 by analyzers, 1 by tests. Cycles found: 0.
D8 · Code Coverage
Line coverage 11.6% — 60 file(s) below 50%.
What to do
- Resolve the 60 Low coverage finding(s) in Code Coverage — start with AutomaticMigrationsExtensions.cs (3), DatabaseModule.cs (3), ReportsModule.cs. — One of this dimension's main actionable groups (60 warning-level).
- Resolve the 1 No test project references Starter.BFF finding(s) in Code Coverage — start with Starter.BFF.csproj. — One of this dimension's main actionable groups (1 warning-level).
D9 · Test Distribution
39 test methods: 22 unit, 17 integration, 0 BDD, 0 e2e.
D10 · Test Quality
0 skipped, 0 zero-assertion, 2 mock references across 39 tests.
D11 · Test Reliability
0 flaky across 2 measured tier(s). unit: measured (0 flaky); integration: measured (0 flaky).
D12 · Dependency Hygiene
64 outdated, 2 vulnerable, 12 deprecated, 1 prerelease packages.
What to do
- Resolve the 28 Deprecated finding(s) in Dependency Hygiene — start with REDACTED (9), Starter.csproj (8), Starter.BFF.csproj (8). — One of this dimension's main actionable groups (28 warning-level).
- Resolve the 2 Vulnerable finding(s) in Dependency Hygiene. — One of this dimension's main actionable groups (2 issue-level).
- Resolve the 1 Prerelease dependency finding(s) in Dependency Hygiene. — One of this dimension's main actionable groups (1 warning-level).
D13 · REDACTED Scanning
7 secret(s) detected.
What to do
- Resolve the 8 Leaked secret finding(s) in REDACTED Scanning — start with REDACTED (4), REDACTED (2), REDACTED (2). — One of this dimension's main actionable groups (8 issue-level).
- Stand up a CI pipeline, then gate REDACTED Scanning in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D14 · License Compliance
4 of 299 packages use a banned license. ★ DEPTH: this repository's MSBuild projects declare 65 direct `PackageReference`(s), and 185 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.
What to do
- Resolve the 2 Banned license finding(s) in License Compliance — start with REDACTED. — One of this dimension's main actionable groups (2 issue-level).
- Stand up a CI pipeline, then gate License Compliance 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.
D15 · Churn × Complexity Hotspots
No churn × complexity hotspots in the window.
D17 · Explicit Debt
2 deducted debt markers + 11 dead symbols across 2491 LoC in the .NET projects (1.0/KLoC) → score 8.0.
What to do
- Resolve the 1 FileScopedPragmaDisable finding(s) in Explicit Debt — start with Program.cs. — One of this dimension's main actionable groups (1 issue-level).
- Resolve the 1 BlanketAnalyzerSeverityNone finding(s) in Explicit Debt — start with .editorconfig. — One of this dimension's main actionable groups (1 issue-level).
- Resolve the 11 Dead code finding(s) in Explicit Debt — start with RequestValidationsExtensions.cs (3), RegisterPassRequest.cs, ConfigurationExtensions.cs. — One of this dimension's main actionable groups (11 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
5 projects, 178 source files, 3682 hand-written lines of code (2491 production / 1191 test — the split is derived per file: test is what its project, its own path, or a compile-guarded region marks as test, and a file carrying no test signal counts as production), plus 1334 generated (machine-written code — designer, scaffolded and tool-emitted files — excluded from quality), 4 inter-project edges.
D19 · Documentation Quality
The repository's root README is a clear project description (a .NET modular monolith starter implementing the BFF pattern with Keycloak authentication) plus an overview of features, prerequisites, and a step-by-step Getting Started guide. It also links to external documentation for modular architecture decisions ('Evolutionary Architecture's documentation'), ADRs ('adr-tools'), and a detailed decision log covering topics such as 'Use one project', 'Use modules', 'Use separate database schemas', 'Use Docker', 'In-Memory event bus', 'Internal sealed as default', testing strategy, static analysis, exceptions for validations, and backend localization. The architecture/decision-logging documents are well organized with a TOC and each decision documented with problem, decision, consequences, and links to further reading.
D20 · ADR Quality
Evaluated 14 ADR(s) individually; mean quality 7.5/10 (mixed — many ADRs miss context or consequences). 3 flagged with a specific gap.
What to do
- Resolve the 1 No context/problem and no consequences for not recording decisions (e.g.… finding(s) in ADR Quality — start with 0001-record-architecture-decisions.adoc. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Decision is generic ('We decided to use Docker') with no context (why… finding(s) in ADR Quality — start with 0006-use-docker.adoc. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Consequences are real but trade-offs (e.g. client-side fallback) are not… finding(s) in ADR Quality — start with 0013-use-backend-localization.adoc. — One of this dimension's main actionable groups (1 warning-level).
D21 · Naming Consistency
0 naming inconsistencies across 200 sampled symbols.
D24 · Comment Value
12 valuable / 0 redundant across 82 sampled comments; 3 shown with locations.
What to do
- Resolve the 3 misleading comment finding(s) in Comment Value — start with GlobalUsings.cs, LocalizationModule.cs, OpenIdConnectModule.cs. — One of this dimension's main actionable groups (3 recommendation-level).
D25 · ADR Conformance
5 conform / 0 violate across 14 ADRs.
D26 · Project Cohesion
0 of 5 projects flagged as possibly oversized/incoherent.
D27 · Navigability
94 % of calls cross a namespace and 2 % go through an interface, but 99 % 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)
9 finding(s): 0 critical, 9 high, 0 medium, 0 low. Remediation for historically-committed secrets is credential rotation — they remain in history regardless of later deletion.
What to do
- Resolve the 6 REDACTED finding(s) in Secrets (history) — start with REDACTED (3), REDACTED (2), REDACTED. — One of this dimension's main actionable groups (6 issue-level).
- Resolve the 3 High secret finding(s) in Secrets (history) — start with REDACTED, REDACTED, REDACTED. — One of this dimension's main actionable groups (3 issue-level).
- Resolve the 1 Rotate the exposed credentials finding(s) in Secrets (history). — One of this dimension's main actionable groups (1 recommendation-level).
D29 · Static Analysis (SAST)
5 finding(s): 0 critical, 0 high, 5 medium, 0 low. semgrep hit a parse error in 37 file(s) — `src/Starter.Common/ErrorHandling/Exceptions/Abstractions/AppException.cs` (line 5), `src/Starter.Common/ErrorHandling/Exceptions/AlreadyExistsException.cs` (line 5), `src/Starter.Common/ErrorHandling/Exceptions/BadRequestException.cs` (line 5), `src/Starter.Common/ErrorHandling/Exceptions/BusinessRuleValidationException.cs` (lines 3–6), `src/Starter.Common/ErrorHandling/Exceptions/ForbiddenException.cs` (line 5), … (+32 more) — so no absence of findings in the named regions is evidence of anything; rows reported elsewhere in those files are real. Fix the syntax error (or exclude the file deliberately) and re-scan to cover them. In 33 of those file(s) — `src/Starter.Common/ErrorHandling/Exceptions/AlreadyExistsException.cs`, `src/Starter.Common/ErrorHandling/Exceptions/BadRequestException.cs`, `src/Starter.Common/ErrorHandling/Exceptions/BusinessRuleValidationException.cs`, `src/Starter.Common/ErrorHandling/Exceptions/ForbiddenException.cs`, `src/Starter.Common/ErrorHandling/Exceptions/InternalServerException.cs`, … (+28 more) — the break is a C# primary constructor, which semgrep's grammar cannot parse and which hides the type from every rule scoped to it; those files were re-scanned from a shadow copy with the constructor's parameter list blanked (line and column preserving), which restores the type to the rules, and 0 additional row(s) came from that pass. Only the header's own parameter list is unread in them. In 5 of those file(s) — `src/Starter.Common/ErrorHandling/Exceptions/AlreadyExistsException.cs`, `src/Starter.Common/ErrorHandling/Exceptions/BadRequestException.cs`, `src/Starter.Common/ErrorHandling/Exceptions/BusinessRuleValidationException.cs`, `src/Starter.Common/ErrorHandling/Exceptions/ForbiddenException.cs`, `src/Starter.Common/ErrorHandling/Exceptions/UnauthorizedException.cs` — the break is at a TYPE DECLARATION (a C# primary constructor semgrep's grammar cannot parse), so the loss is wider than the named lines: rules scoped to that type see no type to scope to and are blind over its whole body, while rules matching statements keep working there. Absence of a type-scoped finding in those types is not evidence of anything.
What to do
- Resolve the 5 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED, REDACTED, REDACTED. — One of this dimension's main actionable groups (5 warning-level).
D30 · Dependency Vulnerabilities
7 finding(s): 2 critical, 3 high, 2 medium, 0 low.
What to do
- Resolve the 3 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (2), REDACTED. — One of this dimension's main actionable groups (3 issue-level).
- Resolve the 2 Critical CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (2). — One of this dimension's main actionable groups (2 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).
D31 · IaC & Container Security
15 finding(s): 0 critical, 2 high, 11 medium, 2 low.
What to do
- Resolve the 2 High IaC finding(s) in IaC & Container Security — start with REDACTED (2). — One of this dimension's main actionable groups (2 issue-level).
- Resolve the 11 Medium IaC finding(s) in IaC & Container Security — start with REDACTED (7), REDACTED (4). — One of this dimension's main actionable groups (11 warning-level).
- Resolve the 2 Low IaC finding(s) in IaC & Container Security — start with REDACTED (2). — One of this dimension's main actionable groups (2 recommendation-level).
D34 · Knowledge Freshness
5 of 5 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is src/Starter.Common/Telemetry/OpenTelemetry/OpenTelemetryModule.cs. Counted over 5 of the 138 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
What to do
- Resolve the 5 Orphaned file finding(s) in Knowledge Freshness — start with OpenTelemetryModule.cs, ErrorHandlingExtensions.cs, SearchExtensions.cs. — One of this dimension's main actionable groups (5 recommendation-level).
- Resolve the 1 Orphaned files with no living knowledge finding(s) in Knowledge Freshness. — One of this dimension's main actionable groups (1 recommendation-level).
D35 · Change Coupling
No strong hidden change-coupling between production files.
D39 · IL Efficiency
0 of 252 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 5 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 Starter.csproj. — 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
- `DatabaseConnectionFactory` is a singleton (one shared instance) but mutates instance state outside any lock (_connection; e.g. `_connection` at line 17). — src/Starter/Reports/DataAccess/DatabaseConnectionFactory.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
- The namespaces Starter.Common.DataAccess.Orms.EfCore.DbContexts ↔ Starter.Common.EventualConsistency.Outbox depend on each other. The lightest dependency in the cycle is Starter.Common.DataAccess.Orms.EfCore.DbContexts → Starter.Common.EventualConsistency.Outbox (Starter.Common.DataAccess.Orms.EfCore.DbContexts.OutBoxMessageConfiguration → Starter.Common.EventualConsistency.Outbox.OutboxMessage, 1 type pair(s)); cut that one first, e.g. by moving the shared type to a namespace both can use or inverting it behind an interface. — src/Starter.Common/DataAccess/Orms/EfCore/DbContexts/OutboxPersistence.cs:3
What to do
- Break namespace cycles inside a project by moving the shared type to a namespace both sides can use, or by inverting the back edge behind an interface.
AX5 · Architecture & structure
AX6 · Interface segregation
AX8 · Test isolation
C2 · Access Controls
ED1 · Handler temporal coupling
ED3 · Event naming
- `OfferPrepareEvent` reads as an instruction, not a fact that happened. Events describe something that already occurred — name them in the past tense (e.g. `OrderPlaced`, `PaymentCaptured`) so the ubiquitous language stays clear. — src/Starter/Offers/Prepare/OfferPrepareEvent.cs:6
What to do
- Name events in the past tense — they record facts that already happened.
ED4 · Outbox / dual-write
- `PassExpiredEventHandler.Handle` writes to the database AND publishes to the message bus in the same flow, with no outbox referenced in this path. These two writes aren't atomic — a crash between them either loses the message (DB committed, publish failed) or emits a phantom event (publish succeeded, DB rolled back). Use the transactional outbox pattern — write the message to an outbox table in the SAME transaction as the state change, and dispatch it from there afterwards — or your platform's equivalent (a broker transaction, or an outbox library from your own ecosystem). — src/Starter/Offers/Prepare/PassExpiredEventHandler.cs:14
- `ContractSignedEventHandler.Handle` writes to the database AND publishes to the message bus in the same flow, with no outbox referenced in this path. These two writes aren't atomic — a crash between them either loses the message (DB committed, publish failed) or emits a phantom event (publish succeeded, DB rolled back). Use the transactional outbox pattern — write the message to an outbox table in the SAME transaction as the state change, and dispatch it from there afterwards — or your platform's equivalent (a broker transaction, or an outbox library from your own ecosystem). — src/Starter/Passes/RegisterPass/ContractSignedEventHandler.cs:14
What to do
- Adopt the transactional outbox pattern so DB writes and message publishes commit atomically — no lost or phantom events on a crash.
ED5 · Idempotency
GD1 · Unfinished & placeholder code
IC1 · Incompleteness & stubs
- `UseReports` looks like it should compute a result but its body just returns a constant — a placeholder return that was never filled in. — src/Starter/Reports/ReportsModule.cs:16
What to do
- Finish or delete the unfinished stubs (NotImplementedException / empty / constant-returning bodies) — they are dead surface that looks live.
M1 · Documentation (README)
What to do
- Add a 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 5 of 5 project(s) that lack one — worth up to 2 pts.
M2 · Architecture documentation
What to do
- Grow the ADR log (currently 14) — reach 20 to raise the maturity tier; document significant decisions as they're made.
M3 · Folder & project structure
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
- Only 2/3 service-like projects use logging (pure contract/DTO projects are excluded — they have nothing to log). Of those 3, 2 ship a process this repository operates; the rest are libraries their consumer hosts, where the logging decision belongs to the host.
What to do
- Extend structured logging across the projects you operate, and give the library ones a diagnostics seam instead — an `EventSource`/`ActivitySource` the host can subscribe to, or an optional logger on your options object — rather than taking a logging dependency on your consumers' behalf.
P3 · Security & performance tooling
- No static application security testing detected. For this repository's stack, add CodeQL's csharp pack, or a .NET security analyzer package (or `semgrep --config=auto`, which runs on any language) — this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge's web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen — if that is your case the row is wrong, and saying so is more useful than adding a second scanner.
What to do
- Run what this repository's stack ships: CodeQL's csharp pack, or a .NET security analyzer package — or `semgrep --config=auto`, which runs on any language — locally for now, since there is no CI pipeline here yet, and as a step of the first workflow you add so a security regression fails the build instead of landing.
- Enable Dependabot/Renovate or a dependency-review gate.
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P4 · Deployment & Rollback
What to do
- Add an approval/environment gate (required reviewers / protection rules) before production promotion.
P5 · DR & Backup
- A persistence guard (data volume / purge-protection) was found, but no backup, geo-recovery or RTO/RPO controls were evidenced — a volume that survives a container recreate is not a tested restore from catastrophic loss.
What to do
- Codify backups + geo-recovery in IaC and document RTO/RPO and the restore procedure — a persistence guard alone is not disaster recovery.
P7 · Outbound HTTP resilience
- The app makes outbound HTTP calls but no resilience handler was detected (Polly / AddStandardResilienceHandler / circuit-breaker). A slow or failing dependency will cascade — add timeouts, retries with back-off, and a circuit breaker.
What to do
- Add `AddStandardResilienceHandler()` (or Polly policies) to your HttpClient registrations so a flaky dependency can't take the app down.
P8 · Schema migrations
PF3 · Async & latency hygiene
S1 · Web-Security Posture
- `RequireHttpsMetadata = false` allows the OIDC discovery doc to be fetched over plain HTTP. Safe for loopback-only fetches (Aspire / on-host); risky for any other path. — src/Starter.BFF/Auth/OIDC/OpenIdConnectModule.cs:38
- `ValidateAudience = false` means a token minted for a DIFFERENT relying party is accepted here. Any other service that trusts the same issuer can have its tokens replayed against this one, which is precisely what the `Audience` value exists to prevent. — src/Starter.Common/Auth/JwtBearer/JwtAuthenticationModule.cs:29
- None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, …) is configured — defense in depth, even when a reverse proxy could set them. (−2.0 on this card.)
- This web host's pipeline is composed here and adds no security response header (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, a frame policy) to what it serves. (×2) — src/Starter.BFF/Program.cs:5, src/Starter/Program.cs:15
- No UseHttpsRedirection/UseHsts and no reverse-proxy signal — transport security is unverified at the app layer. (−2.0 on this card.)
- This web host's pipeline is composed here with no UseHttpsRedirection/UseHsts, and nothing says a reverse proxy terminates TLS in front of it. (×2) — src/Starter.BFF/Program.cs:5, src/Starter/Program.cs:15
What to do
- Set RequireHttpsMetadata = true in prod (or pin MetadataAddress to a localhost URL the API can hit directly).
- Re-enable token validation — `ValidateAudience` is set to `false`. If it was switched off because the expected value was wrong or absent, supply that value instead (`ValidAudiences`/`ValidIssuers`, or `IssuerSigningKeys`/`IssuerSigningKeyResolver` for the signature) rather than skipping the check: a disabled check accepts every token, not just the one that was failing.
- Add security response headers (Content-Security-Policy first, then Strict-Transport-Security, X-Content-Type-Options and a frame policy) — defense in depth, even when a reverse proxy could set them.
- Enforce HTTPS at the app layer (UseHttpsRedirection / UseHsts) — only skip this if a reverse proxy demonstrably terminates TLS.
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/25 async methods accept a CancellationToken, so in-flight work can't be stopped early when the caller gives up — whatever ends it in your host (shutdown signal, timeout, abandoned request, user cancel). Thread a token through the call chain and honour it at each await and loop; where a method genuinely cannot be interrupted, omitting it is a deliberate choice — judge against your hosting model.
- No CancellationToken parameter — this work can't be stopped early once started. — src/Starter.Common/Events/EventBus/Persistent/PersistentEventBus.cs:21
- 6 async method(s) await work their caller's cancellation cannot reach: a CancellationToken they hold (a parameter, or the one a framework-fixed signature carries) is never passed on, or the call is handed CancellationToken.None, default or an already-cancelled token. Forward the caller's token to that call.
- Holds a CancellationToken but hands `CancellationToken.None` to the awaited call on this line, so the caller's cancellation never reaches that work. Pass the token on (or, where the work must outlive the caller, start it without awaiting it so the choice is visible). (×5) — src/Starter/Contracts/EventBus/Persistent/ContractsOutboxWorker.cs:22, src/Starter/Offers/EventBus/Persistent/OffersOutboxWorker.cs:23, src/Starter/Passes/EventBus/Persistent/PassesOutboxWorker.cs:24, …
- Its signature is fixed by the framework, and the token it carries (`context.HttpContext.RequestAborted`) reaches none of the calls here that take one — so an aborted request or a stopping host still waits for that work. Pass `context.HttpContext.RequestAborted` to them. — src/Starter.Common/Validation/Requests/RequestValidationApiFilter.cs:11
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
X5 · Nullable reference types
- ~0.2 `!` suppressions per 1k syntax nodes — 3 suppression(s) across the 19170 syntax node(s) in code where nullable warnings are ENABLED, which is the only code a `!` can suppress anything in (a `!` under `#nullable disable` is inert and is not counted, and its file's nodes are not in the denominator). Each one tells the compiler to trust you about null, suppressing the very safety NRTs provide.
What to do
- Enable <Nullable>enable</Nullable> across all projects and resolve warnings rather than suppressing with `!`.
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 89% | Strong | Solid. |
| Architecture | 82% | Strong | Solid. |
| Maturity | 61% | Adequate — gated by D34 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 15% | Critical — gated by D8, D12, D13, D14, P1, P3, P5, P7 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 60% | Adequate — gated by D28 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Event-Driven | 66% | Adequate | Acceptable, with room to improve. |
| Performance | 100% | Exemplary | Strongest area. |
Unscored — 1 check(s) recorded observations but carry no score
- SC1 Supply-chain hygiene — 1 observation(s) recorded · Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
Not evidenced — 1 control(s) we could not find positive evidence for
- P6 Release Hygiene — not evidenced — no changelog, version stamp or semver release tag in the repo
Not included — 37 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
- AX9 CQS / query purity — no CQRS query handlers detected — query purity is not applicable to this codebase
- AXB2 Runtime readiness — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- AXR1 Runtime accessibility — compose up failed (exit 18 — an image could not be pulled) — loki Pulling grafana Pulling jaeger Pulling keycloak Pulling postgres Error Get "https://registry-1.docker.io/v2/": Forbidden grafana Error context canceled prometheus Error context canceled keycloak Error context canceled otel-collector Error context canceled loki Error context canceled jaeger Error context canceled Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the earlier `compose pull` step reported: postgres Error context canceled keycloak Error context canceled loki Error Get "https://registry-1.docker.io/v2/": Forbidden grafana Error context canceled jaeger Error context canceled prometheus Error Get "https://registry-1.docker.io/v2/": Forbidden Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the runtime sandbox reaches registries only through the in-fence pull-through mirror, so an image the mirror does not carry cannot be fetched — this is a limit of our sandbox, not of your stack; runtime evidence skipped This is a statement about this run, not a statement about your application: nothing here says the surface is inaccessible, only that it was never rendered.
- C1 Data Protection — No personal data detected in the analyzed source — no PII-typed entity/column names (Email, FirstName, DateOfBirth, …), no ASP.NET Identity / user-account model, and no stored user credentials. GDPR data-protection controls are therefore N/A here. If this is intentional, record the no-PII posture in an ADR; if the app does process personal data, name those fields conventionally so this dimension activates.
- C3 Audit Trail — No personal data detected in the analyzed source — no PII-typed entity/column names (Email, FirstName, DateOfBirth, …), no ASP.NET Identity / user-account model, and no stored user credentials. GDPR data-protection controls are therefore N/A here. If this is intentional, record the no-PII posture in an ADR; if the app does process personal data, name those fields conventionally so this dimension activates.
- C4 Data Retention — No personal data detected in the analyzed source — no PII-typed entity/column names (Email, FirstName, DateOfBirth, …), no ASP.NET Identity / user-account model, and no stored user credentials. GDPR data-protection controls are therefore N/A here. If this is intentional, record the no-PII posture in an ADR; if the app does process personal data, name those fields conventionally so this dimension activates.
- C5 Data-Subject Rights — No personal data detected in the analyzed source — no PII-typed entity/column names (Email, FirstName, DateOfBirth, …), no ASP.NET Identity / user-account model, and no stored user credentials. GDPR data-protection controls are therefore N/A here. If this is intentional, record the no-PII posture in an ADR; if the app does process personal data, name those fields conventionally so this dimension activates.
- D16 Bus Factor — single-maintainer repository — bus factor is not applicable
- D22 Internal API Consistency — No intentionally-exposed public API to evaluate for consistency.
- D23 Boundary Type-Coupling — small single-context codebase (2,491 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"]`.
- D32 Data Compliance (PII/GDPR) — 31 file(s) were not parsed by semgrep — the PII/GDPR ruleset never ran over them
- 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).
- DM1 Domain Modelling — not scored — this repository shows only 1 of the 3 signals this lens looks for (5 domain event(s); its domain events are published by services or handlers — no domain entity raises one)
- ED2 Event/command shape — no command-shaped messages detected — single-handler-per-command check not applicable
- ES1 Event Sourcing — not scored — this repository shows none of the 3 signals this lens looks for
- P12 CI test-gate honesty — no CI workflow found
- P9 Domain vs controller coverage — coverage data present for 128 file(s), but no domain-layer files were identified: no covered file's path contains any of the markers this check keys on (/domain/, /aggregates/, /valueobjects/, /domainmodel/, .domain/, /entities/), which are matched case-insensitively anywhere in the path. With no domain partition there is nothing to compare the web/controller layer against — if this repository keeps its business rules under a folder named none of those, that naming is what the check cannot see, not the domain logic.
- PF1 Benchmark discipline — Performance is assessed only for perf-relevant repos — a packaged library, one that ships benchmarks, or one already using allocation-aware APIs. This repo isn't one, so the Performance lens is not applicable and is excluded from the score.
- PF2 Allocation hygiene — Performance is assessed only for perf-relevant repos — a packaged library, one that ships benchmarks, or one already using allocation-aware APIs. This repo isn't one, so the Performance lens is not applicable and is excluded from the score.
- X10 Duplicated predicate — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X6 Hand-rolled structured-format parsing — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X7 Silent fallback defaults — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X9 Subsumed condition operand — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
Appendix A — Findings (grouped)
Critical — 33 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Vulnerable: OpenTelemetry.Exporter.OpenTelemetryProtocol
- Vulnerable: MailKit
- Banned license: SonarAnalyzer.CSharp REDACTED:43
- Banned license: MySql.Data.OpenTelemetry
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Dual write (no outbox): PassExpiredEventHandler.Handle src/Starter/Offers/Prepare/PassExpiredEventHandler.cs:14
- Dual write (no outbox): ContractSignedEventHandler.Handle src/Starter/Passes/RegisterPass/ContractSignedEventHandler.cs:14
- Namespace dependency cycle src/Starter.Common/DataAccess/Orms/EfCore/DbContexts/OutboxPersistence.cs:3
- FileScopedPragmaDisable src/Starter/Program.cs:56
- BlanketAnalyzerSeverityNone .editorconfig:4
Serious — 138 finding(s)
- Low coverage: src/Starter/Reports/ReportsModule.cs src/Starter/Reports/ReportsModule.cs:1
- Low coverage: REDACTED REDACTED:1
- Low coverage: src/Starter/Reports/GenerateNewPassesRegistrationsPerMonthReport/GenerateNewPassesPerMonthReportModule.cs src/Starter/Reports/GenerateNewPassesRegistrationsPerMonthReport/GenerateNewPassesPerMonthReportModule.cs:1
- Low coverage: src/Starter/Reports/GenerateNewPassesRegistrationsPerMonthReport/DataRetriever/NewPassesRegistrationPerMonthReportDataRetriever.cs src/Starter/Reports/GenerateNewPassesRegistrationsPerMonthReport/DataRetriever/NewPassesRegistrationPerMonthReportDataRetriever.cs:1
- Low coverage: src/Starter/Reports/DataAccess/DatabaseConnectionFactory.cs src/Starter/Reports/DataAccess/DatabaseConnectionFactory.cs:1
- Low coverage: src/Starter/Passes/PassesModule.cs src/Starter/Passes/PassesModule.cs:1
- Low coverage: src/Starter/Passes/RegisterPass/ContractSignedEventHandler.cs src/Starter/Passes/RegisterPass/ContractSignedEventHandler.cs:1
- Low coverage: REDACTED REDACTED:1
- Low coverage: src/Starter/Passes/GetAllPasses/GetAllPassesEndpoint.cs src/Starter/Passes/GetAllPasses/GetAllPassesEndpoint.cs:1
- Low coverage: src/Starter/Passes/EventBus/Persistent/PassesOutboxWorker.cs src/Starter/Passes/EventBus/Persistent/PassesOutboxWorker.cs:1
- Low coverage: src/Starter/Passes/Data/Pass.cs src/Starter/Passes/Data/Pass.cs:1
- Low coverage: src/Starter/Passes/Data/Database/AutomaticMigrationsExtensions.cs src/Starter/Passes/Data/Database/AutomaticMigrationsExtensions.cs:1
- Low coverage: src/Starter/Passes/Data/Database/DatabaseModule.cs src/Starter/Passes/Data/Database/DatabaseModule.cs:1
- Low coverage: src/Starter/Passes/Data/Database/PassEntityConfiguration.cs src/Starter/Passes/Data/Database/PassEntityConfiguration.cs:1
- Low coverage: src/Starter/Passes/Data/Database/PassesPersistence.cs src/Starter/Passes/Data/Database/PassesPersistence.cs:1
- Low coverage: src/Starter/Offers/OffersModule.cs src/Starter/Offers/OffersModule.cs:1
- Low coverage: src/Starter/Offers/Prepare/PassExpiredEventHandler.cs src/Starter/Offers/Prepare/PassExpiredEventHandler.cs:1
- Low coverage: src/Starter/Offers/EventBus/Persistent/OffersOutboxWorker.cs src/Starter/Offers/EventBus/Persistent/OffersOutboxWorker.cs:1
- Low coverage: src/Starter/Offers/Data/Offer.cs src/Starter/Offers/Data/Offer.cs:1
- Low coverage: src/Starter/Offers/Data/Database/AutomaticMigrationsExtensions.cs src/Starter/Offers/Data/Database/AutomaticMigrationsExtensions.cs:1
- Low coverage: src/Starter/Offers/Data/Database/DatabaseModule.cs src/Starter/Offers/Data/Database/DatabaseModule.cs:1
- Low coverage: src/Starter/Offers/Data/Database/OfferEntityConfiguration.cs src/Starter/Offers/Data/Database/OfferEntityConfiguration.cs:1
- Low coverage: src/Starter/Offers/Data/Database/OffersPersistence.cs src/Starter/Offers/Data/Database/OffersPersistence.cs:1
- Low coverage: src/Starter/Contracts/ContractsEndpoints.cs src/Starter/Contracts/ContractsEndpoints.cs:1
- Low coverage: src/Starter/Contracts/ContractsModule.cs src/Starter/Contracts/ContractsModule.cs:1
- Deprecated: FluentValidation.AspNetCore src/Starter/Starter.csproj:16
- Deprecated: FluentValidation.AspNetCore REDACTED:13
- Deprecated: Microsoft.IdentityModel.Abstractions src/Starter/Starter.csproj:46
- Deprecated: Microsoft.IdentityModel.Abstractions src/Starter.BFF/Starter.BFF.csproj:16
- Deprecated: Microsoft.IdentityModel.Abstractions REDACTED:52
- Deprecated: Microsoft.IdentityModel.JsonWebTokens src/Starter/Starter.csproj:47
- Deprecated: Microsoft.IdentityModel.JsonWebTokens src/Starter.BFF/Starter.BFF.csproj:17
- Deprecated: Microsoft.IdentityModel.JsonWebTokens REDACTED:53
- Deprecated: Microsoft.IdentityModel.Logging src/Starter/Starter.csproj:48
- Deprecated: Microsoft.IdentityModel.Logging src/Starter.BFF/Starter.BFF.csproj:18
- Deprecated: Microsoft.IdentityModel.Logging REDACTED:54
- Deprecated: Microsoft.IdentityModel.Protocols src/Starter/Starter.csproj:49
- Deprecated: Microsoft.IdentityModel.Protocols src/Starter.BFF/Starter.BFF.csproj:19
- Deprecated: Microsoft.IdentityModel.Protocols REDACTED:55
- Deprecated: Microsoft.IdentityModel.Protocols.OpenIdConnect src/Starter/Starter.csproj:50
- Deprecated: Microsoft.IdentityModel.Protocols.OpenIdConnect src/Starter.BFF/Starter.BFF.csproj:20
- Deprecated: Microsoft.IdentityModel.Protocols.OpenIdConnect REDACTED:56
- Deprecated: Microsoft.IdentityModel.Tokens src/Starter/Starter.csproj:51
- Deprecated: Microsoft.IdentityModel.Tokens src/Starter.BFF/Starter.BFF.csproj:21
- Deprecated: Microsoft.IdentityModel.Tokens REDACTED:57
- Deprecated: System.IdentityModel.Tokens.Jwt src/Starter/Starter.csproj:52
- Deprecated: System.IdentityModel.Tokens.Jwt src/Starter.BFF/Starter.BFF.csproj:22
- Deprecated: System.IdentityModel.Tokens.Jwt REDACTED:58
- Deprecated: xunit src/Starter.UnitTests/Starter.UnitTests.csproj:26
- Deprecated: xunit REDACTED:27
- Dead code: RegisterPassRequest src/Starter/Passes/RegisterPass/RegisterPassRequest.cs:3
- Dead code: SetFakeSystemClock src/Starter.IntegrationTests/Common/TestEngine/Configuration/ConfigurationExtensions.cs:45
- Dead code: ISoftDeletable src/Starter.Common/DataAccess/Auditing/ISoftDeletable.cs:3
- Dead code: ToPaginatedList src/Starter.Common/DataAccess/Orms/EfCore/PaginationExtensions.cs:41
- Dead code: Search src/Starter.Common/DataAccess/Orms/EfCore/SearchExtensions.cs:53
- Dead code: ToBusinessRuleValidationException src/Starter.Common/ErrorHandling/ErrorHandlingExtensions.cs:49
- Dead code: PublishManyAsync src/Starter.Common/Events/EventBus/InMemory/InMemoryEventBus.cs:8
- Dead code: PublishManyAsync src/Starter.Common/Events/EventBus/Persistent/PersistentEventBus.cs:10
- Dead code: MustBeNumeric src/Starter.Common/Validation/Requests/RequestValidationsExtensions.cs:11
- Dead code: MustBeGreaterThanOrEquals src/Starter.Common/Validation/Requests/RequestValidationsExtensions.cs:17
- Dead code: NumberMustBeInRange src/Starter.Common/Validation/Requests/RequestValidationsExtensions.cs:23
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Async call defeats the CancellationToken: ExecuteAsync src/Starter/Contracts/EventBus/Persistent/ContractsOutboxWorker.cs:22
- Async call defeats the CancellationToken: ExecuteAsync src/Starter/Offers/EventBus/Persistent/OffersOutboxWorker.cs:23
- Async call defeats the CancellationToken: ExecuteAsync src/Starter/Passes/EventBus/Persistent/PassesOutboxWorker.cs:24
- Async call defeats the CancellationToken: PublishManyAsync src/Starter.Common/Events/EventBus/Persistent/PersistentEventBus.cs:18
- Async call defeats the CancellationToken: ProcessEventAsync src/Starter.Common/EventualConsistency/Outbox/OutboxProcessor.cs:64
- REDACTED
- REDACTED
- Stateful singleton: DatabaseConnectionFactory src/Starter/Reports/DataAccess/DatabaseConnectionFactory.cs:6
- Prerelease dependency: OpenTelemetry.Exporter.Prometheus.AspNetCore
- No context/problem and no consequences for not recording decisions (e.g. lost changes or confusion) are stated docs/ArchitectureDecisionLog/0001-record-architecture-decisions.adoc
- Decision is generic ('We decided to use Docker') with no context (why not a different container platform) or trade-offs beyond the listed consequences docs/ArchitectureDecisionLog/0006-use-docker.adoc
- Consequences are real but trade-offs (e.g. client-side fallback) are not framed as a decision versus an alternative docs/ArchitectureDecisionLog/0013-use-backend-localization.adoc
- Duplicated block (9 lines × 3) src/Starter/Contracts/EventBus/Persistent/ContractsOutboxWorker.cs:18
- End-of-life runtime: .NET net9.0 src/Starter/Starter.csproj:4
- No test project references Starter.BFF src/Starter.BFF/Starter.BFF.csproj
- Hollow method — returns a constant without doing the work src/Starter/Reports/ReportsModule.cs:16
- No CI pipeline
- No DR/backup evidence
- Outbound HTTP without resilience
- Token validation disabled src/Starter.Common/Auth/JwtBearer/JwtAuthenticationModule.cs:29
- NuGet dependencies are not locked
- Async method without CancellationToken: PersistIntegrationEvent src/Starter.Common/Events/EventBus/Persistent/PersistentEventBus.cs:21
- Async method drops its ambient CancellationToken: InvokeAsync src/Starter.Common/Validation/Requests/RequestValidationApiFilter.cs:11
Minor — 29 finding(s)
- Orphaned file src/Starter.Common/Telemetry/OpenTelemetry/OpenTelemetryModule.cs:1
- Orphaned file src/Starter.Common/ErrorHandling/ErrorHandlingExtensions.cs:1
- Orphaned file src/Starter.Common/DataAccess/Orms/EfCore/SearchExtensions.cs:1
- Orphaned file src/Starter.Common/EventualConsistency/Outbox/OutboxProcessor.cs:1
- Orphaned file src/Starter.Common/DataAccess/Orms/EfCore/PaginationExtensions.cs:1
- Outdated: Swashbuckle.AspNetCore REDACTED:47
- Outdated: coverlet.collector REDACTED:34
- Outdated: Verify.Xunit REDACTED:20
- misleading comment src/Starter.Common/GlobalUsings.cs:1
- misleading comment src/Starter.Common/Localizations/LocalizationModule.cs:27
- misleading comment src/Starter.BFF/Auth/OIDC/OpenIdConnectModule.cs:25
- No security response headers detected
- No security response headers detected src/Starter.BFF/Program.cs:5
- No security response headers detected src/Starter/Program.cs:15
- No app-layer HTTPS enforcement detected
- No app-layer HTTPS enforcement detected src/Starter.BFF/Program.cs:5
- No app-layer HTTPS enforcement detected src/Starter/Program.cs:15
- REDACTED
- REDACTED
- ADR decides a question another record already decided docs/ArchitectureDecisionLog/0013-use-backend-localization.adoc:1
- REDACTED
- Orphaned files with no living knowledge
- Event not named in past tense: OfferPrepareEvent src/Starter/Offers/Prepare/OfferPrepareEvent.cs:6
- Logging is not universal
- No SAST
- OIDC metadata fetched over HTTP src/Starter.BFF/Auth/OIDC/OpenIdConnectModule.cs:38
- Not all async methods take a CancellationToken
- Some async methods drop the CancellationToken they accept
- Null-forgiving operator (`!`) suppressions reduce the NRT score
Minor — 67 finding(s)
- Outdated: Asp.Versioning.Mvc
- Outdated: Asp.Versioning.Mvc.ApiExplorer
- Outdated: Dapper
- Outdated: FluentValidation
- Outdated: FluentValidation.AspNetCore
- Outdated: FluentValidation.DependencyInjectionExtensions
- Outdated: Grafana.OpenTelemetry
- Outdated: JetBrains.Annotations
- Outdated: MediatR
- Outdated: Microsoft.AspNetCore.Authentication.JwtBearer
- Outdated: Microsoft.AspNetCore.Authentication.OpenIdConnect
- Outdated: Microsoft.AspNetCore.JsonPatch
- Outdated: Microsoft.AspNetCore.Mvc.NewtonsoftJson
- Outdated: Microsoft.AspNetCore.OpenApi
- Outdated: Microsoft.EntityFrameworkCore
- Outdated: Microsoft.EntityFrameworkCore.Design
- Outdated: Microsoft.IdentityModel.Abstractions
- Outdated: Microsoft.IdentityModel.JsonWebTokens
- Outdated: Microsoft.IdentityModel.Logging
- Outdated: Microsoft.IdentityModel.Protocols
- Outdated: Microsoft.IdentityModel.Protocols.OpenIdConnect
- Outdated: Microsoft.IdentityModel.Tokens
- Outdated: Npgsql.EntityFrameworkCore.PostgreSQL
- Outdated: NSwag.AspNetCore
- Outdated: OpenTelemetry.Exporter.OpenTelemetryProtocol
- XML-doc coverage: Starter src/Starter/Starter.csproj
- XML-doc coverage: Starter.BFF src/Starter.BFF/Starter.BFF.csproj
- XML-doc coverage: Starter.Common REDACTED
- Mock framework: NSubstitute
- Mock framework: NSubstitute
- Off the main sequence: Starter.Common REDACTED:1
Appendix B — Reproduction & audit trail
| Dimension | Tool | Version | Command | Findings | Raw output |
|---|---|---|---|---|---|
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-banner --config /opt/gitleaks-rules/watchdog-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-90be72bb634e4109835481908ffcb662/history.json --exit-code 0 --source . | 10 | 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-90be72bb634e4109835481908ffcb662/tree.json --exit-code 0 --source . | 4 | 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 . | 5 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | dotnet | — | dotnet list Softylines.AspNetCore.Starter.sln package --vulnerable --include-transitive --format json | 7 | artifacts/raw/dotnet-vulnerable.json |
| D31 · IaC & Container Security | trivy | — | trivy config --format json --quiet . | 15 | artifacts/raw/trivy-config.json |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that. semgrep could not parse 31 file(s) — `src/Starter.Common/ErrorHandling/Exceptions/Abstractions/AppException.cs`, `src/Starter.Common/ErrorHandling/Exceptions/AlreadyExistsException.cs`, `src/Starter.Common/ErrorHandling/Exceptions/BadRequestException.cs`, `src/Starter.Common/ErrorHandling/Exceptions/BusinessRuleValidationException.cs`, `src/Starter.Common/ErrorHandling/Exceptions/ForbiddenException.cs`, … (+26 more) — so the PII/GDPR sweep did not cover the unparsed regions of them; rows reported elsewhere in those files are real. | 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 | — |