Executive summary
ivanpaulovich/hexagonal-architecture-acerola scores 36 out of 100, but it is rated At risk while a critical security finding is open; the score itself is unchanged. The project hasn't declared a stable release yet, so its lenses are rated against a lower bar than a released product's, while the score itself is worked out as for any repository.
The weakest lens counts most in the score, and here that is Security and Compliance, which scores 23 and is rated Weak. Its Dependency Vulnerabilities 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 resolve the 7 Deprecated finding(s) in Dependency Hygiene and to resolve the 3 Vulnerable finding(s) in Dependency Hygiene, and if Security and Compliance rose to 70, the score would rise from 36 to about 47.
36 findings are critical: 22 in Dependency Vulnerabilities, ten in Explicit Debt, three in Dependency Hygiene and one in IaC & Container Security.
Watchdog couldn't measure Test Reliability, Schema migrations and Runtime accessibility in this code, so those dimensions are left out of the score. The product code is 2,812 lines, which would take an estimated 0.1 person-years, around €3,200, to rebuild.
If Security and Compliance rose from 23 to 70, the lowest score rated Strong, the score would rise from 36 to about 47.
New since the last survey: 42 findings
- Dependency Hygiene · Deprecated: xunit REDACTED
- Dependency Hygiene · Deprecated: xunit test/Acerola.UseCases.Tests/Acerola.UseCases.Tests.csproj
- Dependency Hygiene · Deprecated: xunit REDACTED
- Explicit Debt · Dead code: AccountRepository src/Acerola.Infrastructure/DapperDataAccess/Repositories/AccountRepository.cs
- Explicit Debt · Dead code: AccountRepository src/Acerola.Infrastructure/EntityFrameworkDataAccess/Repositories/AccountRepository.cs
- Explicit Debt · Dead code: CustomerRepository src/Acerola.Infrastructure/EntityFrameworkDataAccess/Repositories/CustomerRepository.cs
- Explicit Debt · Dead code: AccountRepository src/Acerola.Infrastructure/InMemoryDataAccess/Repositories/AccountRepository.cs
- Explicit Debt · Dead code: CustomerRepository src/Acerola.Infrastructure/InMemoryDataAccess/Repositories/CustomerRepository.cs
- Explicit Debt · Dead code: AccountRepository src/Acerola.Infrastructure/MongoDataAccess/Repositories/AccountRepository.cs
- Explicit Debt · Dead code: CustomerRepository src/Acerola.Infrastructure/MongoDataAccess/Repositories/CustomerRepository.cs
- Access Controls · No authorization src/Acerola.WebApi/UseCases/CloseAccount/AccountsController.cs
- Access Controls · No authorization src/Acerola.WebApi/UseCases/Deposit/AccountsController.cs
- Access Controls · No authorization src/Acerola.WebApi/UseCases/GetAccountDetails/AccountsController.cs
- Access Controls · No authorization src/Acerola.WebApi/UseCases/GetCustomerDetails/CustomersController.cs
- Access Controls · No authorization src/Acerola.WebApi/UseCases/Register/CustomersController.cs
- Access Controls · No authorization src/Acerola.WebApi/UseCases/Withdraw/AccountsController.cs
- Cancellation propagation · Async method without CancellationToken: Execute src/Acerola.Application/Commands/CloseAccount/CloseAccountUseCase.cs
- Cancellation propagation · Async method without CancellationToken: Execute src/Acerola.Application/Commands/Deposit/DepositUseCase.cs
- Cancellation propagation · Async method without CancellationToken: Execute src/Acerola.Application/Commands/Register/RegisterUseCase.cs
- Cancellation propagation · Async method without CancellationToken: Execute src/Acerola.Application/Commands/Withdraw/WithdrawUseCase.cs
- Cancellation propagation · Async method without CancellationToken: GetCustomer src/Acerola.Infrastructure/DapperDataAccess/Queries/CustomersQueries.cs
- Cancellation propagation · Async method without CancellationToken: GetAccount src/Acerola.Infrastructure/EntityFrameworkDataAccess/Queries/AccountsQueries.cs
- Cancellation propagation · Async method without CancellationToken: GetCustomer src/Acerola.Infrastructure/EntityFrameworkDataAccess/Queries/CustomersQueries.cs
- Cancellation propagation · Async method without CancellationToken: Add src/Acerola.Infrastructure/EntityFrameworkDataAccess/Repositories/AccountRepository.cs
- Cancellation propagation · Async method without CancellationToken: Delete src/Acerola.Infrastructure/EntityFrameworkDataAccess/Repositories/AccountRepository.cs
- Cancellation propagation · Async method without CancellationToken: Get src/Acerola.Infrastructure/EntityFrameworkDataAccess/Repositories/AccountRepository.cs
- Cancellation propagation · Async method without CancellationToken: Update src/Acerola.Infrastructure/EntityFrameworkDataAccess/Repositories/AccountRepository.cs
- Cancellation propagation · Async method without CancellationToken: Update src/Acerola.Infrastructure/EntityFrameworkDataAccess/Repositories/AccountRepository.cs
- Cancellation propagation · Async method without CancellationToken: Add src/Acerola.Infrastructure/EntityFrameworkDataAccess/Repositories/CustomerRepository.cs
- Cancellation propagation · Async method without CancellationToken: Get src/Acerola.Infrastructure/EntityFrameworkDataAccess/Repositories/CustomerRepository.cs
- Cancellation propagation · Async method without CancellationToken: Update src/Acerola.Infrastructure/EntityFrameworkDataAccess/Repositories/CustomerRepository.cs
- Cancellation propagation · Async method without CancellationToken: GetCustomer src/Acerola.Infrastructure/InMemoryDataAccess/Queries/CustomersQueries.cs
- Cancellation propagation · Async method without CancellationToken: GetAccount src/Acerola.Infrastructure/MongoDataAccess/Queries/AccountsQueries.cs
- Cancellation propagation · Async method without CancellationToken: GetCustomer src/Acerola.Infrastructure/MongoDataAccess/Queries/CustomersQueries.cs
- Cancellation propagation · Async method without CancellationToken: Add src/Acerola.Infrastructure/MongoDataAccess/Repositories/AccountRepository.cs
- Cancellation propagation · Async method without CancellationToken: Delete src/Acerola.Infrastructure/MongoDataAccess/Repositories/AccountRepository.cs
- Cancellation propagation · Async method without CancellationToken: Get src/Acerola.Infrastructure/MongoDataAccess/Repositories/AccountRepository.cs
- Cancellation propagation · Async method without CancellationToken: Update src/Acerola.Infrastructure/MongoDataAccess/Repositories/AccountRepository.cs
- Cancellation propagation · Async method without CancellationToken: Update src/Acerola.Infrastructure/MongoDataAccess/Repositories/AccountRepository.cs
- Cancellation propagation · Async method without CancellationToken: Get src/Acerola.Infrastructure/MongoDataAccess/Repositories/CustomerRepository.cs
- Cancellation propagation · Async method without CancellationToken: Add src/Acerola.Infrastructure/MongoDataAccess/Repositories/CustomerRepository.cs
- Cancellation propagation · Async method without CancellationToken: Update src/Acerola.Infrastructure/MongoDataAccess/Repositories/CustomerRepository.cs
Fixed since the last survey: 8 findings
- Dependency Hygiene · Deprecated: xunit
- Static Analysis (SAST) · Medium: missing-or-broken-authorization src/Acerola.WebApi/UseCases/CloseAccount/AccountsController.cs
- Static Analysis (SAST) · Medium: missing-or-broken-authorization src/Acerola.WebApi/UseCases/Deposit/AccountsController.cs
- Static Analysis (SAST) · Medium: missing-or-broken-authorization src/Acerola.WebApi/UseCases/GetAccountDetails/AccountsController.cs
- Static Analysis (SAST) · Medium: missing-or-broken-authorization src/Acerola.WebApi/UseCases/GetCustomerDetails/CustomersController.cs
- Static Analysis (SAST) · Medium: missing-or-broken-authorization src/Acerola.WebApi/UseCases/Register/CustomersController.cs
- Static Analysis (SAST) · Medium: missing-or-broken-authorization src/Acerola.WebApi/UseCases/Withdraw/AccountsController.cs
- Dependency direction · Dependency-rule violation: Acerola.UseCases.Tests (Application) → Acerola.Infrastructure (Infrastructure)
Rebuild cost: about €3,200 · Estimate
| Cost to rebuild | €1,100 to €5,300, for 18 to 56 hours of work, about 0.1 person-years for one engineer |
|---|---|
| Difficulty of the problem | High, judged from the kind of software and how it is built. Code that solves a harder problem, such as payments or medical bookings, costs more per line to write. |
| Quality factor | ×0.7 at a score of 36. Better code takes more work to write, so the factor is ×1.0 at a score of 70, lower below it and higher above it. |
| Size | Small: 2,812 lines of product code, of which 47% is declarations and boilerplate, 35% straight logic and 18% logic with branches |
| Comment lines | The estimate prices 2,779 lines. Comment lines count towards the size of 2,812 lines but aren't priced as work. |
Top priorities
Diagnosis: what the measurements show together
Architecture — module dependency graph
Architecture: which parts of the code depend on which
| uses → | 1 Application | 2 Domain | 3 Infrastructure | 4 Infrastructure.DapperDataAccess | 5 Infrastructure.DapperDataAccess.Entities | 6 Infrastructure.EntityFrameworkDataAccess.Entities | 7 Infrastructure.Modules | 8 Infrastructure.MongoDataAccess.Entities | 9 WebApi | 10 WebApi.Filters | 11 WebApi.Model | 12 Domain.ValueObjects | 13 Infrastructure.MongoDataAccess | 14 Domain.Accounts | 15 Domain.Customers | 16 Application.Repositories | 17 Application.Results | 18 Infrastructure.InMemoryDataAccess | 19 Application.Commands.Close | 20 Application.Commands.Deposit | 21 Application.Commands.Register | 22 Application.Commands.Withdraw | 23 Application.Queries | 24 Infrastructure.DapperDataAccess.Repositories | 25 Infrastructure.EntityFrameworkDataAccess | 26 Infrastructure.InMemoryDataAccess.Repositories | 27 Infrastructure.MongoDataAccess.Repositories | 28 Infrastructure.DapperDataAccess.Queries | 29 Infrastructure.EntityFrameworkDataAccess.Queries | 30 Infrastructure.InMemoryDataAccess.Queries | 31 Infrastructure.MongoDataAccess.Queries | 32 WebApi.UseCases.CloseAccount | 33 WebApi.UseCases.Deposit | 34 WebApi.UseCases.GetAccountDetails | 35 WebApi.UseCases.GetCustomerDetails | 36 WebApi.UseCases.Register | 37 WebApi.UseCases.Withdraw |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 Application | |||||||||||||||||||||||||||||||||||||
| 2 Domain | |||||||||||||||||||||||||||||||||||||
| 3 Infrastructure | |||||||||||||||||||||||||||||||||||||
| 4 Infrastructure.DapperDataAccess | |||||||||||||||||||||||||||||||||||||
| 5 Infrastructure.DapperDataAccess.Entities | |||||||||||||||||||||||||||||||||||||
| 6 Infrastructure.EntityFrameworkDataAccess.Entities | |||||||||||||||||||||||||||||||||||||
| 7 Infrastructure.Modules | |||||||||||||||||||||||||||||||||||||
| 8 Infrastructure.MongoDataAccess.Entities | |||||||||||||||||||||||||||||||||||||
| 9 WebApi | |||||||||||||||||||||||||||||||||||||
| 10 WebApi.Filters | |||||||||||||||||||||||||||||||||||||
| 11 WebApi.Model | |||||||||||||||||||||||||||||||||||||
| 12 Domain.ValueObjects | 3 | ||||||||||||||||||||||||||||||||||||
| 13 Infrastructure.MongoDataAccess | 4 | ||||||||||||||||||||||||||||||||||||
| 14 Domain.Accounts | 6 | 5 | |||||||||||||||||||||||||||||||||||
| 15 Domain.Customers | 2 | 2 | |||||||||||||||||||||||||||||||||||
| 16 Application.Repositories | 4 | 2 | |||||||||||||||||||||||||||||||||||
| 17 Application.Results | 1 | ||||||||||||||||||||||||||||||||||||
| 18 Infrastructure.InMemoryDataAccess | 1 | 1 | |||||||||||||||||||||||||||||||||||
| 19 Application.Commands.Close | 2 | ||||||||||||||||||||||||||||||||||||
| 20 Application.Commands.Deposit | 3 | 1 | 2 | 1 | |||||||||||||||||||||||||||||||||
| 21 Application.Commands.Register | 1 | 1 | 2 | 2 | |||||||||||||||||||||||||||||||||
| 22 Application.Commands.Withdraw | 3 | 1 | 2 | 1 | |||||||||||||||||||||||||||||||||
| 23 Application.Queries | 2 | ||||||||||||||||||||||||||||||||||||
| 24 Infrastructure.DapperDataAccess.Repositories | 3 | 1 | 4 | ||||||||||||||||||||||||||||||||||
| 25 Infrastructure.EntityFrameworkDataAccess | 4 | 3 | 1 | 4 | |||||||||||||||||||||||||||||||||
| 26 Infrastructure.InMemoryDataAccess.Repositories | 3 | 1 | 4 | 2 | |||||||||||||||||||||||||||||||||
| 27 Infrastructure.MongoDataAccess.Repositories | 2 | 3 | 1 | 4 | |||||||||||||||||||||||||||||||||
| 28 Infrastructure.DapperDataAccess.Queries | 2 | 3 | |||||||||||||||||||||||||||||||||||
| 29 Infrastructure.EntityFrameworkDataAccess.Queries | 2 | 3 | 2 | ||||||||||||||||||||||||||||||||||
| 30 Infrastructure.InMemoryDataAccess.Queries | 2 | 2 | 3 | ||||||||||||||||||||||||||||||||||
| 31 Infrastructure.MongoDataAccess.Queries | 2 | 2 | 3 | ||||||||||||||||||||||||||||||||||
| 32 WebApi.UseCases.CloseAccount | 1 | ||||||||||||||||||||||||||||||||||||
| 33 WebApi.UseCases.Deposit | 1 | ||||||||||||||||||||||||||||||||||||
| 34 WebApi.UseCases.GetAccountDetails | 1 | ||||||||||||||||||||||||||||||||||||
| 35 WebApi.UseCases.GetCustomerDetails | 1 | ||||||||||||||||||||||||||||||||||||
| 36 WebApi.UseCases.Register | 1 | 1 | |||||||||||||||||||||||||||||||||||
| 37 WebApi.UseCases.Withdraw | 1 |
12→2 Domain.ValueObjects uses Domain✕
- Connections
- 3 pairs of types, where a type in Domain.ValueObjects uses a type in Domain.
- The types involved
Acerola.Domain.ValueObjects.InvalidSSNException→Acerola.Domain.DomainExceptionAcerola.Domain.ValueObjects.NameShouldNotBeEmptyException→Acerola.Domain.DomainExceptionAcerola.Domain.ValueObjects.SSNShouldNotBeEmptyException→Acerola.Domain.DomainException
- Direction
- Domain.ValueObjects uses Domain, so a change to Domain can break Domain.ValueObjects, while a change to Domain.ValueObjects can't break Domain.
- Position
- Below the diagonal: Domain.ValueObjects uses a module listed above it, which is the healthy direction.
13→8 Infrastructure.MongoDataAccess uses Infrastructure.MongoDataAccess.Entities✕
- Connections
- 4 pairs of types, where a type in Infrastructure.MongoDataAccess uses a type in Infrastructure.MongoDataAccess.Entities.
- The types involved
Acerola.Infrastructure.MongoDataAccess.Context→Acerola.Infrastructure.MongoDataAccess.Entities.AccountAcerola.Infrastructure.MongoDataAccess.Context→Acerola.Infrastructure.MongoDataAccess.Entities.CreditAcerola.Infrastructure.MongoDataAccess.Context→Acerola.Infrastructure.MongoDataAccess.Entities.CustomerAcerola.Infrastructure.MongoDataAccess.Context→Acerola.Infrastructure.MongoDataAccess.Entities.Debit
- Direction
- Infrastructure.MongoDataAccess uses Infrastructure.MongoDataAccess.Entities, so a change to Infrastructure.MongoDataAccess.Entities can break Infrastructure.MongoDataAccess, while a change to Infrastructure.MongoDataAccess can't break Infrastructure.MongoDataAccess.Entities.
- Position
- Below the diagonal: Infrastructure.MongoDataAccess uses a module listed above it, which is the healthy direction.
14→2 Domain.Accounts uses Domain✕
- Connections
- 6 pairs of types, where a type in Domain.Accounts uses a type in Domain.
- The types involved
Acerola.Domain.Accounts.Account→Acerola.Domain.IAggregateRootAcerola.Domain.Accounts.Account→Acerola.Domain.IEntityAcerola.Domain.Accounts.AccountCannotBeClosedException→Acerola.Domain.DomainExceptionAcerola.Domain.Accounts.Credit→Acerola.Domain.IEntityAcerola.Domain.Accounts.Debit→Acerola.Domain.IEntityAcerola.Domain.Accounts.InsuficientFundsException→Acerola.Domain.DomainException
- Direction
- Domain.Accounts uses Domain, so a change to Domain can break Domain.Accounts, while a change to Domain.Accounts can't break Domain.
- Position
- Below the diagonal: Domain.Accounts uses a module listed above it, which is the healthy direction.
14→12 Domain.Accounts uses Domain.ValueObjects✕
- Connections
- 5 pairs of types, where a type in Domain.Accounts uses a type in Domain.ValueObjects.
- The types involved
Acerola.Domain.Accounts.Account→Acerola.Domain.ValueObjects.AmountAcerola.Domain.Accounts.Credit→Acerola.Domain.ValueObjects.AmountAcerola.Domain.Accounts.Debit→Acerola.Domain.ValueObjects.AmountAcerola.Domain.Accounts.ITransaction→Acerola.Domain.ValueObjects.AmountAcerola.Domain.Accounts.TransactionCollection→Acerola.Domain.ValueObjects.Amount
- Direction
- Domain.Accounts uses Domain.ValueObjects, so a change to Domain.ValueObjects can break Domain.Accounts, while a change to Domain.Accounts can't break Domain.ValueObjects.
- Position
- Below the diagonal: Domain.Accounts uses a module listed above it, which is the healthy direction.
15→2 Domain.Customers uses Domain✕
- Connections
- 2 pairs of types, where a type in Domain.Customers uses a type in Domain.
- The types involved
Acerola.Domain.Customers.Customer→Acerola.Domain.IAggregateRootAcerola.Domain.Customers.Customer→Acerola.Domain.IEntity
- Direction
- Domain.Customers uses Domain, so a change to Domain can break Domain.Customers, while a change to Domain.Customers can't break Domain.
- Position
- Below the diagonal: Domain.Customers uses a module listed above it, which is the healthy direction.
15→12 Domain.Customers uses Domain.ValueObjects✕
- Connections
- 2 pairs of types, where a type in Domain.Customers uses a type in Domain.ValueObjects.
- The types involved
Acerola.Domain.Customers.Customer→Acerola.Domain.ValueObjects.NameAcerola.Domain.Customers.Customer→Acerola.Domain.ValueObjects.SSN
- Direction
- Domain.Customers uses Domain.ValueObjects, so a change to Domain.ValueObjects can break Domain.Customers, while a change to Domain.Customers can't break Domain.ValueObjects.
- Position
- Below the diagonal: Domain.Customers uses a module listed above it, which is the healthy direction.
16→14 Application.Repositories uses Domain.Accounts✕
- Connections
- 4 pairs of types, where a type in Application.Repositories uses a type in Domain.Accounts.
- The types involved
Acerola.Application.Repositories.IAccountReadOnlyRepository→Acerola.Domain.Accounts.AccountAcerola.Application.Repositories.IAccountWriteOnlyRepository→Acerola.Domain.Accounts.AccountAcerola.Application.Repositories.IAccountWriteOnlyRepository→Acerola.Domain.Accounts.CreditAcerola.Application.Repositories.IAccountWriteOnlyRepository→Acerola.Domain.Accounts.Debit
- Direction
- Application.Repositories uses Domain.Accounts, so a change to Domain.Accounts can break Application.Repositories, while a change to Application.Repositories can't break Domain.Accounts.
- Position
- Below the diagonal: Application.Repositories uses a module listed above it, which is the healthy direction.
16→15 Application.Repositories uses Domain.Customers✕
- Connections
- 2 pairs of types, where a type in Application.Repositories uses a type in Domain.Customers.
- The types involved
Acerola.Application.Repositories.ICustomerReadOnlyRepository→Acerola.Domain.Customers.CustomerAcerola.Application.Repositories.ICustomerWriteOnlyRepository→Acerola.Domain.Customers.Customer
- Direction
- Application.Repositories uses Domain.Customers, so a change to Domain.Customers can break Application.Repositories, while a change to Application.Repositories can't break Domain.Customers.
- Position
- Below the diagonal: Application.Repositories uses a module listed above it, which is the healthy direction.
17→14 Application.Results uses Domain.Accounts✕
- Connections
- 1 pair of types, where a type in Application.Results uses a type in Domain.Accounts.
- The types involved
Acerola.Application.Results.AccountResult→Acerola.Domain.Accounts.Account
- Direction
- Application.Results uses Domain.Accounts, so a change to Domain.Accounts can break Application.Results, while a change to Application.Results can't break Domain.Accounts.
- Position
- Below the diagonal: Application.Results uses a module listed above it, which is the healthy direction.
18→14 Infrastructure.InMemoryDataAccess uses Domain.Accounts✕
- Connections
- 1 pair of types, where a type in Infrastructure.InMemoryDataAccess uses a type in Domain.Accounts.
- The types involved
Acerola.Infrastructure.InMemoryDataAccess.Context→Acerola.Domain.Accounts.Account
- Direction
- Infrastructure.InMemoryDataAccess uses Domain.Accounts, so a change to Domain.Accounts can break Infrastructure.InMemoryDataAccess, while a change to Infrastructure.InMemoryDataAccess can't break Domain.Accounts.
- Position
- Below the diagonal: Infrastructure.InMemoryDataAccess uses a module listed above it, which is the healthy direction.
18→15 Infrastructure.InMemoryDataAccess uses Domain.Customers✕
- Connections
- 1 pair of types, where a type in Infrastructure.InMemoryDataAccess uses a type in Domain.Customers.
- The types involved
Acerola.Infrastructure.InMemoryDataAccess.Context→Acerola.Domain.Customers.Customer
- Direction
- Infrastructure.InMemoryDataAccess uses Domain.Customers, so a change to Domain.Customers can break Infrastructure.InMemoryDataAccess, while a change to Infrastructure.InMemoryDataAccess can't break Domain.Customers.
- Position
- Below the diagonal: Infrastructure.InMemoryDataAccess uses a module listed above it, which is the healthy direction.
19→16 Application.Commands.Close uses Application.Repositories✕
- Connections
- 2 pairs of types, where a type in Application.Commands.Close uses a type in Application.Repositories.
- The types involved
Acerola.Application.Commands.Close.CloseAccountUseCase→Acerola.Application.Repositories.IAccountReadOnlyRepositoryAcerola.Application.Commands.Close.CloseAccountUseCase→Acerola.Application.Repositories.IAccountWriteOnlyRepository
- Direction
- Application.Commands.Close uses Application.Repositories, so a change to Application.Repositories can break Application.Commands.Close, while a change to Application.Commands.Close can't break Application.Repositories.
- Position
- Below the diagonal: Application.Commands.Close uses a module listed above it, which is the healthy direction.
20→12 Application.Commands.Deposit uses Domain.ValueObjects✕
- Connections
- 3 pairs of types, where a type in Application.Commands.Deposit uses a type in Domain.ValueObjects.
- The types involved
Acerola.Application.Commands.Deposit.DepositResult→Acerola.Domain.ValueObjects.AmountAcerola.Application.Commands.Deposit.DepositUseCase→Acerola.Domain.ValueObjects.AmountAcerola.Application.Commands.Deposit.IDepositUseCase→Acerola.Domain.ValueObjects.Amount
- Direction
- Application.Commands.Deposit uses Domain.ValueObjects, so a change to Domain.ValueObjects can break Application.Commands.Deposit, while a change to Application.Commands.Deposit can't break Domain.ValueObjects.
- Position
- Below the diagonal: Application.Commands.Deposit uses a module listed above it, which is the healthy direction.
20→14 Application.Commands.Deposit uses Domain.Accounts✕
- Connections
- 1 pair of types, where a type in Application.Commands.Deposit uses a type in Domain.Accounts.
- The types involved
Acerola.Application.Commands.Deposit.DepositResult→Acerola.Domain.Accounts.Credit
- Direction
- Application.Commands.Deposit uses Domain.Accounts, so a change to Domain.Accounts can break Application.Commands.Deposit, while a change to Application.Commands.Deposit can't break Domain.Accounts.
- Position
- Below the diagonal: Application.Commands.Deposit uses a module listed above it, which is the healthy direction.
20→16 Application.Commands.Deposit uses Application.Repositories✕
- Connections
- 2 pairs of types, where a type in Application.Commands.Deposit uses a type in Application.Repositories.
- The types involved
Acerola.Application.Commands.Deposit.DepositUseCase→Acerola.Application.Repositories.IAccountReadOnlyRepositoryAcerola.Application.Commands.Deposit.DepositUseCase→Acerola.Application.Repositories.IAccountWriteOnlyRepository
- Direction
- Application.Commands.Deposit uses Application.Repositories, so a change to Application.Repositories can break Application.Commands.Deposit, while a change to Application.Commands.Deposit can't break Application.Repositories.
- Position
- Below the diagonal: Application.Commands.Deposit uses a module listed above it, which is the healthy direction.
20→17 Application.Commands.Deposit uses Application.Results✕
- Connections
- 1 pair of types, where a type in Application.Commands.Deposit uses a type in Application.Results.
- The types involved
Acerola.Application.Commands.Deposit.DepositResult→Acerola.Application.Results.TransactionResult
- Direction
- Application.Commands.Deposit uses Application.Results, so a change to Application.Results can break Application.Commands.Deposit, while a change to Application.Commands.Deposit can't break Application.Results.
- Position
- Below the diagonal: Application.Commands.Deposit uses a module listed above it, which is the healthy direction.
21→14 Application.Commands.Register uses Domain.Accounts✕
- Connections
- 1 pair of types, where a type in Application.Commands.Register uses a type in Domain.Accounts.
- The types involved
Acerola.Application.Commands.Register.RegisterResult→Acerola.Domain.Accounts.Account
- Direction
- Application.Commands.Register uses Domain.Accounts, so a change to Domain.Accounts can break Application.Commands.Register, while a change to Application.Commands.Register can't break Domain.Accounts.
- Position
- Below the diagonal: Application.Commands.Register uses a module listed above it, which is the healthy direction.
21→15 Application.Commands.Register uses Domain.Customers✕
- Connections
- 1 pair of types, where a type in Application.Commands.Register uses a type in Domain.Customers.
- The types involved
Acerola.Application.Commands.Register.RegisterResult→Acerola.Domain.Customers.Customer
- Direction
- Application.Commands.Register uses Domain.Customers, so a change to Domain.Customers can break Application.Commands.Register, while a change to Application.Commands.Register can't break Domain.Customers.
- Position
- Below the diagonal: Application.Commands.Register uses a module listed above it, which is the healthy direction.
21→16 Application.Commands.Register uses Application.Repositories✕
- Connections
- 2 pairs of types, where a type in Application.Commands.Register uses a type in Application.Repositories.
- The types involved
Acerola.Application.Commands.Register.RegisterUseCase→Acerola.Application.Repositories.IAccountWriteOnlyRepositoryAcerola.Application.Commands.Register.RegisterUseCase→Acerola.Application.Repositories.ICustomerWriteOnlyRepository
- Direction
- Application.Commands.Register uses Application.Repositories, so a change to Application.Repositories can break Application.Commands.Register, while a change to Application.Commands.Register can't break Application.Repositories.
- Position
- Below the diagonal: Application.Commands.Register uses a module listed above it, which is the healthy direction.
21→17 Application.Commands.Register uses Application.Results✕
- Connections
- 2 pairs of types, where a type in Application.Commands.Register uses a type in Application.Results.
- The types involved
Acerola.Application.Commands.Register.RegisterResult→Acerola.Application.Results.AccountResultAcerola.Application.Commands.Register.RegisterResult→Acerola.Application.Results.CustomerResult
- Direction
- Application.Commands.Register uses Application.Results, so a change to Application.Results can break Application.Commands.Register, while a change to Application.Commands.Register can't break Application.Results.
- Position
- Below the diagonal: Application.Commands.Register uses a module listed above it, which is the healthy direction.
22→12 Application.Commands.Withdraw uses Domain.ValueObjects✕
- Connections
- 3 pairs of types, where a type in Application.Commands.Withdraw uses a type in Domain.ValueObjects.
- The types involved
Acerola.Application.Commands.Withdraw.IWithdrawUseCase→Acerola.Domain.ValueObjects.AmountAcerola.Application.Commands.Withdraw.WithdrawResult→Acerola.Domain.ValueObjects.AmountAcerola.Application.Commands.Withdraw.WithdrawUseCase→Acerola.Domain.ValueObjects.Amount
- Direction
- Application.Commands.Withdraw uses Domain.ValueObjects, so a change to Domain.ValueObjects can break Application.Commands.Withdraw, while a change to Application.Commands.Withdraw can't break Domain.ValueObjects.
- Position
- Below the diagonal: Application.Commands.Withdraw uses a module listed above it, which is the healthy direction.
22→14 Application.Commands.Withdraw uses Domain.Accounts✕
- Connections
- 1 pair of types, where a type in Application.Commands.Withdraw uses a type in Domain.Accounts.
- The types involved
Acerola.Application.Commands.Withdraw.WithdrawResult→Acerola.Domain.Accounts.Debit
- Direction
- Application.Commands.Withdraw uses Domain.Accounts, so a change to Domain.Accounts can break Application.Commands.Withdraw, while a change to Application.Commands.Withdraw can't break Domain.Accounts.
- Position
- Below the diagonal: Application.Commands.Withdraw uses a module listed above it, which is the healthy direction.
22→16 Application.Commands.Withdraw uses Application.Repositories✕
- Connections
- 2 pairs of types, where a type in Application.Commands.Withdraw uses a type in Application.Repositories.
- The types involved
Acerola.Application.Commands.Withdraw.WithdrawUseCase→Acerola.Application.Repositories.IAccountReadOnlyRepositoryAcerola.Application.Commands.Withdraw.WithdrawUseCase→Acerola.Application.Repositories.IAccountWriteOnlyRepository
- Direction
- Application.Commands.Withdraw uses Application.Repositories, so a change to Application.Repositories can break Application.Commands.Withdraw, while a change to Application.Commands.Withdraw can't break Application.Repositories.
- Position
- Below the diagonal: Application.Commands.Withdraw uses a module listed above it, which is the healthy direction.
22→17 Application.Commands.Withdraw uses Application.Results✕
- Connections
- 1 pair of types, where a type in Application.Commands.Withdraw uses a type in Application.Results.
- The types involved
Acerola.Application.Commands.Withdraw.WithdrawResult→Acerola.Application.Results.TransactionResult
- Direction
- Application.Commands.Withdraw uses Application.Results, so a change to Application.Results can break Application.Commands.Withdraw, while a change to Application.Commands.Withdraw can't break Application.Results.
- Position
- Below the diagonal: Application.Commands.Withdraw uses a module listed above it, which is the healthy direction.
23→17 Application.Queries uses Application.Results✕
- Connections
- 2 pairs of types, where a type in Application.Queries uses a type in Application.Results.
- The types involved
Acerola.Application.Queries.IAccountsQueries→Acerola.Application.Results.AccountResultAcerola.Application.Queries.ICustomersQueries→Acerola.Application.Results.CustomerResult
- Direction
- Application.Queries uses Application.Results, so a change to Application.Results can break Application.Queries, while a change to Application.Queries can't break Application.Results.
- Position
- Below the diagonal: Application.Queries uses a module listed above it, which is the healthy direction.
24→14 Infrastructure.DapperDataAccess.Repositories uses Domain.Accounts✕
- Connections
- 3 pairs of types, where a type in Infrastructure.DapperDataAccess.Repositories uses a type in Domain.Accounts.
- The types involved
Acerola.Infrastructure.DapperDataAccess.Repositories.AccountRepository→Acerola.Domain.Accounts.AccountAcerola.Infrastructure.DapperDataAccess.Repositories.AccountRepository→Acerola.Domain.Accounts.CreditAcerola.Infrastructure.DapperDataAccess.Repositories.AccountRepository→Acerola.Domain.Accounts.Debit
- Direction
- Infrastructure.DapperDataAccess.Repositories uses Domain.Accounts, so a change to Domain.Accounts can break Infrastructure.DapperDataAccess.Repositories, while a change to Infrastructure.DapperDataAccess.Repositories can't break Domain.Accounts.
- Position
- Below the diagonal: Infrastructure.DapperDataAccess.Repositories uses a module listed above it, which is the healthy direction.
24→15 Infrastructure.DapperDataAccess.Repositories uses Domain.Customers✕
- Connections
- 1 pair of types, where a type in Infrastructure.DapperDataAccess.Repositories uses a type in Domain.Customers.
- The types involved
Acerola.Infrastructure.DapperDataAccess.Repositories.CustomerReadOnlyRepository→Acerola.Domain.Customers.Customer
- Direction
- Infrastructure.DapperDataAccess.Repositories uses Domain.Customers, so a change to Domain.Customers can break Infrastructure.DapperDataAccess.Repositories, while a change to Infrastructure.DapperDataAccess.Repositories can't break Domain.Customers.
- Position
- Below the diagonal: Infrastructure.DapperDataAccess.Repositories uses a module listed above it, which is the healthy direction.
24→16 Infrastructure.DapperDataAccess.Repositories uses Application.Repositories✕
- Connections
- 4 pairs of types, where a type in Infrastructure.DapperDataAccess.Repositories uses a type in Application.Repositories.
- The types involved
Acerola.Infrastructure.DapperDataAccess.Repositories.AccountRepository→Acerola.Application.Repositories.IAccountReadOnlyRepositoryAcerola.Infrastructure.DapperDataAccess.Repositories.AccountRepository→Acerola.Application.Repositories.IAccountWriteOnlyRepositoryAcerola.Infrastructure.DapperDataAccess.Repositories.CustomerReadOnlyRepository→Acerola.Application.Repositories.ICustomerReadOnlyRepositoryAcerola.Infrastructure.DapperDataAccess.Repositories.CustomerReadOnlyRepository→Acerola.Application.Repositories.ICustomerWriteOnlyRepository
- Direction
- Infrastructure.DapperDataAccess.Repositories uses Application.Repositories, so a change to Application.Repositories can break Infrastructure.DapperDataAccess.Repositories, while a change to Infrastructure.DapperDataAccess.Repositories can't break Application.Repositories.
- Position
- Below the diagonal: Infrastructure.DapperDataAccess.Repositories uses a module listed above it, which is the healthy direction.
25→6 Infrastructure.EntityFrameworkDataAccess uses Infrastructure.EntityFrameworkDataAccess.Entities✕
- Connections
- 4 pairs of types, where a type in Infrastructure.EntityFrameworkDataAccess uses a type in Infrastructure.EntityFrameworkDataAccess.Entities.
- The types involved
Acerola.Infrastructure.EntityFrameworkDataAccess.Context→Acerola.Infrastructure.EntityFrameworkDataAccess.Entities.AccountAcerola.Infrastructure.EntityFrameworkDataAccess.Context→Acerola.Infrastructure.EntityFrameworkDataAccess.Entities.CreditAcerola.Infrastructure.EntityFrameworkDataAccess.Context→Acerola.Infrastructure.EntityFrameworkDataAccess.Entities.CustomerAcerola.Infrastructure.EntityFrameworkDataAccess.Context→Acerola.Infrastructure.EntityFrameworkDataAccess.Entities.Debit
- Direction
- Infrastructure.EntityFrameworkDataAccess uses Infrastructure.EntityFrameworkDataAccess.Entities, so a change to Infrastructure.EntityFrameworkDataAccess.Entities can break Infrastructure.EntityFrameworkDataAccess, while a change to Infrastructure.EntityFrameworkDataAccess can't break Infrastructure.EntityFrameworkDataAccess.Entities.
- Position
- Below the diagonal: Infrastructure.EntityFrameworkDataAccess uses a module listed above it, which is the healthy direction.
25→14 Infrastructure.EntityFrameworkDataAccess uses Domain.Accounts✕
- Connections
- 3 pairs of types, where a type in Infrastructure.EntityFrameworkDataAccess uses a type in Domain.Accounts.
- The types involved
Acerola.Infrastructure.EntityFrameworkDataAccess.AccountRepository→Acerola.Domain.Accounts.AccountAcerola.Infrastructure.EntityFrameworkDataAccess.AccountRepository→Acerola.Domain.Accounts.CreditAcerola.Infrastructure.EntityFrameworkDataAccess.AccountRepository→Acerola.Domain.Accounts.Debit
- Direction
- Infrastructure.EntityFrameworkDataAccess uses Domain.Accounts, so a change to Domain.Accounts can break Infrastructure.EntityFrameworkDataAccess, while a change to Infrastructure.EntityFrameworkDataAccess can't break Domain.Accounts.
- Position
- Below the diagonal: Infrastructure.EntityFrameworkDataAccess uses a module listed above it, which is the healthy direction.
25→15 Infrastructure.EntityFrameworkDataAccess uses Domain.Customers✕
- Connections
- 1 pair of types, where a type in Infrastructure.EntityFrameworkDataAccess uses a type in Domain.Customers.
- The types involved
Acerola.Infrastructure.EntityFrameworkDataAccess.CustomerRepository→Acerola.Domain.Customers.Customer
- Direction
- Infrastructure.EntityFrameworkDataAccess uses Domain.Customers, so a change to Domain.Customers can break Infrastructure.EntityFrameworkDataAccess, while a change to Infrastructure.EntityFrameworkDataAccess can't break Domain.Customers.
- Position
- Below the diagonal: Infrastructure.EntityFrameworkDataAccess uses a module listed above it, which is the healthy direction.
25→16 Infrastructure.EntityFrameworkDataAccess uses Application.Repositories✕
- Connections
- 4 pairs of types, where a type in Infrastructure.EntityFrameworkDataAccess uses a type in Application.Repositories.
- The types involved
Acerola.Infrastructure.EntityFrameworkDataAccess.AccountRepository→Acerola.Application.Repositories.IAccountReadOnlyRepositoryAcerola.Infrastructure.EntityFrameworkDataAccess.AccountRepository→Acerola.Application.Repositories.IAccountWriteOnlyRepositoryAcerola.Infrastructure.EntityFrameworkDataAccess.CustomerRepository→Acerola.Application.Repositories.ICustomerReadOnlyRepositoryAcerola.Infrastructure.EntityFrameworkDataAccess.CustomerRepository→Acerola.Application.Repositories.ICustomerWriteOnlyRepository
- Direction
- Infrastructure.EntityFrameworkDataAccess uses Application.Repositories, so a change to Application.Repositories can break Infrastructure.EntityFrameworkDataAccess, while a change to Infrastructure.EntityFrameworkDataAccess can't break Application.Repositories.
- Position
- Below the diagonal: Infrastructure.EntityFrameworkDataAccess uses a module listed above it, which is the healthy direction.
26→14 Infrastructure.InMemoryDataAccess.Repositories uses Domain.Accounts✕
- Connections
- 3 pairs of types, where a type in Infrastructure.InMemoryDataAccess.Repositories uses a type in Domain.Accounts.
- The types involved
Acerola.Infrastructure.InMemoryDataAccess.Repositories.AccountRepository→Acerola.Domain.Accounts.AccountAcerola.Infrastructure.InMemoryDataAccess.Repositories.AccountRepository→Acerola.Domain.Accounts.CreditAcerola.Infrastructure.InMemoryDataAccess.Repositories.AccountRepository→Acerola.Domain.Accounts.Debit
- Direction
- Infrastructure.InMemoryDataAccess.Repositories uses Domain.Accounts, so a change to Domain.Accounts can break Infrastructure.InMemoryDataAccess.Repositories, while a change to Infrastructure.InMemoryDataAccess.Repositories can't break Domain.Accounts.
- Position
- Below the diagonal: Infrastructure.InMemoryDataAccess.Repositories uses a module listed above it, which is the healthy direction.
26→15 Infrastructure.InMemoryDataAccess.Repositories uses Domain.Customers✕
- Connections
- 1 pair of types, where a type in Infrastructure.InMemoryDataAccess.Repositories uses a type in Domain.Customers.
- The types involved
Acerola.Infrastructure.InMemoryDataAccess.Repositories.CustomerRepository→Acerola.Domain.Customers.Customer
- Direction
- Infrastructure.InMemoryDataAccess.Repositories uses Domain.Customers, so a change to Domain.Customers can break Infrastructure.InMemoryDataAccess.Repositories, while a change to Infrastructure.InMemoryDataAccess.Repositories can't break Domain.Customers.
- Position
- Below the diagonal: Infrastructure.InMemoryDataAccess.Repositories uses a module listed above it, which is the healthy direction.
26→16 Infrastructure.InMemoryDataAccess.Repositories uses Application.Repositories✕
- Connections
- 4 pairs of types, where a type in Infrastructure.InMemoryDataAccess.Repositories uses a type in Application.Repositories.
- The types involved
Acerola.Infrastructure.InMemoryDataAccess.Repositories.AccountRepository→Acerola.Application.Repositories.IAccountReadOnlyRepositoryAcerola.Infrastructure.InMemoryDataAccess.Repositories.AccountRepository→Acerola.Application.Repositories.IAccountWriteOnlyRepositoryAcerola.Infrastructure.InMemoryDataAccess.Repositories.CustomerRepository→Acerola.Application.Repositories.ICustomerReadOnlyRepositoryAcerola.Infrastructure.InMemoryDataAccess.Repositories.CustomerRepository→Acerola.Application.Repositories.ICustomerWriteOnlyRepository
- Direction
- Infrastructure.InMemoryDataAccess.Repositories uses Application.Repositories, so a change to Application.Repositories can break Infrastructure.InMemoryDataAccess.Repositories, while a change to Infrastructure.InMemoryDataAccess.Repositories can't break Application.Repositories.
- Position
- Below the diagonal: Infrastructure.InMemoryDataAccess.Repositories uses a module listed above it, which is the healthy direction.
26→18 Infrastructure.InMemoryDataAccess.Repositories uses Infrastructure.InMemoryDataAccess✕
- Connections
- 2 pairs of types, where a type in Infrastructure.InMemoryDataAccess.Repositories uses a type in Infrastructure.InMemoryDataAccess.
- The types involved
Acerola.Infrastructure.InMemoryDataAccess.Repositories.AccountRepository→Acerola.Infrastructure.InMemoryDataAccess.ContextAcerola.Infrastructure.InMemoryDataAccess.Repositories.CustomerRepository→Acerola.Infrastructure.InMemoryDataAccess.Context
- Direction
- Infrastructure.InMemoryDataAccess.Repositories uses Infrastructure.InMemoryDataAccess, so a change to Infrastructure.InMemoryDataAccess can break Infrastructure.InMemoryDataAccess.Repositories, while a change to Infrastructure.InMemoryDataAccess.Repositories can't break Infrastructure.InMemoryDataAccess.
- Position
- Below the diagonal: Infrastructure.InMemoryDataAccess.Repositories uses a module listed above it, which is the healthy direction.
27→13 Infrastructure.MongoDataAccess.Repositories uses Infrastructure.MongoDataAccess✕
- Connections
- 2 pairs of types, where a type in Infrastructure.MongoDataAccess.Repositories uses a type in Infrastructure.MongoDataAccess.
- The types involved
Acerola.Infrastructure.MongoDataAccess.Repositories.AccountRepository→Acerola.Infrastructure.MongoDataAccess.ContextAcerola.Infrastructure.MongoDataAccess.Repositories.CustomerRepository→Acerola.Infrastructure.MongoDataAccess.Context
- Direction
- Infrastructure.MongoDataAccess.Repositories uses Infrastructure.MongoDataAccess, so a change to Infrastructure.MongoDataAccess can break Infrastructure.MongoDataAccess.Repositories, while a change to Infrastructure.MongoDataAccess.Repositories can't break Infrastructure.MongoDataAccess.
- Position
- Below the diagonal: Infrastructure.MongoDataAccess.Repositories uses a module listed above it, which is the healthy direction.
27→14 Infrastructure.MongoDataAccess.Repositories uses Domain.Accounts✕
- Connections
- 3 pairs of types, where a type in Infrastructure.MongoDataAccess.Repositories uses a type in Domain.Accounts.
- The types involved
Acerola.Infrastructure.MongoDataAccess.Repositories.AccountRepository→Acerola.Domain.Accounts.AccountAcerola.Infrastructure.MongoDataAccess.Repositories.AccountRepository→Acerola.Domain.Accounts.CreditAcerola.Infrastructure.MongoDataAccess.Repositories.AccountRepository→Acerola.Domain.Accounts.Debit
- Direction
- Infrastructure.MongoDataAccess.Repositories uses Domain.Accounts, so a change to Domain.Accounts can break Infrastructure.MongoDataAccess.Repositories, while a change to Infrastructure.MongoDataAccess.Repositories can't break Domain.Accounts.
- Position
- Below the diagonal: Infrastructure.MongoDataAccess.Repositories uses a module listed above it, which is the healthy direction.
27→15 Infrastructure.MongoDataAccess.Repositories uses Domain.Customers✕
- Connections
- 1 pair of types, where a type in Infrastructure.MongoDataAccess.Repositories uses a type in Domain.Customers.
- The types involved
Acerola.Infrastructure.MongoDataAccess.Repositories.CustomerRepository→Acerola.Domain.Customers.Customer
- Direction
- Infrastructure.MongoDataAccess.Repositories uses Domain.Customers, so a change to Domain.Customers can break Infrastructure.MongoDataAccess.Repositories, while a change to Infrastructure.MongoDataAccess.Repositories can't break Domain.Customers.
- Position
- Below the diagonal: Infrastructure.MongoDataAccess.Repositories uses a module listed above it, which is the healthy direction.
27→16 Infrastructure.MongoDataAccess.Repositories uses Application.Repositories✕
- Connections
- 4 pairs of types, where a type in Infrastructure.MongoDataAccess.Repositories uses a type in Application.Repositories.
- The types involved
Acerola.Infrastructure.MongoDataAccess.Repositories.AccountRepository→Acerola.Application.Repositories.IAccountReadOnlyRepositoryAcerola.Infrastructure.MongoDataAccess.Repositories.AccountRepository→Acerola.Application.Repositories.IAccountWriteOnlyRepositoryAcerola.Infrastructure.MongoDataAccess.Repositories.CustomerRepository→Acerola.Application.Repositories.ICustomerReadOnlyRepositoryAcerola.Infrastructure.MongoDataAccess.Repositories.CustomerRepository→Acerola.Application.Repositories.ICustomerWriteOnlyRepository
- Direction
- Infrastructure.MongoDataAccess.Repositories uses Application.Repositories, so a change to Application.Repositories can break Infrastructure.MongoDataAccess.Repositories, while a change to Infrastructure.MongoDataAccess.Repositories can't break Application.Repositories.
- Position
- Below the diagonal: Infrastructure.MongoDataAccess.Repositories uses a module listed above it, which is the healthy direction.
28→17 Infrastructure.DapperDataAccess.Queries uses Application.Results✕
- Connections
- 2 pairs of types, where a type in Infrastructure.DapperDataAccess.Queries uses a type in Application.Results.
- The types involved
Acerola.Infrastructure.DapperDataAccess.Queries.AccountsQueries→Acerola.Application.Results.AccountResultAcerola.Infrastructure.DapperDataAccess.Queries.CustomersQueries→Acerola.Application.Results.CustomerResult
- Direction
- Infrastructure.DapperDataAccess.Queries uses Application.Results, so a change to Application.Results can break Infrastructure.DapperDataAccess.Queries, while a change to Infrastructure.DapperDataAccess.Queries can't break Application.Results.
- Position
- Below the diagonal: Infrastructure.DapperDataAccess.Queries uses a module listed above it, which is the healthy direction.
28→23 Infrastructure.DapperDataAccess.Queries uses Application.Queries✕
- Connections
- 3 pairs of types, where a type in Infrastructure.DapperDataAccess.Queries uses a type in Application.Queries.
- The types involved
Acerola.Infrastructure.DapperDataAccess.Queries.AccountsQueries→Acerola.Application.Queries.IAccountsQueriesAcerola.Infrastructure.DapperDataAccess.Queries.CustomersQueries→Acerola.Application.Queries.IAccountsQueriesAcerola.Infrastructure.DapperDataAccess.Queries.CustomersQueries→Acerola.Application.Queries.ICustomersQueries
- Direction
- Infrastructure.DapperDataAccess.Queries uses Application.Queries, so a change to Application.Queries can break Infrastructure.DapperDataAccess.Queries, while a change to Infrastructure.DapperDataAccess.Queries can't break Application.Queries.
- Position
- Below the diagonal: Infrastructure.DapperDataAccess.Queries uses a module listed above it, which is the healthy direction.
29→17 Infrastructure.EntityFrameworkDataAccess.Queries uses Application.Results✕
- Connections
- 2 pairs of types, where a type in Infrastructure.EntityFrameworkDataAccess.Queries uses a type in Application.Results.
- The types involved
Acerola.Infrastructure.EntityFrameworkDataAccess.Queries.AccountsQueries→Acerola.Application.Results.AccountResultAcerola.Infrastructure.EntityFrameworkDataAccess.Queries.CustomersQueries→Acerola.Application.Results.CustomerResult
- Direction
- Infrastructure.EntityFrameworkDataAccess.Queries uses Application.Results, so a change to Application.Results can break Infrastructure.EntityFrameworkDataAccess.Queries, while a change to Infrastructure.EntityFrameworkDataAccess.Queries can't break Application.Results.
- Position
- Below the diagonal: Infrastructure.EntityFrameworkDataAccess.Queries uses a module listed above it, which is the healthy direction.
29→23 Infrastructure.EntityFrameworkDataAccess.Queries uses Application.Queries✕
- Connections
- 3 pairs of types, where a type in Infrastructure.EntityFrameworkDataAccess.Queries uses a type in Application.Queries.
- The types involved
Acerola.Infrastructure.EntityFrameworkDataAccess.Queries.AccountsQueries→Acerola.Application.Queries.IAccountsQueriesAcerola.Infrastructure.EntityFrameworkDataAccess.Queries.CustomersQueries→Acerola.Application.Queries.IAccountsQueriesAcerola.Infrastructure.EntityFrameworkDataAccess.Queries.CustomersQueries→Acerola.Application.Queries.ICustomersQueries
- Direction
- Infrastructure.EntityFrameworkDataAccess.Queries uses Application.Queries, so a change to Application.Queries can break Infrastructure.EntityFrameworkDataAccess.Queries, while a change to Infrastructure.EntityFrameworkDataAccess.Queries can't break Application.Queries.
- Position
- Below the diagonal: Infrastructure.EntityFrameworkDataAccess.Queries uses a module listed above it, which is the healthy direction.
29→25 Infrastructure.EntityFrameworkDataAccess.Queries uses Infrastructure.EntityFrameworkDataAccess✕
- Connections
- 2 pairs of types, where a type in Infrastructure.EntityFrameworkDataAccess.Queries uses a type in Infrastructure.EntityFrameworkDataAccess.
- The types involved
Acerola.Infrastructure.EntityFrameworkDataAccess.Queries.AccountsQueries→Acerola.Infrastructure.EntityFrameworkDataAccess.ContextAcerola.Infrastructure.EntityFrameworkDataAccess.Queries.CustomersQueries→Acerola.Infrastructure.EntityFrameworkDataAccess.Context
- Direction
- Infrastructure.EntityFrameworkDataAccess.Queries uses Infrastructure.EntityFrameworkDataAccess, so a change to Infrastructure.EntityFrameworkDataAccess can break Infrastructure.EntityFrameworkDataAccess.Queries, while a change to Infrastructure.EntityFrameworkDataAccess.Queries can't break Infrastructure.EntityFrameworkDataAccess.
- Position
- Below the diagonal: Infrastructure.EntityFrameworkDataAccess.Queries uses a module listed above it, which is the healthy direction.
30→17 Infrastructure.InMemoryDataAccess.Queries uses Application.Results✕
- Connections
- 2 pairs of types, where a type in Infrastructure.InMemoryDataAccess.Queries uses a type in Application.Results.
- The types involved
Acerola.Infrastructure.InMemoryDataAccess.Queries.AccountsQueries→Acerola.Application.Results.AccountResultAcerola.Infrastructure.InMemoryDataAccess.Queries.CustomersQueries→Acerola.Application.Results.CustomerResult
- Direction
- Infrastructure.InMemoryDataAccess.Queries uses Application.Results, so a change to Application.Results can break Infrastructure.InMemoryDataAccess.Queries, while a change to Infrastructure.InMemoryDataAccess.Queries can't break Application.Results.
- Position
- Below the diagonal: Infrastructure.InMemoryDataAccess.Queries uses a module listed above it, which is the healthy direction.
30→18 Infrastructure.InMemoryDataAccess.Queries uses Infrastructure.InMemoryDataAccess✕
- Connections
- 2 pairs of types, where a type in Infrastructure.InMemoryDataAccess.Queries uses a type in Infrastructure.InMemoryDataAccess.
- The types involved
Acerola.Infrastructure.InMemoryDataAccess.Queries.AccountsQueries→Acerola.Infrastructure.InMemoryDataAccess.ContextAcerola.Infrastructure.InMemoryDataAccess.Queries.CustomersQueries→Acerola.Infrastructure.InMemoryDataAccess.Context
- Direction
- Infrastructure.InMemoryDataAccess.Queries uses Infrastructure.InMemoryDataAccess, so a change to Infrastructure.InMemoryDataAccess can break Infrastructure.InMemoryDataAccess.Queries, while a change to Infrastructure.InMemoryDataAccess.Queries can't break Infrastructure.InMemoryDataAccess.
- Position
- Below the diagonal: Infrastructure.InMemoryDataAccess.Queries uses a module listed above it, which is the healthy direction.
30→23 Infrastructure.InMemoryDataAccess.Queries uses Application.Queries✕
- Connections
- 3 pairs of types, where a type in Infrastructure.InMemoryDataAccess.Queries uses a type in Application.Queries.
- The types involved
Acerola.Infrastructure.InMemoryDataAccess.Queries.AccountsQueries→Acerola.Application.Queries.IAccountsQueriesAcerola.Infrastructure.InMemoryDataAccess.Queries.CustomersQueries→Acerola.Application.Queries.IAccountsQueriesAcerola.Infrastructure.InMemoryDataAccess.Queries.CustomersQueries→Acerola.Application.Queries.ICustomersQueries
- Direction
- Infrastructure.InMemoryDataAccess.Queries uses Application.Queries, so a change to Application.Queries can break Infrastructure.InMemoryDataAccess.Queries, while a change to Infrastructure.InMemoryDataAccess.Queries can't break Application.Queries.
- Position
- Below the diagonal: Infrastructure.InMemoryDataAccess.Queries uses a module listed above it, which is the healthy direction.
31→13 Infrastructure.MongoDataAccess.Queries uses Infrastructure.MongoDataAccess✕
- Connections
- 2 pairs of types, where a type in Infrastructure.MongoDataAccess.Queries uses a type in Infrastructure.MongoDataAccess.
- The types involved
Acerola.Infrastructure.MongoDataAccess.Queries.AccountsQueries→Acerola.Infrastructure.MongoDataAccess.ContextAcerola.Infrastructure.MongoDataAccess.Queries.CustomersQueries→Acerola.Infrastructure.MongoDataAccess.Context
- Direction
- Infrastructure.MongoDataAccess.Queries uses Infrastructure.MongoDataAccess, so a change to Infrastructure.MongoDataAccess can break Infrastructure.MongoDataAccess.Queries, while a change to Infrastructure.MongoDataAccess.Queries can't break Infrastructure.MongoDataAccess.
- Position
- Below the diagonal: Infrastructure.MongoDataAccess.Queries uses a module listed above it, which is the healthy direction.
31→17 Infrastructure.MongoDataAccess.Queries uses Application.Results✕
- Connections
- 2 pairs of types, where a type in Infrastructure.MongoDataAccess.Queries uses a type in Application.Results.
- The types involved
Acerola.Infrastructure.MongoDataAccess.Queries.AccountsQueries→Acerola.Application.Results.AccountResultAcerola.Infrastructure.MongoDataAccess.Queries.CustomersQueries→Acerola.Application.Results.CustomerResult
- Direction
- Infrastructure.MongoDataAccess.Queries uses Application.Results, so a change to Application.Results can break Infrastructure.MongoDataAccess.Queries, while a change to Infrastructure.MongoDataAccess.Queries can't break Application.Results.
- Position
- Below the diagonal: Infrastructure.MongoDataAccess.Queries uses a module listed above it, which is the healthy direction.
31→23 Infrastructure.MongoDataAccess.Queries uses Application.Queries✕
- Connections
- 3 pairs of types, where a type in Infrastructure.MongoDataAccess.Queries uses a type in Application.Queries.
- The types involved
Acerola.Infrastructure.MongoDataAccess.Queries.AccountsQueries→Acerola.Application.Queries.IAccountsQueriesAcerola.Infrastructure.MongoDataAccess.Queries.CustomersQueries→Acerola.Application.Queries.IAccountsQueriesAcerola.Infrastructure.MongoDataAccess.Queries.CustomersQueries→Acerola.Application.Queries.ICustomersQueries
- Direction
- Infrastructure.MongoDataAccess.Queries uses Application.Queries, so a change to Application.Queries can break Infrastructure.MongoDataAccess.Queries, while a change to Infrastructure.MongoDataAccess.Queries can't break Application.Queries.
- Position
- Below the diagonal: Infrastructure.MongoDataAccess.Queries uses a module listed above it, which is the healthy direction.
32→19 WebApi.UseCases.CloseAccount uses Application.Commands.Close✕
- Connections
- 1 pair of types, where a type in WebApi.UseCases.CloseAccount uses a type in Application.Commands.Close.
- The types involved
Acerola.WebApi.UseCases.CloseAccount.AccountsController→Acerola.Application.Commands.Close.ICloseAccountUseCase
- Direction
- WebApi.UseCases.CloseAccount uses Application.Commands.Close, so a change to Application.Commands.Close can break WebApi.UseCases.CloseAccount, while a change to WebApi.UseCases.CloseAccount can't break Application.Commands.Close.
- Position
- Below the diagonal: WebApi.UseCases.CloseAccount uses a module listed above it, which is the healthy direction.
33→20 WebApi.UseCases.Deposit uses Application.Commands.Deposit✕
- Connections
- 1 pair of types, where a type in WebApi.UseCases.Deposit uses a type in Application.Commands.Deposit.
- The types involved
Acerola.WebApi.UseCases.Deposit.AccountsController→Acerola.Application.Commands.Deposit.IDepositUseCase
- Direction
- WebApi.UseCases.Deposit uses Application.Commands.Deposit, so a change to Application.Commands.Deposit can break WebApi.UseCases.Deposit, while a change to WebApi.UseCases.Deposit can't break Application.Commands.Deposit.
- Position
- Below the diagonal: WebApi.UseCases.Deposit uses a module listed above it, which is the healthy direction.
34→23 WebApi.UseCases.GetAccountDetails uses Application.Queries✕
- Connections
- 1 pair of types, where a type in WebApi.UseCases.GetAccountDetails uses a type in Application.Queries.
- The types involved
Acerola.WebApi.UseCases.GetAccountDetails.AccountsController→Acerola.Application.Queries.IAccountsQueries
- Direction
- WebApi.UseCases.GetAccountDetails uses Application.Queries, so a change to Application.Queries can break WebApi.UseCases.GetAccountDetails, while a change to WebApi.UseCases.GetAccountDetails can't break Application.Queries.
- Position
- Below the diagonal: WebApi.UseCases.GetAccountDetails uses a module listed above it, which is the healthy direction.
35→23 WebApi.UseCases.GetCustomerDetails uses Application.Queries✕
- Connections
- 1 pair of types, where a type in WebApi.UseCases.GetCustomerDetails uses a type in Application.Queries.
- The types involved
Acerola.WebApi.UseCases.GetCustomerDetails.CustomersController→Acerola.Application.Queries.ICustomersQueries
- Direction
- WebApi.UseCases.GetCustomerDetails uses Application.Queries, so a change to Application.Queries can break WebApi.UseCases.GetCustomerDetails, while a change to WebApi.UseCases.GetCustomerDetails can't break Application.Queries.
- Position
- Below the diagonal: WebApi.UseCases.GetCustomerDetails uses a module listed above it, which is the healthy direction.
36→11 WebApi.UseCases.Register uses WebApi.Model✕
- Connections
- 1 pair of types, where a type in WebApi.UseCases.Register uses a type in WebApi.Model.
- The types involved
Acerola.WebApi.UseCases.Register.Model→Acerola.WebApi.Model.AccountDetailsModel
- Direction
- WebApi.UseCases.Register uses WebApi.Model, so a change to WebApi.Model can break WebApi.UseCases.Register, while a change to WebApi.UseCases.Register can't break WebApi.Model.
- Position
- Below the diagonal: WebApi.UseCases.Register uses a module listed above it, which is the healthy direction.
36→21 WebApi.UseCases.Register uses Application.Commands.Register✕
- Connections
- 1 pair of types, where a type in WebApi.UseCases.Register uses a type in Application.Commands.Register.
- The types involved
Acerola.WebApi.UseCases.Register.CustomersController→Acerola.Application.Commands.Register.IRegisterUseCase
- Direction
- WebApi.UseCases.Register uses Application.Commands.Register, so a change to Application.Commands.Register can break WebApi.UseCases.Register, while a change to WebApi.UseCases.Register can't break Application.Commands.Register.
- Position
- Below the diagonal: WebApi.UseCases.Register uses a module listed above it, which is the healthy direction.
37→22 WebApi.UseCases.Withdraw uses Application.Commands.Withdraw✕
- Connections
- 1 pair of types, where a type in WebApi.UseCases.Withdraw uses a type in Application.Commands.Withdraw.
- The types involved
Acerola.WebApi.UseCases.Withdraw.AccountsController→Acerola.Application.Commands.Withdraw.IWithdrawUseCase
- Direction
- WebApi.UseCases.Withdraw uses Application.Commands.Withdraw, so a change to Application.Commands.Withdraw can break WebApi.UseCases.Withdraw, while a change to WebApi.UseCases.Withdraw can't break Application.Commands.Withdraw.
- Position
- Below the diagonal: WebApi.UseCases.Withdraw uses a module listed above it, which is the healthy direction.
At a glance — Code Health
At a glance — Architecture
At a glance — Maturity
At a glance — Readiness
At a glance — Security
At a glance — Domain Modelling
At a glance — Performance
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A03:2025 — Software Supply Chain Failures | 26 | High / Critical |
| A02:2025 — Security Misconfiguration | 1 | High / Critical |
Roadmap
Immediately secure sensitive data by implementing encryption at rest and managing keys in a vault, while enforcing strict default-deny access controls on all endpoints. Concurrently, address the 20 high-severity dependency vulnerabilities and resolve the 7 deprecated package warnings to stabilize the codebase. These actions must be prioritized to mitigate critical security risks and ensure long-term system integrity.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 7 Deprecated finding(s) in Dependency Hygiene — start with REDACTED (2), REDACTED (2), REDACTED. | +5.2 pts | Low | Dependency Hygiene |
| Resolve the 3 Vulnerable finding(s) in Dependency Hygiene. | +5.0 pts | Low | Dependency Hygiene |
| Resolve the 6 Orphaned file finding(s) in Knowledge Freshness — start with AccountRepository.cs (3), CustomerRepository.cs, AccountsQueries.cs. | +3.7 pts | Low | Knowledge Freshness |
| Encrypt sensitive data at rest (ASP.NET Core Data Protection / column encryption) and manage keys in a vault. Skip if delegated to infra (Postgres TDE, KMS, etc.). | +6.6 pts | Medium | Data Protection |
| Protect endpoints by default-deny: [Authorize] + role/policy authorization, or imperative guard methods (throw-on-violation) called from every handler. | +6.6 pts | Medium | Access Controls |
| Resolve the 1 No ADRs found finding(s) in ADR Quality. | +3.2 pts | Low | ADR Quality |
| Resolve the 1 End-of-life runtime finding(s) in Platform End-of-Life — start with REDACTED. | +2.8 pts | Low | Platform End-of-Life |
| Resolve the 2 redundant comment finding(s) in Comment Value — start with Module.cs, AccountTests.cs. | +2.4 pts | Low | Comment Value |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 0.0 | Slop | Dependency Vulnerabilities: High CVE: REDACTED |
| REDACTED | 0.0 | Slop | Dependency Vulnerabilities: Critical CVE: REDACTED |
| REDACTED | 2.1 | Slop | Dependency Vulnerabilities: High CVE: REDACTED |
| REDACTED | 5.2 | Mixed | Dependency Vulnerabilities: High CVE: REDACTED |
| src/Acerola.Infrastructure/EntityFrameworkDataAccess/Repositories/AccountRepository.cs | 6.7 | Mixed | Explicit Debt: Dead code: AccountRepository |
| REDACTED | 7.2 | Near-clean | IaC & Container Security: High IaC: REDACTED |
| src/Acerola.Infrastructure/EntityFrameworkDataAccess/Queries/AccountsQueries.cs | 7.8 | Near-clean | Code Duplication: Edited copy of a member (48 corresponding lines) |
| src/Acerola.Infrastructure/InMemoryDataAccess/Queries/AccountsQueries.cs | 7.8 | Near-clean | Code Duplication: Edited copy of a member (29 corresponding lines) |
| src/Acerola.Infrastructure/DapperDataAccess/Queries/AccountsQueries.cs | 7.8 | Near-clean | Code Duplication: Duplicated block (8 lines × 2) |
| test/Acerola.UseCases.Tests/Acerola.UseCases.Tests.csproj | 8.0 | Near-clean | Dependency Hygiene: Deprecated: xunit |
| src/Acerola.Infrastructure/DapperDataAccess/Repositories/AccountRepository.cs | 8.2 | Near-clean | Explicit Debt: Dead code: AccountRepository |
| src/Acerola.Infrastructure/EntityFrameworkDataAccess/Repositories/CustomerRepository.cs | 8.2 | Near-clean | Explicit Debt: Dead code: CustomerRepository |
| src/Acerola.Infrastructure/InMemoryDataAccess/Repositories/AccountRepository.cs | 8.2 | Near-clean | Explicit Debt: Dead code: AccountRepository |
| src/Acerola.Infrastructure/InMemoryDataAccess/Repositories/CustomerRepository.cs | 8.2 | Near-clean | Explicit Debt: Dead code: CustomerRepository |
| src/Acerola.Infrastructure/MongoDataAccess/Repositories/AccountRepository.cs | 8.2 | Near-clean | Explicit Debt: Dead code: AccountRepository |
| src/Acerola.Infrastructure/MongoDataAccess/Repositories/CustomerRepository.cs | 8.2 | Near-clean | Explicit Debt: Dead code: CustomerRepository |
| src/Acerola.WebApi/UseCases/Deposit/AccountsController.cs | 8.5 | Near-clean | Code Duplication: Duplicated block (17 lines × 2) |
| src/Acerola.Domain/Acerola.Domain.csproj | 8.5 | Near-clean | Coupling: Off the main sequence: Acerola.Domain |
| src/Acerola.Infrastructure/DapperDataAccess/Module.cs | 9.5 | Near-clean | Comment Value: redundant comment |
| test/Acerola.Domain.Tests/AccountTests.cs | 9.5 | Near-clean | Comment Value: redundant comment |
How the grades work
A definite problem that already costs you something and drags the score down: a missing authorisation check, a dependency with a known exploit, a build that does not reproduce. Failure here tends to cause failures elsewhere.
Likely wrong, but not failing yet. It degrades the codebase over a longer horizon and can cause failures elsewhere — not urgent this week, not something to carry for two years either.
Recorded, with no effect on how the codebase functions. Present so the survey is complete, not because it needs doing.
Something this survey could not settle from the outside, and which could be critical or serious. Either a control was required and no positive evidence of it exists in the repository — a backup job that nothing shows was ever restored from proves nothing about restores — or our own analysis could not run over that part of the tree. This is not a clean result. These are excluded from the score rather than awarded a pass, so the number on the cover neither rewards nor penalises them: if you act on this survey without resolving them, you carry that risk yourself. Each one is named under Limitations.
Methodology & how to trust this report
Watchdog is a deep, periodic assessment — run each sprint, monthly, or quarterly, taking the time to go wider and deeper than a quick check and surfacing in one coherent report what you'd otherwise piece together from a dozen separate tools. It scores deterministically: the same commit yields the same score, every run. 80 of 84 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 — 84 dimensions across the health lenses
- Can you open the finding? Real findings cite a repo-relative file and line you can open at the cited line — never an absolute scratch path. Here, 132 of 159 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
- 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 reliability not scored — the test tier(s) ran but surfaced none of this repository's 26 test method(s) to the runner, so flakiness couldn't be exercised. This is an analysis-environment limitation, not a finding about the tests.
- D16 Bus Factor — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. Single-maintainer repository — bus factor is not applicable (3 contributor(s) across 173 commit(s) sampled, automation and bot accounts excluded). One of them holds 96% of the history; the other 2 hold 2% each on average, below the 5% at which there is somebody to hand the work to. That is a single maintainer with drive-by contributors, not a team whose knowledge has concentrated — so the bus factor is not applicable and there is nothing here for the owner to act on.
- D22 Internal API Consistency — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. The loaded project set declares no packable project and no `.Contracts` project, so there is no intentionally-exposed surface for API consistency to be judged over.
- D28 Secrets (history) — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. D28's config-credential rule (WD-SECRET-0002) parses each committed `.json` config as a document and reads credential-named values; `src/Acerola.WebApi/autofac.mongodb.json`, `src/Acerola.WebApi/autofac.json`, `src/Acerola.WebApi/autofac.entityframework.json`, `src/Acerola.WebApi/autofac.dapper.json`, `src/Acerola.WebApi/appsettings.json` did not parse (JSON5, a template, several concatenated documents), so a credential bound there is UNMEASURED by that rule. gitleaks still scanned the same files as text.
- 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) — kafka Pulling kafka Error Get "https://registry-1.docker.io/v2/": Forbidden Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the earlier `compose pull` step reported: kafka Pulling kafka Error Get "https://registry-1.docker.io/v2/": Forbidden Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the runtime sandbox reaches registries only through the in-fence pull-through mirror, so an image the mirror does not carry cannot be fetched — this is a limit of our sandbox, not of your stack; runtime evidence skipped.
- P8 Schema migrations — 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. Every other migration runner — DbUp, FluentMigrator, Evolve, Flyway, Liquibase, RoundhousE, a hand-rolled versioned-SQL runner — is invisible to the detector, so an absence here is our blind spot rather than a missing migration strategy in the repository. The card abstains instead of scoring. You can widen what we reach: if the schema is created and evolved by a tool other than EF Core migrations, naming it lets us teach the detector to read it.
Limitations & what we did not check
Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.
Per-dimension blind spots
- D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically — it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
- D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
- D3 God Classes: "God class" is sized by members and responsibilities visible in the type — a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module — one class/IIFE — earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
- D4 Code Duplication: Duplication is token-similarity — an in-process token-stream comparison over sliding windows, with type-aware normalization — so it finds copy-paste, not semantic duplication expressed differently. Committed machine-written code (scaffolded migrations, designer/codegen output, protobuf/OpenAPI stubs, model snapshots) is EXCLUDED — its repetition is the tool's, not the team's — so the score reflects hand-written duplication only.
- D5 Coupling: Coupling is measured between projects/assemblies — runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
- D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic — it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
- D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals — a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
- 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 Secret Scanning: Secret detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
- D14 License Compliance: License compatibility is checked against declared package metadata and a policy — mislabelled or missing license metadata, and obligations that depend on how you distribute, are not resolved here.
- D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
- D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual — undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (scaffolded migrations, designer/codegen output, generated stubs) is excluded — it is never the team's dead code to delete.
- D18 Solution Shape: Build integrity reflects whether the solution compiled in this environment — a build that needs a private feed, a specific SDK, or a generated file absent from the repo can read as broken when it is merely unreproducible here.
- D19 Documentation Quality: Documentation quality is judged by an LLM over a bounded sample of docs — it reads what is written, not whether the docs match the running system, and it is advisory, not a measurement. Its critique rows are drawn from a closed category vocabulary and each row means the same thing in every run, so two scans can be compared row by row; the SET that fires is still a sample, and does not repeat exactly. Measured on one frozen input, six scans at one engine SHA: 2-5 critique rows per scan, 8 distinct rows across the six, 3 of those 8 seen in only one scan. So a D19 row is evidence about the documentation, but a COUNT of D19 rows is not a quantity — never read a change in it as an improvement or a regression.
- D20 ADR Quality: ADR quality is an LLM read of the decision records present — it cannot know about decisions made and never recorded, and its verdict is sampled and advisory.
- D21 Naming Consistency: Naming quality is an LLM judgement over a bounded sample — it assesses clarity/consistency of the names it sees, not domain-correctness, and is advisory.
- D24 Comment Value: Comment value (WHY vs WHAT) is an LLM judgement over a bounded sample — it is advisory and cannot weigh a comment against the precise code change it was written to explain.
- D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
- D27 Navigability: Indirection/navigability is structural — it measures hops to follow a call, not whether that indirection buys real flexibility or just ceremony.
- D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
- D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
- D30 Dependency Vulnerabilities: CVE matching depends on accurate package/version metadata and on the advisory databases — a vulnerability with no published advisory, or in code not declared as a dependency, is not seen. Coverage needs a RESOLVED graph: an unpinned requirements.txt, or a pom without a resolved build, yields partial coverage rather than a clean verdict. An ecosystem the analyzer cannot scan is reported as unmeasured, never as clean.
- D31 IaC & Container Security: IaC scanning checks Dockerfiles/Terraform/Kubernetes against best-practice rules — it cannot see the live cloud account, runtime configuration, or drift between the committed config and what is actually deployed.
- D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension — code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
- D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
- D44 Platform End-of-Life: The support table is FROZEN, so it goes out of date by losing RECALL: a release that ended support after the table was written is missed until the table is refreshed, and this dimension reading 10 is not evidence that a platform is current. Only platforms the repository DECLARES in a place this pass reads are seen — a runtime named only in a Dockerfile (D31's subject), in a CI workflow (D29's), or in a file this pass does not parse (go.mod, a Gemfile ruby directive) is invisible here, which is why a repository declaring none of them abstains rather than scoring. Only frameworks with a PUBLISHED support policy are tracked: React, Flask and Express publish none, so their age cannot be judged and their absence from a report is not a statement that they are supported.
- AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
- 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".
- P6 Release Hygiene: Rollback/observability controls are inferred from repo artefacts (pipelines, dashboards-as-code) — controls configured in external tooling, with no in-repo trace, cannot be credited.
The LLM boundary
Dimensions
D1 · Cyclomatic Complexity
0 method(s) exceeded the cyclomatic complexity threshold of 15.
D2 · Cognitive Complexity
0 method(s) exceeded the cognitive complexity threshold of 15.
D3 · God Classes
0 god class(es) detected.
D4 · Code Duplication
6 duplicated block group(s) detected. A further 2 rows report members as variants of one another; they aggregate block groups already counted above and are not themselves counted.
What to do
- Resolve the 1 Edited copy of a member (48 corresponding lines) finding(s) in Code Duplication — start with AccountsQueries.cs. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Edited copy of a member (29 corresponding lines) finding(s) in Code Duplication — start with AccountsQueries.cs. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Duplicated block (38 lines × 2) finding(s) in Code Duplication — start with AccountRepository.cs. — One of this dimension's main actionable groups (1 warning-level).
- Stand up a CI pipeline, then gate Code Duplication in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D5 · Coupling
7 projects, 0 dependency cycle(s), 0 unstable depended-on project(s).
What to do
- Resolve the 1 Off the main sequence finding(s) in Coupling — start with Acerola.Domain.csproj. — One of this dimension's main actionable groups (1 warning-level).
- Stand up a CI pipeline, then gate Coupling in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D6 · Cohesion (LCOM4)
0 of 15 classes have LCOM4 above 3.
D9 · Test Distribution
26 test methods: 26 unit, 0 integration, 0 BDD, 0 e2e.
D10 · Test Quality
0 skipped, 0 zero-assertion, 1 mock references across 26 tests.
D12 · Dependency Hygiene
19 outdated, 3 vulnerable, 5 deprecated, 1 prerelease packages.
What to do
- Resolve the 7 Deprecated finding(s) in Dependency Hygiene — start with REDACTED (2), REDACTED (2), REDACTED. — One of this dimension's main actionable groups (7 warning-level).
- Resolve the 3 Vulnerable finding(s) in Dependency Hygiene. — One of this dimension's main actionable groups (3 issue-level).
- Resolve the 1 Prerelease dependency finding(s) in Dependency Hygiene. — One of this dimension's main actionable groups (1 warning-level).
- Stand up a CI pipeline, then gate Dependency Hygiene in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D13 · Secret Scanning
Secret scan ran and found no leaked secrets.
D14 · License Compliance
0 of 257 packages use a banned license. ★ DEPTH: this repository's MSBuild projects declare 20 direct `PackageReference`(s), and 230 further package(s) were reached beyond them by closing the graph over nuget.org's own nuspec dependency graph — so a banned licence pulled in only by a dependency's OWN dependencies is inside this verdict. A package whose licence nuget.org could not be asked for is not graded, and version ranges are taken at their lower bound, so this is the closure as that graph states it rather than a restored consumer's exact resolution.
D15 · Churn × Complexity Hotspots
No churn × complexity hotspots in the window.
D17 · Explicit Debt
10 deducted debt markers + 7 dead symbols across 2812 LoC in the .NET projects (2.4/KLoC) → score 5.1.
What to do
- Resolve the 10 NoWarnInCsproj finding(s) in Explicit Debt — start with REDACTED (5), REDACTED (5). — One of this dimension's main actionable groups (10 issue-level).
- Resolve the 7 Dead code finding(s) in Explicit Debt — start with AccountRepository.cs (4), CustomerRepository.cs (3). — One of this dimension's main actionable groups (7 warning-level).
- Stand up a CI pipeline, then gate Explicit Debt in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D18 · Solution Shape
7 projects, 111 source files, 3400 hand-written lines of code (2812 production / 588 test — the split is derived per file: test is what its project, its own path, or a compile-guarded region marks as test, and a file carrying no test signal counts as production), 10 inter-project edges.
D19 · Documentation Quality
A single README.md at the repository root gives a strong overview (what Acerola is, its architecture principles, and links to Docker and Gitter) plus compiling instructions for running from source. The document also begins with an Architecture section that describes Hexagonal/adapter/semantically sound interaction concepts before being cut by the scanner; it ends with an outline listing Flow of Control, Requirements, Prerequisites Setup, Running the latest Docker Build, Live Demo on Azure, and a clip marker. Coverage is low across all four tiers (1 README + 0 architecture/docs + 0 XML docs), but the root README's scope and content are clear.
What to do
- Improve Documentation Quality — currently 8.0/10. — A single README.md at the repository root gives a strong overview (what Acerola is, its architecture principles, and links to Docker and Gitter) plus compiling instructions for running from source. The document also begins with an Architecture section that describes Hexagonal/adapter/semantically sound interaction concepts before being cut by the scanner; it ends with an outline listing Flow of Control, Requirements, Prerequisites Setup, Running the latest Docker Build, Live Demo on Azure, and a clip marker. Coverage is low across all four tiers (1 README + 0 architecture/docs + 0 XML docs), but the root README's scope and content are clear.
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 200 sampled symbols.
D24 · Comment Value
4 valuable / 2 redundant across 40 sampled comments; 2 shown with locations.
What to do
- Resolve the 2 redundant comment finding(s) in Comment Value — start with Module.cs, AccountTests.cs. — One of this dimension's main actionable groups (2 recommendation-level).
D26 · Project Cohesion
0 of 7 projects flagged as possibly oversized/incoherent.
D27 · Navigability
95 % of calls cross a namespace and 9 % go through an interface, but 100 % of collaborators are co-located — so a call's collaborators sit together and tracing stays easy. Baseline: small — navigation cost is tolerated.
D28 · Secrets (history)
gitleaks scanned the full history AND the current working tree and found no secrets.
D29 · Static Analysis (SAST)
semgrep found no security issues.
D30 · Dependency Vulnerabilities
26 finding(s): 2 critical, 20 high, 4 medium, 0 low.
What to do
- Resolve the 20 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (13), REDACTED (4), REDACTED. — One of this dimension's main actionable groups (20 issue-level).
- Resolve the 2 Critical CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (2). — One of this dimension's main actionable groups (2 issue-level).
- Resolve the 4 Medium CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (4). — One of this dimension's main actionable groups (4 warning-level).
D31 · IaC & Container Security
1 finding(s): 0 critical, 1 high, 0 medium, 0 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).
D34 · Knowledge Freshness
6 of 6 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is src/Acerola.Infrastructure/DapperDataAccess/Repositories/AccountRepository.cs. Counted over 6 of the 100 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
What to do
- Resolve the 6 Orphaned file finding(s) in Knowledge Freshness — start with AccountRepository.cs (3), CustomerRepository.cs, AccountsQueries.cs. — One of this dimension's main actionable groups (6 recommendation-level).
- Resolve the 1 Orphaned files with no living knowledge finding(s) in Knowledge Freshness. — One of this dimension's main actionable groups (1 recommendation-level).
D35 · Change Coupling
No strong hidden change-coupling between production files.
D39 · IL Efficiency
0 of 204 first-party methods have an oversized IL body.
D44 · Platform End-of-Life
1 end-of-life runtime(s) and 0 end-of-life framework(s), read from 7 platform declaration(s) and 0 dependency declaration(s). This dimension reads what the repository says about ITSELF — a pinned target framework, a version file, a capped requires-python, a Rust toolchain pin, a framework major a constraint cannot move off. A FLOOR is deliberately never charged: `requires-python = ">=3.8"` states what the package SUPPORTS, not what it runs on, and a well-maintained library declares exactly that while running its own CI on a current release. The end-of-life facts are FROZEN and dated, so this dimension needs no network and answers identically inside a closed scan fence; as the table ages it loses recall and never precision, because a statement about support that ended in the past cannot become false. The OS layer of a container image is D31's question and the toolchain a CI workflow installs is D29's; this row is neither.
What to do
- Resolve the 1 End-of-life runtime finding(s) in Platform End-of-Life — start with REDACTED. — One of this dimension's main actionable groups (1 warning-level).
Frontend & cross-cutting dimensions
AX10 · Code composition
AX3 · Project dependency cycles
AX4 · Dependency direction
AX5 · Architecture & structure
AX6 · Interface segregation
AX8 · Test isolation
C1 · Data Protection
- No data-protection or encryption usage (ASP.NET Data Protection, AES, column encryption, PBKDF2) was found — sensitive data at rest may be unprotected. If TDE/KMS/vault is delegated to infrastructure, ignore.
What to do
- Encrypt sensitive data at rest (ASP.NET Core Data Protection / column encryption) and manage keys in a vault. Skip if delegated to infra (Postgres TDE, KMS, etc.).
- Enforce HTTPS (UseHttpsRedirection / RequireHttpsMetadata) so data in transit is always encrypted.
C2 · Access Controls
- No [Authorize]/policies and no imperative guard methods (throw-on-violation) were found — endpoints may be unprotected.
- `AccountsController.Close` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — src/Acerola.WebApi/UseCases/CloseAccount/AccountsController.cs:23
- `AccountsController.Deposit` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — src/Acerola.WebApi/UseCases/Deposit/AccountsController.cs:22
- `AccountsController.Get` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — src/Acerola.WebApi/UseCases/GetAccountDetails/AccountsController.cs:25
- `CustomersController.GetCustomer` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — src/Acerola.WebApi/UseCases/GetCustomerDetails/CustomersController.cs:25
- `CustomersController.Post` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — src/Acerola.WebApi/UseCases/Register/CustomersController.cs:23
- `AccountsController.Withdraw` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — src/Acerola.WebApi/UseCases/Withdraw/AccountsController.cs:21
What to do
- Protect endpoints by default-deny: [Authorize] + role/policy authorization, or imperative guard methods (throw-on-violation) called from every handler.
DM1 · Aggregate boundaries
DM10 · One transaction, one aggregate
- `RegisterUseCase.Execute` saves `Customer`, `Account` in a single operation. Each is its own consistency boundary, so committing them together makes the second's invariants depend on the first's transaction, holds a lock across both for the whole operation, and means the pair can no longer be separated — into different services, or different databases. Mutate one aggregate here and let the others follow from a domain event. — src/Acerola.Application/Commands/Register/RegisterUseCase.cs:21
- `AccountRepository.Add` saves `Double`, `DateTime` in a single operation. Each is its own consistency boundary, so committing them together makes the second's invariants depend on the first's transaction, holds a lock across both for the whole operation, and means the pair can no longer be separated — into different services, or different databases. Mutate one aggregate here and let the others follow from a domain event. — src/Acerola.Infrastructure/DapperDataAccess/Repositories/AccountRepository.cs:22
- `AccountRepository.Update` saves `Double`, `DateTime` in a single operation. Each is its own consistency boundary, so committing them together makes the second's invariants depend on the first's transaction, holds a lock across both for the whole operation, and means the pair can no longer be separated — into different services, or different databases. Mutate one aggregate here and let the others follow from a domain event. (×2) — src/Acerola.Infrastructure/DapperDataAccess/Repositories/AccountRepository.cs:114, src/Acerola.Infrastructure/DapperDataAccess/Repositories/AccountRepository.cs:131
- `AccountRepository.Add` saves `Account`, `Credit` in a single operation. Each is its own consistency boundary, so committing them together makes the second's invariants depend on the first's transaction, holds a lock across both for the whole operation, and means the pair can no longer be separated — into different services, or different databases. Mutate one aggregate here and let the others follow from a domain event. — src/Acerola.Infrastructure/EntityFrameworkDataAccess/Repositories/AccountRepository.cs:21
What to do
- Mutate one aggregate per operation and let the others follow from a domain event — the second aggregate reaching consistency a moment later is the design, not a compromise.
DM11 · Constructible invalid state
DM12 · Ambient inputs in the domain
DM2 · Strongly-typed ids
- `Account.CustomerId` is a raw `Guid` — give it a strongly-typed id: a dedicated single-field type wrapping the `Guid`, in whatever form your language spells that. — src/Acerola.Domain/Accounts/Account.cs:10
What to do
- Adopt strongly-typed ids across the domain — finish the migration or document the boundary; primitive ids invite transposed-argument bugs.
DM4 · Rich vs anemic model
DM5 · Encapsulated state
DM6 · Domain ↔ infrastructure boundary
DM7 · Repository granularity
DM8 · Value-object opportunities
DM9 · Scattered domain decisions
GD1 · Unfinished & placeholder code
IC1 · Incompleteness & stubs
M1 · Documentation (README)
What to do
- Add a README to the 7 of 7 project(s) that lack one — worth up to 2 pts.
M2 · Architecture documentation
- No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
What to do
- Record your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them.
M3 · Folder & project structure
M4 · Documentation accuracy
- README advertises a microservices architecture, but the repo is a single project with no service manifests — searched for: `microservice`, `service-mesh`, `istio`. Each was matched case- and separator-insensitively against file and directory NAMES anywhere in the tree, and against the CONTENTS of manifest and configuration files (package.json and other *.json, *.csproj, *.props, *.sln/*.slnx, *.yml, *.toml, *.config, tool configs such as eslint.config.js, Dockerfile); the README's own prose never counts, so a claim is never refuted by merely being made. Nothing outside that search was read — a footprint living only in a submodule, in a file type not listed here, or under a name none of those terms matches is not seen, and this row is then wrong. — README.md:5
- README.md changes into `acerola/source/WebAPI/Acerola.UI`, but no such folder exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — README.md:13
What to do
- Reconcile the README with reality: README advertises a microservices architecture, but the repo is a single project with no service manifests; README.md changes into `acerola/source/WebAPI/Acerola.UI`, but no such folder exists.
P1 · CI/CD gates
- No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, …) — changes aren't gated by an automated build/test.
What to do
- Add a CI workflow that builds and runs the test suite on every push/PR.
P2 · Observability
What to do
- Consider OpenTelemetry tracing/metrics and a health-check endpoint for operability.
P3 · Security & performance tooling
- No static application security testing detected. For this repository's stack, add CodeQL's csharp pack, or a .NET security analyzer package (or `semgrep --config=auto`, which runs on any language) — this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge's web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen — if that is your case the row is wrong, and saying so is more useful than adding a second scanner.
What to do
- Run what this repository's stack ships: CodeQL's csharp pack, or a .NET security analyzer package — or `semgrep --config=auto`, which runs on any language — locally for now, since there is no CI pipeline here yet, and as a step of the first workflow you add so a security regression fails the build instead of landing.
- Enable Dependabot/Renovate or a dependency-review gate.
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P4 · Deployment & Rollback
- Deployment is orchestrated by compose, but no service declares a `healthcheck:` and nothing pins a previous image to fall back to — the runtime can tell that the container is up, not that it is serving, so a bad release is harder to detect and reverse.
What to do
- Add a `healthcheck:` to the served compose service — probing the endpoint it already answers on where it has one — with `depends_on: condition: service_healthy` on whatever waits for it, and keep the deployed image tag immutable and recorded so rolling back is re-pointing at the previous tag rather than rebuilding.
- Add an approval/environment gate (required reviewers / protection rules) before production promotion.
P6 · Release Hygiene
- No CHANGELOG/HISTORY/RELEASES file — what shipped when isn't easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)
What to do
- Keep a changelog (e.g. Keep-a-Changelog) recording what shipped in each release.
PF3 · Async & latency hygiene
S1 · Web-Security Posture
- None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, …) is configured — defense in depth, even when a reverse proxy could set them. (−2.0 on this card.)
- This web host's pipeline is composed here and adds no security response header (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, a frame policy) to what it serves. — src/Acerola.WebApi/Program.cs:20
- No UseHttpsRedirection/UseHsts and no reverse-proxy signal — transport security is unverified at the app layer. (−2.0 on this card.)
- This web host's pipeline is composed here with no UseHttpsRedirection/UseHsts, and nothing says a reverse proxy terminates TLS in front of it. — src/Acerola.WebApi/Program.cs:20
What to do
- Add security response headers (Content-Security-Policy first, then Strict-Transport-Security, X-Content-Type-Options and a frame policy) — defense in depth, even when a reverse proxy could set them.
- Enforce HTTPS at the app layer (UseHttpsRedirection / UseHsts) — only skip this if a reverse proxy demonstrably terminates TLS.
X1 · Async correctness
X12 · Unreachable branch
X13 · Undrained process stream
X14 · Bypassable address classification
X15 · Unvalidated length from an untrusted reader
X16 · Unfloored truncation loop
X17 · Uncapped recursion over a caller-supplied document
X18 · Disposal-pattern correctness
X19 · Unrestored process-global state
X2 · Cancellation propagation
- Only 0/32 async methods accept a CancellationToken, so in-flight work can't be stopped early when the caller gives up — whatever ends it in your host (shutdown signal, timeout, abandoned request, user cancel). Thread a token through the call chain and honour it at each await and loop; where a method genuinely cannot be interrupted, omitting it is a deliberate choice — judge against your hosting model.
- No CancellationToken parameter — this work can't be stopped early once started. (×32) — src/Acerola.Application/Commands/CloseAccount/CloseAccountUseCase.cs:21, src/Acerola.Application/Commands/Deposit/DepositUseCase.cs:22, src/Acerola.Application/Commands/Register/RegisterUseCase.cs:21, …
What to do
- Thread a CancellationToken through async methods so work stops promptly on cancellation.
X20 · Mistyped argument guard
X21 · Side-effecting pattern guard
X22 · Contradicted release guard
X23 · Unguarded diagnostic materialisation
X24 · Document value interpolated into markup unescaped
X25 · Inert configuration knob
X26 · Unsynchronised callback handoff
X27 · Collection changed while being enumerated
X28 · Index access outside its own emptiness guard
X29 · Per-element action decided by a fixed element
X3 · Exception handling
X30 · Support guard that admits what it rejects
X32 · Type resolved by simple name across every loaded assembly
X4 · Structured logging
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 72% | Strong | Solid. |
| Architecture | 84% | Strong | Solid. |
| Maturity | 51% | Adequate — gated by D34, M2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 27% | Weak — gated by D12, P1, P3 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 23% | Weak — gated by D30, C1, C2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Domain Modelling | 76% | Adequate — gated by DM2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Performance | 100% | Exemplary | Strongest area. |
Unscored — 1 check(s) recorded observations but carry no score
- SC1 Supply-chain hygiene — 1 observation(s) recorded · Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
Not evidenced — 4 control(s) we could not find positive evidence for
- C3 Audit Trail — Repo shows no audit-logging mechanism (IAuditable, an immutable audit log, an EF SaveChanges interceptor) for sensitive changes — absence of evidence is not evidence of a working control. Record an audit trail in code (or document where it lives) so this dimension can be scored.
- C4 Data Retention — Repo shows no data-retention / TTL / cleanup mechanism for personal data — absence of evidence is not evidence of a working control. Define retention periods and a purge/cleanup job (or TTL) in code, or document where retention is enforced, so this dimension can be scored.
- C5 Data-Subject Rights — Repo shows no corroborated data-subject-rights mechanism (erasure / export-portability / consent) tied to a subject id or GDPR vocabulary — absence of evidence is not evidence of a working control. Implement erasure, data export/portability and consent tracking over the subject's records.
- P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
Not included — 42 check(s) not relevant to this codebase
- AC1 Text alternatives — No web markup found — accessibility is not applicable to this repository.
- AC2 Forms & labels — No web markup found — accessibility is not applicable to this repository.
- AC3 Page structure — No web markup found — accessibility is not applicable to this repository.
- AC4 Keyboard semantics — No web markup found — accessibility is not applicable to this repository.
- AC5 ARIA correctness — No web markup found — accessibility is not applicable to this repository.
- AC6 Visual & motion safety — No web markup found — accessibility is not applicable to this repository.
- AC7 A11y enforcement — No web markup found — accessibility is not applicable to this repository.
- AX1 Captive dependencies — no DI registrations detected
- AX2 Stateful singletons — no singleton implementations detected
- AX7 Slice cohesion — not applicable — not a vertical-slice architecture
- AX9 CQS / query purity — no CQRS query handlers detected — query purity is not applicable to this codebase
- AXB2 Runtime readiness — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- AXR1 Runtime accessibility — compose up failed (exit 18 — an image could not be pulled) — kafka Pulling kafka Error Get "https://registry-1.docker.io/v2/": Forbidden Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the earlier `compose pull` step reported: kafka Pulling kafka Error Get "https://registry-1.docker.io/v2/": Forbidden Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the runtime sandbox reaches registries only through the in-fence pull-through mirror, so an image the mirror does not carry cannot be fetched — this is a limit of our sandbox, not of your stack; runtime evidence skipped This is a statement about this run, not a statement about your application: nothing here says the surface is inaccessible, only that it was never rendered.
- D11 Test Reliability — Test runner surfaced no tests
- D16 Bus Factor — single-maintainer repository — bus factor is not applicable
- D22 Internal API Consistency — No intentionally-exposed public API to evaluate for consistency.
- D23 Boundary Type-Coupling — small single-context codebase (2,812 production LoC in the .NET projects) — bounded contexts are not needed at this size No bounded-context organisation was detected either — neither a context-shaped layout, nor 2+ sibling source directories each declaring an aggregate root, nor 2+ projects each declaring an entity of their own. Aggregate roots were found in only one source directory (Acerola.Domain), 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"]`.
- D25 ADR Conformance — no ADRs to check
- D32 Data Compliance (PII/GDPR) — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that.
- D36 Supply-chain Provenance & Signing — No CI/build pipeline found (.github/.forgejo/.gitea workflows, .circleci, .buildkite, .woodpecker, .teamcity, .gitlab-ci.yml, .travis.yml, bitbucket-pipelines.yml, .drone.yml, .cirrus.yml, .woodpecker.yml, appveyor.yml, azure-pipelines*.yml, .pipelines/, .vsts-ci/, .azuredevops/, Jenkinsfile); there is no build to attest provenance for.
- D37 Vulnerability-disclosure Policy — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
- D40 Network Egress Confinement — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
- D41 Kernel & Syscall Confinement — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
- D42 Runtime Threat Enforcement — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
- D43 Malicious Dependencies — Not scored — no dependency manifest in a supported ecosystem was read for this repository. A gap in the analyzer's language coverage, NOT a finding that the repository is free of vulnerable dependencies (a Python pyproject.toml/requirements.txt (pip/uv/Poetry), a Swift Package.swift/Package.resolved, a Cargo manifest, a Go module (go.mod/go.sum), a Gradle version catalogue, a Maven POM, an sbt build (build.sbt), composer.json, package.json, a Dart pubspec.yaml, an Elixir mix.exs/mix.lock (Hex), a rebar.config / erlang.mk DEPS (Hex), a Ruby Gemfile/Gemfile.lock or .gemspec (Bundler/RubyGems) — not scanned yet).
- D7 Architectural Integrity — no checkable ADRs and no dependency cycles — architectural integrity not assessed
- D8 Code Coverage — Coverage NOT MEASURED: `--collect:"XPlat Code Coverage"` names a data collector that ships in the `coverlet.collector` package, and this repository wires up none — no test project references it and no runsettings declares one. The absence of coverage here is therefore not evidence about the suite or about our analyzer environment: without a collector, `--collect` produces nothing even from a suite that builds and passes. Add a `coverlet.collector` PackageReference to the test project(s) (or commit the Cobertura/OpenCover/lcov report your CI produces) and real coverage will be measured. It is excluded from the score rather than counted as a near-zero defect.
- DM3 Integration-event coupling — no integration events detected — coupling check not applicable
- 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
- P12 CI test-gate honesty — no CI workflow found
- P7 Outbound HTTP resilience — no outbound HTTP usage detected — no HttpClient/IHttpClientFactory/AddHttpClient in source, and no Refit/RestSharp/Flurl.Http namespace or package reference
- P8 Schema migrations — EF Core is used, but the schema-migration mechanism could not be identified — this check only recognises EF migrations, so any other migration runner reads as an absence. Our limit, not a verdict on this repository.
- P9 Domain vs controller coverage — no coverage report found on disk — produce a coverage report in a standard format (Cobertura — `dotnet test --collect:"XPlat Code Coverage"` with a `coverlet.collector` PackageReference) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures, or wire coverage collection into CI, to enable this cross-layer check
- PF1 Benchmark discipline — Performance is assessed only for perf-relevant repos — a packaged library, one that ships benchmarks, or one already using allocation-aware APIs. This repo isn't one, so the Performance lens is not applicable and is excluded from the score.
- PF2 Allocation hygiene — Performance is assessed only for perf-relevant repos — a packaged library, one that ships benchmarks, or one already using allocation-aware APIs. This repo isn't one, so the Performance lens is not applicable and is excluded from the score.
- X10 Duplicated predicate — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X5 Nullable reference types — no NRT-eligible projects
- X6 Hand-rolled structured-format parsing — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X7 Silent fallback defaults — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X9 Subsumed condition operand — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
Appendix A — Findings (grouped)
Critical — 36 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- NoWarnInCsproj REDACTED:10
- NoWarnInCsproj REDACTED:10
- NoWarnInCsproj REDACTED:10
- NoWarnInCsproj REDACTED:10
- NoWarnInCsproj REDACTED:10
- NoWarnInCsproj REDACTED:10
- NoWarnInCsproj REDACTED:10
- NoWarnInCsproj REDACTED:10
- NoWarnInCsproj REDACTED:10
- NoWarnInCsproj REDACTED:10
- Vulnerable: MongoDB.Driver
- Vulnerable: Microsoft.AspNetCore.All
- Vulnerable: Microsoft.NETCore.App
- REDACTED
- REDACTED
- REDACTED
Serious — 77 finding(s)
- Async method without CancellationToken: Execute src/Acerola.Application/Commands/CloseAccount/CloseAccountUseCase.cs:21
- Async method without CancellationToken: Execute src/Acerola.Application/Commands/Deposit/DepositUseCase.cs:22
- Async method without CancellationToken: Execute src/Acerola.Application/Commands/Register/RegisterUseCase.cs:21
- Async method without CancellationToken: Execute src/Acerola.Application/Commands/Withdraw/WithdrawUseCase.cs:22
- Async method without CancellationToken: GetCustomer src/Acerola.Infrastructure/DapperDataAccess/Queries/CustomersQueries.cs:23
- Async method without CancellationToken: GetAccount src/Acerola.Infrastructure/EntityFrameworkDataAccess/Queries/AccountsQueries.cs:21
- Async method without CancellationToken: GetCustomer src/Acerola.Infrastructure/EntityFrameworkDataAccess/Queries/CustomersQueries.cs:23
- Async method without CancellationToken: Add src/Acerola.Infrastructure/EntityFrameworkDataAccess/Repositories/AccountRepository.cs:21
- Async method without CancellationToken: Delete src/Acerola.Infrastructure/EntityFrameworkDataAccess/Repositories/AccountRepository.cs:42
- Async method without CancellationToken: Get src/Acerola.Infrastructure/EntityFrameworkDataAccess/Repositories/AccountRepository.cs:55
- Async method without CancellationToken: Update src/Acerola.Infrastructure/EntityFrameworkDataAccess/Repositories/AccountRepository.cs:108
- Async method without CancellationToken: Update src/Acerola.Infrastructure/EntityFrameworkDataAccess/Repositories/AccountRepository.cs:122
- Async method without CancellationToken: Add src/Acerola.Infrastructure/EntityFrameworkDataAccess/Repositories/CustomerRepository.cs:20
- Async method without CancellationToken: Get src/Acerola.Infrastructure/EntityFrameworkDataAccess/Repositories/CustomerRepository.cs:33
- Async method without CancellationToken: Update src/Acerola.Infrastructure/EntityFrameworkDataAccess/Repositories/CustomerRepository.cs:50
- Async method without CancellationToken: GetCustomer src/Acerola.Infrastructure/InMemoryDataAccess/Queries/CustomersQueries.cs:22
- Async method without CancellationToken: GetAccount src/Acerola.Infrastructure/MongoDataAccess/Queries/AccountsQueries.cs:21
- Async method without CancellationToken: GetCustomer src/Acerola.Infrastructure/MongoDataAccess/Queries/CustomersQueries.cs:22
- Async method without CancellationToken: Add src/Acerola.Infrastructure/MongoDataAccess/Repositories/AccountRepository.cs:20
- Async method without CancellationToken: Delete src/Acerola.Infrastructure/MongoDataAccess/Repositories/AccountRepository.cs:41
- Async method without CancellationToken: Get src/Acerola.Infrastructure/MongoDataAccess/Repositories/AccountRepository.cs:48
- Async method without CancellationToken: Update src/Acerola.Infrastructure/MongoDataAccess/Repositories/AccountRepository.cs:102
- Async method without CancellationToken: Update src/Acerola.Infrastructure/MongoDataAccess/Repositories/AccountRepository.cs:116
- Async method without CancellationToken: Get src/Acerola.Infrastructure/MongoDataAccess/Repositories/CustomerRepository.cs:19
- Async method without CancellationToken: Add src/Acerola.Infrastructure/MongoDataAccess/Repositories/CustomerRepository.cs:37
- No authorization
- No authorization src/Acerola.WebApi/UseCases/CloseAccount/AccountsController.cs:23
- No authorization src/Acerola.WebApi/UseCases/Deposit/AccountsController.cs:22
- No authorization src/Acerola.WebApi/UseCases/GetAccountDetails/AccountsController.cs:25
- No authorization src/Acerola.WebApi/UseCases/GetCustomerDetails/CustomersController.cs:25
- No authorization src/Acerola.WebApi/UseCases/Register/CustomersController.cs:23
- No authorization src/Acerola.WebApi/UseCases/Withdraw/AccountsController.cs:21
- Deprecated: Microsoft.AspNetCore.All REDACTED:17
- Deprecated: Microsoft.NETCore.App
- Deprecated: Serilog.Sinks.RollingFile REDACTED:23
- Deprecated: xunit REDACTED:11
- Deprecated: xunit test/Acerola.UseCases.Tests/Acerola.UseCases.Tests.csproj:12
- Deprecated: xunit REDACTED:27
- Deprecated: Microsoft.AspNetCore.TestHost REDACTED:30
- Dead code: AccountRepository src/Acerola.Infrastructure/DapperDataAccess/Repositories/AccountRepository.cs:13
- Dead code: AccountRepository src/Acerola.Infrastructure/EntityFrameworkDataAccess/Repositories/AccountRepository.cs:12
- Dead code: CustomerRepository src/Acerola.Infrastructure/EntityFrameworkDataAccess/Repositories/CustomerRepository.cs:11
- Dead code: AccountRepository src/Acerola.Infrastructure/InMemoryDataAccess/Repositories/AccountRepository.cs:9
- Dead code: CustomerRepository src/Acerola.Infrastructure/InMemoryDataAccess/Repositories/CustomerRepository.cs:9
- Dead code: AccountRepository src/Acerola.Infrastructure/MongoDataAccess/Repositories/AccountRepository.cs:11
- Dead code: CustomerRepository src/Acerola.Infrastructure/MongoDataAccess/Repositories/CustomerRepository.cs:10
- One operation mutates 2 aggregates: RegisterUseCase.Execute src/Acerola.Application/Commands/Register/RegisterUseCase.cs:21
- One operation mutates 2 aggregates: AccountRepository.Add src/Acerola.Infrastructure/DapperDataAccess/Repositories/AccountRepository.cs:22
- One operation mutates 2 aggregates: AccountRepository.Update src/Acerola.Infrastructure/DapperDataAccess/Repositories/AccountRepository.cs:114
- One operation mutates 2 aggregates: AccountRepository.Update src/Acerola.Infrastructure/DapperDataAccess/Repositories/AccountRepository.cs:131
- One operation mutates 2 aggregates: AccountRepository.Add src/Acerola.Infrastructure/EntityFrameworkDataAccess/Repositories/AccountRepository.cs:21
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- No data-protection/encryption
- Prerelease dependency: Microsoft.EntityFrameworkCore.SqlServer
- Edited copy of a member (48 corresponding lines) src/Acerola.Infrastructure/EntityFrameworkDataAccess/Queries/AccountsQueries.cs:22
- Edited copy of a member (29 corresponding lines) src/Acerola.Infrastructure/InMemoryDataAccess/Queries/AccountsQueries.cs:21
- Duplicated block (38 lines × 2) src/Acerola.Infrastructure/EntityFrameworkDataAccess/Repositories/AccountRepository.cs:69
- Duplicated block (35 lines × 3) src/Acerola.Infrastructure/EntityFrameworkDataAccess/Queries/AccountsQueries.cs:35
- Duplicated block (25 lines × 2) src/Acerola.Infrastructure/InMemoryDataAccess/Queries/AccountsQueries.cs:40
- Duplicated block (8 lines × 2) src/Acerola.Infrastructure/DapperDataAccess/Queries/AccountsQueries.cs:66
- Duplicated block (17 lines × 2) src/Acerola.WebApi/UseCases/Deposit/AccountsController.cs:25
- Duplicated block (14 lines × 2) src/Acerola.Infrastructure/DapperDataAccess/Queries/AccountsQueries.cs:38
- End-of-life runtime: .NET netcoreapp2.0 REDACTED:4
- Off the main sequence: Acerola.Domain src/Acerola.Domain/Acerola.Domain.csproj:1
- Coverage not measured — no coverage collector is wired up
- No CI pipeline
- NuGet dependencies are not locked
Minor — 35 finding(s)
- Outdated: Autofac REDACTED:14
- Outdated: Microsoft.EntityFrameworkCore.SqlServer REDACTED:20
- Outdated: Autofac.Configuration REDACTED:15
- Outdated: Autofac.Extensions.DependencyInjection REDACTED:16
- Outdated: Serilog.AspNetCore REDACTED:20
- Outdated: Serilog.Extensions.Logging REDACTED:19
- Outdated: Serilog.Sinks.Console REDACTED:21
- Outdated: Serilog.Sinks.File REDACTED:22
- Outdated: Swashbuckle.AspNetCore REDACTED:24
- Outdated: Microsoft.NET.Test.Sdk REDACTED:10
- Outdated: NSubstitute test/Acerola.UseCases.Tests/Acerola.UseCases.Tests.csproj:11
- Outdated: AutoMapper.Extensions.Microsoft.DependencyInjection REDACTED:31
- Outdated: Microsoft.AspNetCore.TestHost REDACTED:30
- Orphaned file src/Acerola.Infrastructure/DapperDataAccess/Repositories/AccountRepository.cs:1
- Orphaned file src/Acerola.Infrastructure/EntityFrameworkDataAccess/Repositories/AccountRepository.cs:1
- Orphaned file src/Acerola.Infrastructure/MongoDataAccess/Repositories/AccountRepository.cs:1
- Orphaned file src/Acerola.Infrastructure/DapperDataAccess/Repositories/CustomerRepository.cs:1
- Orphaned file src/Acerola.Infrastructure/DapperDataAccess/Queries/AccountsQueries.cs:1
- Orphaned file src/Acerola.WebApi/Startup.cs:1
- redundant comment src/Acerola.Infrastructure/DapperDataAccess/Module.cs:11
- redundant comment test/Acerola.Domain.Tests/AccountTests.cs:13
- README/code drift README.md:5
- README/code drift README.md:13
- No security response headers detected
- No security response headers detected src/Acerola.WebApi/Program.cs:20
- No app-layer HTTPS enforcement detected
- No app-layer HTTPS enforcement detected src/Acerola.WebApi/Program.cs:20
- No ADRs found
- Orphaned files with no living knowledge
- Primitive id on a domain type: Account.CustomerId src/Acerola.Domain/Accounts/Account.cs:10
- No ADRs
- No SAST
- No rollback/health safety
- No changelog
- Not all async methods take a CancellationToken
Minor — 11 finding(s)
- Outdated: Dapper
- Outdated: MongoDB.Driver
- Outdated: Microsoft.AspNetCore.All
- Outdated: Serilog
- Outdated: xunit
- Outdated: xunit.runner.visualstudio
- XML-doc coverage: Acerola.Application src/Acerola.Application/Acerola.Application.csproj
- XML-doc coverage: Acerola.Domain src/Acerola.Domain/Acerola.Domain.csproj
- XML-doc coverage: Acerola.Infrastructure REDACTED
- XML-doc coverage: Acerola.WebApi REDACTED
- Mock framework: NSubstitute
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-db4662a9d1db490cacf2f9022602279d/history.json --exit-code 0 --source . | 0 | artifacts/raw/gitleaks-history.json |
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-git --no-banner --config /opt/gitleaks-rules/watchdog-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-db4662a9d1db490cacf2f9022602279d/tree.json --exit-code 0 --source . | 0 | artifacts/raw/gitleaks-tree.json |
| D29 · Static Analysis (SAST) | semgrep | — | semgrep --config /opt/semgrep-rules/security-audit.yml --config /opt/semgrep-rules/owasp-top-ten.yml --config /opt/semgrep-rules/watchdog-sast.yml --json --quiet --timeout 10 --timeout-threshold 3 --metrics off . | 0 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | dotnet | — | dotnet list Hexagonal-Architecture-Acerola.sln package --vulnerable --include-transitive --format json | 26 | artifacts/raw/dotnet-vulnerable.json |
| D31 · IaC & Container Security | trivy | — | trivy config --format json --quiet . | 1 | artifacts/raw/trivy-config.json |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that. | 0 | — |
| D36 · Supply-chain Provenance & Signing | provenance | — | provenance: not applicable — No CI/build pipeline found (.github/.forgejo/.gitea workflows, .circleci, .buildkite, .woodpecker, .teamcity, .gitlab-ci.yml, .travis.yml, bitbucket-pipelines.yml, .drone.yml, .cirrus.yml, .woodpecker.yml, appveyor.yml, azure-pipelines*.yml, .pipelines/, .vsts-ci/, .azuredevops/, Jenkinsfile); there is no build to attest provenance for. | 0 | — |
| D37 · Vulnerability-disclosure Policy | disclosure | — | disclosure: not applicable — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed. | 0 | — |
| D40 · Network Egress Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here. | 0 | — |
| D41 · Kernel & Syscall Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here. | 0 | — |
| D42 · Runtime Threat Enforcement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here. | 0 | — |
| D43 · Malicious Dependencies | none (no readable dependency manifest) | — | none (no readable dependency manifest): not applicable — Not scored — no dependency manifest in a supported ecosystem was read for this repository. A gap in the analyzer's language coverage, NOT a finding that the repository is free of vulnerable dependencies (a Python pyproject.toml/requirements.txt (pip/uv/Poetry), a Swift Package.swift/Package.resolved, a Cargo manifest, a Go module (go.mod/go.sum), a Gradle version catalogue, a Maven POM, an sbt build (build.sbt), composer.json, package.json, a Dart pubspec.yaml, an Elixir mix.exs/mix.lock (Hex), a rebar.config / erlang.mk DEPS (Hex), a Ruby Gemfile/Gemfile.lock or .gemspec (Bundler/RubyGems) — not scanned yet). | 0 | — |
Appendix C — Personal-data map
Government ID (SSN / passport / tax) — 4 field(s)
- Customer.SSN src/Acerola.Domain/Customers/Customer.cs:11
- Customer.SSN src/Acerola.Infrastructure/DapperDataAccess/Entities/Customer.cs:9
- Customer.SSN src/Acerola.Infrastructure/EntityFrameworkDataAccess/Entities/Customer.cs:9
- Customer.SSN src/Acerola.Infrastructure/MongoDataAccess/Entities/Customer.cs:9