Executive summary
This system holds an adequate overall standing of 56%, indicating a workable asset that carries real operational risk. While the core domain logic is exceptionally well-defined, the lack of automated safeguards and operational maturity creates a fragile foundation for future growth. The value tied up here is modest, with a rebuild cost of approximately €3,200, suggesting that investment in stability yields high returns relative to the asset's size.
The primary risk lies in operational fragility. With production readiness scoring only 43%, the system lacks the automated checks and observability needed for safe, independent operation. This means every change carries a higher probability of introducing defects or outages, directly impacting delivery speed and reliability. Without automated testing pipelines, the team cannot confidently iterate, leading to slower feature delivery and increased manual effort to verify changes.
A second theme is knowledge decay. Maturity scores at 56%, reflecting gaps in documentation and the presence of orphaned files with no living knowledge. This creates a hidden cost in onboarding time and increases the risk of accidental breakage when new engineers join or existing staff take time off. The system is not yet resilient to team turnover, as critical context is not formally recorded or easily discoverable.
Genuinely good news is that the domain modeling is excellent at 97%, and security posture is strong at 84%. The code architecture is also solid at 82%, meaning the core logic is clean and maintainable. These strengths provide a stable base upon which to build operational rigor. The system is not insecure or poorly designed; it is simply not yet hardened for production-scale confidence.
Focus first on adding a CI workflow that builds and runs the test suite on every push. This single action addresses the highest-leverage risk by automating quality checks, reducing defect escape rates, and enabling faster, safer deployments. It is the prerequisite for all other improvements, as it provides the safety net needed to confidently address documentation and maturity gaps. Until this is in place, other efforts carry higher risk and lower immediate impact.
Raise Readiness 43 → 70 (the Healthy floor) ⇒ headline 56 → ~66.
New since the last scan (8+)
- D4 · Duplicated block (25–29 lines × 2) KalanMoney/KalanMoney.Persistence.CosmosDB/Repositories/AccountQueriesRepository.cs
- D4 · Duplicated block (8 lines × 2) KalanMoney/KalanMoney.Domain.UseCases/AddIncomeTransaction/AddIncomeTransaction.cs
- D8 · Coverage not measured — no coverage collector is wired up
- D44 · End-of-life runtime: .NET net6.0
- X20 · Argument guard throws the exception its own condition disproves KalanMoney/KalanMoney.Domain.Entities/ValueObjects/Category.cs
- X20 · Argument guard throws the exception its own condition disproves KalanMoney/KalanMoney.Domain.Entities/ValueObjects/Description.cs
- DM12 · Domain type reads the wall clock: DateRangeFilter KalanMoney/KalanMoney.Domain.UseCases/Repositories/Models/DateRangeFilter.cs
- DM12 · Domain type reads the wall clock: TimeStamp KalanMoney/KalanMoney.Domain.Entities/ValueObjects/TimeStamp.cs
Rebuild cost & value ~ Modeled — €1,100–€5,300
| Cost to rebuild | €1,100–€5,300 |
|---|---|
| Domain complexity | Standard |
| Quality factor | 0.8× (at 56% quality) |
| Size & shape | Hobby · 46% boilerplate · 34% straight-line · 19% branching logic |
Top priorities
Diagnosis — what's actually going on
Architecture — module dependency graph
Architecture — module dependency matrix
| depends on → | 1 API.Functions | 2 API.Functions.Commons | 3 Domain.Entities.Exceptions | 4 Domain.Entities.ValueObjects | 5 Domain.UseCases.Common.Exceptions | 6 Domain.UseCases.Common.Models | 7 Domain.Entities | 8 Domain.UseCases.Repositories.Models | 9 Domain.UseCases.Repositories | 10 Persistence.CosmosDB.DTOs | 11 Persistence.MemoryDatabase.DTOs | 12 Domain.UseCases.AddIncomeTransaction | 13 Domain.UseCases.AddOutcomeTransaction | 14 Domain.UseCases.GetAccountDashboard | 15 Domain.UseCases.GetCategoriesByAccount | 16 Domain.UseCases.GetMonthlyTransactions | 17 Domain.UseCases.OpenAccount | 18 Persistence.CosmosDB.Repositories | 19 Persistence.MemoryDatabase | 20 Startup | 21 API.Functions.AccountDashboard | 22 API.Functions.AddIncomeTransaction | 23 API.Functions.AddOutcomeTransaction | 24 API.Functions.GetCategoriesByAccount | 25 API.Functions.GetMonthlyTransactions | 26 Domain.UseCases.Adapters | 27 API.Functions.OpenAccount |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 API.Functions | |||||||||||||||||||||||||||
| 2 API.Functions.Commons | |||||||||||||||||||||||||||
| 3 Domain.Entities.Exceptions | |||||||||||||||||||||||||||
| 4 Domain.Entities.ValueObjects | |||||||||||||||||||||||||||
| 5 Domain.UseCases.Common.Exceptions | |||||||||||||||||||||||||||
| 6 Domain.UseCases.Common.Models | |||||||||||||||||||||||||||
| 7 Domain.Entities | 7 | ||||||||||||||||||||||||||
| 8 Domain.UseCases.Repositories.Models | 1 | ||||||||||||||||||||||||||
| 9 Domain.UseCases.Repositories | 2 | 4 | 2 | ||||||||||||||||||||||||
| 10 Persistence.CosmosDB.DTOs | 1 | ||||||||||||||||||||||||||
| 11 Persistence.MemoryDatabase.DTOs | 2 | ||||||||||||||||||||||||||
| 12 Domain.UseCases.AddIncomeTransaction | 3 | 2 | |||||||||||||||||||||||||
| 13 Domain.UseCases.AddOutcomeTransaction | 3 | 2 | |||||||||||||||||||||||||
| 14 Domain.UseCases.GetAccountDashboard | 2 | 2 | 1 | ||||||||||||||||||||||||
| 15 Domain.UseCases.GetCategoriesByAccount | 1 | 1 | |||||||||||||||||||||||||
| 16 Domain.UseCases.GetMonthlyTransactions | 1 | 1 | |||||||||||||||||||||||||
| 17 Domain.UseCases.OpenAccount | 1 | 1 | |||||||||||||||||||||||||
| 18 Persistence.CosmosDB.Repositories | 2 | 4 | 2 | 2 | |||||||||||||||||||||||
| 19 Persistence.MemoryDatabase | 2 | 2 | 2 | 2 | 2 | ||||||||||||||||||||||
| 20 Startup | 2 | ||||||||||||||||||||||||||
| 21 API.Functions.AccountDashboard | 1 | 1 | 3 | ||||||||||||||||||||||||
| 22 API.Functions.AddIncomeTransaction | 1 | 1 | 2 | ||||||||||||||||||||||||
| 23 API.Functions.AddOutcomeTransaction | 1 | 1 | 2 | ||||||||||||||||||||||||
| 24 API.Functions.GetCategoriesByAccount | 1 | 1 | 2 | ||||||||||||||||||||||||
| 25 API.Functions.GetMonthlyTransactions | 1 | 1 | 1 | 2 | |||||||||||||||||||||||
| 26 Domain.UseCases.Adapters | 2 | ||||||||||||||||||||||||||
| 27 API.Functions.OpenAccount | 1 | 2 | 1 |
7→4 Domain.Entities depends on Domain.Entities.ValueObjects✕
- Type pairs
- 7 distinct (type in Domain.Entities → type in Domain.Entities.ValueObjects) references.
- Which types
KalanMoney.Domain.Entities.FinancialAccount→KalanMoney.Domain.Entities.ValueObjects.AccountNameKalanMoney.Domain.Entities.FinancialAccount→KalanMoney.Domain.Entities.ValueObjects.BalanceKalanMoney.Domain.Entities.FinancialAccount→KalanMoney.Domain.Entities.ValueObjects.OwnerKalanMoney.Domain.Entities.FinancialAccount→KalanMoney.Domain.Entities.ValueObjects.TimeStampKalanMoney.Domain.Entities.Transaction→KalanMoney.Domain.Entities.ValueObjects.CategoryKalanMoney.Domain.Entities.Transaction→KalanMoney.Domain.Entities.ValueObjects.DescriptionKalanMoney.Domain.Entities.Transaction→KalanMoney.Domain.Entities.ValueObjects.TimeStamp
- Direction
- Domain.Entities uses Domain.Entities.ValueObjects. Changing Domain.Entities.ValueObjects can break Domain.Entities, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
8→4 Domain.UseCases.Repositories.Models depends on Domain.Entities.ValueObjects✕
- Type pairs
- 1 distinct (type in Domain.UseCases.Repositories.Models → type in Domain.Entities.ValueObjects) reference.
- Which types
KalanMoney.Domain.UseCases.Repositories.Models.GetTransactionsFilters→KalanMoney.Domain.Entities.ValueObjects.Category
- Direction
- Domain.UseCases.Repositories.Models uses Domain.Entities.ValueObjects. Changing Domain.Entities.ValueObjects can break Domain.UseCases.Repositories.Models, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
9→4 Domain.UseCases.Repositories depends on Domain.Entities.ValueObjects✕
- Type pairs
- 2 distinct (type in Domain.UseCases.Repositories → type in Domain.Entities.ValueObjects) references.
- Which types
KalanMoney.Domain.UseCases.Repositories.IAccountCommandsRepository→KalanMoney.Domain.Entities.ValueObjects.BalanceKalanMoney.Domain.UseCases.Repositories.IAccountQueriesRepository→KalanMoney.Domain.Entities.ValueObjects.Category
- Direction
- Domain.UseCases.Repositories uses Domain.Entities.ValueObjects. Changing Domain.Entities.ValueObjects can break Domain.UseCases.Repositories, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
9→7 Domain.UseCases.Repositories depends on Domain.Entities✕
- Type pairs
- 4 distinct (type in Domain.UseCases.Repositories → type in Domain.Entities) references.
- Which types
KalanMoney.Domain.UseCases.Repositories.IAccountCommandsRepository→KalanMoney.Domain.Entities.FinancialAccountKalanMoney.Domain.UseCases.Repositories.IAccountCommandsRepository→KalanMoney.Domain.Entities.TransactionKalanMoney.Domain.UseCases.Repositories.IAccountQueriesRepository→KalanMoney.Domain.Entities.FinancialAccountKalanMoney.Domain.UseCases.Repositories.IAccountQueriesRepository→KalanMoney.Domain.Entities.Transaction
- Direction
- Domain.UseCases.Repositories uses Domain.Entities. Changing Domain.Entities can break Domain.UseCases.Repositories, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
9→8 Domain.UseCases.Repositories depends on Domain.UseCases.Repositories.Models✕
- Type pairs
- 2 distinct (type in Domain.UseCases.Repositories → type in Domain.UseCases.Repositories.Models) references.
- Which types
KalanMoney.Domain.UseCases.Repositories.IAccountQueriesRepository→KalanMoney.Domain.UseCases.Repositories.Models.DateRangeFilterKalanMoney.Domain.UseCases.Repositories.IAccountQueriesRepository→KalanMoney.Domain.UseCases.Repositories.Models.GetTransactionsFilters
- Direction
- Domain.UseCases.Repositories uses Domain.UseCases.Repositories.Models. Changing Domain.UseCases.Repositories.Models can break Domain.UseCases.Repositories, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
10→7 Persistence.CosmosDB.DTOs depends on Domain.Entities✕
- Type pairs
- 1 distinct (type in Persistence.CosmosDB.DTOs → type in Domain.Entities) reference.
- Which types
KalanMoney.Persistence.CosmosDB.DTOs.FinancialAccountDto→KalanMoney.Domain.Entities.FinancialAccount
- Direction
- Persistence.CosmosDB.DTOs uses Domain.Entities. Changing Domain.Entities can break Persistence.CosmosDB.DTOs, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
11→7 Persistence.MemoryDatabase.DTOs depends on Domain.Entities✕
- Type pairs
- 2 distinct (type in Persistence.MemoryDatabase.DTOs → type in Domain.Entities) references.
- Which types
KalanMoney.Persistence.MemoryDatabase.DTOs.FinancialAccountModel→KalanMoney.Domain.Entities.FinancialAccountKalanMoney.Persistence.MemoryDatabase.DTOs.FinancialAccountModel→KalanMoney.Domain.Entities.Transaction
- Direction
- Persistence.MemoryDatabase.DTOs uses Domain.Entities. Changing Domain.Entities can break Persistence.MemoryDatabase.DTOs, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
12→6 Domain.UseCases.AddIncomeTransaction depends on Domain.UseCases.Common.Models✕
- Type pairs
- 3 distinct (type in Domain.UseCases.AddIncomeTransaction → type in Domain.UseCases.Common.Models) references.
- Which types
KalanMoney.Domain.UseCases.AddIncomeTransaction.AddIncomeTransaction→KalanMoney.Domain.UseCases.Common.Models.AddTransactionRequestKalanMoney.Domain.UseCases.AddIncomeTransaction.IAddIncomeTransactionInput→KalanMoney.Domain.UseCases.Common.Models.AddTransactionRequestKalanMoney.Domain.UseCases.AddIncomeTransaction.IAddIncomeTransactionOutput→KalanMoney.Domain.UseCases.Common.Models.AddTransactionResponse
- Direction
- Domain.UseCases.AddIncomeTransaction uses Domain.UseCases.Common.Models. Changing Domain.UseCases.Common.Models can break Domain.UseCases.AddIncomeTransaction, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
12→9 Domain.UseCases.AddIncomeTransaction depends on Domain.UseCases.Repositories✕
- Type pairs
- 2 distinct (type in Domain.UseCases.AddIncomeTransaction → type in Domain.UseCases.Repositories) references.
- Which types
KalanMoney.Domain.UseCases.AddIncomeTransaction.AddIncomeTransaction→KalanMoney.Domain.UseCases.Repositories.IAccountCommandsRepositoryKalanMoney.Domain.UseCases.AddIncomeTransaction.AddIncomeTransaction→KalanMoney.Domain.UseCases.Repositories.IAccountQueriesRepository
- Direction
- Domain.UseCases.AddIncomeTransaction uses Domain.UseCases.Repositories. Changing Domain.UseCases.Repositories can break Domain.UseCases.AddIncomeTransaction, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
13→6 Domain.UseCases.AddOutcomeTransaction depends on Domain.UseCases.Common.Models✕
- Type pairs
- 3 distinct (type in Domain.UseCases.AddOutcomeTransaction → type in Domain.UseCases.Common.Models) references.
- Which types
KalanMoney.Domain.UseCases.AddOutcomeTransaction.AddOutcomeTransaction→KalanMoney.Domain.UseCases.Common.Models.AddTransactionRequestKalanMoney.Domain.UseCases.AddOutcomeTransaction.IAddOutcomeTransactionInput→KalanMoney.Domain.UseCases.Common.Models.AddTransactionRequestKalanMoney.Domain.UseCases.AddOutcomeTransaction.IAddOutcomeTransactionOutput→KalanMoney.Domain.UseCases.Common.Models.AddTransactionResponse
- Direction
- Domain.UseCases.AddOutcomeTransaction uses Domain.UseCases.Common.Models. Changing Domain.UseCases.Common.Models can break Domain.UseCases.AddOutcomeTransaction, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
13→9 Domain.UseCases.AddOutcomeTransaction depends on Domain.UseCases.Repositories✕
- Type pairs
- 2 distinct (type in Domain.UseCases.AddOutcomeTransaction → type in Domain.UseCases.Repositories) references.
- Which types
KalanMoney.Domain.UseCases.AddOutcomeTransaction.AddOutcomeTransaction→KalanMoney.Domain.UseCases.Repositories.IAccountCommandsRepositoryKalanMoney.Domain.UseCases.AddOutcomeTransaction.AddOutcomeTransaction→KalanMoney.Domain.UseCases.Repositories.IAccountQueriesRepository
- Direction
- Domain.UseCases.AddOutcomeTransaction uses Domain.UseCases.Repositories. Changing Domain.UseCases.Repositories can break Domain.UseCases.AddOutcomeTransaction, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
14→4 Domain.UseCases.GetAccountDashboard depends on Domain.Entities.ValueObjects✕
- Type pairs
- 2 distinct (type in Domain.UseCases.GetAccountDashboard → type in Domain.Entities.ValueObjects) references.
- Which types
KalanMoney.Domain.UseCases.GetAccountDashboard.AccountDashboardResponse→KalanMoney.Domain.Entities.ValueObjects.AccountNameKalanMoney.Domain.UseCases.GetAccountDashboard.AccountDashboardResponse→KalanMoney.Domain.Entities.ValueObjects.Balance
- Direction
- Domain.UseCases.GetAccountDashboard uses Domain.Entities.ValueObjects. Changing Domain.Entities.ValueObjects can break Domain.UseCases.GetAccountDashboard, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
14→7 Domain.UseCases.GetAccountDashboard depends on Domain.Entities✕
- Type pairs
- 2 distinct (type in Domain.UseCases.GetAccountDashboard → type in Domain.Entities) references.
- Which types
KalanMoney.Domain.UseCases.GetAccountDashboard.AccountDashboardResponse→KalanMoney.Domain.Entities.TransactionKalanMoney.Domain.UseCases.GetAccountDashboard.CategoriesBalances→KalanMoney.Domain.Entities.TransactionCollection
- Direction
- Domain.UseCases.GetAccountDashboard uses Domain.Entities. Changing Domain.Entities can break Domain.UseCases.GetAccountDashboard, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
14→9 Domain.UseCases.GetAccountDashboard depends on Domain.UseCases.Repositories✕
- Type pairs
- 1 distinct (type in Domain.UseCases.GetAccountDashboard → type in Domain.UseCases.Repositories) reference.
- Which types
KalanMoney.Domain.UseCases.GetAccountDashboard.GetAccountDashboard→KalanMoney.Domain.UseCases.Repositories.IAccountQueriesRepository
- Direction
- Domain.UseCases.GetAccountDashboard uses Domain.UseCases.Repositories. Changing Domain.UseCases.Repositories can break Domain.UseCases.GetAccountDashboard, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
15→4 Domain.UseCases.GetCategoriesByAccount depends on Domain.Entities.ValueObjects✕
- Type pairs
- 1 distinct (type in Domain.UseCases.GetCategoriesByAccount → type in Domain.Entities.ValueObjects) reference.
- Which types
KalanMoney.Domain.UseCases.GetCategoriesByAccount.IGetCategoriesByAccountOutput→KalanMoney.Domain.Entities.ValueObjects.Category
- Direction
- Domain.UseCases.GetCategoriesByAccount uses Domain.Entities.ValueObjects. Changing Domain.Entities.ValueObjects can break Domain.UseCases.GetCategoriesByAccount, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
15→9 Domain.UseCases.GetCategoriesByAccount depends on Domain.UseCases.Repositories✕
- Type pairs
- 1 distinct (type in Domain.UseCases.GetCategoriesByAccount → type in Domain.UseCases.Repositories) reference.
- Which types
KalanMoney.Domain.UseCases.GetCategoriesByAccount.GetCategoriesByAccount→KalanMoney.Domain.UseCases.Repositories.IAccountQueriesRepository
- Direction
- Domain.UseCases.GetCategoriesByAccount uses Domain.UseCases.Repositories. Changing Domain.UseCases.Repositories can break Domain.UseCases.GetCategoriesByAccount, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
16→7 Domain.UseCases.GetMonthlyTransactions depends on Domain.Entities✕
- Type pairs
- 1 distinct (type in Domain.UseCases.GetMonthlyTransactions → type in Domain.Entities) reference.
- Which types
KalanMoney.Domain.UseCases.GetMonthlyTransactions.IGetMonthlyTransactionsOutput→KalanMoney.Domain.Entities.Transaction
- Direction
- Domain.UseCases.GetMonthlyTransactions uses Domain.Entities. Changing Domain.Entities can break Domain.UseCases.GetMonthlyTransactions, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
16→9 Domain.UseCases.GetMonthlyTransactions depends on Domain.UseCases.Repositories✕
- Type pairs
- 1 distinct (type in Domain.UseCases.GetMonthlyTransactions → type in Domain.UseCases.Repositories) reference.
- Which types
KalanMoney.Domain.UseCases.GetMonthlyTransactions.GetMonthlyTransactions→KalanMoney.Domain.UseCases.Repositories.IAccountQueriesRepository
- Direction
- Domain.UseCases.GetMonthlyTransactions uses Domain.UseCases.Repositories. Changing Domain.UseCases.Repositories can break Domain.UseCases.GetMonthlyTransactions, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
17→9 Domain.UseCases.OpenAccount depends on Domain.UseCases.Repositories✕
- Type pairs
- 1 distinct (type in Domain.UseCases.OpenAccount → type in Domain.UseCases.Repositories) reference.
- Which types
KalanMoney.Domain.UseCases.OpenAccount.OpenAccount→KalanMoney.Domain.UseCases.Repositories.IAccountCommandsRepository
- Direction
- Domain.UseCases.OpenAccount uses Domain.UseCases.Repositories. Changing Domain.UseCases.Repositories can break Domain.UseCases.OpenAccount, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
17→26 Domain.UseCases.OpenAccount depends on Domain.UseCases.Adapters cycle✕
- Type pairs
- 1 distinct (type in Domain.UseCases.OpenAccount → type in Domain.UseCases.Adapters) reference.
- Which types
KalanMoney.Domain.UseCases.OpenAccount.OpenAccount→KalanMoney.Domain.UseCases.Adapters.IOpenAccountInput
- Direction
- Domain.UseCases.OpenAccount uses Domain.UseCases.Adapters. Changing Domain.UseCases.Adapters can break Domain.UseCases.OpenAccount, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
18→4 Persistence.CosmosDB.Repositories depends on Domain.Entities.ValueObjects✕
- Type pairs
- 2 distinct (type in Persistence.CosmosDB.Repositories → type in Domain.Entities.ValueObjects) references.
- Which types
KalanMoney.Persistence.CosmosDB.Repositories.AccountCommandsRepository→KalanMoney.Domain.Entities.ValueObjects.BalanceKalanMoney.Persistence.CosmosDB.Repositories.AccountQueriesRepository→KalanMoney.Domain.Entities.ValueObjects.Category
- Direction
- Persistence.CosmosDB.Repositories uses Domain.Entities.ValueObjects. Changing Domain.Entities.ValueObjects can break Persistence.CosmosDB.Repositories, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
18→7 Persistence.CosmosDB.Repositories depends on Domain.Entities✕
- Type pairs
- 4 distinct (type in Persistence.CosmosDB.Repositories → type in Domain.Entities) references.
- Which types
KalanMoney.Persistence.CosmosDB.Repositories.AccountCommandsRepository→KalanMoney.Domain.Entities.FinancialAccountKalanMoney.Persistence.CosmosDB.Repositories.AccountCommandsRepository→KalanMoney.Domain.Entities.TransactionKalanMoney.Persistence.CosmosDB.Repositories.AccountQueriesRepository→KalanMoney.Domain.Entities.FinancialAccountKalanMoney.Persistence.CosmosDB.Repositories.AccountQueriesRepository→KalanMoney.Domain.Entities.Transaction
- Direction
- Persistence.CosmosDB.Repositories uses Domain.Entities. Changing Domain.Entities can break Persistence.CosmosDB.Repositories, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
18→8 Persistence.CosmosDB.Repositories depends on Domain.UseCases.Repositories.Models✕
- Type pairs
- 2 distinct (type in Persistence.CosmosDB.Repositories → type in Domain.UseCases.Repositories.Models) references.
- Which types
KalanMoney.Persistence.CosmosDB.Repositories.AccountQueriesRepository→KalanMoney.Domain.UseCases.Repositories.Models.DateRangeFilterKalanMoney.Persistence.CosmosDB.Repositories.AccountQueriesRepository→KalanMoney.Domain.UseCases.Repositories.Models.GetTransactionsFilters
- Direction
- Persistence.CosmosDB.Repositories uses Domain.UseCases.Repositories.Models. Changing Domain.UseCases.Repositories.Models can break Persistence.CosmosDB.Repositories, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
18→9 Persistence.CosmosDB.Repositories depends on Domain.UseCases.Repositories✕
- Type pairs
- 2 distinct (type in Persistence.CosmosDB.Repositories → type in Domain.UseCases.Repositories) references.
- Which types
KalanMoney.Persistence.CosmosDB.Repositories.AccountCommandsRepository→KalanMoney.Domain.UseCases.Repositories.IAccountCommandsRepositoryKalanMoney.Persistence.CosmosDB.Repositories.AccountQueriesRepository→KalanMoney.Domain.UseCases.Repositories.IAccountQueriesRepository
- Direction
- Persistence.CosmosDB.Repositories uses Domain.UseCases.Repositories. Changing Domain.UseCases.Repositories can break Persistence.CosmosDB.Repositories, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
19→4 Persistence.MemoryDatabase depends on Domain.Entities.ValueObjects✕
- Type pairs
- 2 distinct (type in Persistence.MemoryDatabase → type in Domain.Entities.ValueObjects) references.
- Which types
KalanMoney.Persistence.MemoryDatabase.AccountsMemoryRepository→KalanMoney.Domain.Entities.ValueObjects.BalanceKalanMoney.Persistence.MemoryDatabase.AccountsMemoryRepository→KalanMoney.Domain.Entities.ValueObjects.Category
- Direction
- Persistence.MemoryDatabase uses Domain.Entities.ValueObjects. Changing Domain.Entities.ValueObjects can break Persistence.MemoryDatabase, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
19→7 Persistence.MemoryDatabase depends on Domain.Entities✕
- Type pairs
- 2 distinct (type in Persistence.MemoryDatabase → type in Domain.Entities) references.
- Which types
KalanMoney.Persistence.MemoryDatabase.AccountsMemoryRepository→KalanMoney.Domain.Entities.FinancialAccountKalanMoney.Persistence.MemoryDatabase.AccountsMemoryRepository→KalanMoney.Domain.Entities.Transaction
- Direction
- Persistence.MemoryDatabase uses Domain.Entities. Changing Domain.Entities can break Persistence.MemoryDatabase, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
19→8 Persistence.MemoryDatabase depends on Domain.UseCases.Repositories.Models✕
- Type pairs
- 2 distinct (type in Persistence.MemoryDatabase → type in Domain.UseCases.Repositories.Models) references.
- Which types
KalanMoney.Persistence.MemoryDatabase.AccountsMemoryRepository→KalanMoney.Domain.UseCases.Repositories.Models.DateRangeFilterKalanMoney.Persistence.MemoryDatabase.AccountsMemoryRepository→KalanMoney.Domain.UseCases.Repositories.Models.GetTransactionsFilters
- Direction
- Persistence.MemoryDatabase uses Domain.UseCases.Repositories.Models. Changing Domain.UseCases.Repositories.Models can break Persistence.MemoryDatabase, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
19→9 Persistence.MemoryDatabase depends on Domain.UseCases.Repositories✕
- Type pairs
- 2 distinct (type in Persistence.MemoryDatabase → type in Domain.UseCases.Repositories) references.
- Which types
KalanMoney.Persistence.MemoryDatabase.AccountsMemoryRepository→KalanMoney.Domain.UseCases.Repositories.IAccountCommandsRepositoryKalanMoney.Persistence.MemoryDatabase.AccountsMemoryRepository→KalanMoney.Domain.UseCases.Repositories.IAccountQueriesRepository
- Direction
- Persistence.MemoryDatabase uses Domain.UseCases.Repositories. Changing Domain.UseCases.Repositories can break Persistence.MemoryDatabase, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
19→11 Persistence.MemoryDatabase depends on Persistence.MemoryDatabase.DTOs✕
- Type pairs
- 2 distinct (type in Persistence.MemoryDatabase → type in Persistence.MemoryDatabase.DTOs) references.
- Which types
KalanMoney.Persistence.MemoryDatabase.AccountsMemoryRepository→KalanMoney.Persistence.MemoryDatabase.DTOs.FinancialAccountModelKalanMoney.Persistence.MemoryDatabase.MemoryDb→KalanMoney.Persistence.MemoryDatabase.DTOs.FinancialAccountModel
- Direction
- Persistence.MemoryDatabase uses Persistence.MemoryDatabase.DTOs. Changing Persistence.MemoryDatabase.DTOs can break Persistence.MemoryDatabase, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
20→9 Startup depends on Domain.UseCases.Repositories✕
- Type pairs
- 2 distinct (type in Startup → type in Domain.UseCases.Repositories) references.
- Which types
KalanMoney.Startup.AccountUseCaseServiceRegistration→KalanMoney.Domain.UseCases.Repositories.IAccountCommandsRepositoryKalanMoney.Startup.AccountUseCaseServiceRegistration→KalanMoney.Domain.UseCases.Repositories.IAccountQueriesRepository
- Direction
- Startup uses Domain.UseCases.Repositories. Changing Domain.UseCases.Repositories can break Startup, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→1 API.Functions.AccountDashboard depends on API.Functions✕
- Type pairs
- 1 distinct (type in API.Functions.AccountDashboard → type in API.Functions) reference.
- Which types
KalanMoney.API.Functions.AccountDashboard.AccountDashboardFunction→KalanMoney.API.Functions.BaseRequestFunction
- Direction
- API.Functions.AccountDashboard uses API.Functions. Changing API.Functions can break API.Functions.AccountDashboard, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→2 API.Functions.AccountDashboard depends on API.Functions.Commons✕
- Type pairs
- 1 distinct (type in API.Functions.AccountDashboard → type in API.Functions.Commons) reference.
- Which types
KalanMoney.API.Functions.AccountDashboard.AccountDashboardPresenter→KalanMoney.API.Functions.Commons.TransactionResponse
- Direction
- API.Functions.AccountDashboard uses API.Functions.Commons. Changing API.Functions.Commons can break API.Functions.AccountDashboard, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→14 API.Functions.AccountDashboard depends on Domain.UseCases.GetAccountDashboard✕
- Type pairs
- 3 distinct (type in API.Functions.AccountDashboard → type in Domain.UseCases.GetAccountDashboard) references.
- Which types
KalanMoney.API.Functions.AccountDashboard.AccountDashboardFunction→KalanMoney.Domain.UseCases.GetAccountDashboard.IAccountDashboardInputKalanMoney.API.Functions.AccountDashboard.AccountDashboardPresenter→KalanMoney.Domain.UseCases.GetAccountDashboard.AccountDashboardResponseKalanMoney.API.Functions.AccountDashboard.AccountDashboardPresenter→KalanMoney.Domain.UseCases.GetAccountDashboard.IAccountDashboardOutput
- Direction
- API.Functions.AccountDashboard uses Domain.UseCases.GetAccountDashboard. Changing Domain.UseCases.GetAccountDashboard can break API.Functions.AccountDashboard, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
22→1 API.Functions.AddIncomeTransaction depends on API.Functions✕
- Type pairs
- 1 distinct (type in API.Functions.AddIncomeTransaction → type in API.Functions) reference.
- Which types
KalanMoney.API.Functions.AddIncomeTransaction.AddIncomeTransactionRequestFunction→KalanMoney.API.Functions.BaseRequestFunction
- Direction
- API.Functions.AddIncomeTransaction uses API.Functions. Changing API.Functions can break API.Functions.AddIncomeTransaction, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
22→6 API.Functions.AddIncomeTransaction depends on Domain.UseCases.Common.Models✕
- Type pairs
- 1 distinct (type in API.Functions.AddIncomeTransaction → type in Domain.UseCases.Common.Models) reference.
- Which types
KalanMoney.API.Functions.AddIncomeTransaction.AddIncomeTransactionPresenter→KalanMoney.Domain.UseCases.Common.Models.AddTransactionResponse
- Direction
- API.Functions.AddIncomeTransaction uses Domain.UseCases.Common.Models. Changing Domain.UseCases.Common.Models can break API.Functions.AddIncomeTransaction, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
22→12 API.Functions.AddIncomeTransaction depends on Domain.UseCases.AddIncomeTransaction✕
- Type pairs
- 2 distinct (type in API.Functions.AddIncomeTransaction → type in Domain.UseCases.AddIncomeTransaction) references.
- Which types
KalanMoney.API.Functions.AddIncomeTransaction.AddIncomeTransactionPresenter→KalanMoney.Domain.UseCases.AddIncomeTransaction.IAddIncomeTransactionOutputKalanMoney.API.Functions.AddIncomeTransaction.AddIncomeTransactionRequestFunction→KalanMoney.Domain.UseCases.AddIncomeTransaction.IAddIncomeTransactionInput
- Direction
- API.Functions.AddIncomeTransaction uses Domain.UseCases.AddIncomeTransaction. Changing Domain.UseCases.AddIncomeTransaction can break API.Functions.AddIncomeTransaction, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
23→1 API.Functions.AddOutcomeTransaction depends on API.Functions✕
- Type pairs
- 1 distinct (type in API.Functions.AddOutcomeTransaction → type in API.Functions) reference.
- Which types
KalanMoney.API.Functions.AddOutcomeTransaction.AddOutcomeTransactionRequestFunction→KalanMoney.API.Functions.BaseRequestFunction
- Direction
- API.Functions.AddOutcomeTransaction uses API.Functions. Changing API.Functions can break API.Functions.AddOutcomeTransaction, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
23→6 API.Functions.AddOutcomeTransaction depends on Domain.UseCases.Common.Models✕
- Type pairs
- 1 distinct (type in API.Functions.AddOutcomeTransaction → type in Domain.UseCases.Common.Models) reference.
- Which types
KalanMoney.API.Functions.AddOutcomeTransaction.AddOutcomeTransactionPresenter→KalanMoney.Domain.UseCases.Common.Models.AddTransactionResponse
- Direction
- API.Functions.AddOutcomeTransaction uses Domain.UseCases.Common.Models. Changing Domain.UseCases.Common.Models can break API.Functions.AddOutcomeTransaction, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
23→13 API.Functions.AddOutcomeTransaction depends on Domain.UseCases.AddOutcomeTransaction✕
- Type pairs
- 2 distinct (type in API.Functions.AddOutcomeTransaction → type in Domain.UseCases.AddOutcomeTransaction) references.
- Which types
KalanMoney.API.Functions.AddOutcomeTransaction.AddOutcomeTransactionPresenter→KalanMoney.Domain.UseCases.AddOutcomeTransaction.IAddOutcomeTransactionOutputKalanMoney.API.Functions.AddOutcomeTransaction.AddOutcomeTransactionRequestFunction→KalanMoney.Domain.UseCases.AddOutcomeTransaction.IAddOutcomeTransactionInput
- Direction
- API.Functions.AddOutcomeTransaction uses Domain.UseCases.AddOutcomeTransaction. Changing Domain.UseCases.AddOutcomeTransaction can break API.Functions.AddOutcomeTransaction, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→1 API.Functions.GetCategoriesByAccount depends on API.Functions✕
- Type pairs
- 1 distinct (type in API.Functions.GetCategoriesByAccount → type in API.Functions) reference.
- Which types
KalanMoney.API.Functions.GetCategoriesByAccount.GetCategoriesFunction→KalanMoney.API.Functions.BaseRequestFunction
- Direction
- API.Functions.GetCategoriesByAccount uses API.Functions. Changing API.Functions can break API.Functions.GetCategoriesByAccount, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→4 API.Functions.GetCategoriesByAccount depends on Domain.Entities.ValueObjects✕
- Type pairs
- 1 distinct (type in API.Functions.GetCategoriesByAccount → type in Domain.Entities.ValueObjects) reference.
- Which types
KalanMoney.API.Functions.GetCategoriesByAccount.GetCategoriesPresenter→KalanMoney.Domain.Entities.ValueObjects.Category
- Direction
- API.Functions.GetCategoriesByAccount uses Domain.Entities.ValueObjects. Changing Domain.Entities.ValueObjects can break API.Functions.GetCategoriesByAccount, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→15 API.Functions.GetCategoriesByAccount depends on Domain.UseCases.GetCategoriesByAccount✕
- Type pairs
- 2 distinct (type in API.Functions.GetCategoriesByAccount → type in Domain.UseCases.GetCategoriesByAccount) references.
- Which types
KalanMoney.API.Functions.GetCategoriesByAccount.GetCategoriesFunction→KalanMoney.Domain.UseCases.GetCategoriesByAccount.IGetCategoriesByAccountInputKalanMoney.API.Functions.GetCategoriesByAccount.GetCategoriesPresenter→KalanMoney.Domain.UseCases.GetCategoriesByAccount.IGetCategoriesByAccountOutput
- Direction
- API.Functions.GetCategoriesByAccount uses Domain.UseCases.GetCategoriesByAccount. Changing Domain.UseCases.GetCategoriesByAccount can break API.Functions.GetCategoriesByAccount, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→1 API.Functions.GetMonthlyTransactions depends on API.Functions✕
- Type pairs
- 1 distinct (type in API.Functions.GetMonthlyTransactions → type in API.Functions) reference.
- Which types
KalanMoney.API.Functions.GetMonthlyTransactions.GetMonthlyTransactionsFunction→KalanMoney.API.Functions.BaseRequestFunction
- Direction
- API.Functions.GetMonthlyTransactions uses API.Functions. Changing API.Functions can break API.Functions.GetMonthlyTransactions, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→2 API.Functions.GetMonthlyTransactions depends on API.Functions.Commons✕
- Type pairs
- 1 distinct (type in API.Functions.GetMonthlyTransactions → type in API.Functions.Commons) reference.
- Which types
KalanMoney.API.Functions.GetMonthlyTransactions.GetMonthlyTransactionsPresenter→KalanMoney.API.Functions.Commons.TransactionResponse
- Direction
- API.Functions.GetMonthlyTransactions uses API.Functions.Commons. Changing API.Functions.Commons can break API.Functions.GetMonthlyTransactions, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→7 API.Functions.GetMonthlyTransactions depends on Domain.Entities✕
- Type pairs
- 1 distinct (type in API.Functions.GetMonthlyTransactions → type in Domain.Entities) reference.
- Which types
KalanMoney.API.Functions.GetMonthlyTransactions.GetMonthlyTransactionsPresenter→KalanMoney.Domain.Entities.Transaction
- Direction
- API.Functions.GetMonthlyTransactions uses Domain.Entities. Changing Domain.Entities can break API.Functions.GetMonthlyTransactions, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→16 API.Functions.GetMonthlyTransactions depends on Domain.UseCases.GetMonthlyTransactions✕
- Type pairs
- 2 distinct (type in API.Functions.GetMonthlyTransactions → type in Domain.UseCases.GetMonthlyTransactions) references.
- Which types
KalanMoney.API.Functions.GetMonthlyTransactions.GetMonthlyTransactionsFunction→KalanMoney.Domain.UseCases.GetMonthlyTransactions.IGetMonthlyTransactionsInputKalanMoney.API.Functions.GetMonthlyTransactions.GetMonthlyTransactionsPresenter→KalanMoney.Domain.UseCases.GetMonthlyTransactions.IGetMonthlyTransactionsOutput
- Direction
- API.Functions.GetMonthlyTransactions uses Domain.UseCases.GetMonthlyTransactions. Changing Domain.UseCases.GetMonthlyTransactions can break API.Functions.GetMonthlyTransactions, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→17 Domain.UseCases.Adapters depends on Domain.UseCases.OpenAccount✕
- Type pairs
- 2 distinct (type in Domain.UseCases.Adapters → type in Domain.UseCases.OpenAccount) references.
- Which types
KalanMoney.Domain.UseCases.Adapters.IOpenAccountInput→KalanMoney.Domain.UseCases.OpenAccount.CreateAccountRequestKalanMoney.Domain.UseCases.Adapters.IOpenAccountInput→KalanMoney.Domain.UseCases.OpenAccount.IOpenAccountOutput
- Direction
- Domain.UseCases.Adapters uses Domain.UseCases.OpenAccount. Changing Domain.UseCases.OpenAccount can break Domain.UseCases.Adapters, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→1 API.Functions.OpenAccount depends on API.Functions✕
- Type pairs
- 1 distinct (type in API.Functions.OpenAccount → type in API.Functions) reference.
- Which types
KalanMoney.API.Functions.OpenAccount.OpenAccountRequestFunction→KalanMoney.API.Functions.BaseRequestFunction
- Direction
- API.Functions.OpenAccount uses API.Functions. Changing API.Functions can break API.Functions.OpenAccount, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→17 API.Functions.OpenAccount depends on Domain.UseCases.OpenAccount✕
- Type pairs
- 2 distinct (type in API.Functions.OpenAccount → type in Domain.UseCases.OpenAccount) references.
- Which types
KalanMoney.API.Functions.OpenAccount.OpenAccountPresenter→KalanMoney.Domain.UseCases.OpenAccount.IOpenAccountOutputKalanMoney.API.Functions.OpenAccount.OpenAccountPresenter→KalanMoney.Domain.UseCases.OpenAccount.OpenAccountResponse
- Direction
- API.Functions.OpenAccount uses Domain.UseCases.OpenAccount. Changing Domain.UseCases.OpenAccount can break API.Functions.OpenAccount, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→26 API.Functions.OpenAccount depends on Domain.UseCases.Adapters✕
- Type pairs
- 1 distinct (type in API.Functions.OpenAccount → type in Domain.UseCases.Adapters) reference.
- Which types
KalanMoney.API.Functions.OpenAccount.OpenAccountRequestFunction→KalanMoney.Domain.UseCases.Adapters.IOpenAccountInput
- Direction
- API.Functions.OpenAccount uses Domain.UseCases.Adapters. Changing Domain.UseCases.Adapters can break API.Functions.OpenAccount, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
At a glance — Code Health
At a glance — Architecture
At a glance — Maturity
At a glance — Readiness
At a glance — Security
At a glance — Domain Modelling
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A06:2021 — Vulnerable & Outdated Components | 8 | High / Critical |
Roadmap
Establish a CI workflow to build and test on every push to ensure immediate feedback on code changes. Resolve orphaned files to maintain knowledge freshness and create architecture decision records to document significant design choices and their consequences. Finally, update the README with a quick-start guide for new contributors and organize test files into the standard folder structure expected by the build system.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Add a CI workflow that builds and runs the test suite on every push/PR. | +12.2 pts | Medium | CI/CD gates |
| Resolve the 1 Orphaned files with no living knowledge finding(s) in Knowledge Freshness. | +6.1 pts | Low | Knowledge Freshness |
| Resolve the 4 Low XML-doc coverage finding(s) in Documentation Quality — start with KalanMoney.Domain.Entities.csproj, KalanMoney.Domain.UseCases.csproj, KalanMoney.Persistence.MemoryDatabase.csproj. | +3.4 pts | Low | Documentation Quality |
| Record significant decisions one document per decision — dated, stating the context, the decision and its consequences — and keep them together wherever your design docs already live (a conventional `docs/adr/` tree, with each file named `NNNN-title` in whatever markup those docs already use, is the most discoverable form). | +6.1 pts | Medium | Architecture documentation |
| Add a build/run (quick start) section to the root README — the first thing a newcomer needs. | +5.6 pts | Medium | Documentation (README) |
| Group tests in the folder your build system expects (tests/, test/, spec/, or your module's test source set) so the test surface is discoverable and CI can scope it. | +4.5 pts | Medium | Folder & project structure |
| Resolve the 2 Documentation finding(s) in Documentation Quality — start with README.md (2). | +1.7 pts | Low | Documentation Quality |
| Sync-over-async (deadlock risk) | +2.3 pts | Medium | Async correctness |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| KalanMoney/KalanMoney.API.Functions.Tests/AccountDashboardTests/AccountDashboardFunctionTest.cs | 8.2 | Near-clean | Explicit Debt: BareSuppressMessage |
| KalanMoney/KalanMoney.Domain.UseCases.Tests/GetCategoriesByAccountTests/GetCategoriesByAccountUseCaseTest.cs | 8.2 | Near-clean | Explicit Debt: TodoComment |
| KalanMoney/KalanMoney.API.Functions.Tests/AddIncomeTransactionTests/AddIncomeTransactionFunctionTest.cs | 8.2 | Near-clean | Explicit Debt: Dead code: CreateHttpRequestWithoutNoBody |
| KalanMoney/KalanMoney.Persistence.CosmosDB/Repositories/AccountQueriesRepository.cs | 8.5 | Near-clean | Code Duplication: Duplicated block (25–29 lines × 2) |
| KalanMoney/KalanMoney.Domain.UseCases/AddIncomeTransaction/AddIncomeTransaction.cs | 8.5 | Near-clean | Code Duplication: Duplicated block (8 lines × 2) |
| KalanMoney/KalanMoney.Domain.Entities/KalanMoney.Domain.Entities.csproj | 8.5 | Near-clean | Documentation Quality: Low XML-doc coverage: KalanMoney.Domain.Entities |
| KalanMoney/KalanMoney.Domain.UseCases/KalanMoney.Domain.UseCases.csproj | 8.5 | Near-clean | Documentation Quality: Low XML-doc coverage: KalanMoney.Domain.UseCases |
| KalanMoney/KalanMoney.Persistence.MemoryDatabase/KalanMoney.Persistence.MemoryDatabase.csproj | 8.5 | Near-clean | Documentation Quality: Low XML-doc coverage: KalanMoney.Persistence.MemoryDatabase |
| KalanMoney/KalanMoney.Persistence.CosmosDB/KalanMoney.Persistence.CosmosDB.csproj | 8.5 | Near-clean | Documentation Quality: Low XML-doc coverage: KalanMoney.Persistence.CosmosDB |
| README.md | 9.3 | Near-clean | Documentation Quality: Documentation: no installation or build instructions |
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. 61 of 65 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 — 65 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, 23 of 53 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line.
- Is there a tool behind the number? Every score below names the method that produced it — Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled · advisory — not a narrative.
- Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.
Tools & methods
| Method | Backs | Version | Evaluator |
|---|---|---|---|
| Roslyn static analysis | Complexity, cohesion, coupling, dead code, API surface, layering | 5.3.0 | ✓ deterministic |
| Native secret scanner | Hardcoded secrets / credentials | 1.0.0 | ✓ deterministic |
| Watchdog duplication detector (in-process) | Code duplication | 1.0.0 | ✓ deterministic |
| Coverage (coverlet / dotnet-coverage) | Line & branch coverage | 10.0.400 | ✓ deterministic |
| NuGet / dotnet | Outdated, vulnerable & deprecated dependencies | 10.0.400 | ✓ deterministic |
| git / LibGit2Sharp | Churn hotspots, knowledge concentration, history | 2.43.0 · 0.31.0 | ✓ deterministic |
| gitleaks · semgrep · trivy | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 | ✓ deterministic |
| LLM (sampled · advisory) | Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurement | Local LLM | ◐ LLM · sampled · advisory |
Run transparency — what happened this run
- 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 81 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-contributor repository — bus factor is not applicable (1 contributor(s) across 109 commit(s) sampled, automation and bot accounts excluded). Concentration needs a team to concentrate: with one contributor there is nobody to spread the knowledge to, so there is nothing here for the owner to act on.
- D22 Internal API Consistency — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. 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.
- D23 Boundary Type-Coupling — 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. At 942 LoC across 10 projects this is a large multi-module codebase that clearly needs explicit bounded contexts. Bounded contexts cannot be inferred from a codebase that is not physically organised by them (D-321), so with none declared there are no boundaries for the coupling pass to measure across. You can widen what we reach: name this codebase's bounded contexts (≥2 module groups, e.g. per subsystem) so cross-boundary type coupling can 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"]`.
- D39 IL Efficiency — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. IL NOT MEASURED: the analyzer's own build of this repository failed for an ENVIRONMENT reason (exit 1) — MSBuild's engine or the CLR gave up, or our image does not carry the SDK band/targeting pack this repository needs. This is OUR limitation, not a defect in the repo, and it is not a statement that this repository fails to build. D18 owns the question of whether this repository builds; it was not answered here.
- P5 DR & Backup — 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. No backup/snapshot/replication config, RTO/RPO or restore-procedure documentation was found — and no production persistence was detected either (no data-access packages, no data-store services, no database resources), so there is nothing in this repository whose loss a DR control would recover. If this system's data lives in a platform or ops repo we can't see, that's where the DR evidence belongs.
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.
- 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.
- D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension — code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
- D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
- D43 Malicious Dependencies: Only packages some vulnerability database has already NAMED as malicious are seen — a compromise published in the last hours, or never reported at all, is invisible here, and this dimension reading 10 is not evidence that a dependency is trustworthy. There is no typosquat or dependency-confusion analysis: a package nobody has reported is simply absent from the feeds. Coverage is the dependency scan's: an ecosystem that could not be scanned is disclosed as unmeasured, never as clean.
- D44 Platform End-of-Life: The support table is FROZEN, so it goes out of date by losing RECALL: a release that ended support after the table was written is missed until the table is refreshed, and this dimension reading 10 is not evidence that a platform is current. Only platforms the repository DECLARES in a place this pass reads are seen — a runtime named only in a 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.
- M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present — it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.
The LLM boundary
Dimensions
D1 · Cyclomatic Complexity
0 method(s) exceeded the cyclomatic complexity threshold of 15.
D2 · Cognitive Complexity
0 method(s) exceeded the cognitive complexity threshold of 15.
D3 · God Classes
0 god class(es) detected.
D4 · Code Duplication
2 duplicated block group(s) detected.
What to do
- Resolve the 1 Duplicated block (25–29 lines × 2) finding(s) in Code Duplication — start with AccountQueriesRepository.cs. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Duplicated block (8 lines × 2) finding(s) in Code Duplication — start with AddIncomeTransaction.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
10 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. — 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 7 classes have LCOM4 above 3.
D9 · Test Distribution
81 test methods: 81 unit, 0 integration, 0 BDD, 0 e2e.
D10 · Test Quality
0 skipped, 0 zero-assertion, 2 mock references across 81 tests.
D12 · Dependency Hygiene
0 outdated, 0 vulnerable, 0 deprecated packages.
D13 · Secret Scanning
Secret scan ran and found no leaked secrets.
D14 · License Compliance
0 of 239 packages use a banned license. ★ DEPTH: this repository's MSBuild projects declare 11 direct `PackageReference`(s), and 221 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
2 deducted debt markers + 1 dead symbols across 942 LoC in the .NET projects (0.3/KLoC) → score 9.4.
What to do
- Resolve the 1 BareSuppressMessage finding(s) in Explicit Debt — start with AccountDashboardFunctionTest.cs. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 TodoComment finding(s) in Explicit Debt — start with GetCategoriesByAccountUseCaseTest.cs. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Dead code finding(s) in Explicit Debt — start with AddIncomeTransactionFunctionTest.cs. — One of this dimension's main actionable groups (1 warning-level).
- Stand up a CI pipeline, then gate Explicit Debt in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D18 · Solution Shape
10 projects, 103 source files, 3200 hand-written lines of code (942 production / 2258 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), 29 inter-project edges.
D19 · Documentation Quality
This single README is a quirky personal finance project named 'Kalan My Money' with an AULEX-inspired Maya name. It describes the system's architecture (Clean Architecture, TDD rules), and links to a front end application branch, but it lacks any installation/build instructions, real usage examples, or contribution guidance. The document ends in mid-sentence ('im wor') before clipping; its outline is visible and all named sections exist, so those are not flagged as missing. It reads like an internal design doc rather than documentation for a non-insider audience.
What to do
- Resolve the 4 Low XML-doc coverage finding(s) in Documentation Quality — start with KalanMoney.Domain.Entities.csproj, KalanMoney.Domain.UseCases.csproj, KalanMoney.Persistence.MemoryDatabase.csproj. — One of this dimension's main actionable groups (4 warning-level).
- Resolve the 2 Documentation finding(s) in Documentation Quality — start with README.md (2). — One of this dimension's main actionable groups (2 recommendation-level).
D21 · Naming Consistency
9 naming inconsistencies across 200 sampled symbols.
What to do
- Resolve the 1 Spelling errors in test method names finding(s) in Naming Consistency. — One of this dimension's main actionable groups (1 recommendation-level).
- Resolve the 1 Inconsistent article usage in test names finding(s) in Naming Consistency. — One of this dimension's main actionable groups (1 recommendation-level).
- Resolve the 1 Inconsistent phrasing in test names finding(s) in Naming Consistency. — One of this dimension's main actionable groups (1 recommendation-level).
D24 · Comment Value
24 valuable / 0 redundant across 161 sampled comments.
D26 · Project Cohesion
0 of 10 projects flagged as possibly oversized/incoherent.
D27 · Navigability
91 % of calls cross a namespace and 8 % 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
8 finding(s): 0 critical, 6 high, 2 medium, 0 low.
What to do
- Resolve the 6 High CVE finding(s) in Dependency Vulnerabilities. — One of this dimension's main actionable groups (6 issue-level).
- Resolve the 2 Medium CVE finding(s) in Dependency Vulnerabilities. — One of this dimension's main actionable groups (2 warning-level).
D34 · Knowledge Freshness
4 of 4 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is KalanMoney/KalanMoney.Persistence.CosmosDB/Repositories/AccountQueriesRepository.cs. Counted over 4 of the 73 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 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.
D43 · Malicious Dependencies
No dependency in any ecosystem this repository declares is published as malicious.
D44 · Platform End-of-Life
1 end-of-life runtime(s) and 0 end-of-life framework(s), read from 10 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 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. — 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
- `KalanMoney.Startup` (production) references the test project `KalanMoney.Domain.UseCases.Tests`. Production must never depend on test code — it pulls a unit-test framework and test fixtures into the shipped product and inverts the only correct direction (tests depend on production, never the reverse). Move any shared helper into a production support library, or invert the reference.
What to do
- Remove every production → test project reference: extract any shared test helper into a production support library (which the tests reference), or invert the dependency so the test project depends on production — not the reverse.
DM12 · Ambient inputs in the domain
- `DateRangeFilter` reads `DateTime.UtcNow` inside `CreateMonthRangeFromUtcNow`. The rule this feeds is not a function of its inputs: it cannot be tested at the instant that matters without moving the machine clock, and two reads inside one operation can observe different times. Pass the instant in as a parameter, or inject `TimeProvider`. — KalanMoney/KalanMoney.Domain.UseCases/Repositories/Models/DateRangeFilter.cs:5
- `TimeStamp` reads `DateTimeOffset.UtcNow` inside `CreateNow`. The rule this feeds is not a function of its inputs: it cannot be tested at the instant that matters without moving the machine clock, and two reads inside one operation can observe different times. Pass the instant in as a parameter, or inject `TimeProvider`. — KalanMoney/KalanMoney.Domain.Entities/ValueObjects/TimeStamp.cs:13
What to do
- Pass the instant into the domain method that needs it, or inject `TimeProvider` (BCL, .NET 8+) and read it there — then a test can choose the moment a rule is evaluated at.
GD1 · Unfinished & placeholder code
- A shipped member still throws NotImplementedException — generated scaffolding that was never completed. Implement it or remove the dead surface. — KalanMoney/KalanMoney.Persistence.MemoryDatabase/AccountsMemoryRepository.cs:70
What to do
- Finish or delete NotImplementedException stubs and replace placeholder literals before shipping.
IC1 · Incompleteness & stubs
- `GetCategoriesByAccount` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. — KalanMoney/KalanMoney.Persistence.MemoryDatabase/AccountsMemoryRepository.cs:70
What to do
- Finish or delete the unfinished stubs (NotImplementedException / empty / constant-returning bodies) — they are dead surface that looks live.
M1 · Documentation (README)
What to do
- Add a build/run (quick start) section to the root README — the first thing a newcomer needs.
- Add an 'Architecture' / 'How it works' section to the root README — the high-level shape.
- Add a README to the 10 of 10 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 significant decisions one document per decision — dated, stating the context, the decision and its consequences — and keep them together wherever your design docs already live (a conventional `docs/adr/` tree, with each file named `NNNN-title` in whatever markup those docs already use, is the most discoverable form).
M3 · Folder & project structure
- Tests aren't grouped in a dedicated test folder — the test surface isn't separable from production code at a glance.
What to do
- Group tests in the folder your build system expects (tests/, test/, spec/, or your module's test source set) so the test surface is discoverable and CI can scope it.
M4 · Documentation accuracy
P1 · CI/CD gates
- No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, …) — changes aren't gated by an automated build/test.
What to do
- Add a CI workflow that builds and runs the test suite on every push/PR.
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.
X1 · Async correctness
- Blocking on a Task with `.Wait()`/`.GetAwaiter().GetResult()` can deadlock (and wastes a thread). Prefer awaiting it: make the caller `async` and `await` instead. Where a synchronous entry point must stay — a public sync API you cannot break, or a process entry point that must not return until the work finishes — the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process. (×6) — KalanMoney/KalanMoney.Persistence.CosmosDB/Repositories/AccountCommandsRepository.cs:29, KalanMoney/KalanMoney.Persistence.CosmosDB/Repositories/AccountCommandsRepository.cs:43, KalanMoney/KalanMoney.Persistence.CosmosDB/Repositories/AccountQueriesRepository.cs:41, …
What to do
- Sync-over-async (deadlock risk)
X12 · Unreachable branch
X13 · Undrained process stream
X14 · Bypassable address classification
X15 · Unvalidated length from an untrusted reader
X16 · Unfloored truncation loop
X17 · Uncapped recursion over a caller-supplied document
X18 · Disposal-pattern correctness
X19 · Unrestored process-global state
X20 · Mistyped argument guard
- The guard on line 14 rejects `category` and line 14 reports that rejection as `ArgumentNullException` — but the condition's own test `string.IsNullOrEmpty(category)` is true of a value that is NOT null: it is satisfied by an EMPTY `category`, and on that path `category` was already proven non-null by the very expression that decided it (`||` short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching `ArgumentNullException` to handle a real null swallows the empty case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose — `ArgumentNullException.ThrowIfNull` and `ArgumentException.ThrowIfNullOrEmpty` are two helpers because they are two failures. Throw `ArgumentException` for the empty case, or split the guard and throw each on its own condition. — KalanMoney/KalanMoney.Domain.Entities/ValueObjects/Category.cs:14
- The guard on line 17 rejects `description` and line 18 reports that rejection as `ArgumentNullException` — but the condition's own test `string.IsNullOrEmpty(description)` is true of a value that is NOT null: it is satisfied by an EMPTY `description`, and on that path `description` was already proven non-null by the very expression that decided it (`||` short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching `ArgumentNullException` to handle a real null swallows the empty case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose — `ArgumentNullException.ThrowIfNull` and `ArgumentException.ThrowIfNullOrEmpty` are two helpers because they are two failures. Throw `ArgumentException` for the empty case, or split the guard and throw each on its own condition. — KalanMoney/KalanMoney.Domain.Entities/ValueObjects/Description.cs:18
What to do
- Each finding names the throw and the test in its own condition that is true of a NON-null value. Confirm from the two, then throw the exception that describes what was actually wrong: `ArgumentException` for a value that arrived empty, or the .NET 8 helpers that spell the whole guard in one line and pick the type for you — `ArgumentException.ThrowIfNullOrEmpty(s)` / `ThrowIfNullOrWhiteSpace(s)` for strings, `ArgumentNullException.ThrowIfNull(x)` followed by `ArgumentOutOfRangeException.ThrowIfZero(x.Count)` for a collection. Splitting the two conditions is usually clearer than picking one exception for both: they are different failures and the caller may want to handle them differently.
X21 · Side-effecting pattern guard
X22 · Contradicted release guard
X23 · Unguarded diagnostic materialisation
X24 · Document value interpolated into markup unescaped
X25 · Inert configuration knob
X26 · Unsynchronised callback handoff
X27 · Collection changed while being enumerated
X28 · Index access outside its own emptiness guard
X29 · Per-element action decided by a fixed element
X3 · Exception handling
X30 · Support guard that admits what it rejects
X32 · Type resolved by simple name across every loaded assembly
X4 · Structured logging
X5 · Nullable reference types
- ~0.4 `!` suppressions per 1k syntax nodes — 2 suppression(s) across the 5210 syntax node(s) in code where nullable warnings are ENABLED, which is the only code a `!` can suppress anything in (a `!` under `#nullable disable` is inert and is not counted, and its file's nodes are not in the denominator). Each one tells the compiler to trust you about null, suppressing the very safety NRTs provide.
What to do
- Enable <Nullable>enable</Nullable> across all projects and resolve warnings rather than suppressing with `!`.
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 71% | Adequate — gated by X1 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Architecture | 82% | Strong | Solid. |
| Maturity | 56% | Adequate — gated by D34, M2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 43% | Weak — gated by P1, P3 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 84% | Strong | Solid. |
| Domain Modelling | 97% | 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 — 3 control(s) we could not find positive evidence for
- P4 Deployment & Rollback — not evidenced — no deploy/rollback/approval signal in the repo; absence of evidence is not evidence of a manual release
- P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
- P6 Release Hygiene — not evidenced — no changelog, version stamp or semver release tag in the repo
Not included — 51 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.
- C1 Data Protection — No personal data detected in the analyzed source — no PII-typed entity/column names (Email, FirstName, DateOfBirth, …), no ASP.NET Identity / user-account model, and no stored user credentials. GDPR data-protection controls are therefore N/A here. If this is intentional, record the no-PII posture in an ADR; if the app does process personal data, name those fields conventionally so this dimension activates.
- C2 Access Controls — No access-control surface detected in the analyzed source — no web/app surface to authorize (no HTTP API or web-UI project) and no authorization code at all (no [Authorize]/policies, no imperative guard methods). Access control is therefore N/A here — this is a library/CLI, which is authorized by its CALLER, not by itself. If this codebase grows request handlers, the dimension reactivates and a default-deny posture is expected then.
- C3 Audit Trail — No personal data detected in the analyzed source — no PII-typed entity/column names (Email, FirstName, DateOfBirth, …), no ASP.NET Identity / user-account model, and no stored user credentials. GDPR data-protection controls are therefore N/A here. If this is intentional, record the no-PII posture in an ADR; if the app does process personal data, name those fields conventionally so this dimension activates.
- C4 Data Retention — No personal data detected in the analyzed source — no PII-typed entity/column names (Email, FirstName, DateOfBirth, …), no ASP.NET Identity / user-account model, and no stored user credentials. GDPR data-protection controls are therefore N/A here. If this is intentional, record the no-PII posture in an ADR; if the app does process personal data, name those fields conventionally so this dimension activates.
- C5 Data-Subject Rights — No personal data detected in the analyzed source — no PII-typed entity/column names (Email, FirstName, DateOfBirth, …), no ASP.NET Identity / user-account model, and no stored user credentials. GDPR data-protection controls are therefore N/A here. If this is intentional, record the no-PII posture in an ADR; if the app does process personal data, name those fields conventionally so this dimension activates.
- D11 Test Reliability — Test runner surfaced no tests
- D16 Bus Factor — single-contributor repository — bus factor is not applicable
- D20 ADR Quality — N/A — ADRs are expected on deployable products with a user-facing host, not consumed libraries; no ADR log is required here.
- D22 Internal API Consistency — No intentionally-exposed public API to evaluate for consistency.
- D23 Boundary Type-Coupling — Cross-context type coupling could not be assessed — this codebase's bounded contexts are neither declared nor inferable.
- D25 ADR Conformance — no ADRs to check
- D31 IaC & Container Security — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan.
- D32 Data Compliance (PII/GDPR) — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that.
- D36 Supply-chain Provenance & Signing — No CI/build pipeline found (.github/.forgejo/.gitea workflows, .circleci, .buildkite, .woodpecker, .teamcity, .gitlab-ci.yml, .travis.yml, bitbucket-pipelines.yml, .drone.yml, .cirrus.yml, .woodpecker.yml, appveyor.yml, azure-pipelines*.yml, .pipelines/, .vsts-ci/, .azuredevops/, Jenkinsfile); there is no build to attest provenance for.
- D37 Vulnerability-disclosure Policy — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
- D39 IL Efficiency — IL not measured — the analyzer's build of the target did not succeed
- D40 Network Egress Confinement — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
- D41 Kernel & Syscall Confinement — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
- D42 Runtime Threat Enforcement — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
- 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.
- DM1 Domain Modelling — applicable but not scored (2 of 3 signals for this style — below the bar we score at): 17 value object(s); a Domain/Aggregates/ValueObjects layer
- 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
- P2 Observability — This repo is a library, not a deployed service — it has no process to operate, so production observability (structured logging, tracing/metrics, health checks) is N/A. A library may log via an injected ILogger, but the absence of operational telemetry is not a defect here. If it grows a host (web API, worker), the dimension reactivates.
- P7 Outbound HTTP resilience — not applicable — this isn't a service/API/worker
- P8 Schema migrations — no EF Core usage detected
- 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.
- PF3 Async & latency 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.
- S1 Web-Security Posture — No web surface detected in the analyzed source — no HTTP API or web-UI project (no controllers/minimal-API endpoints, no Razor/Blazor views) and no web middleware (HTTPS redirection, HSTS, security headers, cookies). Transport security, security headers, secure cookies, CSRF/input-validation and middleware-order controls are therefore N/A here — this is a library/CLI/worker, not a web app. Crypto hygiene was still checked and found nothing to flag. If this codebase becomes web-facing, the dimension reactivates automatically.
- X10 Duplicated predicate — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X2 Cancellation propagation — no async methods found
- 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 — 7 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Production project references a test project: KalanMoney.Startup → KalanMoney.Domain.UseCases.Tests
Serious — 28 finding(s)
- Sync-over-async (deadlock risk) KalanMoney/KalanMoney.Persistence.CosmosDB/Repositories/AccountCommandsRepository.cs:29
- Sync-over-async (deadlock risk) KalanMoney/KalanMoney.Persistence.CosmosDB/Repositories/AccountCommandsRepository.cs:43
- Sync-over-async (deadlock risk) KalanMoney/KalanMoney.Persistence.CosmosDB/Repositories/AccountQueriesRepository.cs:41
- Sync-over-async (deadlock risk) KalanMoney/KalanMoney.Persistence.CosmosDB/Repositories/AccountQueriesRepository.cs:72
- Sync-over-async (deadlock risk) KalanMoney/KalanMoney.Persistence.CosmosDB/Repositories/AccountQueriesRepository.cs:111
- Sync-over-async (deadlock risk) KalanMoney/KalanMoney.Persistence.CosmosDB/Repositories/AccountQueriesRepository.cs:153
- Low XML-doc coverage: KalanMoney.Domain.Entities KalanMoney/KalanMoney.Domain.Entities/KalanMoney.Domain.Entities.csproj
- Low XML-doc coverage: KalanMoney.Domain.UseCases KalanMoney/KalanMoney.Domain.UseCases/KalanMoney.Domain.UseCases.csproj
- Low XML-doc coverage: KalanMoney.Persistence.MemoryDatabase KalanMoney/KalanMoney.Persistence.MemoryDatabase/KalanMoney.Persistence.MemoryDatabase.csproj
- Low XML-doc coverage: KalanMoney.Persistence.CosmosDB KalanMoney/KalanMoney.Persistence.CosmosDB/KalanMoney.Persistence.CosmosDB.csproj
- REDACTED
- REDACTED
- Domain type reads the wall clock: DateRangeFilter KalanMoney/KalanMoney.Domain.UseCases/Repositories/Models/DateRangeFilter.cs:5
- Domain type reads the wall clock: TimeStamp KalanMoney/KalanMoney.Domain.Entities/ValueObjects/TimeStamp.cs:13
- Argument guard throws the exception its own condition disproves KalanMoney/KalanMoney.Domain.Entities/ValueObjects/Category.cs:14
- Argument guard throws the exception its own condition disproves KalanMoney/KalanMoney.Domain.Entities/ValueObjects/Description.cs:18
- BareSuppressMessage KalanMoney/KalanMoney.API.Functions.Tests/AccountDashboardTests/AccountDashboardFunctionTest.cs:52
- TodoComment KalanMoney/KalanMoney.Domain.UseCases.Tests/GetCategoriesByAccountTests/GetCategoriesByAccountUseCaseTest.cs:156
- Dead code: CreateHttpRequestWithoutNoBody KalanMoney/KalanMoney.API.Functions.Tests/AddIncomeTransactionTests/AddIncomeTransactionFunctionTest.cs:84
- Duplicated block (25–29 lines × 2) KalanMoney/KalanMoney.Persistence.CosmosDB/Repositories/AccountQueriesRepository.cs:25
- Duplicated block (8 lines × 2) KalanMoney/KalanMoney.Domain.UseCases/AddIncomeTransaction/AddIncomeTransaction.cs:31
- End-of-life runtime: .NET net6.0
- Off the main sequence: KalanMoney.Domain.Entities
- Coverage not measured — no coverage collector is wired up
- Unfinished stub — throws NotImplementedException KalanMoney/KalanMoney.Persistence.MemoryDatabase/AccountsMemoryRepository.cs:70
- Unfinished stub — throws NotImplementedException KalanMoney/KalanMoney.Persistence.MemoryDatabase/AccountsMemoryRepository.cs:70
- No CI pipeline
- NuGet dependencies are not locked
Minor — 16 finding(s)
- Documentation: no installation or build instructions README.md
- Documentation: no usage examples README.md
- Spelling errors in test method names: 'moth' instead of 'month' and 'to' instead of 'too'.
- Inconsistent article usage in test names: 'a_income' vs 'a_new_outcome'. 'a_income' is grammatically incorrect (should be 'an'), and 'a_new' adds an adjective not present in the other.
- Inconsistent phrasing in test names: 'Add_a_income_transaction...' vs 'Try_to_add_an_outcome_transaction...'. One uses a direct statement, the other uses 'Try_to_'.
- Inconsistent suffix usage: one test ends with 'to_an_existing_account_successfully' while the other ends with 'successfully'.
- Inconsistent return/result description in test names: one specifies 'return_bad_request', the other describes the condition 'but_the_name_is_to_long' without specifying the HTTP result.
- Inconsistent use of the term 'unexciting_account' vs 'existing_account'. 'Unexciting' appears to be a specific test fixture name or state, while 'existing' is a general state. If 'unexciting' is a specific mock state, it should be consistent across all tests using that state.
- Inconsistent verb tense/mood: 'Open_an_account...' (imperative/statement) vs 'Try_to_open_an_account...' (attempt).
- Inconsistent article usage: 'a_income' (incorrect) vs 'an_outcome' (correct).
- Inconsistent structure: one test name includes the expected result ('return_bad_request'), the other does not.
- Orphaned files with no living knowledge
- No ADRs
- No tests/ separation
- No SAST
- Null-forgiving operator (`!`) suppressions reduce the NRT score
Minor — 2 finding(s)
- Mock framework: Moq
- Mock framework: Moq
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-7e0a8c609df641fca2fdcebb7473875c/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-7e0a8c609df641fca2fdcebb7473875c/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 KalanMoney/KalanMoney.sln package --vulnerable --include-transitive --format json | 8 | artifacts/raw/dotnet-vulnerable.json |
| D31 · IaC & Container Security | trivy | — | trivy: not applicable — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan. | 0 | — |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that. | 0 | — |
| D36 · Supply-chain Provenance & Signing | provenance | — | provenance: not applicable — No CI/build pipeline found (.github/.forgejo/.gitea workflows, .circleci, .buildkite, .woodpecker, .teamcity, .gitlab-ci.yml, .travis.yml, bitbucket-pipelines.yml, .drone.yml, .cirrus.yml, .woodpecker.yml, appveyor.yml, azure-pipelines*.yml, .pipelines/, .vsts-ci/, .azuredevops/, Jenkinsfile); there is no build to attest provenance for. | 0 | — |
| D37 · Vulnerability-disclosure Policy | disclosure | — | disclosure: not applicable — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed. | 0 | — |
| D40 · Network Egress Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here. | 0 | — |
| D41 · Kernel & Syscall Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here. | 0 | — |
| D42 · Runtime Threat Enforcement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here. | 0 | — |
| D43 · Malicious Dependencies | dotnet | — | dotnet list KalanMoney/KalanMoney.sln package --vulnerable --include-transitive --format json | 0 | artifacts/raw/dotnet-vulnerable.json |