Executive summary
⚠ A critical security finding caps this grade — resolve it before relying on the score below; see the Security lens.
The system holds a 58% health score, placing it in the At Risk category. While the code itself is clean and the architecture is sound, the organization lacks the operational safeguards to reliably deploy and maintain it. This gap creates unnecessary friction for delivery and increases the likelihood of undetected defects reaching production.
The asset is small, comprising roughly five thousand lines of production code with minimal boilerplate. Rebuilding this logic from scratch would require only about one engineer-month, costing approximately €5,900. This low rebuild cost means the business is not locked into legacy debt, but it also implies that the current value lies in the operational stability and speed of change, not in the complexity of the codebase itself. The primary risk is not the code’s structure, but the inability to verify changes quickly and safely.
The most critical vulnerability is Production Readiness, which scores poorly at 38%. Without automated checks, every change carries a hidden risk of regression. This lack of verification slows down release cycles and forces manual effort to ensure basic functionality, directly impacting delivery speed and increasing the cost of maintenance. It also leaves the system exposed to configuration drift, where the deployed environment may diverge from the tested state, leading to unpredictable outages.
Conversely, the code quality is excellent at 98%, and security posture is strong at 89%. The architecture is robust, and the team has a good grasp of the domain. These strengths provide a solid foundation. However, they are undermined by the absence of automated testing in the delivery pipeline. The system is well-built but poorly guarded.
The highest-leverage action is to implement a continuous integration workflow that automatically builds and runs tests on every change. This single step would dramatically reduce the risk of defects, accelerate feedback loops, and restore confidence in the deployment process. It is a low-effort, high-impact fix that addresses the core operational weakness. Other improvements, such as cleaning up orphaned files, can wait until this foundation is secure. The current picture is partial, as several advanced lenses were not measured, but the operational gap is clear and actionable.
Raise Readiness 38 → 70 (the Healthy floor) ⇒ headline 58 → ~72.
New since the last scan (32+)
- D4 · Members sharing a duplicated core (4 members, 50+ identical tokens) src/Shared/Adapters/QueryBuilder/MySQL/Delete.php
- D4 · Duplicated block (36 lines × 2) src/Shared/Adapters/QueryBuilder/MySQL/Select.php
- D4 · Duplicated block (25 lines × 2) src/Shared/Adapters/QueryBuilder/MySQL/Insert.php
- D4 · Duplicated block (20 lines × 2) src/Shared/Adapters/QueryBuilder/MySQL/Insert.php
- D4 · Duplicated block (20 lines × 2) src/Shared/Infra/Drivers/MySQLDriver.php
- D4 · Duplicated block (19 lines × 2) src/Shared/Adapters/QueryBuilder/MySQL/Update.php
- D4 · Duplicated block (14 lines × 2) src/Shared/Adapters/Http/PayloadAction.php
- D4 · Duplicated block (11 lines × 4) src/Shared/Adapters/QueryBuilder/MySQL/Delete.php
- D4 · Duplicated block (9 lines × 3) src/Market/Domain/Factory/ItemFactory.php
- D4 · Duplicated block (9 lines × 2) src/Market/Domain/Factory/CartItemFactory.php
- D4 · Duplicated block (41 lines × 3) src/Market/UseCases/CreateItem/OutputBoundary.php
- D4 · Duplicated block (9 lines × 2) src/Shared/Adapters/QueryBuilder/MySQL/Select.php
- D4 · Duplicated block (9 lines × 2) src/Shared/Adapters/QueryBuilder/MySQL/Select.php
- D4 · Duplicated block (7 lines × 2) src/Shared/Adapters/QueryBuilder/MySQL/Select.php
- D4 · Duplicated block (7 lines × 2) src/Shared/Adapters/QueryBuilder/MySQL/Update.php
- D4 · Duplicated block (13 lines × 3) src/Pokedex/Adapters/Repository/PokemonRepository.php
- D30 · REDACTED
- D30 · REDACTED
- D30 · REDACTED
- D30 · REDACTED
- D30 · REDACTED
- D30 · REDACTED
- D30 · REDACTED
- D30 · REDACTED
- D30 · REDACTED
- D30 · REDACTED
- D30 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
- D31 · REDACTED
Rebuild cost & value ~ Modeled — €2,000–€9,900
| Cost to rebuild | €2,000–€9,900 |
|---|---|
| Domain complexity | Standard |
| Quality factor | 0.8× (at 58% quality) |
| Size & shape | Small · effort split not classified (source measured from disk; the effort-tier breakdown is a C#-only syntax walk) |
This codebase represents roughly ~0.1 person-years of build effort (about ~€5,900 to rebuild). Its weakest lens is Readiness at 38% — the part of that asset most exposed by the findings below.
Top priorities
Diagnosis — what's actually going on
Architecture — module dependency matrix
| depends on → | 1 Market.Domain.ValueObjects | 2 Shared.Adapters.Contracts.Presentation | 3 Shared.Adapters.Contracts.QueryBuilder | 4 Shared.Domain | 5 Shared.Exceptions | 6 Shared.Helpers | 7 Market.Domain | 8 Market.Domain.Exceptions | 9 Player.Domain.Exceptions | 10 Pokedex.Domain.Exceptions | 11 Shared.Adapters.Contracts | 12 Shared.Adapters.Http | 13 Market.Domain.Factory | 14 Player.Domain | 15 Shared.Adapters.QueryBuilder.MySQL | 16 Shared.Adapters.QueryBuilder.Postgres | 17 Shared.Infra | 18 Shared.Infra.Drivers | 19 Market.UseCases.Contracts | 20 Player.Domain.Factory | 21 Player.UseCases.Contracts | 22 Pokedex.Domain | 23 Battle.Domain.ValueObjects | 24 Market.Adapters.Repository | 25 Market.UseCases.CreateItem | 26 Market.UseCases.DeleteItem | 27 Market.UseCases.Purchase | 28 Market.UseCases.UpdateItem | 29 Player.Adapters.Http | 30 Player.Adapters.Repository | 31 Pokedex.Domain.Factory | 32 Pokedex.UseCases.Contracts | 33 Battle.Domain | 34 Market.Adapters.Http | 35 Pokedex.Adapters.Http | 36 Pokedex.Adapters.Repository | 37 Battle.UseCases.Contracts | 38 Battle.Adapters.Repositories | 39 Battle.UseCases.StartBattle | 40 Battle.Adapters.Http |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 Market.Domain.ValueObjects | ||||||||||||||||||||||||||||||||||||||||
| 2 Shared.Adapters.Contracts.Presentation | ||||||||||||||||||||||||||||||||||||||||
| 3 Shared.Adapters.Contracts.QueryBuilder | ||||||||||||||||||||||||||||||||||||||||
| 4 Shared.Domain | ||||||||||||||||||||||||||||||||||||||||
| 5 Shared.Exceptions | ||||||||||||||||||||||||||||||||||||||||
| 6 Shared.Helpers | ||||||||||||||||||||||||||||||||||||||||
| 7 Market.Domain | 1 | 3 | 1 | |||||||||||||||||||||||||||||||||||||
| 8 Market.Domain.Exceptions | 3 | |||||||||||||||||||||||||||||||||||||||
| 9 Player.Domain.Exceptions | 1 | |||||||||||||||||||||||||||||||||||||||
| 10 Pokedex.Domain.Exceptions | 2 | |||||||||||||||||||||||||||||||||||||||
| 11 Shared.Adapters.Contracts | 1 | |||||||||||||||||||||||||||||||||||||||
| 12 Shared.Adapters.Http | 2 | |||||||||||||||||||||||||||||||||||||||
| 13 Market.Domain.Factory | 3 | |||||||||||||||||||||||||||||||||||||||
| 14 Player.Domain | 3 | 1 | ||||||||||||||||||||||||||||||||||||||
| 15 Shared.Adapters.QueryBuilder.MySQL | 4 | 4 | ||||||||||||||||||||||||||||||||||||||
| 16 Shared.Adapters.QueryBuilder.Postgres | 4 | 4 | ||||||||||||||||||||||||||||||||||||||
| 17 Shared.Infra | 1 | 5 | ||||||||||||||||||||||||||||||||||||||
| 18 Shared.Infra.Drivers | 2 | 2 | ||||||||||||||||||||||||||||||||||||||
| 19 Market.UseCases.Contracts | 3 | 1 | ||||||||||||||||||||||||||||||||||||||
| 20 Player.Domain.Factory | 3 | |||||||||||||||||||||||||||||||||||||||
| 21 Player.UseCases.Contracts | 1 | |||||||||||||||||||||||||||||||||||||||
| 22 Pokedex.Domain | 3 | 1 | ||||||||||||||||||||||||||||||||||||||
| 23 Battle.Domain.ValueObjects | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 24 Market.Adapters.Repository | 6 | 3 | 1 | 1 | 2 | 1 | ||||||||||||||||||||||||||||||||||
| 25 Market.UseCases.CreateItem | 2 | 1 | ||||||||||||||||||||||||||||||||||||||
| 26 Market.UseCases.DeleteItem | 2 | 1 | ||||||||||||||||||||||||||||||||||||||
| 27 Market.UseCases.Purchase | 2 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 28 Market.UseCases.UpdateItem | 2 | 1 | ||||||||||||||||||||||||||||||||||||||
| 29 Player.Adapters.Http | 2 | 1 | ||||||||||||||||||||||||||||||||||||||
| 30 Player.Adapters.Repository | 2 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 31 Pokedex.Domain.Factory | 3 | |||||||||||||||||||||||||||||||||||||||
| 32 Pokedex.UseCases.Contracts | 1 | 4 | ||||||||||||||||||||||||||||||||||||||
| 33 Battle.Domain | 1 | 2 | ||||||||||||||||||||||||||||||||||||||
| 34 Market.Adapters.Http | 6 | 2 | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||
| 35 Pokedex.Adapters.Http | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 36 Pokedex.Adapters.Repository | 7 | 5 | 1 | 4 | 4 | |||||||||||||||||||||||||||||||||||
| 37 Battle.UseCases.Contracts | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 38 Battle.Adapters.Repositories | 2 | 1 | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||
| 39 Battle.UseCases.StartBattle | 2 | 1 | 1 | 2 | 1 | |||||||||||||||||||||||||||||||||||
| 40 Battle.Adapters.Http | 1 | 1 |
7→1 Market.Domain depends on Market.Domain.ValueObjects✕
- Type pairs
- 1 distinct (type in Market.Domain → type in Market.Domain.ValueObjects) reference.
- Which types
App.Market.Domain.Item→App.Market.Domain.ValueObjects.Category
- Direction
- Market.Domain uses Market.Domain.ValueObjects. Changing Market.Domain.ValueObjects can break Market.Domain, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
7→4 Market.Domain depends on Shared.Domain✕
- Type pairs
- 3 distinct (type in Market.Domain → type in Shared.Domain) references.
- Which types
App.Market.Domain.Cart→App.Shared.Domain.EntityApp.Market.Domain.CartItem→App.Shared.Domain.EntityApp.Market.Domain.Item→App.Shared.Domain.Entity
- Direction
- Market.Domain uses Shared.Domain. Changing Shared.Domain can break Market.Domain, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
7→14 Market.Domain depends on Player.Domain cycle✕
- Type pairs
- 1 distinct (type in Market.Domain → type in Player.Domain) reference.
- Which types
App.Market.Domain.Cart→App.Player.Domain.Player
- Direction
- Market.Domain uses Player.Domain. Changing Player.Domain can break Market.Domain, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
8→5 Market.Domain.Exceptions depends on Shared.Exceptions✕
- Type pairs
- 3 distinct (type in Market.Domain.Exceptions → type in Shared.Exceptions) references.
- Which types
App.Market.Domain.Exceptions.CreatePurchaseException→App.Shared.Exceptions.AppExceptionApp.Market.Domain.Exceptions.InsufficientMoneyException→App.Shared.Exceptions.AppExceptionApp.Market.Domain.Exceptions.MartItemNotFoundException→App.Shared.Exceptions.AppValidationException
- Direction
- Market.Domain.Exceptions uses Shared.Exceptions. Changing Shared.Exceptions can break Market.Domain.Exceptions, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
9→5 Player.Domain.Exceptions depends on Shared.Exceptions✕
- Type pairs
- 1 distinct (type in Player.Domain.Exceptions → type in Shared.Exceptions) reference.
- Which types
App.Player.Domain.Exceptions.PlayerNotFoundException→App.Shared.Exceptions.AppValidationException
- Direction
- Player.Domain.Exceptions uses Shared.Exceptions. Changing Shared.Exceptions can break Player.Domain.Exceptions, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
10→5 Pokedex.Domain.Exceptions depends on Shared.Exceptions✕
- Type pairs
- 2 distinct (type in Pokedex.Domain.Exceptions → type in Shared.Exceptions) references.
- Which types
App.Pokedex.Domain.Exceptions.PokedexNotFoundException→App.Shared.Exceptions.AppValidationExceptionApp.Pokedex.Domain.Exceptions.PokemonNotFoundException→App.Shared.Exceptions.AppValidationException
- Direction
- Pokedex.Domain.Exceptions uses Shared.Exceptions. Changing Shared.Exceptions can break Pokedex.Domain.Exceptions, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
11→3 Shared.Adapters.Contracts depends on Shared.Adapters.Contracts.QueryBuilder✕
- Type pairs
- 1 distinct (type in Shared.Adapters.Contracts → type in Shared.Adapters.Contracts.QueryBuilder) reference.
- Which types
App.Shared.Adapters.Contracts.DatabaseDriver→App.Shared.Adapters.Contracts.QueryBuilder.QueryStatement
- Direction
- Shared.Adapters.Contracts uses Shared.Adapters.Contracts.QueryBuilder. Changing Shared.Adapters.Contracts.QueryBuilder can break Shared.Adapters.Contracts, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
12→2 Shared.Adapters.Http depends on Shared.Adapters.Contracts.Presentation✕
- Type pairs
- 2 distinct (type in Shared.Adapters.Http → type in Shared.Adapters.Contracts.Presentation) references.
- Which types
App.Shared.Adapters.Http.PayloadAction→App.Shared.Adapters.Contracts.Presentation.PayloadPresenterApp.Shared.Adapters.Http.TemplateAction→App.Shared.Adapters.Contracts.Presentation.TemplatePresenter
- Direction
- Shared.Adapters.Http uses Shared.Adapters.Contracts.Presentation. Changing Shared.Adapters.Contracts.Presentation can break Shared.Adapters.Http, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
13→7 Market.Domain.Factory depends on Market.Domain✕
- Type pairs
- 3 distinct (type in Market.Domain.Factory → type in Market.Domain) references.
- Which types
App.Market.Domain.Factory.CartFactory→App.Market.Domain.CartApp.Market.Domain.Factory.CartItemFactory→App.Market.Domain.CartItemApp.Market.Domain.Factory.ItemFactory→App.Market.Domain.Item
- Direction
- Market.Domain.Factory uses Market.Domain. Changing Market.Domain can break Market.Domain.Factory, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
14→4 Player.Domain depends on Shared.Domain✕
- Type pairs
- 3 distinct (type in Player.Domain → type in Shared.Domain) references.
- Which types
App.Player.Domain.Bag→App.Shared.Domain.EntityApp.Player.Domain.Party→App.Shared.Domain.EntityApp.Player.Domain.Player→App.Shared.Domain.Entity
- Direction
- Player.Domain uses Shared.Domain. Changing Shared.Domain can break Player.Domain, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
14→7 Player.Domain depends on Market.Domain✕
- Type pairs
- 1 distinct (type in Player.Domain → type in Market.Domain) reference.
- Which types
App.Player.Domain.Bag→App.Market.Domain.Item
- Direction
- Player.Domain uses Market.Domain. Changing Market.Domain can break Player.Domain, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
15→3 Shared.Adapters.QueryBuilder.MySQL depends on Shared.Adapters.Contracts.QueryBuilder✕
- Type pairs
- 4 distinct (type in Shared.Adapters.QueryBuilder.MySQL → type in Shared.Adapters.Contracts.QueryBuilder) references.
- Which types
App.Shared.Adapters.QueryBuilder.MySQL.Delete→App.Shared.Adapters.Contracts.QueryBuilder.DeleteStatementApp.Shared.Adapters.QueryBuilder.MySQL.Insert→App.Shared.Adapters.Contracts.QueryBuilder.InsertStatementApp.Shared.Adapters.QueryBuilder.MySQL.Select→App.Shared.Adapters.Contracts.QueryBuilder.SelectStatementApp.Shared.Adapters.QueryBuilder.MySQL.Update→App.Shared.Adapters.Contracts.QueryBuilder.UpdateStatement
- Direction
- Shared.Adapters.QueryBuilder.MySQL uses Shared.Adapters.Contracts.QueryBuilder. Changing Shared.Adapters.Contracts.QueryBuilder can break Shared.Adapters.QueryBuilder.MySQL, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
15→11 Shared.Adapters.QueryBuilder.MySQL depends on Shared.Adapters.Contracts✕
- Type pairs
- 4 distinct (type in Shared.Adapters.QueryBuilder.MySQL → type in Shared.Adapters.Contracts) references.
- Which types
App.Shared.Adapters.QueryBuilder.MySQL.Delete→App.Shared.Adapters.Contracts.DatabaseDriverApp.Shared.Adapters.QueryBuilder.MySQL.Insert→App.Shared.Adapters.Contracts.DatabaseDriverApp.Shared.Adapters.QueryBuilder.MySQL.Select→App.Shared.Adapters.Contracts.DatabaseDriverApp.Shared.Adapters.QueryBuilder.MySQL.Update→App.Shared.Adapters.Contracts.DatabaseDriver
- Direction
- Shared.Adapters.QueryBuilder.MySQL uses Shared.Adapters.Contracts. Changing Shared.Adapters.Contracts can break Shared.Adapters.QueryBuilder.MySQL, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
16→3 Shared.Adapters.QueryBuilder.Postgres depends on Shared.Adapters.Contracts.QueryBuilder✕
- Type pairs
- 4 distinct (type in Shared.Adapters.QueryBuilder.Postgres → type in Shared.Adapters.Contracts.QueryBuilder) references.
- Which types
App.Shared.Adapters.QueryBuilder.Postgres.Delete→App.Shared.Adapters.Contracts.QueryBuilder.DeleteStatementApp.Shared.Adapters.QueryBuilder.Postgres.Insert→App.Shared.Adapters.Contracts.QueryBuilder.InsertStatementApp.Shared.Adapters.QueryBuilder.Postgres.Select→App.Shared.Adapters.Contracts.QueryBuilder.SelectStatementApp.Shared.Adapters.QueryBuilder.Postgres.Update→App.Shared.Adapters.Contracts.QueryBuilder.UpdateStatement
- Direction
- Shared.Adapters.QueryBuilder.Postgres uses Shared.Adapters.Contracts.QueryBuilder. Changing Shared.Adapters.Contracts.QueryBuilder can break Shared.Adapters.QueryBuilder.Postgres, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
16→11 Shared.Adapters.QueryBuilder.Postgres depends on Shared.Adapters.Contracts✕
- Type pairs
- 4 distinct (type in Shared.Adapters.QueryBuilder.Postgres → type in Shared.Adapters.Contracts) references.
- Which types
App.Shared.Adapters.QueryBuilder.Postgres.Delete→App.Shared.Adapters.Contracts.DatabaseDriverApp.Shared.Adapters.QueryBuilder.Postgres.Insert→App.Shared.Adapters.Contracts.DatabaseDriverApp.Shared.Adapters.QueryBuilder.Postgres.Select→App.Shared.Adapters.Contracts.DatabaseDriverApp.Shared.Adapters.QueryBuilder.Postgres.Update→App.Shared.Adapters.Contracts.DatabaseDriver
- Direction
- Shared.Adapters.QueryBuilder.Postgres uses Shared.Adapters.Contracts. Changing Shared.Adapters.Contracts can break Shared.Adapters.QueryBuilder.Postgres, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
17→2 Shared.Infra depends on Shared.Adapters.Contracts.Presentation✕
- Type pairs
- 1 distinct (type in Shared.Infra → type in Shared.Adapters.Contracts.Presentation) reference.
- Which types
App.Shared.Infra.TwigEngine→App.Shared.Adapters.Contracts.Presentation.TemplatePresenter
- Direction
- Shared.Infra uses Shared.Adapters.Contracts.Presentation. Changing Shared.Adapters.Contracts.Presentation can break Shared.Infra, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
17→11 Shared.Infra depends on Shared.Adapters.Contracts✕
- Type pairs
- 5 distinct (type in Shared.Infra → type in Shared.Adapters.Contracts) references.
- Which types
App.Shared.Infra.GuzzleHttpClient→App.Shared.Adapters.Contracts.HttpClientApp.Shared.Infra.PRedisClient→App.Shared.Adapters.Contracts.CacheSystemApp.Shared.Infra.PokeAPI→App.Shared.Adapters.Contracts.HttpClientApp.Shared.Infra.PokeAPI→App.Shared.Adapters.Contracts.PokemonAPIApp.Shared.Infra.RespectValidation→App.Shared.Adapters.Contracts.ValidatorTool
- Direction
- Shared.Infra uses Shared.Adapters.Contracts. Changing Shared.Adapters.Contracts can break Shared.Infra, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
18→3 Shared.Infra.Drivers depends on Shared.Adapters.Contracts.QueryBuilder✕
- Type pairs
- 2 distinct (type in Shared.Infra.Drivers → type in Shared.Adapters.Contracts.QueryBuilder) references.
- Which types
App.Shared.Infra.Drivers.MySQLDriver→App.Shared.Adapters.Contracts.QueryBuilder.QueryStatementApp.Shared.Infra.Drivers.PostgresDriver→App.Shared.Adapters.Contracts.QueryBuilder.QueryStatement
- Direction
- Shared.Infra.Drivers uses Shared.Adapters.Contracts.QueryBuilder. Changing Shared.Adapters.Contracts.QueryBuilder can break Shared.Infra.Drivers, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
18→11 Shared.Infra.Drivers depends on Shared.Adapters.Contracts✕
- Type pairs
- 2 distinct (type in Shared.Infra.Drivers → type in Shared.Adapters.Contracts) references.
- Which types
App.Shared.Infra.Drivers.MySQLDriver→App.Shared.Adapters.Contracts.DatabaseDriverApp.Shared.Infra.Drivers.PostgresDriver→App.Shared.Adapters.Contracts.DatabaseDriver
- Direction
- Shared.Infra.Drivers uses Shared.Adapters.Contracts. Changing Shared.Adapters.Contracts can break Shared.Infra.Drivers, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
19→7 Market.UseCases.Contracts depends on Market.Domain✕
- Type pairs
- 3 distinct (type in Market.UseCases.Contracts → type in Market.Domain) references.
- Which types
App.Market.UseCases.Contracts.ItemRepository→App.Market.Domain.ItemApp.Market.UseCases.Contracts.MarketRepository→App.Market.Domain.CartApp.Market.UseCases.Contracts.MarketRepository→App.Market.Domain.Item
- Direction
- Market.UseCases.Contracts uses Market.Domain. Changing Market.Domain can break Market.UseCases.Contracts, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
19→14 Market.UseCases.Contracts depends on Player.Domain✕
- Type pairs
- 1 distinct (type in Market.UseCases.Contracts → type in Player.Domain) reference.
- Which types
App.Market.UseCases.Contracts.MarketRepository→App.Player.Domain.Player
- Direction
- Market.UseCases.Contracts uses Player.Domain. Changing Player.Domain can break Market.UseCases.Contracts, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
20→14 Player.Domain.Factory depends on Player.Domain✕
- Type pairs
- 3 distinct (type in Player.Domain.Factory → type in Player.Domain) references.
- Which types
App.Player.Domain.Factory.BagFactory→App.Player.Domain.BagApp.Player.Domain.Factory.PartyFactory→App.Player.Domain.PartyApp.Player.Domain.Factory.PlayerFactory→App.Player.Domain.Player
- Direction
- Player.Domain.Factory uses Player.Domain. Changing Player.Domain can break Player.Domain.Factory, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→14 Player.UseCases.Contracts depends on Player.Domain✕
- Type pairs
- 1 distinct (type in Player.UseCases.Contracts → type in Player.Domain) reference.
- Which types
App.Player.UseCases.Contracts.PlayerRepository→App.Player.Domain.Player
- Direction
- Player.UseCases.Contracts uses Player.Domain. Changing Player.Domain can break Player.UseCases.Contracts, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
22→4 Pokedex.Domain depends on Shared.Domain✕
- Type pairs
- 3 distinct (type in Pokedex.Domain → type in Shared.Domain) references.
- Which types
App.Pokedex.Domain.Pokedex→App.Shared.Domain.EntityApp.Pokedex.Domain.Pokemon→App.Shared.Domain.EntityApp.Pokedex.Domain.Type→App.Shared.Domain.Entity
- Direction
- Pokedex.Domain uses Shared.Domain. Changing Shared.Domain can break Pokedex.Domain, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
22→14 Pokedex.Domain depends on Player.Domain✕
- Type pairs
- 1 distinct (type in Pokedex.Domain → type in Player.Domain) reference.
- Which types
App.Pokedex.Domain.Pokedex→App.Player.Domain.Player
- Direction
- Pokedex.Domain uses Player.Domain. Changing Player.Domain can break Pokedex.Domain, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
23→14 Battle.Domain.ValueObjects depends on Player.Domain✕
- Type pairs
- 1 distinct (type in Battle.Domain.ValueObjects → type in Player.Domain) reference.
- Which types
App.Battle.Domain.ValueObjects.BattlePokemon→App.Player.Domain.Player
- Direction
- Battle.Domain.ValueObjects uses Player.Domain. Changing Player.Domain can break Battle.Domain.ValueObjects, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
23→22 Battle.Domain.ValueObjects depends on Pokedex.Domain✕
- Type pairs
- 1 distinct (type in Battle.Domain.ValueObjects → type in Pokedex.Domain) reference.
- Which types
App.Battle.Domain.ValueObjects.BattlePokemon→App.Pokedex.Domain.Pokemon
- Direction
- Battle.Domain.ValueObjects uses Pokedex.Domain. Changing Pokedex.Domain can break Battle.Domain.ValueObjects, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→3 Market.Adapters.Repository depends on Shared.Adapters.Contracts.QueryBuilder✕
- Type pairs
- 6 distinct (type in Market.Adapters.Repository → type in Shared.Adapters.Contracts.QueryBuilder) references.
- Which types
App.Market.Adapters.Repository.ItemRepository→App.Shared.Adapters.Contracts.QueryBuilder.DeleteStatementApp.Market.Adapters.Repository.ItemRepository→App.Shared.Adapters.Contracts.QueryBuilder.InsertStatementApp.Market.Adapters.Repository.ItemRepository→App.Shared.Adapters.Contracts.QueryBuilder.SelectStatementApp.Market.Adapters.Repository.ItemRepository→App.Shared.Adapters.Contracts.QueryBuilder.UpdateStatementApp.Market.Adapters.Repository.MarketRepository→App.Shared.Adapters.Contracts.QueryBuilder.InsertStatementApp.Market.Adapters.Repository.MarketRepository→App.Shared.Adapters.Contracts.QueryBuilder.SelectStatement
- Direction
- Market.Adapters.Repository uses Shared.Adapters.Contracts.QueryBuilder. Changing Shared.Adapters.Contracts.QueryBuilder can break Market.Adapters.Repository, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→7 Market.Adapters.Repository depends on Market.Domain✕
- Type pairs
- 3 distinct (type in Market.Adapters.Repository → type in Market.Domain) references.
- Which types
App.Market.Adapters.Repository.ItemRepository→App.Market.Domain.ItemApp.Market.Adapters.Repository.MarketRepository→App.Market.Domain.CartApp.Market.Adapters.Repository.MarketRepository→App.Market.Domain.Item
- Direction
- Market.Adapters.Repository uses Market.Domain. Changing Market.Domain can break Market.Adapters.Repository, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→11 Market.Adapters.Repository depends on Shared.Adapters.Contracts✕
- Type pairs
- 1 distinct (type in Market.Adapters.Repository → type in Shared.Adapters.Contracts) reference.
- Which types
App.Market.Adapters.Repository.MarketRepository→App.Shared.Adapters.Contracts.DatabaseDriver
- Direction
- Market.Adapters.Repository uses Shared.Adapters.Contracts. Changing Shared.Adapters.Contracts can break Market.Adapters.Repository, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→14 Market.Adapters.Repository depends on Player.Domain✕
- Type pairs
- 1 distinct (type in Market.Adapters.Repository → type in Player.Domain) reference.
- Which types
App.Market.Adapters.Repository.MarketRepository→App.Player.Domain.Player
- Direction
- Market.Adapters.Repository uses Player.Domain. Changing Player.Domain can break Market.Adapters.Repository, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→19 Market.Adapters.Repository depends on Market.UseCases.Contracts✕
- Type pairs
- 2 distinct (type in Market.Adapters.Repository → type in Market.UseCases.Contracts) references.
- Which types
App.Market.Adapters.Repository.ItemRepository→App.Market.UseCases.Contracts.ItemRepositoryApp.Market.Adapters.Repository.MarketRepository→App.Market.UseCases.Contracts.MarketRepository
- Direction
- Market.Adapters.Repository uses Market.UseCases.Contracts. Changing Market.UseCases.Contracts can break Market.Adapters.Repository, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→21 Market.Adapters.Repository depends on Player.UseCases.Contracts✕
- Type pairs
- 1 distinct (type in Market.Adapters.Repository → type in Player.UseCases.Contracts) reference.
- Which types
App.Market.Adapters.Repository.MarketRepository→App.Player.UseCases.Contracts.PlayerRepository
- Direction
- Market.Adapters.Repository uses Player.UseCases.Contracts. Changing Player.UseCases.Contracts can break Market.Adapters.Repository, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→6 Market.UseCases.CreateItem depends on Shared.Helpers✕
- Type pairs
- 2 distinct (type in Market.UseCases.CreateItem → type in Shared.Helpers) references.
- Which types
App.Market.UseCases.CreateItem.InputBoundary→App.Shared.Helpers.DTOApp.Market.UseCases.CreateItem.OutputBoundary→App.Shared.Helpers.DTO
- Direction
- Market.UseCases.CreateItem uses Shared.Helpers. Changing Shared.Helpers can break Market.UseCases.CreateItem, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→19 Market.UseCases.CreateItem depends on Market.UseCases.Contracts✕
- Type pairs
- 1 distinct (type in Market.UseCases.CreateItem → type in Market.UseCases.Contracts) reference.
- Which types
App.Market.UseCases.CreateItem.CreateItem→App.Market.UseCases.Contracts.ItemRepository
- Direction
- Market.UseCases.CreateItem uses Market.UseCases.Contracts. Changing Market.UseCases.Contracts can break Market.UseCases.CreateItem, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→6 Market.UseCases.DeleteItem depends on Shared.Helpers✕
- Type pairs
- 2 distinct (type in Market.UseCases.DeleteItem → type in Shared.Helpers) references.
- Which types
App.Market.UseCases.DeleteItem.InputBoundary→App.Shared.Helpers.DTOApp.Market.UseCases.DeleteItem.OutputBoundary→App.Shared.Helpers.DTO
- Direction
- Market.UseCases.DeleteItem uses Shared.Helpers. Changing Shared.Helpers can break Market.UseCases.DeleteItem, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→19 Market.UseCases.DeleteItem depends on Market.UseCases.Contracts✕
- Type pairs
- 1 distinct (type in Market.UseCases.DeleteItem → type in Market.UseCases.Contracts) reference.
- Which types
App.Market.UseCases.DeleteItem.DeleteItem→App.Market.UseCases.Contracts.ItemRepository
- Direction
- Market.UseCases.DeleteItem uses Market.UseCases.Contracts. Changing Market.UseCases.Contracts can break Market.UseCases.DeleteItem, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→6 Market.UseCases.Purchase depends on Shared.Helpers✕
- Type pairs
- 2 distinct (type in Market.UseCases.Purchase → type in Shared.Helpers) references.
- Which types
App.Market.UseCases.Purchase.InputBoundary→App.Shared.Helpers.DTOApp.Market.UseCases.Purchase.OutputBoundary→App.Shared.Helpers.DTO
- Direction
- Market.UseCases.Purchase uses Shared.Helpers. Changing Shared.Helpers can break Market.UseCases.Purchase, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→11 Market.UseCases.Purchase depends on Shared.Adapters.Contracts✕
- Type pairs
- 1 distinct (type in Market.UseCases.Purchase → type in Shared.Adapters.Contracts) reference.
- Which types
App.Market.UseCases.Purchase.PurchaseValidator→App.Shared.Adapters.Contracts.ValidatorTool
- Direction
- Market.UseCases.Purchase uses Shared.Adapters.Contracts. Changing Shared.Adapters.Contracts can break Market.UseCases.Purchase, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→19 Market.UseCases.Purchase depends on Market.UseCases.Contracts✕
- Type pairs
- 1 distinct (type in Market.UseCases.Purchase → type in Market.UseCases.Contracts) reference.
- Which types
App.Market.UseCases.Purchase.Purchase→App.Market.UseCases.Contracts.MarketRepository
- Direction
- Market.UseCases.Purchase uses Market.UseCases.Contracts. Changing Market.UseCases.Contracts can break Market.UseCases.Purchase, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→21 Market.UseCases.Purchase depends on Player.UseCases.Contracts✕
- Type pairs
- 1 distinct (type in Market.UseCases.Purchase → type in Player.UseCases.Contracts) reference.
- Which types
App.Market.UseCases.Purchase.Purchase→App.Player.UseCases.Contracts.PlayerRepository
- Direction
- Market.UseCases.Purchase uses Player.UseCases.Contracts. Changing Player.UseCases.Contracts can break Market.UseCases.Purchase, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→6 Market.UseCases.UpdateItem depends on Shared.Helpers✕
- Type pairs
- 2 distinct (type in Market.UseCases.UpdateItem → type in Shared.Helpers) references.
- Which types
App.Market.UseCases.UpdateItem.InputBoundary→App.Shared.Helpers.DTOApp.Market.UseCases.UpdateItem.OutputBoundary→App.Shared.Helpers.DTO
- Direction
- Market.UseCases.UpdateItem uses Shared.Helpers. Changing Shared.Helpers can break Market.UseCases.UpdateItem, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→19 Market.UseCases.UpdateItem depends on Market.UseCases.Contracts✕
- Type pairs
- 1 distinct (type in Market.UseCases.UpdateItem → type in Market.UseCases.Contracts) reference.
- Which types
App.Market.UseCases.UpdateItem.UpdateItem→App.Market.UseCases.Contracts.ItemRepository
- Direction
- Market.UseCases.UpdateItem uses Market.UseCases.Contracts. Changing Market.UseCases.Contracts can break Market.UseCases.UpdateItem, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→12 Player.Adapters.Http depends on Shared.Adapters.Http✕
- Type pairs
- 2 distinct (type in Player.Adapters.Http → type in Shared.Adapters.Http) references.
- Which types
App.Player.Adapters.Http.ProfileAction→App.Shared.Adapters.Http.PayloadActionApp.Player.Adapters.Http.ProfilePageAction→App.Shared.Adapters.Http.TemplateAction
- Direction
- Player.Adapters.Http uses Shared.Adapters.Http. Changing Shared.Adapters.Http can break Player.Adapters.Http, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→21 Player.Adapters.Http depends on Player.UseCases.Contracts✕
- Type pairs
- 1 distinct (type in Player.Adapters.Http → type in Player.UseCases.Contracts) reference.
- Which types
App.Player.Adapters.Http.ProfileAction→App.Player.UseCases.Contracts.PlayerRepository
- Direction
- Player.Adapters.Http uses Player.UseCases.Contracts. Changing Player.UseCases.Contracts can break Player.Adapters.Http, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→3 Player.Adapters.Repository depends on Shared.Adapters.Contracts.QueryBuilder✕
- Type pairs
- 2 distinct (type in Player.Adapters.Repository → type in Shared.Adapters.Contracts.QueryBuilder) references.
- Which types
App.Player.Adapters.Repository.PlayerRepository→App.Shared.Adapters.Contracts.QueryBuilder.SelectStatementApp.Player.Adapters.Repository.PlayerRepository→App.Shared.Adapters.Contracts.QueryBuilder.UpdateStatement
- Direction
- Player.Adapters.Repository uses Shared.Adapters.Contracts.QueryBuilder. Changing Shared.Adapters.Contracts.QueryBuilder can break Player.Adapters.Repository, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→11 Player.Adapters.Repository depends on Shared.Adapters.Contracts✕
- Type pairs
- 1 distinct (type in Player.Adapters.Repository → type in Shared.Adapters.Contracts) reference.
- Which types
App.Player.Adapters.Repository.PlayerRepository→App.Shared.Adapters.Contracts.DatabaseDriver
- Direction
- Player.Adapters.Repository uses Shared.Adapters.Contracts. Changing Shared.Adapters.Contracts can break Player.Adapters.Repository, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→14 Player.Adapters.Repository depends on Player.Domain✕
- Type pairs
- 1 distinct (type in Player.Adapters.Repository → type in Player.Domain) reference.
- Which types
App.Player.Adapters.Repository.PlayerRepository→App.Player.Domain.Player
- Direction
- Player.Adapters.Repository uses Player.Domain. Changing Player.Domain can break Player.Adapters.Repository, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→21 Player.Adapters.Repository depends on Player.UseCases.Contracts✕
- Type pairs
- 1 distinct (type in Player.Adapters.Repository → type in Player.UseCases.Contracts) reference.
- Which types
App.Player.Adapters.Repository.PlayerRepository→App.Player.UseCases.Contracts.PlayerRepository
- Direction
- Player.Adapters.Repository uses Player.UseCases.Contracts. Changing Player.UseCases.Contracts can break Player.Adapters.Repository, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→22 Pokedex.Domain.Factory depends on Pokedex.Domain✕
- Type pairs
- 3 distinct (type in Pokedex.Domain.Factory → type in Pokedex.Domain) references.
- Which types
App.Pokedex.Domain.Factory.PokedexFactory→App.Pokedex.Domain.PokedexApp.Pokedex.Domain.Factory.PokemonFactory→App.Pokedex.Domain.PokemonApp.Pokedex.Domain.Factory.TypeFactory→App.Pokedex.Domain.Type
- Direction
- Pokedex.Domain.Factory uses Pokedex.Domain. Changing Pokedex.Domain can break Pokedex.Domain.Factory, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
32→14 Pokedex.UseCases.Contracts depends on Player.Domain✕
- Type pairs
- 1 distinct (type in Pokedex.UseCases.Contracts → type in Player.Domain) reference.
- Which types
App.Pokedex.UseCases.Contracts.PokedexRepository→App.Player.Domain.Player
- Direction
- Pokedex.UseCases.Contracts uses Player.Domain. Changing Player.Domain can break Pokedex.UseCases.Contracts, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
32→22 Pokedex.UseCases.Contracts depends on Pokedex.Domain✕
- Type pairs
- 4 distinct (type in Pokedex.UseCases.Contracts → type in Pokedex.Domain) references.
- Which types
App.Pokedex.UseCases.Contracts.PokedexRepository→App.Pokedex.Domain.PokedexApp.Pokedex.UseCases.Contracts.PokedexRepository→App.Pokedex.Domain.PokemonApp.Pokedex.UseCases.Contracts.PokemonRepository→App.Pokedex.Domain.PokemonApp.Pokedex.UseCases.Contracts.TypeRepository→App.Pokedex.Domain.Type
- Direction
- Pokedex.UseCases.Contracts uses Pokedex.Domain. Changing Pokedex.Domain can break Pokedex.UseCases.Contracts, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→4 Battle.Domain depends on Shared.Domain✕
- Type pairs
- 1 distinct (type in Battle.Domain → type in Shared.Domain) reference.
- Which types
App.Battle.Domain.Battle→App.Shared.Domain.Entity
- Direction
- Battle.Domain uses Shared.Domain. Changing Shared.Domain can break Battle.Domain, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→23 Battle.Domain depends on Battle.Domain.ValueObjects✕
- Type pairs
- 2 distinct (type in Battle.Domain → type in Battle.Domain.ValueObjects) references.
- Which types
App.Battle.Domain.Battle→App.Battle.Domain.ValueObjects.BattlePokemonApp.Battle.Domain.Battle→App.Battle.Domain.ValueObjects.BattleStatus
- Direction
- Battle.Domain uses Battle.Domain.ValueObjects. Changing Battle.Domain.ValueObjects can break Battle.Domain, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→12 Market.Adapters.Http depends on Shared.Adapters.Http✕
- Type pairs
- 6 distinct (type in Market.Adapters.Http → type in Shared.Adapters.Http) references.
- Which types
App.Market.Adapters.Http.CreateItemAction→App.Shared.Adapters.Http.PayloadActionApp.Market.Adapters.Http.DeleteItemAction→App.Shared.Adapters.Http.PayloadActionApp.Market.Adapters.Http.GetItemAction→App.Shared.Adapters.Http.PayloadActionApp.Market.Adapters.Http.ItemsListAction→App.Shared.Adapters.Http.PayloadActionApp.Market.Adapters.Http.PurchaseAction→App.Shared.Adapters.Http.PayloadActionApp.Market.Adapters.Http.UpdateItemAction→App.Shared.Adapters.Http.PayloadAction
- Direction
- Market.Adapters.Http uses Shared.Adapters.Http. Changing Shared.Adapters.Http can break Market.Adapters.Http, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→19 Market.Adapters.Http depends on Market.UseCases.Contracts✕
- Type pairs
- 2 distinct (type in Market.Adapters.Http → type in Market.UseCases.Contracts) references.
- Which types
App.Market.Adapters.Http.GetItemAction→App.Market.UseCases.Contracts.ItemRepositoryApp.Market.Adapters.Http.ItemsListAction→App.Market.UseCases.Contracts.MarketRepository
- Direction
- Market.Adapters.Http uses Market.UseCases.Contracts. Changing Market.UseCases.Contracts can break Market.Adapters.Http, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→25 Market.Adapters.Http depends on Market.UseCases.CreateItem✕
- Type pairs
- 1 distinct (type in Market.Adapters.Http → type in Market.UseCases.CreateItem) reference.
- Which types
App.Market.Adapters.Http.CreateItemAction→App.Market.UseCases.CreateItem.CreateItem
- Direction
- Market.Adapters.Http uses Market.UseCases.CreateItem. Changing Market.UseCases.CreateItem can break Market.Adapters.Http, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→26 Market.Adapters.Http depends on Market.UseCases.DeleteItem✕
- Type pairs
- 1 distinct (type in Market.Adapters.Http → type in Market.UseCases.DeleteItem) reference.
- Which types
App.Market.Adapters.Http.DeleteItemAction→App.Market.UseCases.DeleteItem.DeleteItem
- Direction
- Market.Adapters.Http uses Market.UseCases.DeleteItem. Changing Market.UseCases.DeleteItem can break Market.Adapters.Http, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→27 Market.Adapters.Http depends on Market.UseCases.Purchase✕
- Type pairs
- 1 distinct (type in Market.Adapters.Http → type in Market.UseCases.Purchase) reference.
- Which types
App.Market.Adapters.Http.PurchaseAction→App.Market.UseCases.Purchase.Purchase
- Direction
- Market.Adapters.Http uses Market.UseCases.Purchase. Changing Market.UseCases.Purchase can break Market.Adapters.Http, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→28 Market.Adapters.Http depends on Market.UseCases.UpdateItem✕
- Type pairs
- 1 distinct (type in Market.Adapters.Http → type in Market.UseCases.UpdateItem) reference.
- Which types
App.Market.Adapters.Http.UpdateItemAction→App.Market.UseCases.UpdateItem.UpdateItem
- Direction
- Market.Adapters.Http uses Market.UseCases.UpdateItem. Changing Market.UseCases.UpdateItem can break Market.Adapters.Http, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→12 Pokedex.Adapters.Http depends on Shared.Adapters.Http✕
- Type pairs
- 1 distinct (type in Pokedex.Adapters.Http → type in Shared.Adapters.Http) reference.
- Which types
App.Pokedex.Adapters.Http.SearchAction→App.Shared.Adapters.Http.PayloadAction
- Direction
- Pokedex.Adapters.Http uses Shared.Adapters.Http. Changing Shared.Adapters.Http can break Pokedex.Adapters.Http, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→32 Pokedex.Adapters.Http depends on Pokedex.UseCases.Contracts✕
- Type pairs
- 1 distinct (type in Pokedex.Adapters.Http → type in Pokedex.UseCases.Contracts) reference.
- Which types
App.Pokedex.Adapters.Http.SearchAction→App.Pokedex.UseCases.Contracts.PokemonRepository
- Direction
- Pokedex.Adapters.Http uses Pokedex.UseCases.Contracts. Changing Pokedex.UseCases.Contracts can break Pokedex.Adapters.Http, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→3 Pokedex.Adapters.Repository depends on Shared.Adapters.Contracts.QueryBuilder✕
- Type pairs
- 7 distinct (type in Pokedex.Adapters.Repository → type in Shared.Adapters.Contracts.QueryBuilder) references.
- Which types
App.Pokedex.Adapters.Repository.PokedexRepository→App.Shared.Adapters.Contracts.QueryBuilder.InsertStatementApp.Pokedex.Adapters.Repository.PokedexRepository→App.Shared.Adapters.Contracts.QueryBuilder.SelectStatementApp.Pokedex.Adapters.Repository.PokedexRepository→App.Shared.Adapters.Contracts.QueryBuilder.UpdateStatementApp.Pokedex.Adapters.Repository.PokemonRepository→App.Shared.Adapters.Contracts.QueryBuilder.InsertStatementApp.Pokedex.Adapters.Repository.PokemonRepository→App.Shared.Adapters.Contracts.QueryBuilder.SelectStatementApp.Pokedex.Adapters.Repository.TypeRepository→App.Shared.Adapters.Contracts.QueryBuilder.InsertStatementApp.Pokedex.Adapters.Repository.TypeRepository→App.Shared.Adapters.Contracts.QueryBuilder.SelectStatement
- Direction
- Pokedex.Adapters.Repository uses Shared.Adapters.Contracts.QueryBuilder. Changing Shared.Adapters.Contracts.QueryBuilder can break Pokedex.Adapters.Repository, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→11 Pokedex.Adapters.Repository depends on Shared.Adapters.Contracts✕
- Type pairs
- 5 distinct (type in Pokedex.Adapters.Repository → type in Shared.Adapters.Contracts) references.
- Which types
App.Pokedex.Adapters.Repository.PokedexRepository→App.Shared.Adapters.Contracts.DatabaseDriverApp.Pokedex.Adapters.Repository.PokemonRepository→App.Shared.Adapters.Contracts.CacheSystemApp.Pokedex.Adapters.Repository.PokemonRepository→App.Shared.Adapters.Contracts.DatabaseDriverApp.Pokedex.Adapters.Repository.PokemonRepository→App.Shared.Adapters.Contracts.PokemonAPIApp.Pokedex.Adapters.Repository.TypeRepository→App.Shared.Adapters.Contracts.DatabaseDriver
- Direction
- Pokedex.Adapters.Repository uses Shared.Adapters.Contracts. Changing Shared.Adapters.Contracts can break Pokedex.Adapters.Repository, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→14 Pokedex.Adapters.Repository depends on Player.Domain✕
- Type pairs
- 1 distinct (type in Pokedex.Adapters.Repository → type in Player.Domain) reference.
- Which types
App.Pokedex.Adapters.Repository.PokedexRepository→App.Player.Domain.Player
- Direction
- Pokedex.Adapters.Repository uses Player.Domain. Changing Player.Domain can break Pokedex.Adapters.Repository, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→22 Pokedex.Adapters.Repository depends on Pokedex.Domain✕
- Type pairs
- 4 distinct (type in Pokedex.Adapters.Repository → type in Pokedex.Domain) references.
- Which types
App.Pokedex.Adapters.Repository.PokedexRepository→App.Pokedex.Domain.PokedexApp.Pokedex.Adapters.Repository.PokedexRepository→App.Pokedex.Domain.PokemonApp.Pokedex.Adapters.Repository.PokemonRepository→App.Pokedex.Domain.PokemonApp.Pokedex.Adapters.Repository.TypeRepository→App.Pokedex.Domain.Type
- Direction
- Pokedex.Adapters.Repository uses Pokedex.Domain. Changing Pokedex.Domain can break Pokedex.Adapters.Repository, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→32 Pokedex.Adapters.Repository depends on Pokedex.UseCases.Contracts✕
- Type pairs
- 4 distinct (type in Pokedex.Adapters.Repository → type in Pokedex.UseCases.Contracts) references.
- Which types
App.Pokedex.Adapters.Repository.PokedexRepository→App.Pokedex.UseCases.Contracts.PokedexRepositoryApp.Pokedex.Adapters.Repository.PokemonRepository→App.Pokedex.UseCases.Contracts.PokemonRepositoryApp.Pokedex.Adapters.Repository.PokemonRepository→App.Pokedex.UseCases.Contracts.TypeRepositoryApp.Pokedex.Adapters.Repository.TypeRepository→App.Pokedex.UseCases.Contracts.TypeRepository
- Direction
- Pokedex.Adapters.Repository uses Pokedex.UseCases.Contracts. Changing Pokedex.UseCases.Contracts can break Pokedex.Adapters.Repository, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→23 Battle.UseCases.Contracts depends on Battle.Domain.ValueObjects✕
- Type pairs
- 1 distinct (type in Battle.UseCases.Contracts → type in Battle.Domain.ValueObjects) reference.
- Which types
App.Battle.UseCases.Contracts.BattleRepository→App.Battle.Domain.ValueObjects.BattlePokemon
- Direction
- Battle.UseCases.Contracts uses Battle.Domain.ValueObjects. Changing Battle.Domain.ValueObjects can break Battle.UseCases.Contracts, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→33 Battle.UseCases.Contracts depends on Battle.Domain✕
- Type pairs
- 1 distinct (type in Battle.UseCases.Contracts → type in Battle.Domain) reference.
- Which types
App.Battle.UseCases.Contracts.BattleRepository→App.Battle.Domain.Battle
- Direction
- Battle.UseCases.Contracts uses Battle.Domain. Changing Battle.Domain can break Battle.UseCases.Contracts, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→3 Battle.Adapters.Repositories depends on Shared.Adapters.Contracts.QueryBuilder✕
- Type pairs
- 2 distinct (type in Battle.Adapters.Repositories → type in Shared.Adapters.Contracts.QueryBuilder) references.
- Which types
App.Battle.Adapters.Repositories.BattleRepository→App.Shared.Adapters.Contracts.QueryBuilder.InsertStatementApp.Battle.Adapters.Repositories.BattleRepository→App.Shared.Adapters.Contracts.QueryBuilder.SelectStatement
- Direction
- Battle.Adapters.Repositories uses Shared.Adapters.Contracts.QueryBuilder. Changing Shared.Adapters.Contracts.QueryBuilder can break Battle.Adapters.Repositories, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→21 Battle.Adapters.Repositories depends on Player.UseCases.Contracts✕
- Type pairs
- 1 distinct (type in Battle.Adapters.Repositories → type in Player.UseCases.Contracts) reference.
- Which types
App.Battle.Adapters.Repositories.BattleRepository→App.Player.UseCases.Contracts.PlayerRepository
- Direction
- Battle.Adapters.Repositories uses Player.UseCases.Contracts. Changing Player.UseCases.Contracts can break Battle.Adapters.Repositories, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→23 Battle.Adapters.Repositories depends on Battle.Domain.ValueObjects✕
- Type pairs
- 1 distinct (type in Battle.Adapters.Repositories → type in Battle.Domain.ValueObjects) reference.
- Which types
App.Battle.Adapters.Repositories.BattleRepository→App.Battle.Domain.ValueObjects.BattlePokemon
- Direction
- Battle.Adapters.Repositories uses Battle.Domain.ValueObjects. Changing Battle.Domain.ValueObjects can break Battle.Adapters.Repositories, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→32 Battle.Adapters.Repositories depends on Pokedex.UseCases.Contracts✕
- Type pairs
- 1 distinct (type in Battle.Adapters.Repositories → type in Pokedex.UseCases.Contracts) reference.
- Which types
App.Battle.Adapters.Repositories.BattleRepository→App.Pokedex.UseCases.Contracts.PokemonRepository
- Direction
- Battle.Adapters.Repositories uses Pokedex.UseCases.Contracts. Changing Pokedex.UseCases.Contracts can break Battle.Adapters.Repositories, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→33 Battle.Adapters.Repositories depends on Battle.Domain✕
- Type pairs
- 1 distinct (type in Battle.Adapters.Repositories → type in Battle.Domain) reference.
- Which types
App.Battle.Adapters.Repositories.BattleRepository→App.Battle.Domain.Battle
- Direction
- Battle.Adapters.Repositories uses Battle.Domain. Changing Battle.Domain can break Battle.Adapters.Repositories, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→37 Battle.Adapters.Repositories depends on Battle.UseCases.Contracts✕
- Type pairs
- 1 distinct (type in Battle.Adapters.Repositories → type in Battle.UseCases.Contracts) reference.
- Which types
App.Battle.Adapters.Repositories.BattleRepository→App.Battle.UseCases.Contracts.BattleRepository
- Direction
- Battle.Adapters.Repositories uses Battle.UseCases.Contracts. Changing Battle.UseCases.Contracts can break Battle.Adapters.Repositories, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→6 Battle.UseCases.StartBattle depends on Shared.Helpers✕
- Type pairs
- 2 distinct (type in Battle.UseCases.StartBattle → type in Shared.Helpers) references.
- Which types
App.Battle.UseCases.StartBattle.InputBoundary→App.Shared.Helpers.DTOApp.Battle.UseCases.StartBattle.OutputBoundary→App.Shared.Helpers.DTO
- Direction
- Battle.UseCases.StartBattle uses Shared.Helpers. Changing Shared.Helpers can break Battle.UseCases.StartBattle, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→11 Battle.UseCases.StartBattle depends on Shared.Adapters.Contracts✕
- Type pairs
- 1 distinct (type in Battle.UseCases.StartBattle → type in Shared.Adapters.Contracts) reference.
- Which types
App.Battle.UseCases.StartBattle.StartBattleValidator→App.Shared.Adapters.Contracts.ValidatorTool
- Direction
- Battle.UseCases.StartBattle uses Shared.Adapters.Contracts. Changing Shared.Adapters.Contracts can break Battle.UseCases.StartBattle, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→21 Battle.UseCases.StartBattle depends on Player.UseCases.Contracts✕
- Type pairs
- 1 distinct (type in Battle.UseCases.StartBattle → type in Player.UseCases.Contracts) reference.
- Which types
App.Battle.UseCases.StartBattle.StartBattle→App.Player.UseCases.Contracts.PlayerRepository
- Direction
- Battle.UseCases.StartBattle uses Player.UseCases.Contracts. Changing Player.UseCases.Contracts can break Battle.UseCases.StartBattle, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→32 Battle.UseCases.StartBattle depends on Pokedex.UseCases.Contracts✕
- Type pairs
- 2 distinct (type in Battle.UseCases.StartBattle → type in Pokedex.UseCases.Contracts) references.
- Which types
App.Battle.UseCases.StartBattle.StartBattle→App.Pokedex.UseCases.Contracts.PokedexRepositoryApp.Battle.UseCases.StartBattle.StartBattle→App.Pokedex.UseCases.Contracts.PokemonRepository
- Direction
- Battle.UseCases.StartBattle uses Pokedex.UseCases.Contracts. Changing Pokedex.UseCases.Contracts can break Battle.UseCases.StartBattle, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→37 Battle.UseCases.StartBattle depends on Battle.UseCases.Contracts✕
- Type pairs
- 1 distinct (type in Battle.UseCases.StartBattle → type in Battle.UseCases.Contracts) reference.
- Which types
App.Battle.UseCases.StartBattle.StartBattle→App.Battle.UseCases.Contracts.BattleRepository
- Direction
- Battle.UseCases.StartBattle uses Battle.UseCases.Contracts. Changing Battle.UseCases.Contracts can break Battle.UseCases.StartBattle, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→12 Battle.Adapters.Http depends on Shared.Adapters.Http✕
- Type pairs
- 1 distinct (type in Battle.Adapters.Http → type in Shared.Adapters.Http) reference.
- Which types
App.Battle.Adapters.Http.StartAction→App.Shared.Adapters.Http.PayloadAction
- Direction
- Battle.Adapters.Http uses Shared.Adapters.Http. Changing Shared.Adapters.Http can break Battle.Adapters.Http, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→39 Battle.Adapters.Http depends on Battle.UseCases.StartBattle✕
- Type pairs
- 1 distinct (type in Battle.Adapters.Http → type in Battle.UseCases.StartBattle) reference.
- Which types
App.Battle.Adapters.Http.StartAction→App.Battle.UseCases.StartBattle.StartBattle
- Direction
- Battle.Adapters.Http uses Battle.UseCases.StartBattle. Changing Battle.UseCases.StartBattle can break Battle.Adapters.Http, 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
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A06:2021 — Vulnerable & Outdated Components | 11 | High / Critical |
| A05:2021 — Security Misconfiguration | 5 | High / Critical |
Roadmap
First, establish a CI workflow to build and test on every push or pull request to ensure code quality. Next, implement health checks and immutable image tags in your deployment pipeline to enable reliable rollbacks. Finally, address the single orphaned file in your knowledge base and create an Architecture Decision Record to document significant design choices and their consequences.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Add a CI workflow that builds and runs the test suite on every push/PR. | +19.1 pts | Medium | CI/CD gates |
| Add a `healthcheck:` to the served compose service — probing the endpoint it already answers on where it has one — with `depends_on: condition: service_healthy` on whatever waits for it, and keep the deployed image tag immutable and recorded so rolling back is re-pointing at the previous tag rather than rebuilding. | +18.2 pts | Medium | Deployment & Rollback |
| Resolve the 1 Orphaned files with no living knowledge finding(s) in Knowledge Freshness. | +6.1 pts | Low | Knowledge Freshness |
| Resolve the 1 No ADRs found finding(s) in ADR Quality. | +6.1 pts | Low | ADR 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. | +6.1 pts | Medium | Documentation (README) |
| Resolve the 1 Documentation finding(s) in Documentation Quality — start with README.md. | +0.9 pts | Low | Documentation Quality |
| Resolve the 5 Medium CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (5). | +0.3 pts | Low | Dependency Vulnerabilities |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 0.4 | Slop | Dependency Vulnerabilities: Critical CVE: REDACTED |
| REDACTED | 2.1 | Slop | IaC & Container Security: High IaC: REDACTED |
| src/Shared/Adapters/QueryBuilder/MySQL/Select.php | 7.2 | Mixed | Code Duplication: Duplicated block (36 lines × 2) |
| src/Shared/Adapters/QueryBuilder/MySQL/Delete.php | 7.8 | Mixed | Code Duplication: Members sharing a duplicated core (4 members, 50+ identical tokens) |
| src/Shared/Adapters/QueryBuilder/MySQL/Insert.php | 7.8 | Mixed | Code Duplication: Duplicated block (25 lines × 2) |
| src/Shared/Adapters/QueryBuilder/MySQL/Update.php | 7.8 | Mixed | Code Duplication: Duplicated block (19 lines × 2) |
| src/Market/UseCases/Purchase/PurchaseValidator.php | 8.5 | Near-clean | Cognitive Complexity: PurchaseValidator.validate (cognitive 19) |
| src/Shared/Infra/Drivers/MySQLDriver.php | 8.5 | Near-clean | Code Duplication: Duplicated block (20 lines × 2) |
| src/Shared/Adapters/Http/PayloadAction.php | 8.5 | Near-clean | Code Duplication: Duplicated block (14 lines × 2) |
| src/Market/Domain/Factory/ItemFactory.php | 8.5 | Near-clean | Code Duplication: Duplicated block (9 lines × 3) |
| src/Market/Domain/Factory/CartItemFactory.php | 8.5 | Near-clean | Code Duplication: Duplicated block (9 lines × 2) |
| src/Market/UseCases/CreateItem/OutputBoundary.php | 8.5 | Near-clean | Code Duplication: Duplicated block (41 lines × 3) |
| src/Pokedex/Adapters/Repository/PokemonRepository.php | 8.5 | Near-clean | Code Duplication: Duplicated block (13 lines × 3) |
| README.md | 9.5 | Near-clean | Documentation Quality: Documentation: no usage examples |
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. 28 of 31 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 3 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.8 — 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 — 31 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, 34 of 47 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line.
- Is there a tool behind the number? Every score below names the method that produced it — Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled · advisory — not a narrative.
- Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.
Tools & methods
| Method | Backs | Version | Evaluator |
|---|---|---|---|
| Roslyn static analysis | Complexity, cohesion, coupling, dead code, API surface, layering | 5.3.0 | ✓ deterministic |
| Native secret scanner | Hardcoded secrets / credentials | 1.0.0 | ✓ deterministic |
| Watchdog duplication detector (in-process) | Code duplication | 1.0.0 | ✓ deterministic |
| Coverage (coverlet / dotnet-coverage) | Line & branch coverage | 10.0.400 | ✓ deterministic |
| NuGet / dotnet | Outdated, vulnerable & deprecated dependencies | 10.0.400 | ✓ deterministic |
| git / LibGit2Sharp | Churn hotspots, knowledge concentration, history | 2.43.0 · 0.31.0 | ✓ deterministic |
| gitleaks · semgrep · trivy · checkov | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 · 3.2.533 | ✓ deterministic |
| LLM (sampled · advisory) | Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurement | Local LLM | ◐ LLM · sampled · advisory |
Run transparency — what happened this run
- D8 Code Coverage — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Coverage NOT MEASURED: test source is present (.php) but the built-in coverage collector has no runner for this repository's ecosystem — so this suite was never executed by it. Not scored — this is a gap in the analyzer's language coverage, not a defect in the repo. To have real coverage read, produce a coverage report in a standard format (Clover XML — with Xdebug (`XDEBUG_MODE=coverage`) or PCOV installed, `vendor/bin/phpunit --coverage-clover coverage.xml`) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures. You can widen what we reach: optional: produce a coverage report in a standard format (Clover XML — with Xdebug (`XDEBUG_MODE=coverage`) or PCOV installed, `vendor/bin/phpunit --coverage-clover coverage.xml`) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures — then the real number is read on the next scan.
- D11 Test Reliability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Test source is present (.php) but the built-in reliability runner does not support this repository's ecosystem, so flakiness couldn't be assessed. Not scored — this is a gap in the analyzer's language coverage, not a finding about this repository.
- D14 License Compliance — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Not scored — this repository's package manifest is not parsed for licence data yet. A gap in the analyzer's language coverage, NOT a finding that the repository's licenses are compliant (composer.json), which this pass does not parse yet — so this dimension asserts nothing about this repository's licensing in either direction.
- D16 Bus Factor — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. Single-maintainer repository — bus factor is not applicable (2 contributor(s) across 99 commit(s) sampled, automation and bot accounts excluded). One of them holds 98% of the history; the other 1 hold 2% each on average, below the 5% at which there is somebody to hand the work to. That is a single maintainer with drive-by contributors, not a team whose knowledge has concentrated — so the bus factor is not applicable and there is nothing here for the owner to act on.
- D22 Internal API Consistency — not measured this run — 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. D22 identifies the intentionally-exposed surface from `IsPackable` and `.Contracts` project names, MSBuild conventions read off the loaded project set. This target exposed no such projects, so the probe never ran; this says nothing about whether the repository has a public API. This repository commits no C#/VB source at all, so there was never an MSBuild project set to read these conventions off. That is OUR side and it is a COLLECTOR gap, not an environment fault: D22 has no public-API collector for any other ecosystem, and the remedy is to write one — no change to the scan image can close it.
- AX3 Project dependency cycles — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is computed over which project references which — facts that live in .csproj references. This repository either commits no MSBuild project at all (its C# may still have been parsed as syntax-only projects, which carry no references between them) or its projects failed to load, so there was no graph to read. That is a gap in this analyzer's reach — not a finding that the repository is free of what this check looks for.
- AX6 Interface segregation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is computed over the public interfaces this run's compilations declare, and none was loaded, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- AX8 Test isolation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is computed over which projects are test projects, and what they reference — facts that live in .csproj references. This repository either commits no MSBuild project at all (its C# may still have been parsed as syntax-only projects, which carry no references between them) or its projects failed to load, so there was no graph to read. That is a gap in this analyzer's reach — not a finding that the repository is free of what this check looks for.
- C1 Data Protection — 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. These personal data controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks personal data controls.
- C2 Access Controls — 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. These authorization controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks authorization controls.
- C3 Audit Trail — 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. These audit controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks audit controls.
- C4 Data Retention — 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. These retention controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks retention controls.
- C5 Data-Subject Rights — 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. These data-subject rights controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks data-subject rights controls.
- ED5 Idempotency — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check finds retry-prone mutations by walking the repository's declared types, and NONE was loaded on this run, so it had nothing to look at. That is a limit of the analyzer's reach — it reads .NET projects — not a finding that this repository has no command handlers or message consumers.
- GD1 Unfinished & placeholder code — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- IC1 Incompleteness & stubs — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- S1 Web-Security Posture — 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. These web-security controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks web-security controls.
- X1 Async correctness — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X12 Unreachable branch — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X13 Undrained process stream — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X14 Bypassable address classification — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X15 Unvalidated length from an untrusted reader — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X16 Unfloored truncation loop — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X17 Uncapped recursion over a caller-supplied document — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X18 Disposal-pattern correctness — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X19 Unrestored process-global state — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X2 Cancellation propagation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X20 Mistyped argument guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X21 Side-effecting pattern guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X22 Contradicted release guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X23 Unguarded diagnostic materialisation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X24 Document value interpolated into markup unescaped — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X25 Inert configuration knob — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X26 Unsynchronised callback handoff — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X27 Collection changed while being enumerated — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X28 Index access outside its own emptiness guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X29 Per-element action decided by a fixed element — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X3 Exception handling — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X30 Support guard that admits what it rejects — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X32 Type resolved by simple name across every loaded assembly — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X4 Structured logging — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X5 Nullable reference types — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
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.
- 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").
- D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
- D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual — undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (scaffolded migrations, designer/codegen output, generated stubs) is excluded — it is never the team's dead code to delete.
- D19 Documentation Quality: Documentation quality is judged by an LLM over a bounded sample of docs — it reads what is written, not whether the docs match the running system, and it is advisory, not a measurement. Its critique rows are drawn from a closed category vocabulary and each row means the same thing in every run, so two scans can be compared row by row; the SET that fires is still a sample, and does not repeat exactly. Measured on one frozen input, six scans at one engine SHA: 2-5 critique rows per scan, 8 distinct rows across the six, 3 of those 8 seen in only one scan. So a D19 row is evidence about the documentation, but a COUNT of D19 rows is not a quantity — never read a change in it as an improvement or a regression.
- D20 ADR Quality: ADR quality is an LLM read of the decision records present — it cannot know about decisions made and never recorded, and its verdict is sampled and advisory.
- D21 Naming Consistency: Naming quality is an LLM judgement over a bounded sample — it assesses clarity/consistency of the names it sees, not domain-correctness, and is advisory.
- D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
- D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
- D30 Dependency Vulnerabilities: CVE matching depends on accurate package/version metadata and on the advisory databases — a vulnerability with no published advisory, or in code not declared as a dependency, is not seen. Coverage needs a RESOLVED graph: an unpinned requirements.txt, or a pom without a resolved build, yields partial coverage rather than a clean verdict. An ecosystem the analyzer cannot scan is reported as unmeasured, never as clean.
- D31 IaC & Container Security: IaC scanning checks Dockerfiles/Terraform/Kubernetes against best-practice rules — it cannot see the live cloud account, runtime configuration, or drift between the committed config and what is actually deployed.
- D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension — code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
- D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
- D43 Malicious Dependencies: Only packages some vulnerability database has already NAMED as malicious are seen — a compromise published in the last hours, or never reported at all, is invisible here, and this dimension reading 10 is not evidence that a dependency is trustworthy. There is no typosquat or dependency-confusion analysis: a package nobody has reported is simply absent from the feeds. Coverage is the dependency scan's: an ecosystem that could not be scanned is disclosed as unmeasured, never as clean.
- D44 Platform End-of-Life: The support table is FROZEN, so it goes out of date by losing RECALL: a release that ended support after the table was written is missed until the table is refreshed, and this dimension reading 10 is not evidence that a platform is current. Only platforms the repository DECLARES in a place this pass reads are seen — a runtime named only in a 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.
- P4 Deployment & Rollback: Approval/branch-protection rules live in repository settings the scan cannot see — only their in-repo evidence (config files, workflows) is checked, so a control enforced purely in the host's settings reads as "not evidenced".
The LLM boundary
Dimensions
D1 · Cyclomatic Complexity
0 method(s) exceeded the cyclomatic complexity threshold of 15.
D2 · Cognitive Complexity
1 method(s) exceeded the cognitive complexity threshold of 15; the worst was PurchaseValidator.validate at 19.
What to do
- Resolve the 1 PurchaseValidator.validate (cognitive 19) finding(s) in Cognitive Complexity — start with PurchaseValidator.php. — One of this dimension's main actionable groups (1 warning-level).
- Stand up a CI pipeline, then gate Cognitive Complexity 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.
D3 · God Classes
0 god class(es) detected.
D4 · Code Duplication
15 duplicated block group(s) detected. One further row reports members as variants of one another; it aggregates block groups already counted above and is not itself counted.
What to do
- Resolve the 3 Duplicated block (9 lines × 2) finding(s) in Code Duplication — start with Select.php (2), CartItemFactory.php. — One of this dimension's main actionable groups (3 warning-level).
- Resolve the 2 Duplicated block (20 lines × 2) finding(s) in Code Duplication — start with Insert.php, MySQLDriver.php. — One of this dimension's main actionable groups (2 warning-level).
- Resolve the 2 Duplicated block (7 lines × 2) finding(s) in Code Duplication — start with Select.php, Update.php. — One of this dimension's main actionable groups (2 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.
D9 · Test Distribution
12 test methods: 12 unit, 0 integration, 0 BDD, 0 e2e.
D10 · Test Quality
0 skipped, 0 zero-assertion, no mocking-framework packages referenced (hand-written doubles or no mocking) across 12 tests.
D12 · Dependency Hygiene
7 outdated, 0 abandoned direct Composer dependencies. PLATFORM requirements (php, ext-*, lib-*) are deliberately not graded here: they name the runtime rather than a Packagist package, so there is no release for them to be behind — whether that runtime is still supported is a separate question with a separate remedy. Development requirements are excluded, because a consumer never installs them. A newer release is reported only where this repository's OWN constraint already admits it, so the remedy is `composer update` and never a manifest edit. Known CVEs in this dependency graph are D30's question.
D13 · Secret Scanning
Secret scan ran and found no leaked secrets.
D15 · Churn × Complexity Hotspots
No churn × complexity hotspots in the window.
D17 · Explicit Debt
0 deducted task-comment markers across 5024 LoC (0.0/KLoC) → score 10.0. Task comments only: this repository's language is read without a compiler, so D17's suppression, dead-code and commented-out-code arms did not run and this score counts fewer marker kinds than a .NET repository's would.
D19 · Documentation Quality
This is a clean documentation set for Clean Architecture with Pokémon: five README files cover the project's purpose (practicing Clean Architecture by integrating an external Pokémon API), prerequisites (PHP 7.4/Composer/Docker), technologies (Slim 4, PHINX migrations, Redis cache, JSend response specs, PHPDI DI), a detailed architecture diagram, and use cases for purchasing items, viewing player info, catching Pokémon, and starting battles. The document is well-structured with consistent headings ('##', '###') across the five files and an outline that all visible sections carry forward (e.g., Domain | Entities, Use Cases, Battle Start).
D20 · ADR Quality
No architecture decision records were found.
What to do
- Resolve the 1 No ADRs found finding(s) in ADR Quality. — One of this dimension's main actionable groups (1 recommendation-level).
D21 · Naming Consistency
0 naming inconsistencies across 0 sampled symbols.
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. semgrep hit a parse error in 1 file(s) — `REDACTED` — so no absence of findings in them is evidence of anything, and nothing in them was analysed. Fix the syntax error (or exclude the file deliberately) and re-scan to cover them.
D30 · Dependency Vulnerabilities
11 finding(s): 2 critical, 3 high, 6 medium, 0 low.
What to do
- Resolve the 5 Medium CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (5). — One of this dimension's main actionable groups (5 warning-level).
- Resolve the 3 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (3). — One of this dimension's main actionable groups (3 issue-level).
- Resolve the 2 Critical CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (2). — One of this dimension's main actionable groups (2 issue-level).
D31 · IaC & Container Security
5 finding(s): 0 critical, 2 high, 3 medium, 0 low.
What to do
- Resolve the 2 High IaC finding(s) in IaC & Container Security — start with REDACTED (2). — One of this dimension's main actionable groups (2 issue-level).
- Resolve the 3 Medium IaC finding(s) in IaC & Container Security — start with REDACTED (3). — One of this dimension's main actionable groups (3 warning-level).
D34 · Knowledge Freshness
11 of 11 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is config/di.php. Counted over 11 of the 135 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
0 end-of-life runtime(s) and 0 end-of-life framework(s), read from 0 platform declaration(s) and 14 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.
Frontend & cross-cutting dimensions
AX10 · Code composition
AX5 · Architecture & structure
AX7 · Slice cohesion
M1 · Documentation (README)
What to do
- Add a build/run (quick start) section to the root README — the first thing a newcomer needs.
- Add a 'Testing' section to the root README — how to run the test suite.
M2 · Architecture documentation
- No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
What to do
- Record 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
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 phpstan or psalm (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: phpstan or psalm — or `semgrep --config=auto`, which runs on any language — locally for now, since there is no CI pipeline here yet, and as a step of the first workflow you add so a security regression fails the build instead of landing.
- Enable Dependabot/Renovate or a dependency-review gate.
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P4 · Deployment & Rollback
- Deployment is orchestrated by compose, but no service declares a `healthcheck:` and nothing pins a previous image to fall back to — the runtime can tell that the container is up, not that it is serving, so a bad release is harder to detect and reverse.
What to do
- Add a `healthcheck:` to the served compose service — probing the endpoint it already answers on where it has one — with `depends_on: condition: service_healthy` on whatever waits for it, and keep the deployed image tag immutable and recorded so rolling back is re-pointing at the previous tag rather than rebuilding.
- Add an approval/environment gate (required reviewers / protection rules) before production promotion.
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 98% | Exemplary | Strongest area. |
| Architecture | 82% | Strong | Solid. |
| Maturity | 65% | Adequate — gated by D34 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 38% | Weak — gated by P1, P3 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 89% | Strong | Solid. |
Not evidenced — 5 control(s) we could not find positive evidence for
- C3 Audit Trail — Not assessed: these audit controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks audit controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C4 Data Retention — Not assessed: these retention controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks retention controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C5 Data-Subject Rights — Not assessed: these data-subject rights controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks data-subject rights controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- 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 — 79 check(s) not relevant to this codebase
- AC1 Text alternatives — Frontend below the scale floor (24 DOM element(s) < 25) — too little surface to assess accessibility.
- AC2 Forms & labels — Frontend below the scale floor (24 DOM element(s) < 25) — too little surface to assess accessibility.
- AC3 Page structure — Frontend below the scale floor (24 DOM element(s) < 25) — too little surface to assess accessibility.
- AC4 Keyboard semantics — Frontend below the scale floor (24 DOM element(s) < 25) — too little surface to assess accessibility.
- AC5 ARIA correctness — Frontend below the scale floor (24 DOM element(s) < 25) — too little surface to assess accessibility.
- AC6 Visual & motion safety — Frontend below the scale floor (24 DOM element(s) < 25) — too little surface to assess accessibility.
- AC7 A11y enforcement — Frontend below the scale floor (24 DOM element(s) < 25) — too little surface to assess accessibility.
- AX1 Captive dependencies — no DI registrations detected
- AX2 Stateful singletons — no singleton implementations detected
- AX3 Project dependency cycles — not assessed — project cycles and dependency direction are computed over a project-reference graph that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX4 Dependency direction — not applicable to a vertical-slice architecture (the inward-dependency rule is for layered/clean styles)
- AX6 Interface segregation — not assessed — interface segregation is computed over a type surface that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX8 Test isolation — not assessed — test isolation is computed from a project graph (which projects are test projects, and what they reference) that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- 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 — Not assessed: these personal data controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks personal data controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C2 Access Controls — Not assessed: these authorization controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks authorization controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- D11 Test Reliability — Test reliability not included — no .php test runner
- D14 License Compliance — Package manifest not parsed for licence data — analyzer language-coverage gap
- D16 Bus Factor — single-maintainer repository — bus factor is not applicable
- D18 Solution Shape — D18 scores the shape of a .NET solution; this repository has no .NET solution or project files, so the dimension does not apply.
- D22 Internal API Consistency — The exposed public-API surface could not be collected — no C#/VB projects loaded.
- D23 Boundary Type-Coupling — Production source is present (.php) but bounded contexts are resolved over the C#/VB project set, which exposed none, so context scope could not be assessed. Not scored — this is a gap in the analyzer, not a verdict about this repository. Declaring the codebase's bounded contexts (≥2) would let cross-boundary type coupling be assessed — see the recommendation on this dimension for where. Declare them in `.codehealth/config.yaml` at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it — e.g. `architecture:` → `contexts:` → `Billing: ["src/billing", "Acme.Billing"]`, `Catalog: ["src/catalog", "Acme.Catalog"]`.
- D24 Comment Value — No inline comments to assess — comment value is not applicable here.
- D25 ADR Conformance — no ADRs to check
- D26 Project Cohesion — Project cohesion is assessed over the .NET project set; this target exposed no projects, so project size and spread could not be assessed. Not scored — this is a gap in the analyzer's reach, not a verdict about this repository.
- D27 Navigability — symbol resolution incomplete — navigability not assessed
- 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 — D39 measures the IL emitted by a .NET build; this repository has no .NET solution or project files, so the dimension does not apply.
- D40 Network Egress Confinement — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
- D41 Kernel & Syscall Confinement — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
- D42 Runtime Threat Enforcement — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
- D5 Coupling — Inter-project coupling could not be assessed — no analyzable project graph was found for this repository. Not scored: a gap in the analyzer's reach, not a verdict about this repository. (Coupling here is Martin afferent/efferent/instability plus reference cycles across a project-reference graph, read today from .NET project files; other ecosystems' module graphs are not read yet.)
- D6 Cohesion (LCOM4) — Cohesion (LCOM4) is measured over a CS/VB/GO/SCALA/SWIFT/DART class graph, and this repository's production source is .php, which this pass does not read — so no class could be assessed. Not scored — this is a gap in the analyzer, not a finding about this repository.
- D7 Architectural Integrity — no checkable ADRs, and no project-reference graph for the cycle pass to read — so this dimension makes no claim about dependency cycles in either direction (where this repository's language has an import-cycle lens, cycles are reported there). Architectural integrity not assessed
- D8 Code Coverage — Coverage not included — suite not readable by the collector
- DM1 Domain Modelling — not scored — this repository shows only 1 of the 3 signals this lens looks for (a Domain/Aggregates/ValueObjects layer)
- ED1 Event-Driven — not scored — this repository shows none of the 3 signals this lens looks for
- ED5 Idempotency — This check finds retry-prone mutations (command handlers and message/event consumers) by walking the repository's declared types, and none was loaded here, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- ES1 Event Sourcing — not scored — this repository shows none of the 3 signals this lens looks for
- GD1 Unfinished & placeholder code — no source files were read — this check reads C# syntax, and none was loaded for this repository. That is a limit of the analyzer, not a finding about your code.
- IC1 Incompleteness & stubs — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- P12 CI test-gate honesty — no CI workflow found
- P2 Observability — Observability was not assessed: this check reads a source model that does not carry this repository's product — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of a logging idiom this check recognises is NOT evidence that this repo lacks structured logging (it may log through its own ecosystem's logger). This is a gap in the analyzer, not a finding about this repository.
- P7 Outbound HTTP resilience — not measured — the application kind could not be determined for this repo
- P8 Schema migrations — not assessed — schema-migration practice is read from a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- P9 Domain vs controller coverage — no coverage report found on disk — produce a coverage report in a standard format (Clover XML — with Xdebug (`XDEBUG_MODE=coverage`) or PCOV installed, `vendor/bin/phpunit --coverage-clover coverage.xml`) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures, or wire coverage collection into CI, to enable this cross-layer check
- PF1 Benchmark discipline — Performance was not assessed: this lens reads a source model that was not loaded for this repository, because the repository is written in a language this lens does not yet model or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository — in particular it is NOT a statement that this repo is unpackaged or performance-careless.
- PF2 Allocation hygiene — Performance was not assessed: this lens reads a source model that was not loaded for this repository, because the repository is written in a language this lens does not yet model or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository — in particular it is NOT a statement that this repo is unpackaged or performance-careless.
- PF3 Async & latency hygiene — Performance was not assessed: this lens reads a source model that was not loaded for this repository, because the repository is written in a language this lens does not yet model or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository — in particular it is NOT a statement that this repo is unpackaged or performance-careless.
- S1 Web-Security Posture — Not assessed: these web-security controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks web-security controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- X1 Async correctness — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X12 Unreachable branch — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X13 Undrained process stream — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X14 Bypassable address classification — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X15 Unvalidated length from an untrusted reader — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X16 Unfloored truncation loop — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X17 Uncapped recursion over a caller-supplied document — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X18 Disposal-pattern correctness — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X19 Unrestored process-global state — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X2 Cancellation propagation — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X20 Mistyped argument guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X21 Side-effecting pattern guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X22 Contradicted release guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X23 Unguarded diagnostic materialisation — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X24 Document value interpolated into markup unescaped — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X25 Inert configuration knob — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X26 Unsynchronised callback handoff — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X27 Collection changed while being enumerated — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X28 Index access outside its own emptiness guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X29 Per-element action decided by a fixed element — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X3 Exception handling — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X30 Support guard that admits what it rejects — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X32 Type resolved by simple name across every loaded assembly — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X4 Structured logging — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X5 Nullable reference types — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- 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
- REDACTED
Serious — 27 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Duplicated block (9 lines × 2) src/Market/Domain/Factory/CartItemFactory.php:23
- Duplicated block (9 lines × 2) src/Shared/Adapters/QueryBuilder/MySQL/Select.php:29
- Duplicated block (9 lines × 2) src/Shared/Adapters/QueryBuilder/MySQL/Select.php:42
- Duplicated block (20 lines × 2) src/Shared/Adapters/QueryBuilder/MySQL/Insert.php:36
- Duplicated block (20 lines × 2) src/Shared/Infra/Drivers/MySQLDriver.php:84
- Duplicated block (7 lines × 2) src/Shared/Adapters/QueryBuilder/MySQL/Select.php:72
- Duplicated block (7 lines × 2) src/Shared/Adapters/QueryBuilder/MySQL/Update.php:42
- PurchaseValidator.validate (cognitive 19) src/Market/UseCases/Purchase/PurchaseValidator.php:19
- REDACTED
- Members sharing a duplicated core (4 members, 50+ identical tokens) src/Shared/Adapters/QueryBuilder/MySQL/Delete.php:50
- Duplicated block (36 lines × 2) src/Shared/Adapters/QueryBuilder/MySQL/Select.php:130
- Duplicated block (25 lines × 2) src/Shared/Adapters/QueryBuilder/MySQL/Insert.php:60
- Duplicated block (19 lines × 2) src/Shared/Adapters/QueryBuilder/MySQL/Update.php:61
- Duplicated block (14 lines × 2) src/Shared/Adapters/Http/PayloadAction.php:52
- Duplicated block (11 lines × 4) src/Shared/Adapters/QueryBuilder/MySQL/Delete.php:52
- Duplicated block (9 lines × 3) src/Market/Domain/Factory/ItemFactory.php:21
- Duplicated block (41 lines × 3) src/Market/UseCases/CreateItem/OutputBoundary.php:23
- Duplicated block (13 lines × 3) src/Pokedex/Adapters/Repository/PokemonRepository.php:47
- No CI pipeline
Minor — 6 finding(s)
- Documentation: no usage examples README.md
- No ADRs found
- Orphaned files with no living knowledge
- No ADRs
- No SAST
- No rollback/health safety
Minor — 7 finding(s)
- Outdated: http-interop/http-factory-guzzle
- Outdated: nyholm/psr7
- Outdated: nyholm/psr7-server
- Outdated: slim/psr7
- Outdated: slim/slim
- Outdated: twig/twig
- Outdated: vlucas/phpdotenv
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-f6be394f4d9a49d09e362474ea7859b9/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-f6be394f4d9a49d09e362474ea7859b9/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 | osv-scanner | — | osv-scanner --format json --recursive . | 11 | artifacts/raw/osv-scanner.json |
| D31 · IaC & Container Security | trivy | — | trivy config --format json --quiet . | 5 | artifacts/raw/trivy-config.json |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that. | 0 | — |
| D36 · Supply-chain Provenance & Signing | provenance | — | provenance: not applicable — No CI/build pipeline found (.github/.forgejo/.gitea workflows, .circleci, .buildkite, .woodpecker, .teamcity, .gitlab-ci.yml, .travis.yml, bitbucket-pipelines.yml, .drone.yml, .cirrus.yml, .woodpecker.yml, appveyor.yml, azure-pipelines*.yml, .pipelines/, .vsts-ci/, .azuredevops/, Jenkinsfile); there is no build to attest provenance for. | 0 | — |
| D37 · Vulnerability-disclosure Policy | disclosure | — | disclosure: not applicable — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed. | 0 | — |
| D40 · Network Egress Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here. | 0 | — |
| D41 · Kernel & Syscall Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here. | 0 | — |
| D42 · Runtime Threat Enforcement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here. | 0 | — |
| D43 · Malicious Dependencies | osv-scanner | — | osv-scanner --format json --recursive . | 0 | artifacts/raw/osv-scanner.json |