Executive summary
opifex/symfony scores 55 out of 100 and is rated Adequate, while five of its six lenses score higher still: Code Health at 86, rated Strong, and Domain Modelling at 79, Architecture at 67 and Production Readiness and Maturity at 62, all rated Adequate.
The score is lower than those five because the weakest lens counts most, and here that is Security and Compliance, which scores 43 and is rated Weak. Its Data Protection dimension scores 0 out of 10, and until that reaches 4, Security and Compliance can't be rated higher than Adequate. The first actions are to encrypt sensitive data at rest (an Eloquent 'encrypted' cast or Crypt::encryptString, libsodium's sodium_crypto_secretbox, or CipherSweet for searchable fields) and manage keys in a vault (AWS KMS / Secrets Manager, GCP KMS / REDACTED Manager, HashiCorp Vault) and to resolve the 1 No ADRs found finding(s) in ADR Quality, and if Security and Compliance rose to 70, the score would rise from 55 to about 64.
Three findings are critical: two in Secrets (history) and one in IaC & Container Security.
Watchdog couldn't measure 16 dimensions in this code, among them Code Coverage, Test Reliability and Navigability, so they are left out of the score. The product code is 6,794 lines, which would take an estimated 0.1 person-years, around €14,000, to rebuild.
If Security and Compliance rose from 43 to 70, the lowest score rated Strong, the score would rise from 55 to about 64.
New since the last survey: 5 findings
- Change Coupling · Change-coupling hub: GetAccountByIdController.php → GetSigninAccountQueryResult.php, GetAccountsByCriteriaController.php, UpdateAccountByIdController.php, GetSigninAccountController.php, GetHealthStatusController.php src/Presentation/Controller/Account/GetAccountByIdController.php
- Change Coupling · Change-coupling hub: UpdateAccountByIdController.php → CreateNewAccountController.php, GetAccountsByCriteriaController.php, GetSigninAccountController.php, SigninIntoAccountController.php src/Presentation/Controller/Account/UpdateAccountByIdController.php
- Change Coupling · Change coupling: CreateNewAccountController.php ↔ SigninIntoAccountController.php src/Presentation/Controller/Account/CreateNewAccountController.php
- Outbound HTTP resilience · Outbound HTTP without resilience src/Infrastructure/HttpClient/CorrelationIdHttpClient.php
- Outbound HTTP resilience · Outbound HTTP without resilience src/Infrastructure/HttpClient/CorrelationIdHttpClient.php
Fixed since the last survey: 3 findings
- Change Coupling · Change-coupling hub: GetAccountByIdController.php → GetSigninAccountQueryResult.php, GetAccountsByCriteriaController.php, GetSigninAccountController.php src/Presentation/Controller/Account/GetAccountByIdController.php
- Change Coupling · Change coupling clique: CreateNewAccountController.php, UpdateAccountByIdController.php, SigninIntoAccountController.php src/Presentation/Controller/Account/CreateNewAccountController.php
- Outbound HTTP resilience · Outbound HTTP without resilience src/Infrastructure/HttpClient/CorrelationIdHttpClient.php
Rebuild cost: about €14,000 · Estimate
| Cost to rebuild | €4,600 to €23,000, for 77 to 244 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.8 at a score of 55. 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: 6,794 lines of product code |
Top priorities
Diagnosis: what the measurements show together
Architecture: which parts of the code depend on which
| uses → | 1 Application.Command | 2 Application.Query | 3 Domain.Foundation.Enum | 4 Domain.Foundation.Event | 5 Domain.Foundation.ValueObject | 6 Infrastructure.Observability | 7 Application.Contract | 8 Application.Query.GetHealthStatus | 9 Domain.Account | 10 Domain.Foundation | 11 Infrastructure.HttpClient | 12 Infrastructure.Monolog | 13 Application.Command.SignoutFromAccount | 14 Domain.Account.Contract | 15 Domain.Account.Event | 16 Infrastructure.Adapter.Kennethreitz | 17 Infrastructure.Adapter.Lcobucci | 18 Infrastructure.Adapter.Sensiolabs | 19 Infrastructure.Cache | 20 Infrastructure.Doctrine.Mapping | 21 Infrastructure.Messenger | 22 Infrastructure.Messenger.MessageBus | 23 Presentation.Controller | 24 Application.Command.BlockAccountById | 25 Application.Command.CreateNewAccount | 26 Application.Command.DeleteAccountById | 27 Application.Command.SigninIntoAccount | 28 Application.Command.SignupNewAccount | 29 Application.Command.UnblockAccountById | 30 Application.Command.UpdateAccountById | 31 Application.Query.GetAccountById | 32 Application.Query.GetAccountsByCriteria | 33 Application.Query.GetSigninAccount | 34 Infrastructure.Doctrine.Repository.Account | 35 Infrastructure.Messenger.Middleware | 36 Infrastructure.Security.AccessToken | 37 Infrastructure.Security.PasswordHasher | 38 Presentation.Controller.Health | 39 Presentation.Controller.Account | 40 Presentation.Controller.Auth |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 Application.Command | ||||||||||||||||||||||||||||||||||||||||
| 2 Application.Query | ||||||||||||||||||||||||||||||||||||||||
| 3 Domain.Foundation.Enum | ||||||||||||||||||||||||||||||||||||||||
| 4 Domain.Foundation.Event | ||||||||||||||||||||||||||||||||||||||||
| 5 Domain.Foundation.ValueObject | ||||||||||||||||||||||||||||||||||||||||
| 6 Infrastructure.Observability | ||||||||||||||||||||||||||||||||||||||||
| 7 Application.Contract | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 8 Application.Query.GetHealthStatus | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 9 Domain.Account | 1 | 4 | ||||||||||||||||||||||||||||||||||||||
| 10 Domain.Foundation | 1 | |||||||||||||||||||||||||||||||||||||||
| 11 Infrastructure.HttpClient | 1 | |||||||||||||||||||||||||||||||||||||||
| 12 Infrastructure.Monolog | 1 | |||||||||||||||||||||||||||||||||||||||
| 13 Application.Command.SignoutFromAccount | 1 | 2 | ||||||||||||||||||||||||||||||||||||||
| 14 Domain.Account.Contract | 2 | 2 | 1 | |||||||||||||||||||||||||||||||||||||
| 15 Domain.Account.Event | 2 | 2 | ||||||||||||||||||||||||||||||||||||||
| 16 Infrastructure.Adapter.Kennethreitz | 1 | |||||||||||||||||||||||||||||||||||||||
| 17 Infrastructure.Adapter.Lcobucci | 1 | |||||||||||||||||||||||||||||||||||||||
| 18 Infrastructure.Adapter.Sensiolabs | 1 | |||||||||||||||||||||||||||||||||||||||
| 19 Infrastructure.Cache | 1 | |||||||||||||||||||||||||||||||||||||||
| 20 Infrastructure.Doctrine.Mapping | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 21 Infrastructure.Messenger | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 22 Infrastructure.Messenger.MessageBus | 1 | 1 | 2 | |||||||||||||||||||||||||||||||||||||
| 23 Presentation.Controller | 2 | |||||||||||||||||||||||||||||||||||||||
| 24 Application.Command.BlockAccountById | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 25 Application.Command.CreateNewAccount | 1 | 1 | 1 | 2 | ||||||||||||||||||||||||||||||||||||
| 26 Application.Command.DeleteAccountById | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 27 Application.Command.SigninIntoAccount | 1 | 2 | 1 | |||||||||||||||||||||||||||||||||||||
| 28 Application.Command.SignupNewAccount | 1 | 1 | 2 | |||||||||||||||||||||||||||||||||||||
| 29 Application.Command.UnblockAccountById | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 30 Application.Command.UpdateAccountById | 1 | 2 | ||||||||||||||||||||||||||||||||||||||
| 31 Application.Query.GetAccountById | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 32 Application.Query.GetAccountsByCriteria | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 33 Application.Query.GetSigninAccount | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 34 Infrastructure.Doctrine.Repository.Account | 1 | 3 | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||
| 35 Infrastructure.Messenger.Middleware | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 36 Infrastructure.Security.AccessToken | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 37 Infrastructure.Security.PasswordHasher | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 38 Presentation.Controller.Health | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 39 Presentation.Controller.Account | 7 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||
| 40 Presentation.Controller.Auth | 1 | 4 | 1 | 1 | 1 |
7→1 Application.Contract uses Application.Command✕
- Connections
- 1 pair of types, where a type in Application.Contract uses a type in Application.Command.
- The types involved
App.Application.Contract.CommandMessageBusInterface→App.Application.Command.CommandInterface
- Direction
- Application.Contract uses Application.Command, so a change to Application.Command can break Application.Contract, while a change to Application.Contract can't break Application.Command.
- Position
- Below the diagonal: Application.Contract uses a module listed above it, which is the healthy direction.
7→2 Application.Contract uses Application.Query✕
- Connections
- 1 pair of types, where a type in Application.Contract uses a type in Application.Query.
- The types involved
App.Application.Contract.QueryMessageBusInterface→App.Application.Query.QueryInterface
- Direction
- Application.Contract uses Application.Query, so a change to Application.Query can break Application.Contract, while a change to Application.Contract can't break Application.Query.
- Position
- Below the diagonal: Application.Contract uses a module listed above it, which is the healthy direction.
8→2 Application.Query.GetHealthStatus uses Application.Query✕
- Connections
- 1 pair of types, where a type in Application.Query.GetHealthStatus uses a type in Application.Query.
- The types involved
App.Application.Query.GetHealthStatus.GetHealthStatusQuery→App.Application.Query.QueryInterface
- Direction
- Application.Query.GetHealthStatus uses Application.Query, so a change to Application.Query can break Application.Query.GetHealthStatus, while a change to Application.Query.GetHealthStatus can't break Application.Query.
- Position
- Below the diagonal: Application.Query.GetHealthStatus uses a module listed above it, which is the healthy direction.
8→3 Application.Query.GetHealthStatus uses Domain.Foundation.Enum✕
- Connections
- 1 pair of types, where a type in Application.Query.GetHealthStatus uses a type in Domain.Foundation.Enum.
- The types involved
App.Application.Query.GetHealthStatus.GetHealthStatusQueryResult→App.Domain.Foundation.Enum.HealthStatus
- Direction
- Application.Query.GetHealthStatus uses Domain.Foundation.Enum, so a change to Domain.Foundation.Enum can break Application.Query.GetHealthStatus, while a change to Application.Query.GetHealthStatus can't break Domain.Foundation.Enum.
- Position
- Below the diagonal: Application.Query.GetHealthStatus uses a module listed above it, which is the healthy direction.
9→3 Domain.Account uses Domain.Foundation.Enum✕
- Connections
- 1 pair of types, where a type in Domain.Account uses a type in Domain.Foundation.Enum.
- The types involved
App.Domain.Account.Account→App.Domain.Foundation.Enum.LocaleCode
- Direction
- Domain.Account uses Domain.Foundation.Enum, so a change to Domain.Foundation.Enum can break Domain.Account, while a change to Domain.Account can't break Domain.Foundation.Enum.
- Position
- Below the diagonal: Domain.Account uses a module listed above it, which is the healthy direction.
9→5 Domain.Account uses Domain.Foundation.ValueObject✕
- Connections
- 4 pairs of types, where a type in Domain.Account uses a type in Domain.Foundation.ValueObject.
- The types involved
App.Domain.Account.Account→App.Domain.Foundation.ValueObject.DateTimeUtcApp.Domain.Account.Account→App.Domain.Foundation.ValueObject.EmailAddressApp.Domain.Account.Account→App.Domain.Foundation.ValueObject.PasswordHashApp.Domain.Account.AccountIdentifier→App.Domain.Foundation.ValueObject.AbstractUuidIdentifier
- Direction
- Domain.Account uses Domain.Foundation.ValueObject, so a change to Domain.Foundation.ValueObject can break Domain.Account, while a change to Domain.Account can't break Domain.Foundation.ValueObject.
- Position
- Below the diagonal: Domain.Account uses a module listed above it, which is the healthy direction.
10→4 Domain.Foundation uses Domain.Foundation.Event✕
- Connections
- 1 pair of types, where a type in Domain.Foundation uses a type in Domain.Foundation.Event.
- The types involved
App.Domain.Foundation.DomainEventsTrait→App.Domain.Foundation.Event.EventInterface
- Direction
- Domain.Foundation uses Domain.Foundation.Event, so a change to Domain.Foundation.Event can break Domain.Foundation, while a change to Domain.Foundation can't break Domain.Foundation.Event.
- Position
- Below the diagonal: Domain.Foundation uses a module listed above it, which is the healthy direction.
11→6 Infrastructure.HttpClient uses Infrastructure.Observability✕
- Connections
- 1 pair of types, where a type in Infrastructure.HttpClient uses a type in Infrastructure.Observability.
- The types involved
App.Infrastructure.HttpClient.CorrelationIdHttpClient→App.Infrastructure.Observability.CorrelationIdProvider
- Direction
- Infrastructure.HttpClient uses Infrastructure.Observability, so a change to Infrastructure.Observability can break Infrastructure.HttpClient, while a change to Infrastructure.HttpClient can't break Infrastructure.Observability.
- Position
- Below the diagonal: Infrastructure.HttpClient uses a module listed above it, which is the healthy direction.
12→6 Infrastructure.Monolog uses Infrastructure.Observability✕
- Connections
- 1 pair of types, where a type in Infrastructure.Monolog uses a type in Infrastructure.Observability.
- The types involved
App.Infrastructure.Monolog.CorrelationIdProcessor→App.Infrastructure.Observability.CorrelationIdProvider
- Direction
- Infrastructure.Monolog uses Infrastructure.Observability, so a change to Infrastructure.Observability can break Infrastructure.Monolog, while a change to Infrastructure.Monolog can't break Infrastructure.Observability.
- Position
- Below the diagonal: Infrastructure.Monolog uses a module listed above it, which is the healthy direction.
13→1 Application.Command.SignoutFromAccount uses Application.Command✕
- Connections
- 1 pair of types, where a type in Application.Command.SignoutFromAccount uses a type in Application.Command.
- The types involved
App.Application.Command.SignoutFromAccount.SignoutFromAccountCommand→App.Application.Command.CommandInterface
- Direction
- Application.Command.SignoutFromAccount uses Application.Command, so a change to Application.Command can break Application.Command.SignoutFromAccount, while a change to Application.Command.SignoutFromAccount can't break Application.Command.
- Position
- Below the diagonal: Application.Command.SignoutFromAccount uses a module listed above it, which is the healthy direction.
13→7 Application.Command.SignoutFromAccount uses Application.Contract✕
- Connections
- 2 pairs of types, where a type in Application.Command.SignoutFromAccount uses a type in Application.Contract.
- The types involved
App.Application.Command.SignoutFromAccount.SignoutFromAccountCommandHandler→App.Application.Contract.AuthorizationTokenStorageInterfaceApp.Application.Command.SignoutFromAccount.SignoutFromAccountCommandHandler→App.Application.Contract.JwtAccessTokenRevokerInterface
- Direction
- Application.Command.SignoutFromAccount uses Application.Contract, so a change to Application.Contract can break Application.Command.SignoutFromAccount, while a change to Application.Command.SignoutFromAccount can't break Application.Contract.
- Position
- Below the diagonal: Application.Command.SignoutFromAccount uses a module listed above it, which is the healthy direction.
14→5 Domain.Account.Contract uses Domain.Foundation.ValueObject✕
- Connections
- 2 pairs of types, where a type in Domain.Account.Contract uses a type in Domain.Foundation.ValueObject.
- The types involved
App.Domain.Account.Contract.AccountPasswordHasherInterface→App.Domain.Foundation.ValueObject.PasswordHashApp.Domain.Account.Contract.AccountRepositoryInterface→App.Domain.Foundation.ValueObject.EmailAddress
- Direction
- Domain.Account.Contract uses Domain.Foundation.ValueObject, so a change to Domain.Foundation.ValueObject can break Domain.Account.Contract, while a change to Domain.Account.Contract can't break Domain.Foundation.ValueObject.
- Position
- Below the diagonal: Domain.Account.Contract uses a module listed above it, which is the healthy direction.
14→9 Domain.Account.Contract uses Domain.Account✕
- Connections
- 2 pairs of types, where a type in Domain.Account.Contract uses a type in Domain.Account.
- The types involved
App.Domain.Account.Contract.AccountRepositoryInterface→App.Domain.Account.AccountApp.Domain.Account.Contract.AccountRepositoryInterface→App.Domain.Account.AccountIdentifier
- Direction
- Domain.Account.Contract uses Domain.Account, so a change to Domain.Account can break Domain.Account.Contract, while a change to Domain.Account.Contract can't break Domain.Account.
- Position
- Below the diagonal: Domain.Account.Contract uses a module listed above it, which is the healthy direction.
14→10 Domain.Account.Contract uses Domain.Foundation✕
- Connections
- 1 pair of types, where a type in Domain.Account.Contract uses a type in Domain.Foundation.
- The types involved
App.Domain.Account.Contract.AccountRepositoryInterface→App.Domain.Foundation.SearchResult
- Direction
- Domain.Account.Contract uses Domain.Foundation, so a change to Domain.Foundation can break Domain.Account.Contract, while a change to Domain.Account.Contract can't break Domain.Foundation.
- Position
- Below the diagonal: Domain.Account.Contract uses a module listed above it, which is the healthy direction.
15→4 Domain.Account.Event uses Domain.Foundation.Event✕
- Connections
- 2 pairs of types, where a type in Domain.Account.Event uses a type in Domain.Foundation.Event.
- The types involved
App.Domain.Account.Event.AccountBlockedEvent→App.Domain.Foundation.Event.EventInterfaceApp.Domain.Account.Event.AccountRegisteredEvent→App.Domain.Foundation.Event.EventInterface
- Direction
- Domain.Account.Event uses Domain.Foundation.Event, so a change to Domain.Foundation.Event can break Domain.Account.Event, while a change to Domain.Account.Event can't break Domain.Foundation.Event.
- Position
- Below the diagonal: Domain.Account.Event uses a module listed above it, which is the healthy direction.
15→9 Domain.Account.Event uses Domain.Account✕
- Connections
- 2 pairs of types, where a type in Domain.Account.Event uses a type in Domain.Account.
- The types involved
App.Domain.Account.Event.AccountBlockedEvent→App.Domain.Account.AccountApp.Domain.Account.Event.AccountRegisteredEvent→App.Domain.Account.Account
- Direction
- Domain.Account.Event uses Domain.Account, so a change to Domain.Account can break Domain.Account.Event, while a change to Domain.Account.Event can't break Domain.Account.
- Position
- Below the diagonal: Domain.Account.Event uses a module listed above it, which is the healthy direction.
16→7 Infrastructure.Adapter.Kennethreitz uses Application.Contract✕
- Connections
- 1 pair of types, where a type in Infrastructure.Adapter.Kennethreitz uses a type in Application.Contract.
- The types involved
App.Infrastructure.Adapter.Kennethreitz.HttpbinResponseProvider→App.Application.Contract.HttpbinResponseProviderInterface
- Direction
- Infrastructure.Adapter.Kennethreitz uses Application.Contract, so a change to Application.Contract can break Infrastructure.Adapter.Kennethreitz, while a change to Infrastructure.Adapter.Kennethreitz can't break Application.Contract.
- Position
- Below the diagonal: Infrastructure.Adapter.Kennethreitz uses a module listed above it, which is the healthy direction.
17→7 Infrastructure.Adapter.Lcobucci uses Application.Contract✕
- Connections
- 1 pair of types, where a type in Infrastructure.Adapter.Lcobucci uses a type in Application.Contract.
- The types involved
App.Infrastructure.Adapter.Lcobucci.JwtAccessTokenIssuer→App.Application.Contract.JwtAccessTokenIssuerInterface
- Direction
- Infrastructure.Adapter.Lcobucci uses Application.Contract, so a change to Application.Contract can break Infrastructure.Adapter.Lcobucci, while a change to Infrastructure.Adapter.Lcobucci can't break Application.Contract.
- Position
- Below the diagonal: Infrastructure.Adapter.Lcobucci uses a module listed above it, which is the healthy direction.
18→7 Infrastructure.Adapter.Sensiolabs uses Application.Contract✕
- Connections
- 1 pair of types, where a type in Infrastructure.Adapter.Sensiolabs uses a type in Application.Contract.
- The types involved
App.Infrastructure.Adapter.Sensiolabs.TwigTemplateRenderer→App.Application.Contract.TwigTemplateRendererInterface
- Direction
- Infrastructure.Adapter.Sensiolabs uses Application.Contract, so a change to Application.Contract can break Infrastructure.Adapter.Sensiolabs, while a change to Infrastructure.Adapter.Sensiolabs can't break Application.Contract.
- Position
- Below the diagonal: Infrastructure.Adapter.Sensiolabs uses a module listed above it, which is the healthy direction.
19→7 Infrastructure.Cache uses Application.Contract✕
- Connections
- 1 pair of types, where a type in Infrastructure.Cache uses a type in Application.Contract.
- The types involved
App.Infrastructure.Cache.JwtAccessTokenRevokerCache→App.Application.Contract.JwtAccessTokenRevokerInterface
- Direction
- Infrastructure.Cache uses Application.Contract, so a change to Application.Contract can break Infrastructure.Cache, while a change to Infrastructure.Cache can't break Application.Contract.
- Position
- Below the diagonal: Infrastructure.Cache uses a module listed above it, which is the healthy direction.
20→3 Infrastructure.Doctrine.Mapping uses Domain.Foundation.Enum✕
- Connections
- 1 pair of types, where a type in Infrastructure.Doctrine.Mapping uses a type in Domain.Foundation.Enum.
- The types involved
App.Infrastructure.Doctrine.Mapping.AccountEntity→App.Domain.Foundation.Enum.LocaleCode
- Direction
- Infrastructure.Doctrine.Mapping uses Domain.Foundation.Enum, so a change to Domain.Foundation.Enum can break Infrastructure.Doctrine.Mapping, while a change to Infrastructure.Doctrine.Mapping can't break Domain.Foundation.Enum.
- Position
- Below the diagonal: Infrastructure.Doctrine.Mapping uses a module listed above it, which is the healthy direction.
20→9 Infrastructure.Doctrine.Mapping uses Domain.Account✕
- Connections
- 1 pair of types, where a type in Infrastructure.Doctrine.Mapping uses a type in Domain.Account.
- The types involved
App.Infrastructure.Doctrine.Mapping.AccountEntity→App.Domain.Account.AccountStatus
- Direction
- Infrastructure.Doctrine.Mapping uses Domain.Account, so a change to Domain.Account can break Infrastructure.Doctrine.Mapping, while a change to Infrastructure.Doctrine.Mapping can't break Domain.Account.
- Position
- Below the diagonal: Infrastructure.Doctrine.Mapping uses a module listed above it, which is the healthy direction.
21→4 Infrastructure.Messenger uses Domain.Foundation.Event✕
- Connections
- 1 pair of types, where a type in Infrastructure.Messenger uses a type in Domain.Foundation.Event.
- The types involved
App.Infrastructure.Messenger.DomainEventCollector→App.Domain.Foundation.Event.EventInterface
- Direction
- Infrastructure.Messenger uses Domain.Foundation.Event, so a change to Domain.Foundation.Event can break Infrastructure.Messenger, while a change to Infrastructure.Messenger can't break Domain.Foundation.Event.
- Position
- Below the diagonal: Infrastructure.Messenger uses a module listed above it, which is the healthy direction.
21→7 Infrastructure.Messenger uses Application.Contract✕
- Connections
- 1 pair of types, where a type in Infrastructure.Messenger uses a type in Application.Contract.
- The types involved
App.Infrastructure.Messenger.FailedMessageCounter→App.Application.Contract.FailedMessageCounterInterface
- Direction
- Infrastructure.Messenger uses Application.Contract, so a change to Application.Contract can break Infrastructure.Messenger, while a change to Infrastructure.Messenger can't break Application.Contract.
- Position
- Below the diagonal: Infrastructure.Messenger uses a module listed above it, which is the healthy direction.
22→1 Infrastructure.Messenger.MessageBus uses Application.Command✕
- Connections
- 1 pair of types, where a type in Infrastructure.Messenger.MessageBus uses a type in Application.Command.
- The types involved
App.Infrastructure.Messenger.MessageBus.CommandMessageBus→App.Application.Command.CommandInterface
- Direction
- Infrastructure.Messenger.MessageBus uses Application.Command, so a change to Application.Command can break Infrastructure.Messenger.MessageBus, while a change to Infrastructure.Messenger.MessageBus can't break Application.Command.
- Position
- Below the diagonal: Infrastructure.Messenger.MessageBus uses a module listed above it, which is the healthy direction.
22→2 Infrastructure.Messenger.MessageBus uses Application.Query✕
- Connections
- 1 pair of types, where a type in Infrastructure.Messenger.MessageBus uses a type in Application.Query.
- The types involved
App.Infrastructure.Messenger.MessageBus.QueryMessageBus→App.Application.Query.QueryInterface
- Direction
- Infrastructure.Messenger.MessageBus uses Application.Query, so a change to Application.Query can break Infrastructure.Messenger.MessageBus, while a change to Infrastructure.Messenger.MessageBus can't break Application.Query.
- Position
- Below the diagonal: Infrastructure.Messenger.MessageBus uses a module listed above it, which is the healthy direction.
22→7 Infrastructure.Messenger.MessageBus uses Application.Contract✕
- Connections
- 2 pairs of types, where a type in Infrastructure.Messenger.MessageBus uses a type in Application.Contract.
- The types involved
App.Infrastructure.Messenger.MessageBus.CommandMessageBus→App.Application.Contract.CommandMessageBusInterfaceApp.Infrastructure.Messenger.MessageBus.QueryMessageBus→App.Application.Contract.QueryMessageBusInterface
- Direction
- Infrastructure.Messenger.MessageBus uses Application.Contract, so a change to Application.Contract can break Infrastructure.Messenger.MessageBus, while a change to Infrastructure.Messenger.MessageBus can't break Application.Contract.
- Position
- Below the diagonal: Infrastructure.Messenger.MessageBus uses a module listed above it, which is the healthy direction.
23→7 Presentation.Controller uses Application.Contract✕
- Connections
- 2 pairs of types, where a type in Presentation.Controller uses a type in Application.Contract.
- The types involved
App.Presentation.Controller.AbstractController→App.Application.Contract.CommandMessageBusInterfaceApp.Presentation.Controller.AbstractController→App.Application.Contract.QueryMessageBusInterface
- Direction
- Presentation.Controller uses Application.Contract, so a change to Application.Contract can break Presentation.Controller, while a change to Presentation.Controller can't break Application.Contract.
- Position
- Below the diagonal: Presentation.Controller uses a module listed above it, which is the healthy direction.
24→1 Application.Command.BlockAccountById uses Application.Command✕
- Connections
- 1 pair of types, where a type in Application.Command.BlockAccountById uses a type in Application.Command.
- The types involved
App.Application.Command.BlockAccountById.BlockAccountByIdCommand→App.Application.Command.CommandInterface
- Direction
- Application.Command.BlockAccountById uses Application.Command, so a change to Application.Command can break Application.Command.BlockAccountById, while a change to Application.Command.BlockAccountById can't break Application.Command.
- Position
- Below the diagonal: Application.Command.BlockAccountById uses a module listed above it, which is the healthy direction.
24→14 Application.Command.BlockAccountById uses Domain.Account.Contract✕
- Connections
- 1 pair of types, where a type in Application.Command.BlockAccountById uses a type in Domain.Account.Contract.
- The types involved
App.Application.Command.BlockAccountById.BlockAccountByIdCommandHandler→App.Domain.Account.Contract.AccountRepositoryInterface
- Direction
- Application.Command.BlockAccountById uses Domain.Account.Contract, so a change to Domain.Account.Contract can break Application.Command.BlockAccountById, while a change to Application.Command.BlockAccountById can't break Domain.Account.Contract.
- Position
- Below the diagonal: Application.Command.BlockAccountById uses a module listed above it, which is the healthy direction.
25→1 Application.Command.CreateNewAccount uses Application.Command✕
- Connections
- 1 pair of types, where a type in Application.Command.CreateNewAccount uses a type in Application.Command.
- The types involved
App.Application.Command.CreateNewAccount.CreateNewAccountCommand→App.Application.Command.CommandInterface
- Direction
- Application.Command.CreateNewAccount uses Application.Command, so a change to Application.Command can break Application.Command.CreateNewAccount, while a change to Application.Command.CreateNewAccount can't break Application.Command.
- Position
- Below the diagonal: Application.Command.CreateNewAccount uses a module listed above it, which is the healthy direction.
25→7 Application.Command.CreateNewAccount uses Application.Contract✕
- Connections
- 1 pair of types, where a type in Application.Command.CreateNewAccount uses a type in Application.Contract.
- The types involved
App.Application.Command.CreateNewAccount.CreateNewAccountCommandHandler→App.Application.Contract.UuidIdentityGeneratorInterface
- Direction
- Application.Command.CreateNewAccount uses Application.Contract, so a change to Application.Contract can break Application.Command.CreateNewAccount, while a change to Application.Command.CreateNewAccount can't break Application.Contract.
- Position
- Below the diagonal: Application.Command.CreateNewAccount uses a module listed above it, which is the healthy direction.
25→9 Application.Command.CreateNewAccount uses Domain.Account✕
- Connections
- 1 pair of types, where a type in Application.Command.CreateNewAccount uses a type in Domain.Account.
- The types involved
App.Application.Command.CreateNewAccount.CreateNewAccountCommandResult→App.Domain.Account.Account
- Direction
- Application.Command.CreateNewAccount uses Domain.Account, so a change to Domain.Account can break Application.Command.CreateNewAccount, while a change to Application.Command.CreateNewAccount can't break Domain.Account.
- Position
- Below the diagonal: Application.Command.CreateNewAccount uses a module listed above it, which is the healthy direction.
25→14 Application.Command.CreateNewAccount uses Domain.Account.Contract✕
- Connections
- 2 pairs of types, where a type in Application.Command.CreateNewAccount uses a type in Domain.Account.Contract.
- The types involved
App.Application.Command.CreateNewAccount.CreateNewAccountCommandHandler→App.Domain.Account.Contract.AccountPasswordHasherInterfaceApp.Application.Command.CreateNewAccount.CreateNewAccountCommandHandler→App.Domain.Account.Contract.AccountRepositoryInterface
- Direction
- Application.Command.CreateNewAccount uses Domain.Account.Contract, so a change to Domain.Account.Contract can break Application.Command.CreateNewAccount, while a change to Application.Command.CreateNewAccount can't break Domain.Account.Contract.
- Position
- Below the diagonal: Application.Command.CreateNewAccount uses a module listed above it, which is the healthy direction.
26→1 Application.Command.DeleteAccountById uses Application.Command✕
- Connections
- 1 pair of types, where a type in Application.Command.DeleteAccountById uses a type in Application.Command.
- The types involved
App.Application.Command.DeleteAccountById.DeleteAccountByIdCommand→App.Application.Command.CommandInterface
- Direction
- Application.Command.DeleteAccountById uses Application.Command, so a change to Application.Command can break Application.Command.DeleteAccountById, while a change to Application.Command.DeleteAccountById can't break Application.Command.
- Position
- Below the diagonal: Application.Command.DeleteAccountById uses a module listed above it, which is the healthy direction.
26→14 Application.Command.DeleteAccountById uses Domain.Account.Contract✕
- Connections
- 1 pair of types, where a type in Application.Command.DeleteAccountById uses a type in Domain.Account.Contract.
- The types involved
App.Application.Command.DeleteAccountById.DeleteAccountByIdCommandHandler→App.Domain.Account.Contract.AccountRepositoryInterface
- Direction
- Application.Command.DeleteAccountById uses Domain.Account.Contract, so a change to Domain.Account.Contract can break Application.Command.DeleteAccountById, while a change to Application.Command.DeleteAccountById can't break Domain.Account.Contract.
- Position
- Below the diagonal: Application.Command.DeleteAccountById uses a module listed above it, which is the healthy direction.
27→1 Application.Command.SigninIntoAccount uses Application.Command✕
- Connections
- 1 pair of types, where a type in Application.Command.SigninIntoAccount uses a type in Application.Command.
- The types involved
App.Application.Command.SigninIntoAccount.SigninIntoAccountCommand→App.Application.Command.CommandInterface
- Direction
- Application.Command.SigninIntoAccount uses Application.Command, so a change to Application.Command can break Application.Command.SigninIntoAccount, while a change to Application.Command.SigninIntoAccount can't break Application.Command.
- Position
- Below the diagonal: Application.Command.SigninIntoAccount uses a module listed above it, which is the healthy direction.
27→7 Application.Command.SigninIntoAccount uses Application.Contract✕
- Connections
- 2 pairs of types, where a type in Application.Command.SigninIntoAccount uses a type in Application.Contract.
- The types involved
App.Application.Command.SigninIntoAccount.SigninIntoAccountCommandHandler→App.Application.Contract.AuthorizationTokenStorageInterfaceApp.Application.Command.SigninIntoAccount.SigninIntoAccountCommandHandler→App.Application.Contract.JwtAccessTokenIssuerInterface
- Direction
- Application.Command.SigninIntoAccount uses Application.Contract, so a change to Application.Contract can break Application.Command.SigninIntoAccount, while a change to Application.Command.SigninIntoAccount can't break Application.Contract.
- Position
- Below the diagonal: Application.Command.SigninIntoAccount uses a module listed above it, which is the healthy direction.
27→14 Application.Command.SigninIntoAccount uses Domain.Account.Contract✕
- Connections
- 1 pair of types, where a type in Application.Command.SigninIntoAccount uses a type in Domain.Account.Contract.
- The types involved
App.Application.Command.SigninIntoAccount.SigninIntoAccountCommandHandler→App.Domain.Account.Contract.AccountRepositoryInterface
- Direction
- Application.Command.SigninIntoAccount uses Domain.Account.Contract, so a change to Domain.Account.Contract can break Application.Command.SigninIntoAccount, while a change to Application.Command.SigninIntoAccount can't break Domain.Account.Contract.
- Position
- Below the diagonal: Application.Command.SigninIntoAccount uses a module listed above it, which is the healthy direction.
28→1 Application.Command.SignupNewAccount uses Application.Command✕
- Connections
- 1 pair of types, where a type in Application.Command.SignupNewAccount uses a type in Application.Command.
- The types involved
App.Application.Command.SignupNewAccount.SignupNewAccountCommand→App.Application.Command.CommandInterface
- Direction
- Application.Command.SignupNewAccount uses Application.Command, so a change to Application.Command can break Application.Command.SignupNewAccount, while a change to Application.Command.SignupNewAccount can't break Application.Command.
- Position
- Below the diagonal: Application.Command.SignupNewAccount uses a module listed above it, which is the healthy direction.
28→7 Application.Command.SignupNewAccount uses Application.Contract✕
- Connections
- 1 pair of types, where a type in Application.Command.SignupNewAccount uses a type in Application.Contract.
- The types involved
App.Application.Command.SignupNewAccount.SignupNewAccountCommandHandler→App.Application.Contract.UuidIdentityGeneratorInterface
- Direction
- Application.Command.SignupNewAccount uses Application.Contract, so a change to Application.Contract can break Application.Command.SignupNewAccount, while a change to Application.Command.SignupNewAccount can't break Application.Contract.
- Position
- Below the diagonal: Application.Command.SignupNewAccount uses a module listed above it, which is the healthy direction.
28→14 Application.Command.SignupNewAccount uses Domain.Account.Contract✕
- Connections
- 2 pairs of types, where a type in Application.Command.SignupNewAccount uses a type in Domain.Account.Contract.
- The types involved
App.Application.Command.SignupNewAccount.SignupNewAccountCommandHandler→App.Domain.Account.Contract.AccountPasswordHasherInterfaceApp.Application.Command.SignupNewAccount.SignupNewAccountCommandHandler→App.Domain.Account.Contract.AccountRepositoryInterface
- Direction
- Application.Command.SignupNewAccount uses Domain.Account.Contract, so a change to Domain.Account.Contract can break Application.Command.SignupNewAccount, while a change to Application.Command.SignupNewAccount can't break Domain.Account.Contract.
- Position
- Below the diagonal: Application.Command.SignupNewAccount uses a module listed above it, which is the healthy direction.
29→1 Application.Command.UnblockAccountById uses Application.Command✕
- Connections
- 1 pair of types, where a type in Application.Command.UnblockAccountById uses a type in Application.Command.
- The types involved
App.Application.Command.UnblockAccountById.UnblockAccountByIdCommand→App.Application.Command.CommandInterface
- Direction
- Application.Command.UnblockAccountById uses Application.Command, so a change to Application.Command can break Application.Command.UnblockAccountById, while a change to Application.Command.UnblockAccountById can't break Application.Command.
- Position
- Below the diagonal: Application.Command.UnblockAccountById uses a module listed above it, which is the healthy direction.
29→14 Application.Command.UnblockAccountById uses Domain.Account.Contract✕
- Connections
- 1 pair of types, where a type in Application.Command.UnblockAccountById uses a type in Domain.Account.Contract.
- The types involved
App.Application.Command.UnblockAccountById.UnblockAccountByIdCommandHandler→App.Domain.Account.Contract.AccountRepositoryInterface
- Direction
- Application.Command.UnblockAccountById uses Domain.Account.Contract, so a change to Domain.Account.Contract can break Application.Command.UnblockAccountById, while a change to Application.Command.UnblockAccountById can't break Domain.Account.Contract.
- Position
- Below the diagonal: Application.Command.UnblockAccountById uses a module listed above it, which is the healthy direction.
30→1 Application.Command.UpdateAccountById uses Application.Command✕
- Connections
- 1 pair of types, where a type in Application.Command.UpdateAccountById uses a type in Application.Command.
- The types involved
App.Application.Command.UpdateAccountById.UpdateAccountByIdCommand→App.Application.Command.CommandInterface
- Direction
- Application.Command.UpdateAccountById uses Application.Command, so a change to Application.Command can break Application.Command.UpdateAccountById, while a change to Application.Command.UpdateAccountById can't break Application.Command.
- Position
- Below the diagonal: Application.Command.UpdateAccountById uses a module listed above it, which is the healthy direction.
30→14 Application.Command.UpdateAccountById uses Domain.Account.Contract✕
- Connections
- 2 pairs of types, where a type in Application.Command.UpdateAccountById uses a type in Domain.Account.Contract.
- The types involved
App.Application.Command.UpdateAccountById.UpdateAccountByIdCommandHandler→App.Domain.Account.Contract.AccountPasswordHasherInterfaceApp.Application.Command.UpdateAccountById.UpdateAccountByIdCommandHandler→App.Domain.Account.Contract.AccountRepositoryInterface
- Direction
- Application.Command.UpdateAccountById uses Domain.Account.Contract, so a change to Domain.Account.Contract can break Application.Command.UpdateAccountById, while a change to Application.Command.UpdateAccountById can't break Domain.Account.Contract.
- Position
- Below the diagonal: Application.Command.UpdateAccountById uses a module listed above it, which is the healthy direction.
31→2 Application.Query.GetAccountById uses Application.Query✕
- Connections
- 1 pair of types, where a type in Application.Query.GetAccountById uses a type in Application.Query.
- The types involved
App.Application.Query.GetAccountById.GetAccountByIdQuery→App.Application.Query.QueryInterface
- Direction
- Application.Query.GetAccountById uses Application.Query, so a change to Application.Query can break Application.Query.GetAccountById, while a change to Application.Query.GetAccountById can't break Application.Query.
- Position
- Below the diagonal: Application.Query.GetAccountById uses a module listed above it, which is the healthy direction.
31→9 Application.Query.GetAccountById uses Domain.Account✕
- Connections
- 1 pair of types, where a type in Application.Query.GetAccountById uses a type in Domain.Account.
- The types involved
App.Application.Query.GetAccountById.GetAccountByIdQueryResult→App.Domain.Account.Account
- Direction
- Application.Query.GetAccountById uses Domain.Account, so a change to Domain.Account can break Application.Query.GetAccountById, while a change to Application.Query.GetAccountById can't break Domain.Account.
- Position
- Below the diagonal: Application.Query.GetAccountById uses a module listed above it, which is the healthy direction.
31→14 Application.Query.GetAccountById uses Domain.Account.Contract✕
- Connections
- 1 pair of types, where a type in Application.Query.GetAccountById uses a type in Domain.Account.Contract.
- The types involved
App.Application.Query.GetAccountById.GetAccountByIdQueryHandler→App.Domain.Account.Contract.AccountRepositoryInterface
- Direction
- Application.Query.GetAccountById uses Domain.Account.Contract, so a change to Domain.Account.Contract can break Application.Query.GetAccountById, while a change to Application.Query.GetAccountById can't break Domain.Account.Contract.
- Position
- Below the diagonal: Application.Query.GetAccountById uses a module listed above it, which is the healthy direction.
32→2 Application.Query.GetAccountsByCriteria uses Application.Query✕
- Connections
- 1 pair of types, where a type in Application.Query.GetAccountsByCriteria uses a type in Application.Query.
- The types involved
App.Application.Query.GetAccountsByCriteria.GetAccountsByCriteriaQuery→App.Application.Query.QueryInterface
- Direction
- Application.Query.GetAccountsByCriteria uses Application.Query, so a change to Application.Query can break Application.Query.GetAccountsByCriteria, while a change to Application.Query.GetAccountsByCriteria can't break Application.Query.
- Position
- Below the diagonal: Application.Query.GetAccountsByCriteria uses a module listed above it, which is the healthy direction.
32→10 Application.Query.GetAccountsByCriteria uses Domain.Foundation✕
- Connections
- 1 pair of types, where a type in Application.Query.GetAccountsByCriteria uses a type in Domain.Foundation.
- The types involved
App.Application.Query.GetAccountsByCriteria.GetAccountsByCriteriaQueryResult→App.Domain.Foundation.SearchResult
- Direction
- Application.Query.GetAccountsByCriteria uses Domain.Foundation, so a change to Domain.Foundation can break Application.Query.GetAccountsByCriteria, while a change to Application.Query.GetAccountsByCriteria can't break Domain.Foundation.
- Position
- Below the diagonal: Application.Query.GetAccountsByCriteria uses a module listed above it, which is the healthy direction.
32→14 Application.Query.GetAccountsByCriteria uses Domain.Account.Contract✕
- Connections
- 1 pair of types, where a type in Application.Query.GetAccountsByCriteria uses a type in Domain.Account.Contract.
- The types involved
App.Application.Query.GetAccountsByCriteria.GetAccountsByCriteriaQueryHandler→App.Domain.Account.Contract.AccountRepositoryInterface
- Direction
- Application.Query.GetAccountsByCriteria uses Domain.Account.Contract, so a change to Domain.Account.Contract can break Application.Query.GetAccountsByCriteria, while a change to Application.Query.GetAccountsByCriteria can't break Domain.Account.Contract.
- Position
- Below the diagonal: Application.Query.GetAccountsByCriteria uses a module listed above it, which is the healthy direction.
33→2 Application.Query.GetSigninAccount uses Application.Query✕
- Connections
- 1 pair of types, where a type in Application.Query.GetSigninAccount uses a type in Application.Query.
- The types involved
App.Application.Query.GetSigninAccount.GetSigninAccountQuery→App.Application.Query.QueryInterface
- Direction
- Application.Query.GetSigninAccount uses Application.Query, so a change to Application.Query can break Application.Query.GetSigninAccount, while a change to Application.Query.GetSigninAccount can't break Application.Query.
- Position
- Below the diagonal: Application.Query.GetSigninAccount uses a module listed above it, which is the healthy direction.
33→7 Application.Query.GetSigninAccount uses Application.Contract✕
- Connections
- 1 pair of types, where a type in Application.Query.GetSigninAccount uses a type in Application.Contract.
- The types involved
App.Application.Query.GetSigninAccount.GetSigninAccountQueryHandler→App.Application.Contract.AuthorizationTokenStorageInterface
- Direction
- Application.Query.GetSigninAccount uses Application.Contract, so a change to Application.Contract can break Application.Query.GetSigninAccount, while a change to Application.Query.GetSigninAccount can't break Application.Contract.
- Position
- Below the diagonal: Application.Query.GetSigninAccount uses a module listed above it, which is the healthy direction.
33→9 Application.Query.GetSigninAccount uses Domain.Account✕
- Connections
- 1 pair of types, where a type in Application.Query.GetSigninAccount uses a type in Domain.Account.
- The types involved
App.Application.Query.GetSigninAccount.GetSigninAccountQueryResult→App.Domain.Account.Account
- Direction
- Application.Query.GetSigninAccount uses Domain.Account, so a change to Domain.Account can break Application.Query.GetSigninAccount, while a change to Application.Query.GetSigninAccount can't break Domain.Account.
- Position
- Below the diagonal: Application.Query.GetSigninAccount uses a module listed above it, which is the healthy direction.
33→14 Application.Query.GetSigninAccount uses Domain.Account.Contract✕
- Connections
- 1 pair of types, where a type in Application.Query.GetSigninAccount uses a type in Domain.Account.Contract.
- The types involved
App.Application.Query.GetSigninAccount.GetSigninAccountQueryHandler→App.Domain.Account.Contract.AccountRepositoryInterface
- Direction
- Application.Query.GetSigninAccount uses Domain.Account.Contract, so a change to Domain.Account.Contract can break Application.Query.GetSigninAccount, while a change to Application.Query.GetSigninAccount can't break Domain.Account.Contract.
- Position
- Below the diagonal: Application.Query.GetSigninAccount uses a module listed above it, which is the healthy direction.
34→5 Infrastructure.Doctrine.Repository.Account uses Domain.Foundation.ValueObject✕
- Connections
- 1 pair of types, where a type in Infrastructure.Doctrine.Repository.Account uses a type in Domain.Foundation.ValueObject.
- The types involved
App.Infrastructure.Doctrine.Repository.Account.AccountEntityRepository→App.Domain.Foundation.ValueObject.EmailAddress
- Direction
- Infrastructure.Doctrine.Repository.Account uses Domain.Foundation.ValueObject, so a change to Domain.Foundation.ValueObject can break Infrastructure.Doctrine.Repository.Account, while a change to Infrastructure.Doctrine.Repository.Account can't break Domain.Foundation.ValueObject.
- Position
- Below the diagonal: Infrastructure.Doctrine.Repository.Account uses a module listed above it, which is the healthy direction.
34→9 Infrastructure.Doctrine.Repository.Account uses Domain.Account✕
- Connections
- 3 pairs of types, where a type in Infrastructure.Doctrine.Repository.Account uses a type in Domain.Account.
- The types involved
App.Infrastructure.Doctrine.Repository.Account.AccountEntityMapper→App.Domain.Account.AccountApp.Infrastructure.Doctrine.Repository.Account.AccountEntityRepository→App.Domain.Account.AccountApp.Infrastructure.Doctrine.Repository.Account.AccountEntityRepository→App.Domain.Account.AccountIdentifier
- Direction
- Infrastructure.Doctrine.Repository.Account uses Domain.Account, so a change to Domain.Account can break Infrastructure.Doctrine.Repository.Account, while a change to Infrastructure.Doctrine.Repository.Account can't break Domain.Account.
- Position
- Below the diagonal: Infrastructure.Doctrine.Repository.Account uses a module listed above it, which is the healthy direction.
34→10 Infrastructure.Doctrine.Repository.Account uses Domain.Foundation✕
- Connections
- 1 pair of types, where a type in Infrastructure.Doctrine.Repository.Account uses a type in Domain.Foundation.
- The types involved
App.Infrastructure.Doctrine.Repository.Account.AccountEntityRepository→App.Domain.Foundation.SearchResult
- Direction
- Infrastructure.Doctrine.Repository.Account uses Domain.Foundation, so a change to Domain.Foundation can break Infrastructure.Doctrine.Repository.Account, while a change to Infrastructure.Doctrine.Repository.Account can't break Domain.Foundation.
- Position
- Below the diagonal: Infrastructure.Doctrine.Repository.Account uses a module listed above it, which is the healthy direction.
34→14 Infrastructure.Doctrine.Repository.Account uses Domain.Account.Contract✕
- Connections
- 1 pair of types, where a type in Infrastructure.Doctrine.Repository.Account uses a type in Domain.Account.Contract.
- The types involved
App.Infrastructure.Doctrine.Repository.Account.AccountEntityRepository→App.Domain.Account.Contract.AccountRepositoryInterface
- Direction
- Infrastructure.Doctrine.Repository.Account uses Domain.Account.Contract, so a change to Domain.Account.Contract can break Infrastructure.Doctrine.Repository.Account, while a change to Infrastructure.Doctrine.Repository.Account can't break Domain.Account.Contract.
- Position
- Below the diagonal: Infrastructure.Doctrine.Repository.Account uses a module listed above it, which is the healthy direction.
34→20 Infrastructure.Doctrine.Repository.Account uses Infrastructure.Doctrine.Mapping✕
- Connections
- 1 pair of types, where a type in Infrastructure.Doctrine.Repository.Account uses a type in Infrastructure.Doctrine.Mapping.
- The types involved
App.Infrastructure.Doctrine.Repository.Account.AccountEntityMapper→App.Infrastructure.Doctrine.Mapping.AccountEntity
- Direction
- Infrastructure.Doctrine.Repository.Account uses Infrastructure.Doctrine.Mapping, so a change to Infrastructure.Doctrine.Mapping can break Infrastructure.Doctrine.Repository.Account, while a change to Infrastructure.Doctrine.Repository.Account can't break Infrastructure.Doctrine.Mapping.
- Position
- Below the diagonal: Infrastructure.Doctrine.Repository.Account uses a module listed above it, which is the healthy direction.
34→21 Infrastructure.Doctrine.Repository.Account uses Infrastructure.Messenger✕
- Connections
- 1 pair of types, where a type in Infrastructure.Doctrine.Repository.Account uses a type in Infrastructure.Messenger.
- The types involved
App.Infrastructure.Doctrine.Repository.Account.AccountEntityRepository→App.Infrastructure.Messenger.DomainEventCollector
- Direction
- Infrastructure.Doctrine.Repository.Account uses Infrastructure.Messenger, so a change to Infrastructure.Messenger can break Infrastructure.Doctrine.Repository.Account, while a change to Infrastructure.Doctrine.Repository.Account can't break Infrastructure.Messenger.
- Position
- Below the diagonal: Infrastructure.Doctrine.Repository.Account uses a module listed above it, which is the healthy direction.
35→6 Infrastructure.Messenger.Middleware uses Infrastructure.Observability✕
- Connections
- 1 pair of types, where a type in Infrastructure.Messenger.Middleware uses a type in Infrastructure.Observability.
- The types involved
App.Infrastructure.Messenger.Middleware.CorrelationIdMiddleware→App.Infrastructure.Observability.CorrelationIdProvider
- Direction
- Infrastructure.Messenger.Middleware uses Infrastructure.Observability, so a change to Infrastructure.Observability can break Infrastructure.Messenger.Middleware, while a change to Infrastructure.Messenger.Middleware can't break Infrastructure.Observability.
- Position
- Below the diagonal: Infrastructure.Messenger.Middleware uses a module listed above it, which is the healthy direction.
35→21 Infrastructure.Messenger.Middleware uses Infrastructure.Messenger✕
- Connections
- 1 pair of types, where a type in Infrastructure.Messenger.Middleware uses a type in Infrastructure.Messenger.
- The types involved
App.Infrastructure.Messenger.Middleware.EventDispatcherMiddleware→App.Infrastructure.Messenger.DomainEventCollector
- Direction
- Infrastructure.Messenger.Middleware uses Infrastructure.Messenger, so a change to Infrastructure.Messenger can break Infrastructure.Messenger.Middleware, while a change to Infrastructure.Messenger.Middleware can't break Infrastructure.Messenger.
- Position
- Below the diagonal: Infrastructure.Messenger.Middleware uses a module listed above it, which is the healthy direction.
36→7 Infrastructure.Security.AccessToken uses Application.Contract✕
- Connections
- 1 pair of types, where a type in Infrastructure.Security.AccessToken uses a type in Application.Contract.
- The types involved
App.Infrastructure.Security.AccessToken.JwtAccessTokenHandler→App.Application.Contract.JwtAccessTokenRevokerInterface
- Direction
- Infrastructure.Security.AccessToken uses Application.Contract, so a change to Application.Contract can break Infrastructure.Security.AccessToken, while a change to Infrastructure.Security.AccessToken can't break Application.Contract.
- Position
- Below the diagonal: Infrastructure.Security.AccessToken uses a module listed above it, which is the healthy direction.
36→17 Infrastructure.Security.AccessToken uses Infrastructure.Adapter.Lcobucci✕
- Connections
- 1 pair of types, where a type in Infrastructure.Security.AccessToken uses a type in Infrastructure.Adapter.Lcobucci.
- The types involved
App.Infrastructure.Security.AccessToken.JwtAccessTokenHandler→App.Infrastructure.Adapter.Lcobucci.JwtAccessTokenParser
- Direction
- Infrastructure.Security.AccessToken uses Infrastructure.Adapter.Lcobucci, so a change to Infrastructure.Adapter.Lcobucci can break Infrastructure.Security.AccessToken, while a change to Infrastructure.Security.AccessToken can't break Infrastructure.Adapter.Lcobucci.
- Position
- Below the diagonal: Infrastructure.Security.AccessToken uses a module listed above it, which is the healthy direction.
37→5 Infrastructure.Security.PasswordHasher uses Domain.Foundation.ValueObject✕
- Connections
- 1 pair of types, where a type in Infrastructure.Security.PasswordHasher uses a type in Domain.Foundation.ValueObject.
- The types involved
App.Infrastructure.Security.PasswordHasher.AccountPasswordHasher→App.Domain.Foundation.ValueObject.PasswordHash
- Direction
- Infrastructure.Security.PasswordHasher uses Domain.Foundation.ValueObject, so a change to Domain.Foundation.ValueObject can break Infrastructure.Security.PasswordHasher, while a change to Infrastructure.Security.PasswordHasher can't break Domain.Foundation.ValueObject.
- Position
- Below the diagonal: Infrastructure.Security.PasswordHasher uses a module listed above it, which is the healthy direction.
37→14 Infrastructure.Security.PasswordHasher uses Domain.Account.Contract✕
- Connections
- 1 pair of types, where a type in Infrastructure.Security.PasswordHasher uses a type in Domain.Account.Contract.
- The types involved
App.Infrastructure.Security.PasswordHasher.AccountPasswordHasher→App.Domain.Account.Contract.AccountPasswordHasherInterface
- Direction
- Infrastructure.Security.PasswordHasher uses Domain.Account.Contract, so a change to Domain.Account.Contract can break Infrastructure.Security.PasswordHasher, while a change to Infrastructure.Security.PasswordHasher can't break Domain.Account.Contract.
- Position
- Below the diagonal: Infrastructure.Security.PasswordHasher uses a module listed above it, which is the healthy direction.
38→8 Presentation.Controller.Health uses Application.Query.GetHealthStatus✕
- Connections
- 1 pair of types, where a type in Presentation.Controller.Health uses a type in Application.Query.GetHealthStatus.
- The types involved
App.Presentation.Controller.Health.GetHealthStatusController→App.Application.Query.GetHealthStatus.GetHealthStatusQuery
- Direction
- Presentation.Controller.Health uses Application.Query.GetHealthStatus, so a change to Application.Query.GetHealthStatus can break Presentation.Controller.Health, while a change to Presentation.Controller.Health can't break Application.Query.GetHealthStatus.
- Position
- Below the diagonal: Presentation.Controller.Health uses a module listed above it, which is the healthy direction.
38→23 Presentation.Controller.Health uses Presentation.Controller✕
- Connections
- 1 pair of types, where a type in Presentation.Controller.Health uses a type in Presentation.Controller.
- The types involved
App.Presentation.Controller.Health.GetHealthStatusController→App.Presentation.Controller.AbstractController
- Direction
- Presentation.Controller.Health uses Presentation.Controller, so a change to Presentation.Controller can break Presentation.Controller.Health, while a change to Presentation.Controller.Health can't break Presentation.Controller.
- Position
- Below the diagonal: Presentation.Controller.Health uses a module listed above it, which is the healthy direction.
39→23 Presentation.Controller.Account uses Presentation.Controller✕
- Connections
- 7 pairs of types, where a type in Presentation.Controller.Account uses a type in Presentation.Controller.
- The types involved
App.Presentation.Controller.Account.BlockAccountByIdController→App.Presentation.Controller.AbstractControllerApp.Presentation.Controller.Account.CreateNewAccountController→App.Presentation.Controller.AbstractControllerApp.Presentation.Controller.Account.DeleteAccountByIdController→App.Presentation.Controller.AbstractControllerApp.Presentation.Controller.Account.GetAccountByIdController→App.Presentation.Controller.AbstractControllerApp.Presentation.Controller.Account.GetAccountsByCriteriaController→App.Presentation.Controller.AbstractControllerApp.Presentation.Controller.Account.UnblockAccountByIdController→App.Presentation.Controller.AbstractControllerApp.Presentation.Controller.Account.UpdateAccountByIdController→App.Presentation.Controller.AbstractController
- Direction
- Presentation.Controller.Account uses Presentation.Controller, so a change to Presentation.Controller can break Presentation.Controller.Account, while a change to Presentation.Controller.Account can't break Presentation.Controller.
- Position
- Below the diagonal: Presentation.Controller.Account uses a module listed above it, which is the healthy direction.
39→24 Presentation.Controller.Account uses Application.Command.BlockAccountById✕
- Connections
- 1 pair of types, where a type in Presentation.Controller.Account uses a type in Application.Command.BlockAccountById.
- The types involved
App.Presentation.Controller.Account.BlockAccountByIdController→App.Application.Command.BlockAccountById.BlockAccountByIdCommand
- Direction
- Presentation.Controller.Account uses Application.Command.BlockAccountById, so a change to Application.Command.BlockAccountById can break Presentation.Controller.Account, while a change to Presentation.Controller.Account can't break Application.Command.BlockAccountById.
- Position
- Below the diagonal: Presentation.Controller.Account uses a module listed above it, which is the healthy direction.
39→25 Presentation.Controller.Account uses Application.Command.CreateNewAccount✕
- Connections
- 1 pair of types, where a type in Presentation.Controller.Account uses a type in Application.Command.CreateNewAccount.
- The types involved
App.Presentation.Controller.Account.CreateNewAccountController→App.Application.Command.CreateNewAccount.CreateNewAccountCommand
- Direction
- Presentation.Controller.Account uses Application.Command.CreateNewAccount, so a change to Application.Command.CreateNewAccount can break Presentation.Controller.Account, while a change to Presentation.Controller.Account can't break Application.Command.CreateNewAccount.
- Position
- Below the diagonal: Presentation.Controller.Account uses a module listed above it, which is the healthy direction.
39→26 Presentation.Controller.Account uses Application.Command.DeleteAccountById✕
- Connections
- 1 pair of types, where a type in Presentation.Controller.Account uses a type in Application.Command.DeleteAccountById.
- The types involved
App.Presentation.Controller.Account.DeleteAccountByIdController→App.Application.Command.DeleteAccountById.DeleteAccountByIdCommand
- Direction
- Presentation.Controller.Account uses Application.Command.DeleteAccountById, so a change to Application.Command.DeleteAccountById can break Presentation.Controller.Account, while a change to Presentation.Controller.Account can't break Application.Command.DeleteAccountById.
- Position
- Below the diagonal: Presentation.Controller.Account uses a module listed above it, which is the healthy direction.
39→29 Presentation.Controller.Account uses Application.Command.UnblockAccountById✕
- Connections
- 1 pair of types, where a type in Presentation.Controller.Account uses a type in Application.Command.UnblockAccountById.
- The types involved
App.Presentation.Controller.Account.UnblockAccountByIdController→App.Application.Command.UnblockAccountById.UnblockAccountByIdCommand
- Direction
- Presentation.Controller.Account uses Application.Command.UnblockAccountById, so a change to Application.Command.UnblockAccountById can break Presentation.Controller.Account, while a change to Presentation.Controller.Account can't break Application.Command.UnblockAccountById.
- Position
- Below the diagonal: Presentation.Controller.Account uses a module listed above it, which is the healthy direction.
39→30 Presentation.Controller.Account uses Application.Command.UpdateAccountById✕
- Connections
- 1 pair of types, where a type in Presentation.Controller.Account uses a type in Application.Command.UpdateAccountById.
- The types involved
App.Presentation.Controller.Account.UpdateAccountByIdController→App.Application.Command.UpdateAccountById.UpdateAccountByIdCommand
- Direction
- Presentation.Controller.Account uses Application.Command.UpdateAccountById, so a change to Application.Command.UpdateAccountById can break Presentation.Controller.Account, while a change to Presentation.Controller.Account can't break Application.Command.UpdateAccountById.
- Position
- Below the diagonal: Presentation.Controller.Account uses a module listed above it, which is the healthy direction.
39→31 Presentation.Controller.Account uses Application.Query.GetAccountById✕
- Connections
- 1 pair of types, where a type in Presentation.Controller.Account uses a type in Application.Query.GetAccountById.
- The types involved
App.Presentation.Controller.Account.GetAccountByIdController→App.Application.Query.GetAccountById.GetAccountByIdQuery
- Direction
- Presentation.Controller.Account uses Application.Query.GetAccountById, so a change to Application.Query.GetAccountById can break Presentation.Controller.Account, while a change to Presentation.Controller.Account can't break Application.Query.GetAccountById.
- Position
- Below the diagonal: Presentation.Controller.Account uses a module listed above it, which is the healthy direction.
39→32 Presentation.Controller.Account uses Application.Query.GetAccountsByCriteria✕
- Connections
- 1 pair of types, where a type in Presentation.Controller.Account uses a type in Application.Query.GetAccountsByCriteria.
- The types involved
App.Presentation.Controller.Account.GetAccountsByCriteriaController→App.Application.Query.GetAccountsByCriteria.GetAccountsByCriteriaQuery
- Direction
- Presentation.Controller.Account uses Application.Query.GetAccountsByCriteria, so a change to Application.Query.GetAccountsByCriteria can break Presentation.Controller.Account, while a change to Presentation.Controller.Account can't break Application.Query.GetAccountsByCriteria.
- Position
- Below the diagonal: Presentation.Controller.Account uses a module listed above it, which is the healthy direction.
40→13 Presentation.Controller.Auth uses Application.Command.SignoutFromAccount✕
- Connections
- 1 pair of types, where a type in Presentation.Controller.Auth uses a type in Application.Command.SignoutFromAccount.
- The types involved
App.Presentation.Controller.Auth.SignoutFromAccountController→App.Application.Command.SignoutFromAccount.SignoutFromAccountCommand
- Direction
- Presentation.Controller.Auth uses Application.Command.SignoutFromAccount, so a change to Application.Command.SignoutFromAccount can break Presentation.Controller.Auth, while a change to Presentation.Controller.Auth can't break Application.Command.SignoutFromAccount.
- Position
- Below the diagonal: Presentation.Controller.Auth uses a module listed above it, which is the healthy direction.
40→23 Presentation.Controller.Auth uses Presentation.Controller✕
- Connections
- 4 pairs of types, where a type in Presentation.Controller.Auth uses a type in Presentation.Controller.
- The types involved
App.Presentation.Controller.Auth.GetSigninAccountController→App.Presentation.Controller.AbstractControllerApp.Presentation.Controller.Auth.SigninIntoAccountController→App.Presentation.Controller.AbstractControllerApp.Presentation.Controller.Auth.SignoutFromAccountController→App.Presentation.Controller.AbstractControllerApp.Presentation.Controller.Auth.SignupNewAccountController→App.Presentation.Controller.AbstractController
- Direction
- Presentation.Controller.Auth uses Presentation.Controller, so a change to Presentation.Controller can break Presentation.Controller.Auth, while a change to Presentation.Controller.Auth can't break Presentation.Controller.
- Position
- Below the diagonal: Presentation.Controller.Auth uses a module listed above it, which is the healthy direction.
40→27 Presentation.Controller.Auth uses Application.Command.SigninIntoAccount✕
- Connections
- 1 pair of types, where a type in Presentation.Controller.Auth uses a type in Application.Command.SigninIntoAccount.
- The types involved
App.Presentation.Controller.Auth.SigninIntoAccountController→App.Application.Command.SigninIntoAccount.SigninIntoAccountCommand
- Direction
- Presentation.Controller.Auth uses Application.Command.SigninIntoAccount, so a change to Application.Command.SigninIntoAccount can break Presentation.Controller.Auth, while a change to Presentation.Controller.Auth can't break Application.Command.SigninIntoAccount.
- Position
- Below the diagonal: Presentation.Controller.Auth uses a module listed above it, which is the healthy direction.
40→28 Presentation.Controller.Auth uses Application.Command.SignupNewAccount✕
- Connections
- 1 pair of types, where a type in Presentation.Controller.Auth uses a type in Application.Command.SignupNewAccount.
- The types involved
App.Presentation.Controller.Auth.SignupNewAccountController→App.Application.Command.SignupNewAccount.SignupNewAccountCommand
- Direction
- Presentation.Controller.Auth uses Application.Command.SignupNewAccount, so a change to Application.Command.SignupNewAccount can break Presentation.Controller.Auth, while a change to Presentation.Controller.Auth can't break Application.Command.SignupNewAccount.
- Position
- Below the diagonal: Presentation.Controller.Auth uses a module listed above it, which is the healthy direction.
40→33 Presentation.Controller.Auth uses Application.Query.GetSigninAccount✕
- Connections
- 1 pair of types, where a type in Presentation.Controller.Auth uses a type in Application.Query.GetSigninAccount.
- The types involved
App.Presentation.Controller.Auth.GetSigninAccountController→App.Application.Query.GetSigninAccount.GetSigninAccountQuery
- Direction
- Presentation.Controller.Auth uses Application.Query.GetSigninAccount, so a change to Application.Query.GetSigninAccount can break Presentation.Controller.Auth, while a change to Presentation.Controller.Auth can't break Application.Query.GetSigninAccount.
- Position
- Below the diagonal: Presentation.Controller.Auth uses a module listed above it, which is the healthy direction.
At a glance — Code Health
At a glance — Architecture
At a glance — Maturity
At a glance — Readiness
At a glance — Security
At a glance — Domain Modelling
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A02:2025 — Security Misconfiguration | 6 | High / Critical |
| A07:2025 — Authentication Failures | 3 | High / Critical |
| A03:2025 — Software Supply Chain Failures | 3 | Medium |
| A05:2025 — Injection | 1 | Medium |
Roadmap
Immediately encrypt sensitive data at rest and manage keys in a secure vault to ensure robust data protection. Simultaneously, establish clear access controls by defining and testing named rules, while documenting significant design decisions in a centralized location to improve architectural clarity. Finally, resolve the missing software bill of materials to verify supply-chain provenance and signing integrity.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Encrypt sensitive data at rest (an Eloquent 'encrypted' cast or Crypt::encryptString, libsodium's sodium_crypto_secretbox, or CipherSweet for searchable fields) and manage keys in a vault (AWS KMS / Secrets Manager, GCP KMS / REDACTED Manager, HashiCorp Vault). Skip if delegated to infra (Postgres TDE, KMS, etc.). | +9.6 pts | Medium | Data Protection |
| Resolve the 1 No ADRs found finding(s) in ADR Quality. | +2.2 pts | Low | ADR Quality |
| Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. | +1.7 pts | Low | Supply-chain Provenance & Signing |
| Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. | +1.7 pts | Low | Supply-chain Provenance & Signing |
| Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. | +1.7 pts | Low | Supply-chain Provenance & Signing |
| Resolve the 1 Projects may be oversized for their cohesion finding(s) in Project Cohesion. | +1.4 pts | Low | Project Cohesion |
| Resolve the 2 REDACTED finding(s) in Secrets (history) — start with REDACTED (2). | +1.3 pts | Low | Secrets (history) |
| Resolve the 1 High IaC finding(s) in IaC & Container Security — start with REDACTED. | +1.3 pts | Low | IaC & Container Security |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 5.8 | Mixed | Secrets (history): REDACTED: REDACTED |
| REDACTED | 6.1 | Mixed | IaC & Container Security: Medium IaC: REDACTED |
| REDACTED | 6.5 | Mixed | IaC & Container Security: High IaC: REDACTED |
| src/Application/Command/CreateNewAccount/CreateNewAccountCommandHandler.php | 7.0 | Mixed | Code Duplication: Duplicated block (8 lines × 2) |
| src/Application/Command/BlockAccountById/BlockAccountByIdCommandHandler.php | 7.0 | Mixed | Code Duplication: Duplicated block (6 lines × 2) |
| config/markup/Standards/Sniffs/Classes/ClassBraceSniff.php | 7.8 | Mixed | Cyclomatic Complexity: ClassBraceSniff.process (cyclomatic 17) |
| src/Application/Query/GetAccountById/GetAccountByIdQueryResult.php | 7.8 | Mixed | Change Coupling: Change coupling: GetAccountByIdQueryResult.php ↔ GetSigninAccountQueryResult.php |
| src/Application/Command/DeleteAccountById/DeleteAccountByIdCommandHandler.php | 7.8 | Mixed | Change Coupling: Change coupling: DeleteAccountByIdCommandHandler.php ↔ UpdateAccountByIdCommandHandler.php |
| src/Infrastructure/Doctrine/Repository/Account/AccountEntityRepository.php | 8.5 | Near-clean | Code Duplication: Duplicated block (3–11 lines × 3) |
| src/Infrastructure/Messenger/MessageBus/CommandMessageBus.php | 8.5 | Near-clean | Code Duplication: Duplicated block (10 lines × 2) |
| config/markup/Standards/Sniffs/Methods/MethodParameterTypeSniff.php | 8.5 | Near-clean | Code Duplication: Duplicated block (5 lines × 2) |
| src/Infrastructure/Doctrine/Fixture/AccountFixture.php | 8.5 | Near-clean | Code Duplication: Duplicated block (10 lines × 2) |
| src/Presentation/Controller/Account/GetAccountByIdController.php | 8.5 | Near-clean | Change Coupling: Change-coupling hub: GetAccountByIdController.php → GetSigninAccountQueryResult.php, GetAccountsByCriteriaController.php, UpdateAccountByIdController.php, GetSigninAccountController.php, GetHealthStatusController.php |
| src/Application/Command/CreateNewAccount/CreateNewAccountCommand.php | 8.5 | Near-clean | Change Coupling: Change coupling clique: CreateNewAccountCommand.php, SignupNewAccountCommand.php, UpdateAccountByIdCommand.php |
| src/Application/Query/GetAccountById/GetAccountByIdQueryHandler.php | 8.5 | Near-clean | Change Coupling: Change-coupling hub: GetAccountByIdQueryHandler.php → BlockAccountByIdCommandHandler.php, CreateNewAccountCommandHandler.php, DeleteAccountByIdCommandHandler.php, SigninIntoAccountCommandHandler.php, SignupNewAccountCommandHandler.php, UnblockAccountByIdCommandHandler.php, UpdateAccountByIdCommandHandler.php, GetAccountsByCriteriaQueryHandler.php, GetSigninAccountQueryHandler.php |
| src/Application/Command/UnblockAccountById/UnblockAccountByIdCommandHandler.php | 8.5 | Near-clean | Change Coupling: Change-coupling hub: UnblockAccountByIdCommandHandler.php → CreateNewAccountCommandHandler.php, DeleteAccountByIdCommandHandler.php, SigninIntoAccountCommandHandler.php, SignupNewAccountCommandHandler.php, UpdateAccountByIdCommandHandler.php, GetSigninAccountQueryHandler.php |
| src/Infrastructure/Adapter/Kennethreitz/HttpbinResponseProvider.php | 8.5 | Near-clean | Change Coupling: Change coupling: HttpbinResponseProvider.php ↔ TwigTemplateRenderer.php |
| src/Application/Query/GetSigninAccount/GetSigninAccountQueryHandler.php | 8.5 | Near-clean | Change Coupling: Change-coupling hub: GetSigninAccountQueryHandler.php → CreateNewAccountCommandHandler.php, DeleteAccountByIdCommandHandler.php, SigninIntoAccountCommandHandler.php, SignupNewAccountCommandHandler.php, UpdateAccountByIdCommandHandler.php |
| src/Application/Command/SignupNewAccount/SignupNewAccountCommandHandler.php | 8.5 | Near-clean | Change Coupling: Change coupling: SignupNewAccountCommandHandler.php ↔ UpdateAccountByIdCommandHandler.php |
| src/Presentation/Controller/Account/UpdateAccountByIdController.php | 8.5 | Near-clean | Change Coupling: Change-coupling hub: UpdateAccountByIdController.php → CreateNewAccountController.php, GetAccountsByCriteriaController.php, GetSigninAccountController.php, SigninIntoAccountController.php |
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. 60 of 64 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 4 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.9 — the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.
What we checked — 64 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, 50 of 61 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
- D8 Code Coverage — 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. Coverage NOT READ here — but this repository measures it: a Codecov configuration (.github/codecov.yml, target 100%) and a coverage step in CI (`codecov/codecov-action`) shows that coverage is collected and tracked in your own CI. The built-in collector has no runner for this ecosystem (.php), so the analyzer could not read the number — a gap in the analyzer's language coverage, not an unmeasured repo. Not scored. To have the real number read, produce a coverage report in a standard format (Clover XML — with Xdebug (`XDEBUG_MODE=coverage`) or PCOV installed, `vendor/bin/phpunit --coverage-clover coverage.xml`) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures. You can widen what we reach: optional: produce a coverage report in a standard format (Clover XML — with Xdebug (`XDEBUG_MODE=coverage`) or PCOV installed, `vendor/bin/phpunit --coverage-clover coverage.xml`) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures — then the real number is read on the next scan.
- D11 Test Reliability — 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. Test source is present (.php) but the built-in reliability runner does not support this repository's ecosystem, so flakiness couldn't be assessed. Not scored — this is a gap in the analyzer's language coverage, not a finding about this repository.
- 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-contributor repository — bus factor is not applicable (1 contributor(s) across 1667 commit(s) sampled, automation and bot accounts excluded). Concentration needs a team to concentrate: with one contributor there is nobody to spread the knowledge to, so 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. This repository's source is written only in languages whose packages are published through a manifest, and no manifest in the tree makes a publication act: either there is no package manifest of any ecosystem (no package.json, pyproject.toml, setup.py, gemspec, Cargo.toml, pom.xml, build.gradle, composer.json, pubspec.yaml or mix.exs), or every one present declares in its package manager's own terms that it is not published (an npm package marked "private": true, a Cargo package with publish = false, a pubspec with publish_to: none, a Composer "project", a Poetry project with package-mode = false, or the "Private :: Do Not Upload" classifier). With no publication act there is no intentionally-exposed surface for API consistency to be judged over.
- D27 Navigability — 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. Navigability is taken over call sites whose callee resolved. For C# that population includes calls into referenced assemblies; for this language only calls declared inside the repository count, so the abstention threshold reads the repository's use of its standard library as a resolution failure. That is a limit of this analyzer, not a build problem in this repository.
- 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. `config/markup/Standards/Sniffs/Annotations/AnnotationTagSniff.php`, `config/services.php`, `src/Application/Command/BlockAccountById/BlockAccountByIdCommand.php`, `src/Application/Command/BlockAccountById/BlockAccountByIdCommandHandler.php`, `src/Application/Command/BlockAccountById/BlockAccountByIdCommandResult.php`, … (+97 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.
- AX1 Captive dependencies — 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. This check reads Microsoft.Extensions.DependencyInjection registrations in C# and Spring beans in Java/Kotlin only, and this repository's container is Symfony DependencyInjection, whose lifetimes are not modelled yet, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- AX6 Interface segregation — 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. This check is computed over the public interfaces this run's compilations declare, and none was loaded, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- 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) — redis Pulling rabbitmq Pulling mailpit Pulling postgres Pulling rabbitmq Error Get "https://registry-1.docker.io/v2/": Forbidden redis Error context canceled mailpit Error context canceled postgres Error context canceled Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the earlier `compose pull` step reported: migration Skipped - No image to be pulled mailpit Pulling rabbitmq Pulling postgres Pulling redis Pulling mailpit Error Get "https://registry-1.docker.io/v2/": Forbidden redis Error Get "https://registry-1.docker.io/v2/": Forbidden rabbitmq Error context canceled postgres Error context canceled Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the runtime sandbox reaches registries only through the in-fence pull-through mirror, so an image the mirror does not carry cannot be fetched — this is a limit of our sandbox, not of your stack; runtime evidence skipped.
- DM9 Scattered domain decisions — 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. Not measured — scattered-decision detection needs expression-level symbol resolution: a comparison operand bound to the member it judges (arm one) and a construction bound to the type it produces (arm two). A Roslyn compilation carries both; arm two alone also runs on any frontend that declares whether a construction is produced or passed, and this target loaded neither.
- GD1 Unfinished & placeholder code — 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. This check reads C# syntax, F#, JavaScript/TypeScript, Dart, Ruby and Scala source only, and no C#, F#, JavaScript/TypeScript, Dart, Ruby or Scala was found, and this repository's PHP is not read yet, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- IC1 Incompleteness & stubs — 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. This check reads C# syntax, JavaScript/TypeScript, Java, Dart, Ruby and Scala source only, and no C#, JavaScript/TypeScript, Java, Dart, Ruby or Scala was found, and this repository's PHP is not read yet, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X1 Async correctness — 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. This check reads C# syntax, and JavaScript/TypeScript, Python, Dart, Ruby, Scala, Rust and Kotlin source only, and no C# was loaded and no JavaScript/TypeScript, Python, Dart, Ruby, Scala, Rust or Kotlin was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X12 Unreachable branch — 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. This check reads C# syntax, and JavaScript/TypeScript, Python, Dart, Ruby, Scala and Kotlin source only, and no C# was loaded and no JavaScript/TypeScript, Python, Dart, Ruby, Scala or Kotlin was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X13 Undrained process stream — 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. This check reads C# syntax, and JavaScript/TypeScript, Python, Dart, Ruby, Scala and Kotlin source only, and no C# was loaded and no JavaScript/TypeScript, Python, Dart, Ruby, Scala or Kotlin was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X17 Uncapped recursion over a caller-supplied document — 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. This check reads C# syntax, and JavaScript/TypeScript, Python, Dart, Ruby, Scala and Kotlin source only, and no C# was loaded and no JavaScript/TypeScript, Python, Dart, Ruby, Scala or Kotlin was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X24 Document value interpolated into markup unescaped — 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. This check reads C# syntax, and JavaScript/TypeScript, Java, Scala, Ruby and Python source only, and no C# was loaded and no JavaScript/TypeScript, Java, Scala, Ruby or Python was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X27 Collection changed while being enumerated — 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. This check reads C# syntax, and Java, Rust, Erlang, F#, Python, Dart, Ruby, Scala and Kotlin source only, and no C# was loaded, no Java, Rust, Erlang, F#, Python, Dart, Ruby, Scala or Kotlin was found, and this repository's PHP is not read yet, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X29 Per-element action decided by a fixed element — 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. This check reads C# syntax, and JavaScript/TypeScript, Java, Rust, Dart, Ruby, Scala and Kotlin source only, and no C# was loaded and no JavaScript/TypeScript, Java, Rust, Dart, Ruby, Scala or Kotlin was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
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.
- D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic — it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
- D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals — a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
- D10 Test Quality: Assertion density is structural — it cannot tell a meaningful behavioural assertion from a trivial one, only that an assertion is present.
- 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.
- 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.
- 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.
- 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.
- D43 Malicious Dependencies: Only packages some vulnerability database has already NAMED as malicious are seen — a compromise published in the last hours, or never reported at all, is invisible here, and this dimension reading 10 is not evidence that a dependency is trustworthy. There is no typosquat or dependency-confusion analysis: a package nobody has reported is simply absent from the feeds. Coverage is the dependency scan's: an ecosystem that could not be scanned is disclosed as unmeasured, never as clean.
- 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.
- C5 Data-Subject Rights: This control is scored from in-repo evidence only — absence of evidence here means the scan found no in-repo trace, not that the control does not exist.
- DM4 Rich vs anemic model: Behaviour is detected as state mutation inside a method body — a method that enforces an invariant by validating-and-throwing without mutating reads as a query, and mutation delegated through an interface the scan can't resolve isn't credited; entities with zero public properties still drop out of the population. It detects that state changes, not whether the rule is correct.
- DM6 Domain ↔ infrastructure boundary: Infrastructure reached through a hand-rolled wrapper, a domain-named facade, reflection, or a string-keyed service locator resolves to a non-infra type and isn't seen; the body scan is symbol resolution over syntax, not full dataflow. A clean result means "no resolved infra reference in a domain body", not a proof of purity.
- 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".
The LLM boundary
Dimensions
D1 · Cyclomatic Complexity
1 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was ClassBraceSniff.process at 17.
What to do
- Bring the 1 body over 15 down to 15 or less in Cyclomatic Complexity — start with ClassBraceSniff.process (cyclomatic 17). — Refactoring it lifts Cyclomatic Complexity from 9.8 to about 10.0/10.
- Enforce Cyclomatic Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D2 · Cognitive Complexity
1 method(s) exceeded the cognitive complexity threshold of 15; the worst was ClassBraceSniff.process at 25.
What to do
- Bring the 1 body over 15 down to 15 or less in Cognitive Complexity — start with ClassBraceSniff.process (cognitive 25). — Refactoring it lifts Cognitive Complexity from 9.4 to about 10.0/10.
- Enforce Cognitive Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D3 · God Classes
0 god class(es) detected.
D4 · Code Duplication
6 duplicated block group(s) detected. 1 of the 6 are in trees this repository does not ship — vendored, example/demo, fixture and benchmark code — and are ranked below the shipped groups rather than excluded from them: the duplication there is real and is still counted in this dimension's score. The dimensions that publish a production-file census leave those trees out of theirs, so this count is deliberately drawn over the wider population.
What to do
- Resolve the 2 Duplicated block (10 lines × 2) finding(s) in Code Duplication — start with CommandMessageBus.php, AccountFixture.php. — One of this dimension's main actionable groups (2 warning-level).
- Resolve the 1 Duplicated block (3–11 lines × 3) finding(s) in Code Duplication — start with AccountEntityRepository.php. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Duplicated block (8 lines × 2) finding(s) in Code Duplication — start with CreateNewAccountCommandHandler.php. — One of this dimension's main actionable groups (1 warning-level).
- Enforce Code Duplication in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D6 · Cohesion (LCOM4)
0 of 22 classes have LCOM4 above 3.
D9 · Test Distribution
95 test methods: 95 unit, 0 integration, 0 BDD, 0 e2e.
D10 · Test Quality
0 skipped, 6 zero-assertion, no mocking-framework packages referenced (hand-written doubles or no mocking) across 95 tests.
D12 · Dependency Hygiene
0 outdated, 0 abandoned direct Composer dependencies. PLATFORM requirements (php, ext-*, lib-*) are deliberately not graded here: they name the runtime rather than a Packagist package, so there is no release for them to be behind — whether that runtime is still supported is a separate question with a separate remedy. Development requirements are excluded, because a consumer never installs them. A newer release is reported only where this repository's OWN constraint already admits it, so the remedy is `composer update` and never a manifest edit. Known CVEs in this dependency graph are D30's question.
D13 · REDACTED Scanning
REDACTED scan ran and found no leaked secrets.
D14 · License Compliance
0 of 108 locked Composer package(s) use a banned license. Licences were read from this repository's composer.lock, which records the `license` each package declares, over every package in its production `packages` list, direct and transitive, at the locked version; the 43 package(s) under `packages-dev` are not installed for a consumer and are excluded.
D15 · Churn × Complexity Hotspots
No churn × complexity hotspots in the window.
D17 · Explicit Debt
0 deducted task-comment markers across 6794 LoC (0.0/KLoC) → score 10.0. Task comments only: this repository's language is read without a compiler, so D17's suppression, dead-code and commented-out-code arms did not run and this score counts fewer marker kinds than a .NET repository's would.
D19 · Documentation Quality
The repository's root README is clear and complete for a project that is itself an application using Symfony. It shows the GitHub workflow status badge, license badge, codecov badge, and two shell commands (docker compose up/down and composer load-fixtures) as examples of what it documents. The body covers Configuration (`REDACTED.local`, dotenv secrets), Development (docker-compose up with fixture loading), and a brief Architecture section that is clipped mid-sentence ('uses **Domain-Driven Design**...').
What to do
- Improve Documentation Quality — currently 7.0/10. — The repository's root README is clear and complete for a project that is itself an application using Symfony. It shows the GitHub workflow status badge, license badge, codecov badge, and two shell commands (docker compose up/down and composer load-fixtures) as examples of what it documents. The body covers Configuration (`REDACTED.local`, dotenv secrets), Development (docker-compose up with fixture loading), and a brief Architecture section that is clipped mid-sentence ('uses **Domain-Driven Design**...').
D20 · ADR Quality
No architecture decision records were found.
What to do
- Resolve the 1 No ADRs found finding(s) in ADR Quality. — One of this dimension's main actionable groups (1 recommendation-level).
D21 · Naming Consistency
0 naming inconsistencies across 0 sampled symbols.
D26 · Project Cohesion
1 of 1 build units (Composer) flagged as possibly oversized/incoherent.
What to do
- Resolve the 1 Projects may be oversized for their cohesion finding(s) in Project Cohesion. — One of this dimension's main actionable groups (1 recommendation-level).
D28 · Secrets (history)
2 finding(s): 0 critical, 2 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 2 REDACTED finding(s) in Secrets (history) — start with REDACTED (2). — One of this dimension's main actionable groups (2 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)
1 finding(s): 0 critical, 0 high, 0 medium, 1 low. semgrep hit a parse error in 103 file(s) — `config/markup/Standards/Sniffs/Annotations/AnnotationTagSniff.php` (line 25), `config/services.php` (line 9), `src/Application/Command/BlockAccountById/BlockAccountByIdCommand.php` (line 10, line 15), `src/Application/Command/BlockAccountById/BlockAccountByIdCommandHandler.php` (line 12, line 24), `src/Application/Command/BlockAccountById/BlockAccountByIdCommandResult.php` (line 10), … (+98 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. Separately, one or more rules could not re-parse an embedded snippet in 1 file(s) (e.g. a workflow `run:` block read as shell). Those files WERE scanned and their other rows are unaffected; only those rules' view of those snippets is missing.
D30 · Dependency Vulnerabilities
No known-vulnerable dependencies in any ecosystem this repository declares.
D31 · IaC & Container Security
6 finding(s): 0 critical, 1 high, 4 medium, 1 low.
What to do
- Resolve the 1 High IaC finding(s) in IaC & Container Security — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
- Resolve the 4 Medium IaC finding(s) in IaC & Container Security — start with REDACTED (4). — One of this dimension's main actionable groups (4 warning-level).
- Resolve the 1 Low IaC finding(s) in IaC & Container Security — start with REDACTED. — One of this dimension's main actionable groups (1 recommendation-level).
D34 · Knowledge Freshness
Every significant source file has living knowledge — recently and meaningfully worked. Counted over 17 of the 161 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
D35 · Change Coupling
Strongest change-coupling: GetAccountByIdQueryResult.php↔GetSigninAccountQueryResult.php 100%; BlockAccountByIdCommandHandler.php↔UnblockAccountByIdCommandHandler.php 100%; GetAccountByIdController.php↔GetSigninAccountController.php 100%
What to do
- Resolve the 11 Change coupling finding(s) in Change Coupling — start with GetAccountByIdQueryResult.php (2), DeleteAccountByIdCommandHandler.php (2), HttpbinResponseProvider.php. — One of this dimension's main actionable groups (11 warning-level).
- Resolve the 8 Change-coupling hub finding(s) in Change Coupling — start with BlockAccountByIdCommandHandler.php, GetAccountByIdController.php, CreateNewAccountCommandHandler.php. — One of this dimension's main actionable groups (8 warning-level).
- Resolve the 1 Change coupling clique finding(s) in Change Coupling — start with CreateNewAccountCommand.php. — One of this dimension's main actionable groups (1 warning-level).
D36 · Supply-chain Provenance & Signing
1/4 supply-chain integrity signals present (provenance, signing, SBOM, pinned actions).
What to do
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 recommendation-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 recommendation-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 recommendation-level).
D43 · Malicious Dependencies
No dependency in any ecosystem this repository declares is published as malicious.
D44 · Platform End-of-Life
0 end-of-life runtime(s) and 0 end-of-life framework(s), read from 0 platform declaration(s) and 38 dependency declaration(s). This dimension reads what the repository says about ITSELF — a pinned target framework, a version file, a capped requires-python, a Rust toolchain pin, a framework major a constraint cannot move off. A FLOOR is deliberately never charged: `requires-python = ">=3.8"` states what the package SUPPORTS, not what it runs on, and a well-maintained library declares exactly that while running its own CI on a current release. The end-of-life facts are FROZEN and dated, so this dimension needs no network and answers identically inside a closed scan fence; as the table ages it loses recall and never precision, because a statement about support that ended in the past cannot become false. The OS layer of a container image is D31's question and the toolchain a CI workflow installs is D29's; this row is neither.
Frontend & cross-cutting dimensions
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.
AX3 · Project dependency cycles
AX4 · Dependency direction
AX5 · Architecture & structure
C1 · Data Protection
- No encryption usage (Laravel's Crypt facade or encrypt() helper, an Eloquent 'encrypted' cast, openssl_encrypt, libsodium's sodium_crypto_secretbox/aead, defuse/php-encryption, phpseclib, CipherSweet) was found, and this repository persists personal data in the model cited here — sensitive data at rest may be unprotected. If TDE/KMS/vault is delegated to infrastructure, ignore. — src/Infrastructure/Doctrine/Mapping/AccountEntity.php:25
What to do
- Encrypt sensitive data at rest (an Eloquent 'encrypted' cast or Crypt::encryptString, libsodium's sodium_crypto_secretbox, or CipherSweet for searchable fields) and manage keys in a vault (AWS KMS / Secrets Manager, GCP KMS / REDACTED Manager, HashiCorp Vault). Skip if delegated to infra (Postgres TDE, KMS, etc.).
- Enforce HTTPS (URL::forceScheme('https') / URL::forceHttps() in Laravel, or requires_channel: https / route schemes in Symfony) so data in transit is always encrypted.
C2 · Access Controls
- Authorization IS enforced here (by route guards, auth middleware or checks that refuse a caller) — this is NOT a claim that endpoints are unprotected. What's missing is a NAMED rule set: who may do what is encoded inline where it is checked, so the rules can't be listed, reviewed or tested apart from the code that applies them. Recommendation, not a defect.
What to do
- Name the access rules — Gate abilities and policy classes (Gate::define, a UserPolicy), spatie/laravel-permission roles and permissions, or a Symfony Voter — and consult them where access is checked ($this->authorize, a can: middleware, #[IsGranted]), so the rule set is reviewable and testable on its own.
C5 · Data-Subject Rights
- Corroborated rights: erasure ✓ · export ✗ · consent ✗. Each tick means this scan found code in the repository implementing that right — a deletion/anonymisation path for erasure, a data-export or portability path for export, and consent state recorded alongside the personal data it authorises. A ✗ therefore means no such code was recognised HERE, not that the right is unsupported: a capability provided by a platform, a manual runbook, or code spelled in a way this scan does not match is not visible to it. Confirm before treating a cross as a gap; where it is one, the right has to be fulfilled manually.
What to do
- Implement data export/portability for a data subject (a machine-readable export of their personal data).
- Track GDPR consent (lawful basis) alongside the personal data it authorises.
DM1 · Aggregate boundaries
DM10 · One transaction, one aggregate
DM11 · Constructible invalid state
- `AccountEntity`'s public constructor takes `id`, `email`, `password`, `version` as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for `throw`, `Guard.`, `Ensure.`, `ArgumentNullException`, `ArgumentException`, `CheckRule` or `Requires.` — a guard reached through a helper method those tokens do not name is not seen; for a FACTORY, only this type's OWN static members were read, and only names beginning `Create`, `Of`, `From`, `New` or `Build` — one inherited from a base type, one on a companion builder, or one called `Parse`, `Make` or `Rehydrate` is not seen. If either exists, this row is wrong. If neither does, a caller can build a `AccountEntity` that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a `Create` that can refuse. — src/Infrastructure/Doctrine/Mapping/AccountEntity.php:19
What to do
- Give each aggregate one way in that can refuse — a guarded constructor, value-object parameters that validate themselves, or a private constructor behind a factory that returns a failure.
DM12 · Ambient inputs in the domain
DM4 · Rich vs anemic model
DM6 · Domain ↔ infrastructure boundary
DM8 · Value-object opportunities
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.
M2 · Architecture documentation
- No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
What to do
- Record your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them.
M3 · Folder & project structure
M4 · Documentation accuracy
P1 · CI/CD gates
P2 · Observability
What to do
- Add OpenTelemetry tracing/metrics (opentelemetry-php) so requests are traceable across the system, not just health-probable.
P3 · Security & performance tooling
What to do
- Your ecosystem's static analyzer is declared as a dependency but is not wired into CI — run it as a required step on push/PR (e.g. `composer phpstan` / `mix sobelow` / `bundle exec brakeman` / the spotbugs Gradle task / `sbt scalafixAll --check` / `golangci-lint run` / `rebar3 lint`) so a regression fails the build instead of relying on someone running it locally.
- 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.
P7 · Outbound HTTP resilience
- `->request(` makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service's request, thread or connection until the call gives up on its own — or never, for a client with no default timeout. (×2) — src/Infrastructure/Adapter/Kennethreitz/HttpbinResponseProvider.php:33, src/Infrastructure/HttpClient/CorrelationIdHttpClient.php:45
- `HttpClient::create(` makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service's request, thread or connection until the call gives up on its own — or never, for a client with no default timeout. — src/Infrastructure/HttpClient/CorrelationIdHttpClient.php:28
What to do
- Give every client an explicit bound: `new Client(['timeout' => 10, 'connect_timeout' => 3])` for Guzzle (whose default is to wait forever), `CURLOPT_TIMEOUT`/`CURLOPT_CONNECTTIMEOUT` before `curl_exec`, `timeout`/`max_duration` on Symfony HttpClient (or `framework.http_client.default_options`), and a stream-context `timeout` or `connection_timeout` for `file_get_contents`/`SoapClient`. In Drupal, use the `http_client` service, which carries core's site-wide timeout, rather than `new Client()`. Add retries with back-off (Guzzle `Middleware::retry`, Symfony `RetryableHttpClient`, Laravel `->retry()`) around dependencies that fail.
P8 · Schema migrations
S1 · Web-Security Posture
- None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, …) is configured — defense in depth, even when a reverse proxy could set them. This is reported because `REDACTED` is committed to this repository and declares the server that serves it, so the configuration that would carry these headers is in this repository and was read in full. (−2.0 on this card.) — REDACTED:63
What to do
- Set security response headers on the surface this repository serves: an `add_header` directive per header in the nginx/Caddy/Apache config, a `_headers` / `vercel.json` / `netlify.toml` entry for a static host, or `helmet()` in the HTTP server. `Content-Security-Policy` is the one that pays for itself first — it is what contains an injected script once one reaches the page — followed by `X-Content-Type-Options: nosniff` and a frame policy (`X-Frame-Options: DENY`, or CSP `frame-ancestors`). Where the app is served from a build container, the header configuration belongs in the image beside the built assets, so it ships with them rather than depending on where it lands.
X14 · Bypassable address classification
X15 · Unvalidated length from an untrusted reader
X16 · Unfloored truncation loop
X18 · Disposal-pattern correctness
X19 · Unrestored process-global state
X21 · Side-effecting pattern guard
X22 · Contradicted release guard
X23 · Unguarded diagnostic materialisation
X25 · Inert configuration knob
X28 · Index access outside its own emptiness guard
X3 · Exception handling
X30 · Support guard that admits what it rejects
X4 · Structured logging
X5 · Nullable reference types
- 1/2 of this repository's PHPStan/Psalm configuration(s) run at a level that checks null — PHPStan level 8 or above (`max` included), or Psalm `errorLevel` 3 or below (Psalm's default, with none stated, is 1). A PHPStan level written neither in the file nor in an include inside the repository is 0, PHPStan's own default. Below those levels the checker removes `null` from a union before any rule looks, so `$order->customer()->name()` on a `?Customer` passes, and the first null reaching it is an `Error: Call to a member function name() on null` in production.
What to do
- Raise PHPStan to level 8 (`level: 8` in `phpstan.neon.dist`, or `max`) or Psalm to `errorLevel="3"` or stricter, so `?Type` is a type the checker holds you to; generate a baseline for what that surfaces only to pay it down, not to keep it. Then resolve the baselined nullness errors rather than adding to them: each is a call on a value the checker showed could be null — narrow it (`if ($x === null) { … }`, `?->`, an early return), make the property non-nullable and initialise it in the constructor, or change the return type so the null cannot arrive.
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 86% | Strong | Strongest area. |
| Architecture | 67% | Adequate — gated by D26 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Maturity | 62% | Adequate — gated by M2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 62% | Adequate — gated by P3, P7 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 43% | Weak — gated by D36, C1 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Domain Modelling | 79% | Adequate — gated by DM11 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
Unscored — 2 check(s) recorded observations but carry no score
- P12 CI test-gate honesty — 1 observation(s) recorded · Reported, not scored — this card publishes what the CI gate does with the test inventory rather than grading it. The findings above are its output.
- X7 Silent fallback defaults — 1 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
Not evidenced — 4 control(s) we could not find positive evidence for
- C3 Audit Trail — Repo shows no audit-logging mechanism (an audit-log table or model, a change-history library on the models — spatie/laravel-activitylog's LogsActivity, owen-it/laravel-auditing's Auditable, venturecraft/revisionable, Gedmo Loggable — or an Eloquent model event, observer or Doctrine listener that records each change) for sensitive changes — absence of evidence is not evidence of a working control. Record an audit trail in code (or document where it lives) so this dimension can be scored.
- C4 Data Retention — Repo shows no data-retention / TTL / cleanup mechanism for personal data — absence of evidence is not evidence of a working control. Define retention periods and a purge/cleanup job (or TTL) in code, or document where retention is enforced, so this dimension can be scored.
- P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
- P6 Release Hygiene — not evidenced — no changelog, version stamp or semver release tag in the repo
Not included — 60 check(s) not relevant to this codebase
- AC1 Text alternatives — Frontend below the scale floor (3 DOM element(s) < 25) — too little surface to assess accessibility.
- AC2 Forms & labels — Frontend below the scale floor (3 DOM element(s) < 25) — too little surface to assess accessibility.
- AC3 Page structure — Frontend below the scale floor (3 DOM element(s) < 25) — too little surface to assess accessibility.
- AC4 Keyboard semantics — Frontend below the scale floor (3 DOM element(s) < 25) — too little surface to assess accessibility.
- AC5 ARIA correctness — Frontend below the scale floor (3 DOM element(s) < 25) — too little surface to assess accessibility.
- AC6 Visual & motion safety — Frontend below the scale floor (3 DOM element(s) < 25) — too little surface to assess accessibility.
- AC7 A11y enforcement — Frontend below the scale floor (3 DOM element(s) < 25) — too little surface to assess accessibility.
- AX1 Captive dependencies — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX2 Stateful singletons — Not applicable: PHP builds its object graph per request and shares none of it between requests.
- AX6 Interface segregation — not assessed — interface segregation is computed over a type surface that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX7 Slice cohesion — not applicable — not a vertical-slice architecture
- AX8 Test isolation — no test/production split to check
- 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) — redis Pulling rabbitmq Pulling mailpit Pulling postgres Pulling rabbitmq Error Get "https://registry-1.docker.io/v2/": Forbidden redis Error context canceled mailpit Error context canceled postgres Error context canceled Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the earlier `compose pull` step reported: migration Skipped - No image to be pulled mailpit Pulling rabbitmq Pulling postgres Pulling redis Pulling mailpit Error Get "https://registry-1.docker.io/v2/": Forbidden redis Error Get "https://registry-1.docker.io/v2/": Forbidden rabbitmq Error context canceled postgres Error context canceled Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the runtime sandbox reaches registries only through the in-fence pull-through mirror, so an image the mirror does not carry cannot be fetched — this is a limit of our sandbox, not of your stack; runtime evidence skipped This is a statement about this run, not a statement about your application: nothing here says the surface is inaccessible, only that it was never rendered.
- D11 Test Reliability — Test reliability not included — no .php test runner
- D16 Bus Factor — single-contributor repository — bus factor is not applicable
- D18 Solution Shape — D18 scores the shape of a .NET solution; this repository has no .NET solution or project files, so the dimension does not apply.
- D22 Internal API Consistency — No intentionally-exposed public API to evaluate for consistency.
- D23 Boundary Type-Coupling — No bounded-context organisation was detected either — neither a context-shaped layout, nor 2+ sibling source directories each declaring an aggregate root, nor 2+ projects each declaring an entity of their own. Aggregate roots were found in only one source directory (Infrastructure), which is a layered codebase, not two contexts. Declaring this codebase's bounded contexts (≥2) would let cross-boundary type coupling be assessed. Declare them in `.codehealth/config.yaml` at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it — e.g. `architecture:` → `contexts:` → `Billing: ["src/billing", "Acme.Billing"]`, `Catalog: ["src/catalog", "Acme.Catalog"]`.
- D24 Comment Value — No inline comments to assess — comment value is not applicable here.
- D25 ADR Conformance — no ADRs to check
- D27 Navigability — D27 counts a call into the standard library or a dependency as unresolved for this repository's language (.php), so too few call sites counted as resolved to assess navigability. Not scored: this is a gap in the analyzer, not a verdict about this repository.
- D32 Data Compliance (PII/GDPR) — 102 file(s) were not parsed by semgrep — the PII/GDPR ruleset never ran over them
- D37 Vulnerability-disclosure Policy — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
- D39 IL Efficiency — D39 measures the IL emitted by a .NET build; this repository has no .NET solution or project files, so the dimension does not apply.
- 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.
- D5 Coupling — Not applicable — this Composer build ships 1 production module(s), so there is no coupling BETWEEN modules to measure. (Its test and non-production modules are not part of the shipped graph.)
- D7 Architectural Integrity — no checkable ADRs, and no project-reference graph for the cycle pass to read — so this dimension makes no claim about dependency cycles in either direction (where this repository's language has an import-cycle lens, cycles are reported there). Architectural integrity not assessed
- D8 Code Coverage — Coverage not included — suite not readable by the collector
- DM2 Strongly-typed ids — no id-bearing domain types detected — strongly-typed-id adoption not assessable
- DM3 Integration-event coupling — no integration events detected — coupling check not applicable
- DM5 Encapsulated state — no domain entities found — DM5 grades how entities protect their state, and this repository declares none
- DM7 Repository granularity — no repository abstraction detected (e.g. uses a document session)
- DM9 Scattered domain decisions — not measured — scattered-decision detection needs expression-level symbol resolution: a comparison operand bound to the member it judges (arm one) and a construction bound to the type it produces (arm two). A Roslyn compilation carries both; arm two alone also runs on any frontend that declares whether a construction is produced or passed, and this target loaded neither
- ED1 Event-Driven — not scored — this repository shows none of the 3 signals this lens looks for
- ED5 Idempotency — no mutating command handlers or message consumers detected — idempotency check not applicable
- ES1 Event Sourcing — not scored — this repository shows none of the 3 signals this lens looks for
- GD1 Unfinished & placeholder code — no source files were read — this check reads C#, F#, JavaScript/TypeScript, Dart, Ruby and Scala, and none was read for this repository's product. That is a limit of the analyzer, not a finding about your code.
- IC1 Incompleteness & stubs — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- P9 Domain vs controller coverage — no coverage report found on disk — produce a coverage report in a standard format (Clover XML — with Xdebug (`XDEBUG_MODE=coverage`) or PCOV installed, `vendor/bin/phpunit --coverage-clover coverage.xml`) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures, or wire coverage collection into CI, to enable this cross-layer check
- PF1 Benchmark discipline — Not applicable: no benchmark suite was found. This check searched for PHPBench subjects (`bench*` methods, or `@Subject`/`#[Subject]` ones) in a file importing PhpBench or carrying its annotations, `bench*` methods in a `*Bench.php` file where PHPBench is installed, or phpbench/phpbench in a composer.json or a phpbench.json, and for a `*benchmark*` script that this repository's CI runs. Benchmarks are credited as a bonus, so their absence is neither scored nor deducted.
- PF2 Allocation hygiene — Not applicable: PHP runs on a garbage-collected runtime that gives a program no allocation-control idiom to choose on a hot path — no pools, stack allocation or value types — so allocation awareness is not something this code can be rated on.
- PF3 Async & latency hygiene — Not applicable: PHP has no async/await function colour, so there is no asynchronous code for a blocking call to stall.
- X1 Async correctness — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X10 Duplicated predicate — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X12 Unreachable branch — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X13 Undrained process stream — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X17 Uncapped recursion over a caller-supplied document — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X2 Cancellation propagation — no C# was loaded; this repository's PHP was read and makes no request a caller can cancel (amphp's HttpClient or connect) — synchronous PHP offers its callers no cancellation to take
- X20 Mistyped argument guard — This check asks whether an argument guard reports an EMPTY value as a NULL one, which needs a language that throws a null-specific argument exception — .NET's ArgumentNullException, the JVM's NullPointerException, Dart's ArgumentError.notNull. This repository contains none of those languages: the ones it is written in have a single exception for a bad argument, so there is no pair of exceptions to confuse and nothing here for it to assess. Not a gap in the analyzer and not a finding about your code.
- X24 Document value interpolated into markup unescaped — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X26 Unsynchronised callback handoff — Not applicable: this check looks for a collection written by a callback on one thread while the body waiting on it touches it on another, and in this repository's languages no collection is reachable from two threads at once. PHP gives a request one thread of its own; the event-loop libraries (ReactPHP, Amp) run callbacks one at a time, and ext-parallel copies every value across its channels, so no array or collection is reachable from two threads at once. Not a gap in the analyzer and not a finding about your code.
- X27 Collection changed while being enumerated — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X29 Per-element action decided by a fixed element — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X32 Type resolved by simple name across every loaded assembly — This check is about how a .NET program searches the assemblies loaded into its process for a type, and this repository contains no .NET source, so there is nothing here for it to assess. Not a gap in the analyzer and not a finding about your code.
- X6 Hand-rolled structured-format parsing — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X9 Subsumed condition operand — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
Appendix A — Findings (grouped)
Critical — 3 finding(s)
- REDACTED
- REDACTED
- REDACTED
Serious — 38 finding(s)
- Change coupling: GetAccountByIdQueryResult.php ↔ GetSigninAccountQueryResult.php src/Application/Query/GetAccountById/GetAccountByIdQueryResult.php:1
- Change coupling: HttpbinResponseProvider.php ↔ TwigTemplateRenderer.php src/Infrastructure/Adapter/Kennethreitz/HttpbinResponseProvider.php:1
- Change coupling: DeleteAccountByIdCommandHandler.php ↔ UpdateAccountByIdCommandHandler.php src/Application/Command/DeleteAccountById/DeleteAccountByIdCommandHandler.php:1
- Change coupling: SignupNewAccountCommandHandler.php ↔ UpdateAccountByIdCommandHandler.php src/Application/Command/SignupNewAccount/SignupNewAccountCommandHandler.php:1
- Change coupling: DeleteAccountByIdCommandHandler.php ↔ SignupNewAccountCommandHandler.php src/Application/Command/DeleteAccountById/DeleteAccountByIdCommandHandler.php:1
- Change coupling: Account.php ↔ Version20200101000000.php src/Domain/Account/Account.php:1
- Change coupling: GetAccountsByCriteriaController.php ↔ GetSigninAccountController.php src/Presentation/Controller/Account/GetAccountsByCriteriaController.php:1
- Change coupling: PasswordAuthenticatedUserChecker.php ↔ DatabaseUserProvider.php src/Infrastructure/Security/AuthenticatedUser/PasswordAuthenticatedUserChecker.php:1
- Change coupling: GetSigninAccountController.php ↔ GetHealthStatusController.php src/Presentation/Controller/Auth/GetSigninAccountController.php:1
- Change coupling: CreateNewAccountController.php ↔ SigninIntoAccountController.php src/Presentation/Controller/Account/CreateNewAccountController.php:1
- Change coupling: GetAccountByIdQueryResult.php ↔ GetAccountsByCriteriaQueryResult.php src/Application/Query/GetAccountById/GetAccountByIdQueryResult.php:1
- Change-coupling hub: BlockAccountByIdCommandHandler.php → CreateNewAccountCommandHandler.php, DeleteAccountByIdCommandHandler.php, SigninIntoAccountCommandHandler.php, SignupNewAccountCommandHandler.php, UnblockAccountByIdCommandHandler.php, UpdateAccountByIdCommandHandler.php, GetSigninAccountQueryHandler.php src/Application/Command/BlockAccountById/BlockAccountByIdCommandHandler.php
- Change-coupling hub: GetAccountByIdController.php → GetSigninAccountQueryResult.php, GetAccountsByCriteriaController.php, UpdateAccountByIdController.php, GetSigninAccountController.php, GetHealthStatusController.php src/Presentation/Controller/Account/GetAccountByIdController.php
- Change-coupling hub: CreateNewAccountCommandHandler.php → DeleteAccountByIdCommandHandler.php, SignupNewAccountCommandHandler.php, UpdateAccountByIdCommandHandler.php src/Application/Command/CreateNewAccount/CreateNewAccountCommandHandler.php
- Change-coupling hub: GetAccountByIdQueryHandler.php → BlockAccountByIdCommandHandler.php, CreateNewAccountCommandHandler.php, DeleteAccountByIdCommandHandler.php, SigninIntoAccountCommandHandler.php, SignupNewAccountCommandHandler.php, UnblockAccountByIdCommandHandler.php, UpdateAccountByIdCommandHandler.php, GetAccountsByCriteriaQueryHandler.php, GetSigninAccountQueryHandler.php src/Application/Query/GetAccountById/GetAccountByIdQueryHandler.php
- Change-coupling hub: UnblockAccountByIdCommandHandler.php → CreateNewAccountCommandHandler.php, DeleteAccountByIdCommandHandler.php, SigninIntoAccountCommandHandler.php, SignupNewAccountCommandHandler.php, UpdateAccountByIdCommandHandler.php, GetSigninAccountQueryHandler.php src/Application/Command/UnblockAccountById/UnblockAccountByIdCommandHandler.php
- Change-coupling hub: GetSigninAccountQueryHandler.php → CreateNewAccountCommandHandler.php, DeleteAccountByIdCommandHandler.php, SigninIntoAccountCommandHandler.php, SignupNewAccountCommandHandler.php, UpdateAccountByIdCommandHandler.php src/Application/Query/GetSigninAccount/GetSigninAccountQueryHandler.php
- Change-coupling hub: UpdateAccountByIdController.php → CreateNewAccountController.php, GetAccountsByCriteriaController.php, GetSigninAccountController.php, SigninIntoAccountController.php src/Presentation/Controller/Account/UpdateAccountByIdController.php
- Change-coupling hub: RenderingFailedException.php → TwigTemplateRendererInterface.php, HttpbinResponseProvider.php, InvalidTokenException.php src/Infrastructure/Adapter/Sensiolabs/Exception/RenderingFailedException.php
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Outbound HTTP without resilience src/Infrastructure/Adapter/Kennethreitz/HttpbinResponseProvider.php:33
- Outbound HTTP without resilience src/Infrastructure/HttpClient/CorrelationIdHttpClient.php:28
- Outbound HTTP without resilience src/Infrastructure/HttpClient/CorrelationIdHttpClient.php:45
- Duplicated block (10 lines × 2) src/Infrastructure/Messenger/MessageBus/CommandMessageBus.php:32
- Duplicated block (10 lines × 2) src/Infrastructure/Doctrine/Fixture/AccountFixture.php:34
- No data-protection/encryption src/Infrastructure/Doctrine/Mapping/AccountEntity.php:25
- ClassBraceSniff.process (cyclomatic 17) config/markup/Standards/Sniffs/Classes/ClassBraceSniff.php:15
- ClassBraceSniff.process (cognitive 25) config/markup/Standards/Sniffs/Classes/ClassBraceSniff.php:15
- Change coupling clique: CreateNewAccountCommand.php, SignupNewAccountCommand.php, UpdateAccountByIdCommand.php src/Application/Command/CreateNewAccount/CreateNewAccountCommand.php
- Duplicated block (3–11 lines × 3) src/Infrastructure/Doctrine/Repository/Account/AccountEntityRepository.php:85
- Duplicated block (8 lines × 2) src/Application/Command/CreateNewAccount/CreateNewAccountCommandHandler.php:28
- Duplicated block (5 lines × 2) config/markup/Standards/Sniffs/Methods/MethodParameterTypeSniff.php:39
- Duplicated block (6 lines × 2) src/Application/Command/BlockAccountById/BlockAccountByIdCommandHandler.php:21
- Constructible in an invalid state: AccountEntity src/Infrastructure/Doctrine/Mapping/AccountEntity.php:19
- Coverage collected but not gated
Minor — 14 finding(s)
- No named authorization policies
- Partial data-subject-rights support
- No ADRs found
- Projects may be oversized for their cohesion
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- No ADRs
- No security response headers detected REDACTED:63
- PHP static analysis does not check null everywhere
- Silent fallback default on parse failure src/Infrastructure/Serializer/RequestNormalizer.php:70
Minor — 6 finding(s)
- No assertions (declared): testIgnoresSubRequestOnResponseEvent tests/Unit/CorrelationIdEventListenerTest.php:28
- No assertions (declared): testHandlesKernelExceptionEvent tests/Unit/KernelExceptionEventListenerTest.php:38
- No assertions (declared): testSkipsCheckForNonPasswordAuthenticatedUser tests/Unit/PasswordAuthenticatedUserCheckerTest.php:43
- No assertions (declared): testAllowsEnabledAccountToPassPostAuthCheck tests/Unit/PasswordAuthenticatedUserCheckerTest.php:51
- No assertions (declared): testConsumeDoesNothingOnCompleted tests/Unit/PayPalRemoteEventConsumerTest.php:13
- No assertions (declared): testIgnoresSubRequestOnResponseEvent tests/Unit/SecurityHeadersEventListenerTest.php:27
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-1958cff8acdd40a6902e7c474b4595f5/history.json --exit-code 0 --source . | 3 | 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-1958cff8acdd40a6902e7c474b4595f5/tree.json --exit-code 0 --source . | 0 | artifacts/raw/gitleaks-tree.json |
| D29 · Static Analysis (SAST) | semgrep | — | semgrep --config /opt/semgrep-rules/security-audit.yml --config /opt/semgrep-rules/owasp-top-ten.yml --config /opt/semgrep-rules/watchdog-sast.yml --json --quiet --timeout 10 --timeout-threshold 3 --metrics off . | 1 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | osv-scanner | — | osv-scanner --format json --recursive --experimental-disable-plugins transitivedependency/requirements --experimental-disable-plugins dotnet/csproj --experimental-disable-plugins dotnet/nugetcpm . | 0 | artifacts/raw/osv-scanner.json |
| D31 · IaC & Container Security | trivy | — | trivy config --format json --quiet . | 6 | 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 102 file(s) — `config/markup/Standards/Sniffs/Annotations/AnnotationTagSniff.php`, `config/services.php`, `src/Application/Command/BlockAccountById/BlockAccountByIdCommand.php`, `src/Application/Command/BlockAccountById/BlockAccountByIdCommandHandler.php`, `src/Application/Command/BlockAccountById/BlockAccountByIdCommandResult.php`, … (+97 more) — so the PII/GDPR sweep did not cover the unparsed regions of them; rows reported elsewhere in those files are real. | 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 | osv-scanner | — | osv-scanner --format json --recursive --experimental-disable-plugins transitivedependency/requirements --experimental-disable-plugins dotnet/csproj --experimental-disable-plugins dotnet/nugetcpm . | 0 | artifacts/raw/osv-scanner.json |