Executive summary
gvolpe/pfps-shopping-cart scores 59 out of 100 and is rated Adequate, while five of its seven lenses score higher still: Performance at 100, rated Exemplary, Architecture at 88 and Domain Modelling at 81, both rated Strong, and Code Health at 75 and Security and Compliance at 64, both rated Adequate.
The score is lower than those five because the weakest lens counts most, and here that is Maturity, which scores 51 and is rated Adequate. Its Knowledge Freshness dimension scores 0 out of 10, and until that reaches 4, Maturity can't be rated higher than Adequate. The first actions are to resolve the 8 Orphaned file finding(s) in Knowledge Freshness and to resolve the 1 No ADRs found finding(s) in ADR Quality, and if Maturity rose to 70, the score would rise from 59 to about 64.
28 findings are critical: eight in Domain ↔ infrastructure boundary, seven in Secrets (history), five in REDACTED Scanning, five in Static Analysis (SAST), two in IaC & Container Security and one in Dependency Vulnerabilities.
Watchdog couldn't measure 8 dimensions in this code, among them Code Coverage, Test Reliability and Internal API Consistency, so they are left out of the score. The product code is 2,445 lines, which would take an estimated 0.1 person-years, around €4,200, to rebuild.
If Maturity rose from 51 to 70, the lowest score rated Strong, the score would rise from 59 to about 64.
New since the last survey: 3 findings
- REDACTED Scanning · REDACTED
- REDACTED Scanning · REDACTED
- Supply-chain Provenance & Signing · REDACTED
Fixed since the last survey: 1 finding
- Supply-chain Provenance & Signing REDACTED
Rebuild cost: about €4,200 · Estimate
| Cost to rebuild | €1,400 to €7,100, for 23 to 75 hours of work, about 0.1 person-years for one engineer |
|---|---|
| Difficulty of the problem | Standard, judged from the kind of software and how it is built. Code that solves a harder problem, such as payments or medical bookings, costs more per line to write. |
| Quality factor | ×0.8 at a score of 59. Better code takes more work to write, so the factor is ×1.0 at a score of 70, lower below it and higher above it. |
| Size | Small: 2,445 lines of product code |
Top priorities
Diagnosis: what the measurements show together
Architecture — module dependency graph
Architecture: which parts of the code depend on which
| uses → | 1 shop.config.types | 2 shop.domain | 3 shop.domain.auth | 4 shop.domain.brand | 5 shop.domain.category | 6 shop.domain.checkout | 7 shop.domain.healthcheck | 8 shop.effects | 9 shop.ext.derevo.Derive | 10 shop.ext.http4s.refined | 11 shop.http | 12 shop.retries | 13 tokens.data | 14 shop.auth | 15 shop.config | 16 shop.domain.healthcheck.Status | 17 shop.domain.item | 18 shop.domain.payment | 19 shop.ext.derevo | 20 shop.http.auth.users | 21 shop.modules | 22 shop.resources | 23 shop.retries.Retriable | 24 tokens | 25 shop.config.AppEnvironment | 26 shop.domain.cart | 27 shop.ext.ciris | 28 shop.ext.http4s | 29 shop.optics | 30 shop.services.TxItems | 31 shop | 32 shop.domain.order | 33 shop.ext | 34 shop.http.clients | 35 shop.services | 36 shop.sql | 37 shop.http.routes | 38 shop.http.routes.admin | 39 shop.programs | 40 shop.http.routes.secured |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 shop.config.types | ||||||||||||||||||||||||||||||||||||||||
| 2 shop.domain | ||||||||||||||||||||||||||||||||||||||||
| 3 shop.domain.auth | ||||||||||||||||||||||||||||||||||||||||
| 4 shop.domain.brand | ||||||||||||||||||||||||||||||||||||||||
| 5 shop.domain.category | ||||||||||||||||||||||||||||||||||||||||
| 6 shop.domain.checkout | ||||||||||||||||||||||||||||||||||||||||
| 7 shop.domain.healthcheck | ||||||||||||||||||||||||||||||||||||||||
| 8 shop.effects | ||||||||||||||||||||||||||||||||||||||||
| 9 shop.ext.derevo.Derive | ||||||||||||||||||||||||||||||||||||||||
| 10 shop.ext.http4s.refined | ||||||||||||||||||||||||||||||||||||||||
| 11 shop.http | ||||||||||||||||||||||||||||||||||||||||
| 12 shop.retries | ||||||||||||||||||||||||||||||||||||||||
| 13 tokens.data | ||||||||||||||||||||||||||||||||||||||||
| 14 shop.auth | 1 | 2 | ||||||||||||||||||||||||||||||||||||||
| 15 shop.config | 3 | |||||||||||||||||||||||||||||||||||||||
| 16 shop.domain.healthcheck.Status | 2 | |||||||||||||||||||||||||||||||||||||||
| 17 shop.domain.item | 3 | 3 | 2 | |||||||||||||||||||||||||||||||||||||
| 18 shop.domain.payment | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 19 shop.ext.derevo | 1 | |||||||||||||||||||||||||||||||||||||||
| 20 shop.http.auth.users | 5 | |||||||||||||||||||||||||||||||||||||||
| 21 shop.modules | 4 | |||||||||||||||||||||||||||||||||||||||
| 22 shop.resources | 2 | |||||||||||||||||||||||||||||||||||||||
| 23 shop.retries.Retriable | 2 | |||||||||||||||||||||||||||||||||||||||
| 24 tokens | 1 | |||||||||||||||||||||||||||||||||||||||
| 25 shop.config.AppEnvironment | 2 | |||||||||||||||||||||||||||||||||||||||
| 26 shop.domain.cart | 1 | 2 | ||||||||||||||||||||||||||||||||||||||
| 27 shop.ext.ciris | 1 | |||||||||||||||||||||||||||||||||||||||
| 28 shop.ext.http4s | 1 | |||||||||||||||||||||||||||||||||||||||
| 29 shop.optics | 1 | |||||||||||||||||||||||||||||||||||||||
| 30 shop.services.TxItems | 1 | 1 | 2 | |||||||||||||||||||||||||||||||||||||
| 31 shop | 1 | |||||||||||||||||||||||||||||||||||||||
| 32 shop.domain.order | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 33 shop.ext | 1 | |||||||||||||||||||||||||||||||||||||||
| 34 shop.http.clients | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 35 shop.services | 9 | 6 | 4 | 1 | 9 | 1 | 4 | 2 | 1 | 4 | ||||||||||||||||||||||||||||||
| 36 shop.sql | 3 | 2 | 2 | 3 | 2 | |||||||||||||||||||||||||||||||||||
| 37 shop.http.routes | 1 | 7 | ||||||||||||||||||||||||||||||||||||||
| 38 shop.http.routes.admin | 3 | 3 | ||||||||||||||||||||||||||||||||||||||
| 39 shop.programs | 1 | 1 | 1 | 1 | 1 | 2 | 1 | 1 | ||||||||||||||||||||||||||||||||
| 40 shop.http.routes.secured | 3 | 1 | 1 | 1 |
14→1 shop.auth uses shop.config.types✕
- Connections
- 1 pair of types, where a type in shop.auth uses a type in shop.config.types.
- The types involved
shop.auth.JwtExpire→shop.config.types.TokenExpiration
- Direction
- shop.auth uses shop.config.types, so a change to shop.config.types can break shop.auth, while a change to shop.auth can't break shop.config.types.
- Position
- Below the diagonal: shop.auth uses a module listed above it, which is the healthy direction.
14→3 shop.auth uses shop.domain.auth✕
- Connections
- 2 pairs of types, where a type in shop.auth uses a type in shop.domain.auth.
- The types involved
shop.auth.Crypto→shop.domain.auth.EncryptedPasswordshop.auth.Crypto→shop.domain.auth.Password
- Direction
- shop.auth uses shop.domain.auth, so a change to shop.domain.auth can break shop.auth, while a change to shop.auth can't break shop.domain.auth.
- Position
- Below the diagonal: shop.auth uses a module listed above it, which is the healthy direction.
15→1 shop.config uses shop.config.types✕
- Connections
- 3 pairs of types, where a type in shop.config uses a type in shop.config.types.
- The types involved
shop.config.Config→shop.config.types.AppConfigshop.config.Config→shop.config.types.PaymentURIshop.config.Config→shop.config.types.RedisURI
- Direction
- shop.config uses shop.config.types, so a change to shop.config.types can break shop.config, while a change to shop.config can't break shop.config.types.
- Position
- Below the diagonal: shop.config uses a module listed above it, which is the healthy direction.
16→7 shop.domain.healthcheck.Status uses shop.domain.healthcheck✕
- Connections
- 2 pairs of types, where a type in shop.domain.healthcheck.Status uses a type in shop.domain.healthcheck.
- The types involved
shop.domain.healthcheck.Status.Okay→shop.domain.healthcheck.Statusshop.domain.healthcheck.Status.Unreachable→shop.domain.healthcheck.Status
- Direction
- shop.domain.healthcheck.Status uses shop.domain.healthcheck, so a change to shop.domain.healthcheck can break shop.domain.healthcheck.Status, while a change to shop.domain.healthcheck.Status can't break shop.domain.healthcheck.
- Position
- Below the diagonal: shop.domain.healthcheck.Status uses a module listed above it, which is the healthy direction.
17→4 shop.domain.item uses shop.domain.brand✕
- Connections
- 3 pairs of types, where a type in shop.domain.item uses a type in shop.domain.brand.
- The types involved
shop.domain.item.CreateItem→shop.domain.brand.BrandIdshop.domain.item.CreateItemParam→shop.domain.brand.BrandIdshop.domain.item.Item→shop.domain.brand.Brand
- Direction
- shop.domain.item uses shop.domain.brand, so a change to shop.domain.brand can break shop.domain.item, while a change to shop.domain.item can't break shop.domain.brand.
- Position
- Below the diagonal: shop.domain.item uses a module listed above it, which is the healthy direction.
17→5 shop.domain.item uses shop.domain.category✕
- Connections
- 3 pairs of types, where a type in shop.domain.item uses a type in shop.domain.category.
- The types involved
shop.domain.item.CreateItem→shop.domain.category.CategoryIdshop.domain.item.CreateItemParam→shop.domain.category.CategoryIdshop.domain.item.Item→shop.domain.category.Category
- Direction
- shop.domain.item uses shop.domain.category, so a change to shop.domain.category can break shop.domain.item, while a change to shop.domain.item can't break shop.domain.category.
- Position
- Below the diagonal: shop.domain.item uses a module listed above it, which is the healthy direction.
17→26 shop.domain.item uses shop.domain.cart part of a loop✕
- Connections
- 2 pairs of types, where a type in shop.domain.item uses a type in shop.domain.cart.
- The types involved
shop.domain.item.Item→shop.domain.cart.CartItemshop.domain.item.Item→shop.domain.cart.Quantity
- Direction
- shop.domain.item uses shop.domain.cart, so a change to shop.domain.cart can break shop.domain.item, while a change to shop.domain.item can't break shop.domain.cart.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
18→3 shop.domain.payment uses shop.domain.auth✕
- Connections
- 1 pair of types, where a type in shop.domain.payment uses a type in shop.domain.auth.
- The types involved
shop.domain.payment.Payment→shop.domain.auth.UserId
- Direction
- shop.domain.payment uses shop.domain.auth, so a change to shop.domain.auth can break shop.domain.payment, while a change to shop.domain.payment can't break shop.domain.auth.
- Position
- Below the diagonal: shop.domain.payment uses a module listed above it, which is the healthy direction.
18→6 shop.domain.payment uses shop.domain.checkout✕
- Connections
- 1 pair of types, where a type in shop.domain.payment uses a type in shop.domain.checkout.
- The types involved
shop.domain.payment.Payment→shop.domain.checkout.Card
- Direction
- shop.domain.payment uses shop.domain.checkout, so a change to shop.domain.checkout can break shop.domain.payment, while a change to shop.domain.payment can't break shop.domain.checkout.
- Position
- Below the diagonal: shop.domain.payment uses a module listed above it, which is the healthy direction.
19→9 shop.ext.derevo uses shop.ext.derevo.Derive✕
- Connections
- 1 pair of types, where a type in shop.ext.derevo uses a type in shop.ext.derevo.Derive.
- The types involved
shop.ext.derevo.Derive→shop.ext.derevo.Derive.OnlyNewtypes
- Direction
- shop.ext.derevo uses shop.ext.derevo.Derive, so a change to shop.ext.derevo.Derive can break shop.ext.derevo, while a change to shop.ext.derevo can't break shop.ext.derevo.Derive.
- Position
- Below the diagonal: shop.ext.derevo uses a module listed above it, which is the healthy direction.
20→3 shop.http.auth.users uses shop.domain.auth✕
- Connections
- 5 pairs of types, where a type in shop.http.auth.users uses a type in shop.domain.auth.
- The types involved
shop.http.auth.users.User→shop.domain.auth.UserIdshop.http.auth.users.User→shop.domain.auth.UserNameshop.http.auth.users.UserWithPassword→shop.domain.auth.EncryptedPasswordshop.http.auth.users.UserWithPassword→shop.domain.auth.UserIdshop.http.auth.users.UserWithPassword→shop.domain.auth.UserName
- Direction
- shop.http.auth.users uses shop.domain.auth, so a change to shop.domain.auth can break shop.http.auth.users, while a change to shop.http.auth.users can't break shop.domain.auth.
- Position
- Below the diagonal: shop.http.auth.users uses a module listed above it, which is the healthy direction.
21→1 shop.modules uses shop.config.types✕
- Connections
- 4 pairs of types, where a type in shop.modules uses a type in shop.config.types.
- The types involved
shop.modules.HttpClients→shop.config.types.PaymentConfigshop.modules.Programs→shop.config.types.CheckoutConfigshop.modules.Security→shop.config.types.AppConfigshop.modules.Services→shop.config.types.ShoppingCartExpiration
- Direction
- shop.modules uses shop.config.types, so a change to shop.config.types can break shop.modules, while a change to shop.modules can't break shop.config.types.
- Position
- Below the diagonal: shop.modules uses a module listed above it, which is the healthy direction.
22→1 shop.resources uses shop.config.types✕
- Connections
- 2 pairs of types, where a type in shop.resources uses a type in shop.config.types.
- The types involved
shop.resources.MkHttpClient→shop.config.types.HttpClientConfigshop.resources.MkHttpServer→shop.config.types.HttpServerConfig
- Direction
- shop.resources uses shop.config.types, so a change to shop.config.types can break shop.resources, while a change to shop.resources can't break shop.config.types.
- Position
- Below the diagonal: shop.resources uses a module listed above it, which is the healthy direction.
23→12 shop.retries.Retriable uses shop.retries✕
- Connections
- 2 pairs of types, where a type in shop.retries.Retriable uses a type in shop.retries.
- The types involved
shop.retries.Retriable.Orders→shop.retries.Retriableshop.retries.Retriable.Payments→shop.retries.Retriable
- Direction
- shop.retries.Retriable uses shop.retries, so a change to shop.retries can break shop.retries.Retriable, while a change to shop.retries.Retriable can't break shop.retries.
- Position
- Below the diagonal: shop.retries.Retriable uses a module listed above it, which is the healthy direction.
24→13 tokens uses tokens.data✕
- Connections
- 1 pair of types, where a type in tokens uses a type in tokens.data.
- The types involved
tokens.TokenGenerator→tokens.data.Claim
- Direction
- tokens uses tokens.data, so a change to tokens.data can break tokens, while a change to tokens can't break tokens.data.
- Position
- Below the diagonal: tokens uses a module listed above it, which is the healthy direction.
25→15 shop.config.AppEnvironment uses shop.config✕
- Connections
- 2 pairs of types, where a type in shop.config.AppEnvironment uses a type in shop.config.
- The types involved
shop.config.AppEnvironment.Prod→shop.config.AppEnvironmentshop.config.AppEnvironment.Test→shop.config.AppEnvironment
- Direction
- shop.config.AppEnvironment uses shop.config, so a change to shop.config can break shop.config.AppEnvironment, while a change to shop.config.AppEnvironment can't break shop.config.
- Position
- Below the diagonal: shop.config.AppEnvironment uses a module listed above it, which is the healthy direction.
26→3 shop.domain.cart uses shop.domain.auth✕
- Connections
- 1 pair of types, where a type in shop.domain.cart uses a type in shop.domain.auth.
- The types involved
shop.domain.cart.CartNotFound→shop.domain.auth.UserId
- Direction
- shop.domain.cart uses shop.domain.auth, so a change to shop.domain.auth can break shop.domain.cart, while a change to shop.domain.cart can't break shop.domain.auth.
- Position
- Below the diagonal: shop.domain.cart uses a module listed above it, which is the healthy direction.
26→17 shop.domain.cart uses shop.domain.item✕
- Connections
- 2 pairs of types, where a type in shop.domain.cart uses a type in shop.domain.item.
- The types involved
shop.domain.cart.Cart→shop.domain.item.ItemIdshop.domain.cart.CartItem→shop.domain.item.Item
- Direction
- shop.domain.cart uses shop.domain.item, so a change to shop.domain.item can break shop.domain.cart, while a change to shop.domain.cart can't break shop.domain.item.
- Position
- Below the diagonal: shop.domain.cart uses a module listed above it, which is the healthy direction.
27→19 shop.ext.ciris uses shop.ext.derevo✕
- Connections
- 1 pair of types, where a type in shop.ext.ciris uses a type in shop.ext.derevo.
- The types involved
shop.ext.ciris.configDecoder→shop.ext.derevo.Derive
- Direction
- shop.ext.ciris uses shop.ext.derevo, so a change to shop.ext.derevo can break shop.ext.ciris, while a change to shop.ext.ciris can't break shop.ext.derevo.
- Position
- Below the diagonal: shop.ext.ciris uses a module listed above it, which is the healthy direction.
28→19 shop.ext.http4s uses shop.ext.derevo✕
- Connections
- 1 pair of types, where a type in shop.ext.http4s uses a type in shop.ext.derevo.
- The types involved
shop.ext.http4s.queryParam→shop.ext.derevo.Derive
- Direction
- shop.ext.http4s uses shop.ext.derevo, so a change to shop.ext.derevo can break shop.ext.http4s, while a change to shop.ext.http4s can't break shop.ext.derevo.
- Position
- Below the diagonal: shop.ext.http4s uses a module listed above it, which is the healthy direction.
29→19 shop.optics uses shop.ext.derevo✕
- Connections
- 1 pair of types, where a type in shop.optics uses a type in shop.ext.derevo.
- The types involved
shop.optics.uuid→shop.ext.derevo.Derive
- Direction
- shop.optics uses shop.ext.derevo, so a change to shop.ext.derevo can break shop.optics, while a change to shop.optics can't break shop.ext.derevo.
- Position
- Below the diagonal: shop.optics uses a module listed above it, which is the healthy direction.
30→4 shop.services.TxItems uses shop.domain.brand✕
- Connections
- 1 pair of types, where a type in shop.services.TxItems uses a type in shop.domain.brand.
- The types involved
shop.services.TxItems.ItemCreation→shop.domain.brand.BrandName
- Direction
- shop.services.TxItems uses shop.domain.brand, so a change to shop.domain.brand can break shop.services.TxItems, while a change to shop.services.TxItems can't break shop.domain.brand.
- Position
- Below the diagonal: shop.services.TxItems uses a module listed above it, which is the healthy direction.
30→5 shop.services.TxItems uses shop.domain.category✕
- Connections
- 1 pair of types, where a type in shop.services.TxItems uses a type in shop.domain.category.
- The types involved
shop.services.TxItems.ItemCreation→shop.domain.category.CategoryName
- Direction
- shop.services.TxItems uses shop.domain.category, so a change to shop.domain.category can break shop.services.TxItems, while a change to shop.services.TxItems can't break shop.domain.category.
- Position
- Below the diagonal: shop.services.TxItems uses a module listed above it, which is the healthy direction.
30→17 shop.services.TxItems uses shop.domain.item✕
- Connections
- 2 pairs of types, where a type in shop.services.TxItems uses a type in shop.domain.item.
- The types involved
shop.services.TxItems.ItemCreation→shop.domain.item.ItemDescriptionshop.services.TxItems.ItemCreation→shop.domain.item.ItemName
- Direction
- shop.services.TxItems uses shop.domain.item, so a change to shop.domain.item can break shop.services.TxItems, while a change to shop.services.TxItems can't break shop.domain.item.
- Position
- Below the diagonal: shop.services.TxItems uses a module listed above it, which is the healthy direction.
31→27 shop uses shop.ext.ciris✕
- Connections
- 1 pair of types, where a type in shop uses a type in shop.ext.ciris.
- The types involved
shop.OrphanInstances→shop.ext.ciris.Decoder
- Direction
- shop uses shop.ext.ciris, so a change to shop.ext.ciris can break shop, while a change to shop can't break shop.ext.ciris.
- Position
- Below the diagonal: shop uses a module listed above it, which is the healthy direction.
32→17 shop.domain.order uses shop.domain.item✕
- Connections
- 1 pair of types, where a type in shop.domain.order uses a type in shop.domain.item.
- The types involved
shop.domain.order.Order→shop.domain.item.ItemId
- Direction
- shop.domain.order uses shop.domain.item, so a change to shop.domain.item can break shop.domain.order, while a change to shop.domain.order can't break shop.domain.item.
- Position
- Below the diagonal: shop.domain.order uses a module listed above it, which is the healthy direction.
32→26 shop.domain.order uses shop.domain.cart✕
- Connections
- 1 pair of types, where a type in shop.domain.order uses a type in shop.domain.cart.
- The types involved
shop.domain.order.Order→shop.domain.cart.Quantity
- Direction
- shop.domain.order uses shop.domain.cart, so a change to shop.domain.cart can break shop.domain.order, while a change to shop.domain.order can't break shop.domain.cart.
- Position
- Below the diagonal: shop.domain.order uses a module listed above it, which is the healthy direction.
33→27 shop.ext uses shop.ext.ciris✕
- Connections
- 1 pair of types, where a type in shop.ext uses a type in shop.ext.ciris.
- The types involved
shop.ext.refined→shop.ext.ciris.Decoder
- Direction
- shop.ext uses shop.ext.ciris, so a change to shop.ext.ciris can break shop.ext, while a change to shop.ext can't break shop.ext.ciris.
- Position
- Below the diagonal: shop.ext uses a module listed above it, which is the healthy direction.
34→18 shop.http.clients uses shop.domain.payment✕
- Connections
- 1 pair of types, where a type in shop.http.clients uses a type in shop.domain.payment.
- The types involved
shop.http.clients.PaymentClient→shop.domain.payment.Payment
- Direction
- shop.http.clients uses shop.domain.payment, so a change to shop.domain.payment can break shop.http.clients, while a change to shop.http.clients can't break shop.domain.payment.
- Position
- Below the diagonal: shop.http.clients uses a module listed above it, which is the healthy direction.
34→32 shop.http.clients uses shop.domain.order✕
- Connections
- 1 pair of types, where a type in shop.http.clients uses a type in shop.domain.order.
- The types involved
shop.http.clients.PaymentClient→shop.domain.order.PaymentId
- Direction
- shop.http.clients uses shop.domain.order, so a change to shop.domain.order can break shop.http.clients, while a change to shop.http.clients can't break shop.domain.order.
- Position
- Below the diagonal: shop.http.clients uses a module listed above it, which is the healthy direction.
35→3 shop.services uses shop.domain.auth✕
- Connections
- 9 pairs of types, where a type in shop.services uses a type in shop.domain.auth.
- The types involved
shop.services.Auth→shop.domain.auth.Passwordshop.services.Auth→shop.domain.auth.UserNameshop.services.OrderSQL→shop.domain.auth.UserIdshop.services.Orders→shop.domain.auth.UserIdshop.services.ShoppingCart→shop.domain.auth.UserIdshop.services.UserSQL→shop.domain.auth.UserNameshop.services.Users→shop.domain.auth.EncryptedPasswordshop.services.Users→shop.domain.auth.UserIdshop.services.Users→shop.domain.auth.UserName
- Direction
- shop.services uses shop.domain.auth, so a change to shop.domain.auth can break shop.services, while a change to shop.services can't break shop.domain.auth.
- Position
- Below the diagonal: shop.services uses a module listed above it, which is the healthy direction.
35→4 shop.services uses shop.domain.brand✕
- Connections
- 6 pairs of types, where a type in shop.services uses a type in shop.domain.brand.
- The types involved
shop.services.BrandSQL→shop.domain.brand.Brandshop.services.Brands→shop.domain.brand.Brandshop.services.Brands→shop.domain.brand.BrandIdshop.services.Brands→shop.domain.brand.BrandNameshop.services.ItemSQL→shop.domain.brand.BrandNameshop.services.Items→shop.domain.brand.BrandName
- Direction
- shop.services uses shop.domain.brand, so a change to shop.domain.brand can break shop.services, while a change to shop.services can't break shop.domain.brand.
- Position
- Below the diagonal: shop.services uses a module listed above it, which is the healthy direction.
35→5 shop.services uses shop.domain.category✕
- Connections
- 4 pairs of types, where a type in shop.services uses a type in shop.domain.category.
- The types involved
shop.services.Categories→shop.domain.category.Categoryshop.services.Categories→shop.domain.category.CategoryIdshop.services.Categories→shop.domain.category.CategoryNameshop.services.CategorySQL→shop.domain.category.Category
- Direction
- shop.services uses shop.domain.category, so a change to shop.domain.category can break shop.services, while a change to shop.services can't break shop.domain.category.
- Position
- Below the diagonal: shop.services uses a module listed above it, which is the healthy direction.
35→7 shop.services uses shop.domain.healthcheck✕
- Connections
- 1 pair of types, where a type in shop.services uses a type in shop.domain.healthcheck.
- The types involved
shop.services.HealthCheck→shop.domain.healthcheck.AppStatus
- Direction
- shop.services uses shop.domain.healthcheck, so a change to shop.domain.healthcheck can break shop.services, while a change to shop.services can't break shop.domain.healthcheck.
- Position
- Below the diagonal: shop.services uses a module listed above it, which is the healthy direction.
35→17 shop.services uses shop.domain.item✕
- Connections
- 9 pairs of types, where a type in shop.services uses a type in shop.domain.item.
- The types involved
shop.services.ItemSQL→shop.domain.item.Itemshop.services.ItemSQL→shop.domain.item.ItemIdshop.services.ItemSQL→shop.domain.item.UpdateItemshop.services.Items→shop.domain.item.CreateItemshop.services.Items→shop.domain.item.Itemshop.services.Items→shop.domain.item.ItemIdshop.services.Items→shop.domain.item.UpdateItemshop.services.ShoppingCart→shop.domain.item.ItemIdshop.services.TxItems→shop.domain.item.ItemId
- Direction
- shop.services uses shop.domain.item, so a change to shop.domain.item can break shop.services, while a change to shop.services can't break shop.domain.item.
- Position
- Below the diagonal: shop.services uses a module listed above it, which is the healthy direction.
35→20 shop.services uses shop.http.auth.users✕
- Connections
- 1 pair of types, where a type in shop.services uses a type in shop.http.auth.users.
- The types involved
shop.services.Users→shop.http.auth.users.UserWithPassword
- Direction
- shop.services uses shop.http.auth.users, so a change to shop.http.auth.users can break shop.services, while a change to shop.services can't break shop.http.auth.users.
- Position
- Below the diagonal: shop.services uses a module listed above it, which is the healthy direction.
35→26 shop.services uses shop.domain.cart✕
- Connections
- 4 pairs of types, where a type in shop.services uses a type in shop.domain.cart.
- The types involved
shop.services.Orders→shop.domain.cart.CartItemshop.services.ShoppingCart→shop.domain.cart.Cartshop.services.ShoppingCart→shop.domain.cart.CartTotalshop.services.ShoppingCart→shop.domain.cart.Quantity
- Direction
- shop.services uses shop.domain.cart, so a change to shop.domain.cart can break shop.services, while a change to shop.services can't break shop.domain.cart.
- Position
- Below the diagonal: shop.services uses a module listed above it, which is the healthy direction.
35→27 shop.services uses shop.ext.ciris✕
- Connections
- 2 pairs of types, where a type in shop.services uses a type in shop.ext.ciris.
- The types involved
shop.services.ItemSQL→shop.ext.ciris.Decodershop.services.OrderSQL→shop.ext.ciris.Decoder
- Direction
- shop.services uses shop.ext.ciris, so a change to shop.ext.ciris can break shop.services, while a change to shop.services can't break shop.ext.ciris.
- Position
- Below the diagonal: shop.services uses a module listed above it, which is the healthy direction.
35→30 shop.services uses shop.services.TxItems✕
- Connections
- 1 pair of types, where a type in shop.services uses a type in shop.services.TxItems.
- The types involved
shop.services.TxItems→shop.services.TxItems.ItemCreation
- Direction
- shop.services uses shop.services.TxItems, so a change to shop.services.TxItems can break shop.services, while a change to shop.services can't break shop.services.TxItems.
- Position
- Below the diagonal: shop.services uses a module listed above it, which is the healthy direction.
35→32 shop.services uses shop.domain.order✕
- Connections
- 4 pairs of types, where a type in shop.services uses a type in shop.domain.order.
- The types involved
shop.services.OrderSQL→shop.domain.order.Ordershop.services.Orders→shop.domain.order.Ordershop.services.Orders→shop.domain.order.OrderIdshop.services.Orders→shop.domain.order.PaymentId
- Direction
- shop.services uses shop.domain.order, so a change to shop.domain.order can break shop.services, while a change to shop.services can't break shop.domain.order.
- Position
- Below the diagonal: shop.services uses a module listed above it, which is the healthy direction.
36→3 shop.sql uses shop.domain.auth✕
- Connections
- 3 pairs of types, where a type in shop.sql uses a type in shop.domain.auth.
- The types involved
shop.sql.codecs→shop.domain.auth.EncryptedPasswordshop.sql.codecs→shop.domain.auth.UserIdshop.sql.codecs→shop.domain.auth.UserName
- Direction
- shop.sql uses shop.domain.auth, so a change to shop.domain.auth can break shop.sql, while a change to shop.sql can't break shop.domain.auth.
- Position
- Below the diagonal: shop.sql uses a module listed above it, which is the healthy direction.
36→4 shop.sql uses shop.domain.brand✕
- Connections
- 2 pairs of types, where a type in shop.sql uses a type in shop.domain.brand.
- The types involved
shop.sql.codecs→shop.domain.brand.BrandIdshop.sql.codecs→shop.domain.brand.BrandName
- Direction
- shop.sql uses shop.domain.brand, so a change to shop.domain.brand can break shop.sql, while a change to shop.sql can't break shop.domain.brand.
- Position
- Below the diagonal: shop.sql uses a module listed above it, which is the healthy direction.
36→5 shop.sql uses shop.domain.category✕
- Connections
- 2 pairs of types, where a type in shop.sql uses a type in shop.domain.category.
- The types involved
shop.sql.codecs→shop.domain.category.CategoryIdshop.sql.codecs→shop.domain.category.CategoryName
- Direction
- shop.sql uses shop.domain.category, so a change to shop.domain.category can break shop.sql, while a change to shop.sql can't break shop.domain.category.
- Position
- Below the diagonal: shop.sql uses a module listed above it, which is the healthy direction.
36→17 shop.sql uses shop.domain.item✕
- Connections
- 3 pairs of types, where a type in shop.sql uses a type in shop.domain.item.
- The types involved
shop.sql.codecs→shop.domain.item.ItemDescriptionshop.sql.codecs→shop.domain.item.ItemIdshop.sql.codecs→shop.domain.item.ItemName
- Direction
- shop.sql uses shop.domain.item, so a change to shop.domain.item can break shop.sql, while a change to shop.sql can't break shop.domain.item.
- Position
- Below the diagonal: shop.sql uses a module listed above it, which is the healthy direction.
36→32 shop.sql uses shop.domain.order✕
- Connections
- 2 pairs of types, where a type in shop.sql uses a type in shop.domain.order.
- The types involved
shop.sql.codecs→shop.domain.order.OrderIdshop.sql.codecs→shop.domain.order.PaymentId
- Direction
- shop.sql uses shop.domain.order, so a change to shop.domain.order can break shop.sql, while a change to shop.sql can't break shop.domain.order.
- Position
- Below the diagonal: shop.sql uses a module listed above it, which is the healthy direction.
37→20 shop.http.routes uses shop.http.auth.users✕
- Connections
- 1 pair of types, where a type in shop.http.routes uses a type in shop.http.auth.users.
- The types involved
shop.http.routes.LogoutRoutes→shop.http.auth.users.CommonUser
- Direction
- shop.http.routes uses shop.http.auth.users, so a change to shop.http.auth.users can break shop.http.routes, while a change to shop.http.routes can't break shop.http.auth.users.
- Position
- Below the diagonal: shop.http.routes uses a module listed above it, which is the healthy direction.
37→35 shop.http.routes uses shop.services✕
- Connections
- 7 pairs of types, where a type in shop.http.routes uses a type in shop.services.
- The types involved
shop.http.routes.BrandRoutes→shop.services.Brandsshop.http.routes.CategoryRoutes→shop.services.Categoriesshop.http.routes.HealthRoutes→shop.services.HealthCheckshop.http.routes.ItemRoutes→shop.services.Itemsshop.http.routes.LoginRoutes→shop.services.Authshop.http.routes.LogoutRoutes→shop.services.Authshop.http.routes.UserRoutes→shop.services.Auth
- Direction
- shop.http.routes uses shop.services, so a change to shop.services can break shop.http.routes, while a change to shop.http.routes can't break shop.services.
- Position
- Below the diagonal: shop.http.routes uses a module listed above it, which is the healthy direction.
38→20 shop.http.routes.admin uses shop.http.auth.users✕
- Connections
- 3 pairs of types, where a type in shop.http.routes.admin uses a type in shop.http.auth.users.
- The types involved
shop.http.routes.admin.AdminBrandRoutes→shop.http.auth.users.AdminUsershop.http.routes.admin.AdminCategoryRoutes→shop.http.auth.users.AdminUsershop.http.routes.admin.AdminItemRoutes→shop.http.auth.users.AdminUser
- Direction
- shop.http.routes.admin uses shop.http.auth.users, so a change to shop.http.auth.users can break shop.http.routes.admin, while a change to shop.http.routes.admin can't break shop.http.auth.users.
- Position
- Below the diagonal: shop.http.routes.admin uses a module listed above it, which is the healthy direction.
38→35 shop.http.routes.admin uses shop.services✕
- Connections
- 3 pairs of types, where a type in shop.http.routes.admin uses a type in shop.services.
- The types involved
shop.http.routes.admin.AdminBrandRoutes→shop.services.Brandsshop.http.routes.admin.AdminCategoryRoutes→shop.services.Categoriesshop.http.routes.admin.AdminItemRoutes→shop.services.Items
- Direction
- shop.http.routes.admin uses shop.services, so a change to shop.services can break shop.http.routes.admin, while a change to shop.http.routes.admin can't break shop.services.
- Position
- Below the diagonal: shop.http.routes.admin uses a module listed above it, which is the healthy direction.
39→3 shop.programs uses shop.domain.auth✕
- Connections
- 1 pair of types, where a type in shop.programs uses a type in shop.domain.auth.
- The types involved
shop.programs.Checkout→shop.domain.auth.UserId
- Direction
- shop.programs uses shop.domain.auth, so a change to shop.domain.auth can break shop.programs, while a change to shop.programs can't break shop.domain.auth.
- Position
- Below the diagonal: shop.programs uses a module listed above it, which is the healthy direction.
39→6 shop.programs uses shop.domain.checkout✕
- Connections
- 1 pair of types, where a type in shop.programs uses a type in shop.domain.checkout.
- The types involved
shop.programs.Checkout→shop.domain.checkout.Card
- Direction
- shop.programs uses shop.domain.checkout, so a change to shop.domain.checkout can break shop.programs, while a change to shop.programs can't break shop.domain.checkout.
- Position
- Below the diagonal: shop.programs uses a module listed above it, which is the healthy direction.
39→18 shop.programs uses shop.domain.payment✕
- Connections
- 1 pair of types, where a type in shop.programs uses a type in shop.domain.payment.
- The types involved
shop.programs.Checkout→shop.domain.payment.Payment
- Direction
- shop.programs uses shop.domain.payment, so a change to shop.domain.payment can break shop.programs, while a change to shop.programs can't break shop.domain.payment.
- Position
- Below the diagonal: shop.programs uses a module listed above it, which is the healthy direction.
39→23 shop.programs uses shop.retries.Retriable✕
- Connections
- 1 pair of types, where a type in shop.programs uses a type in shop.retries.Retriable.
- The types involved
shop.programs.Checkout→shop.retries.Retriable.Orders
- Direction
- shop.programs uses shop.retries.Retriable, so a change to shop.retries.Retriable can break shop.programs, while a change to shop.programs can't break shop.retries.Retriable.
- Position
- Below the diagonal: shop.programs uses a module listed above it, which is the healthy direction.
39→26 shop.programs uses shop.domain.cart✕
- Connections
- 1 pair of types, where a type in shop.programs uses a type in shop.domain.cart.
- The types involved
shop.programs.Checkout→shop.domain.cart.CartItem
- Direction
- shop.programs uses shop.domain.cart, so a change to shop.domain.cart can break shop.programs, while a change to shop.programs can't break shop.domain.cart.
- Position
- Below the diagonal: shop.programs uses a module listed above it, which is the healthy direction.
39→32 shop.programs uses shop.domain.order✕
- Connections
- 2 pairs of types, where a type in shop.programs uses a type in shop.domain.order.
- The types involved
shop.programs.Checkout→shop.domain.order.OrderIdshop.programs.Checkout→shop.domain.order.PaymentId
- Direction
- shop.programs uses shop.domain.order, so a change to shop.domain.order can break shop.programs, while a change to shop.programs can't break shop.domain.order.
- Position
- Below the diagonal: shop.programs uses a module listed above it, which is the healthy direction.
39→34 shop.programs uses shop.http.clients✕
- Connections
- 1 pair of types, where a type in shop.programs uses a type in shop.http.clients.
- The types involved
shop.programs.Checkout→shop.http.clients.PaymentClient
- Direction
- shop.programs uses shop.http.clients, so a change to shop.http.clients can break shop.programs, while a change to shop.programs can't break shop.http.clients.
- Position
- Below the diagonal: shop.programs uses a module listed above it, which is the healthy direction.
39→35 shop.programs uses shop.services✕
- Connections
- 1 pair of types, where a type in shop.programs uses a type in shop.services.
- The types involved
shop.programs.Checkout→shop.services.ShoppingCart
- Direction
- shop.programs uses shop.services, so a change to shop.services can break shop.programs, while a change to shop.programs can't break shop.services.
- Position
- Below the diagonal: shop.programs uses a module listed above it, which is the healthy direction.
40→20 shop.http.routes.secured uses shop.http.auth.users✕
- Connections
- 3 pairs of types, where a type in shop.http.routes.secured uses a type in shop.http.auth.users.
- The types involved
shop.http.routes.secured.CartRoutes→shop.http.auth.users.CommonUsershop.http.routes.secured.CheckoutRoutes→shop.http.auth.users.CommonUsershop.http.routes.secured.OrderRoutes→shop.http.auth.users.CommonUser
- Direction
- shop.http.routes.secured uses shop.http.auth.users, so a change to shop.http.auth.users can break shop.http.routes.secured, while a change to shop.http.routes.secured can't break shop.http.auth.users.
- Position
- Below the diagonal: shop.http.routes.secured uses a module listed above it, which is the healthy direction.
40→23 shop.http.routes.secured uses shop.retries.Retriable✕
- Connections
- 1 pair of types, where a type in shop.http.routes.secured uses a type in shop.retries.Retriable.
- The types involved
shop.http.routes.secured.OrderRoutes→shop.retries.Retriable.Orders
- Direction
- shop.http.routes.secured uses shop.retries.Retriable, so a change to shop.retries.Retriable can break shop.http.routes.secured, while a change to shop.http.routes.secured can't break shop.retries.Retriable.
- Position
- Below the diagonal: shop.http.routes.secured uses a module listed above it, which is the healthy direction.
40→35 shop.http.routes.secured uses shop.services✕
- Connections
- 1 pair of types, where a type in shop.http.routes.secured uses a type in shop.services.
- The types involved
shop.http.routes.secured.CartRoutes→shop.services.ShoppingCart
- Direction
- shop.http.routes.secured uses shop.services, so a change to shop.services can break shop.http.routes.secured, while a change to shop.http.routes.secured can't break shop.services.
- Position
- Below the diagonal: shop.http.routes.secured uses a module listed above it, which is the healthy direction.
40→39 shop.http.routes.secured uses shop.programs✕
- Connections
- 1 pair of types, where a type in shop.http.routes.secured uses a type in shop.programs.
- The types involved
shop.http.routes.secured.CheckoutRoutes→shop.programs.Checkout
- Direction
- shop.http.routes.secured uses shop.programs, so a change to shop.programs can break shop.http.routes.secured, while a change to shop.http.routes.secured can't break shop.programs.
- Position
- Below the diagonal: shop.http.routes.secured uses a module listed above it, which is the healthy direction.
At a glance — Code Health
At a glance — Architecture
At a glance — Maturity
At a glance — Readiness
At a glance — Security
At a glance — Domain Modelling
At a glance — Performance
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A07:2025 — Authentication Failures | 13 | High / Critical |
| A05:2025 — Injection | 6 | High / Critical |
| A03:2025 — Software Supply Chain Failures | 5 | High / Critical |
| A02:2025 — Security Misconfiguration | 4 | High / Critical |
Roadmap
Immediately address security and knowledge gaps by resolving five leaked secrets in configuration files and fixing eight orphaned code dependencies, starting with REDACTED, Items.scala, and HttpApi.scala. Simultaneously, establish a formal record of architectural decisions by creating an ADR Quality folder with dated documents outlining key design choices and their consequences. Finally, complete the root README by filling in the missing sections on authentication and other components to ensure the documentation is cohesive and accurate.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 8 Orphaned file finding(s) in Knowledge Freshness — start with REDACTED, Items.scala, HttpApi.scala. | +6.8 pts | Low | Knowledge Freshness |
| Resolve the 1 No ADRs found finding(s) in ADR Quality. | +6.5 pts | Low | ADR Quality |
| Resolve the 5 Leaked secret finding(s) in REDACTED Scanning — start with REDACTED (2), REDACTED (2), REDACTED. | +4.3 pts | Low | REDACTED Scanning |
| Record your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them. | +5.8 pts | Medium | Architecture documentation |
| Resolve the 1 Orphaned files with no living knowledge finding(s) in Knowledge Freshness. | +2.5 pts | Low | Knowledge Freshness |
| Improve Documentation Quality — currently 7.0/10. | +3.7 pts | Medium | Documentation Quality |
| Add an 'Architecture' / 'How it works' section to the root README — the high-level shape. | +2.5 pts | Medium | Documentation (README) |
| Resolve the 5 REDACTED finding(s) in Secrets (history) — start with REDACTED (3), REDACTED, REDACTED. | +1.2 pts | Low | Secrets (history) |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 0.4 | Slop | REDACTED Scanning: Leaked secret: REDACTED |
| REDACTED | 1.4 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 2.3 | Slop | REDACTED Scanning: Leaked secret: REDACTED |
| REDACTED | 3.0 | Slop | REDACTED Scanning: Leaked secret: REDACTED |
| REDACTED | 6.9 | Mixed | IaC & Container Security: Medium IaC: REDACTED |
| REDACTED | 7.2 | Mixed | Dependency Vulnerabilities: High CVE: REDACTED |
| modules/core/src/main/scala/shop/services/TxItems.scala | 8.5 | Near-clean | Cognitive Complexity: TxItems.make (cognitive 21) |
| modules/core/src/main/scala/shop/services/Auth.scala | 8.5 | Near-clean | Cognitive Complexity: Auth.make (cognitive 18) |
| modules/core/src/main/scala/shop/resources/AppResources.scala | 8.5 | Near-clean | Change Coupling: Change coupling: AppResources.scala ↔ REDACTED |
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. 64 of 67 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.9 — the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.
What we checked — 67 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, 43 of 76 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 (.scala) 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 (`addSbtPlugin("org.scoverage" % "sbt-scoverage" % "<version>")` in `project/plugins.sbt`, then `sbt clean coverage test coverageReport`) 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 (`addSbtPlugin("org.scoverage" % "sbt-scoverage" % "<version>")` in `project/plugins.sbt`, then `sbt clean coverage test coverageReport`) 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 (.scala) and this repository declares an sbt build (repository root, 9 test files), but it was not re-run: the analyzer environment could not run it. Not scored — this is a gap in the analyzer's language coverage, not a finding about this repository.
- D16 Bus Factor — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. All 8 significant source file(s) were last meaningfully changed so long ago that no living knowledge remains — nothing since has been substantial enough to re-establish ownership (a broad, mechanical sweep that touches many files shallowly does not count, and neither does no activity at all). There is no concentration to measure, so the bus factor is not scored. This is not a clean bill: nobody currently holds working knowledge of this code (see D34 Knowledge Freshness). Counted over 8 of the 69 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
- 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 an ADMISSION gap, not an environment fault: no published-package marker D22 reads admitted any project here. D22 DOES collect the public API of every language in this tree, and admits a project only when its manifest makes that ecosystem's publication act in a form the marker recognises — so what is missing is not a collector but an admission rule for the publication act this repository makes, if it makes one. The remedy is a better discriminator for that marker — not a collector, and no change to the scan image can close it. The marker's rules are measured to refuse applications, so one refused repository is the rule working as calibrated; several are the evidence that it is too strict.
- D27 Navigability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Navigability is taken over call sites whose callee resolved. For C# that population includes calls into referenced assemblies; for this language only calls declared inside the repository count, so the abstention threshold reads the repository's use of its standard library as a resolution failure. That is a limit of this analyzer, not a build problem in this repository.
- AX2 Stateful singletons — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads Microsoft.Extensions.DependencyInjection singletons in C#, Spring/JSR-330/CDI singletons in Java and Kotlin, module state in Python request handlers, handler state in Go and Swift, Play controllers, Cask routes, Scalatra servlets, Finatra controllers, Akka/Pekko HTTP routes and JSR-330 singletons in Scala, Rails, Sinatra, Grape, Roda and Hanami handlers and Rack apps in Ruby, and module state in F# request handlers (Giraffe, Saturn, Falco, Oxpecker and Suave handlers and ASP.NET Core controllers) only, and this repository's product is written in Scala (http4s), which was left unread, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- AXR1 Runtime accessibility — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Render strategy: boot via DockerCompose (REDACTED). compose up failed (exit 18 — an image could not be pulled) — redis Pulling postgres Pulling postgres Error Get "https://registry-1.docker.io/v2/": Forbidden redis Error Get "https://registry-1.docker.io/v2/": Forbidden Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the earlier `compose pull` step reported: redis Pulling postgres Pulling postgres Error Get "https://registry-1.docker.io/v2/": Forbidden redis Error Get "https://registry-1.docker.io/v2/": Forbidden Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the runtime sandbox reaches registries only through the in-fence pull-through mirror, so an image the mirror does not carry cannot be fetched — this is a limit of our sandbox, not of your stack; runtime evidence skipped.
- 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.
- DM9 Scattered domain decisions — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. Arm one resolves each comparison operand to the domain member it judges, and that binding exists only in a Roslyn compilation, which this run did not load. Arm two ran over the neutral model because this repository's frontend declares whether each construction is produced or passed. A rule decided in two places would not appear above.
Limitations & what we did not check
Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.
Per-dimension blind spots
- D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically — it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
- D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
- D3 God Classes: "God class" is sized by members and responsibilities visible in the type — a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module — one class/IIFE — earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
- D4 Code Duplication: Duplication is token-similarity — an in-process token-stream comparison over sliding windows, with type-aware normalization — so it finds copy-paste, not semantic duplication expressed differently. Committed machine-written code (scaffolded migrations, designer/codegen output, protobuf/OpenAPI stubs, model snapshots) is EXCLUDED — its repetition is the tool's, not the team's — so the score reflects hand-written duplication only.
- D5 Coupling: Coupling is measured between projects/assemblies — runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
- 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.
- D12 Dependency Hygiene: Dependency health reads manifests and lockfiles — a vulnerability in a vendored/copied dependency, or risk from how a dependency is actually used, is outside this view.
- D13 REDACTED Scanning: REDACTED detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
- D14 License Compliance: License compatibility is checked against declared package metadata and a policy — mislabelled or missing license metadata, and obligations that depend on how you distribute, are not resolved here.
- D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
- D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual — undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (scaffolded migrations, designer/codegen output, generated stubs) is excluded — it is never the team's dead code to delete.
- D19 Documentation Quality: Documentation quality is judged by an LLM over a bounded sample of docs — it reads what is written, not whether the docs match the running system, and it is advisory, not a measurement. Its critique rows are drawn from a closed category vocabulary and each row means the same thing in every run, so two scans can be compared row by row; the SET that fires is still a sample, and does not repeat exactly. Measured on one frozen input, six scans at one engine SHA: 2-5 critique rows per scan, 8 distinct rows across the six, 3 of those 8 seen in only one scan. So a D19 row is evidence about the documentation, but a COUNT of D19 rows is not a quantity — never read a change in it as an improvement or a regression.
- D20 ADR Quality: ADR quality is an LLM read of the decision records present — it cannot know about decisions made and never recorded, and its verdict is sampled and advisory.
- D21 Naming Consistency: Naming quality is an LLM judgement over a bounded sample — it assesses clarity/consistency of the names it sees, not domain-correctness, and is advisory.
- D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
- D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
- D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
- D30 Dependency Vulnerabilities: CVE matching depends on accurate package/version metadata and on the advisory databases — a vulnerability with no published advisory, or in code not declared as a dependency, is not seen. Coverage needs a RESOLVED graph: an unpinned requirements.txt, or a pom without a resolved build, yields partial coverage rather than a clean verdict. An ecosystem the analyzer cannot scan is reported as unmeasured, never as clean.
- D31 IaC & Container Security: IaC scanning checks Dockerfiles/Terraform/Kubernetes against best-practice rules — it cannot see the live cloud account, runtime configuration, or drift between the committed config and what is actually deployed.
- D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension — code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
- D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
- D43 Malicious Dependencies: Only packages some vulnerability database has already NAMED as malicious are seen — a compromise published in the last hours, or never reported at all, is invisible here, and this dimension reading 10 is not evidence that a dependency is trustworthy. There is no typosquat or dependency-confusion analysis: a package nobody has reported is simply absent from the feeds. Coverage is the dependency scan's: an ecosystem that could not be scanned is disclosed as unmeasured, never as clean.
- D44 Platform End-of-Life: The support table is FROZEN, so it goes out of date by losing RECALL: a release that ended support after the table was written is missed until the table is refreshed, and this dimension reading 10 is not evidence that a platform is current. Only platforms the repository DECLARES in a place this pass reads are seen — a runtime named only in a 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.
- DM6 Domain ↔ infrastructure boundary: Infrastructure reached through a hand-rolled wrapper, a domain-named facade, reflection, or a string-keyed service locator resolves to a non-infra type and isn't seen; the body scan is symbol resolution over syntax, not full dataflow. A clean result means "no resolved infra reference in a domain body", not a proof of purity.
- M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present — it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.
- P4 Deployment & Rollback: Approval/branch-protection rules live in repository settings the scan cannot see — only their in-repo evidence (config files, workflows) is checked, so a control enforced purely in the host's settings reads as "not evidenced".
- P6 Release Hygiene: Rollback/observability controls are inferred from repo artefacts (pipelines, dashboards-as-code) — controls configured in external tooling, with no in-repo trace, cannot be credited.
The LLM boundary
Dimensions
D1 · Cyclomatic Complexity
0 method(s) exceeded the cyclomatic complexity threshold of 15.
D2 · Cognitive Complexity
2 method(s) exceeded the cognitive complexity threshold of 15; the worst was TxItems.make at 21.
What to do
- Bring the 2 bodies over 15 down to 15 or less in Cognitive Complexity — start with TxItems.make (cognitive 21), Auth.make (cognitive 18). — This score is capped by its worst body, so a finding fixed alone moves it by almost nothing — the next one down takes its place. Refactoring these 2 together lifts Cognitive Complexity from 9.4 to about 10.0/10, projected with the scoring formula itself and assuming each lands exactly at 15.
- Enforce Cognitive Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D3 · God Classes
0 god class(es) detected.
D4 · Code Duplication
0 duplicated block group(s) detected.
D5 · Coupling
3 production modules (sbt), 0 dependency cycle(s), 0 unstable depended-on module(s). Read from the build's own module declarations; a dependsOn spread (deps: _*) and a project whose directory a helper computes are not visible there; 1 module(s) off the main sequence, with abstractness counted on 1 of the 3 (the rest declare no modelled class or interface, export only macros, declare types in source no model reads, or have no source directory of their own).
What to do
- Resolve the 1 Off the main sequence finding(s) in Coupling. — One of this dimension's main actionable groups (1 warning-level).
- Enforce Coupling in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D9 · Test Distribution
26 test methods: 19 unit, 7 integration, 0 BDD, 0 e2e. The Scala suite contributes 26 test case(s) across 9 file(s) in a test source set declaring at least one — every `test("…")`, `it("…")`, `property("…")` and `"…" in {…}` registration and every JUnit `@Test`, which is how munit, ScalaTest, utest, ZIO Test and specs2 declare a case; a case registered under a computed name is not counted, so this is a floor. Its tier split is INFERRED from paths and file names, except sbt's src/it source set, which the build declares.
D12 · Dependency Hygiene
21 outdated direct sbt declarations. 26 of 28 direct declarations were graded against Maven Central (2 not published there, which is what a private Nexus or Artifactory artifact looks like, 0 declaring a version range rather than an exact version). An sbt declaration names an EXACT version, so the remedy is an edit to the build file — there is no lockfile refresh that would move it. Test-, Provided- and it-scoped declarations are excluded, because a consumer of this project never receives them. A version held in a Scala val is read only when the val is one string literal: sbt is a program rather than a manifest, and evaluating a computed version would invent the measurement rather than take it. Whether any artifact is DEPRECATED or ABANDONED is not graded and cannot be — Maven Central publishes no such marker, and release age does not stand in for one: the most widely depended-upon libraries are routinely the stalest, being finished rather than abandoned. Known CVEs in this dependency graph are D30's question.
What to do
- Enforce Dependency Hygiene in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D13 · REDACTED Scanning
5 secret(s) detected.
What to do
- Resolve the 5 Leaked secret finding(s) in REDACTED Scanning — start with REDACTED (2), REDACTED (2), REDACTED. — One of this dimension's main actionable groups (5 issue-level).
- Enforce REDACTED Scanning in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D14 · License Compliance
0 of 26 declared sbt dependency artifact(s) use a banned license. Licences were resolved from the POMs Maven Central publishes, over the production coordinates this repository's 2 sbt build file(s) (build.sbt and project/*.scala) declare with a literal version, directly or through a string-literal val — `%%` resolved to the Scala binary suffix Central publishes under, test-scoped declarations excluded — the same declaration-site closure this analysis reads for dependency currency. sbt has no lockfile a checkout carries, so this is deliberately NOT the transitive closure. 1 of them resolve to no licence at all on Central, even through their parent POMs; that is missing data, not a violation, and none of them is charged. A further 2 coordinate(s) are not published to Maven Central — another repository (Google's Maven hosts androidx), a SNAPSHOT, or a private artifact — so their licences are not readable from here and they are outside this verdict.
D15 · Churn × Complexity Hotspots
No churn × complexity hotspots in the window.
D17 · Explicit Debt
0 deducted task-comment markers across 2445 LoC (0.0/KLoC) → score 10.0. Task comments only: this repository's language is read without a compiler, so D17's suppression, dead-code and commented-out-code arms did not run and this score counts fewer marker kinds than a .NET repository's would.
D19 · Documentation Quality
The repository's root README is a single cohesive document covering the project overview (shopping cart application), an important CI/mergify badge wall, and a strong components-overview diagram. It also begins with an IMPORTANT NOTICE directing readers to the master branch when on second-edition code, which is standard for a new release. The body then dives into Authentication Data, Generate your own auth data, Tests, Access Redis & Postgres, Build Docker image, Payments Client, HTTP API Resources, and LICENSE (the outline), but the document clips mid-Authentication section before those later sections appear; it does not yet show whether each of those is present or missing. The visible content is clear and complete for a single README.
What to do
- Improve Documentation Quality — currently 7.0/10. — The repository's root README is a single cohesive document covering the project overview (shopping cart application), an important CI/mergify badge wall, and a strong components-overview diagram. It also begins with an IMPORTANT NOTICE directing readers to the master branch when on second-edition code, which is standard for a new release. The body then dives into Authentication Data, Generate your own auth data, Tests, Access Redis & Postgres, Build Docker image, Payments Client, HTTP API Resources, and LICENSE (the outline), but the document clips mid-Authentication section before those later sections appear; it does not yet show whether each of those is present or missing. The visible content is clear and complete for a single README.
D20 · ADR Quality
No architecture decision records were found.
What to do
- Resolve the 1 No ADRs found finding(s) in ADR Quality. — One of this dimension's main actionable groups (1 recommendation-level).
D21 · Naming Consistency
0 naming inconsistencies across 0 sampled symbols.
D26 · Project Cohesion
0 of 1 build units (sbt) flagged as possibly oversized/incoherent.
D28 · Secrets (history)
11 finding(s): 0 critical, 11 high, 0 medium, 0 low. Remediation for historically-committed secrets is credential rotation — they remain in history regardless of later deletion.
What to do
- Resolve the 5 REDACTED finding(s) in Secrets (history) — start with REDACTED (3), REDACTED, REDACTED. — One of this dimension's main actionable groups (5 issue-level).
- Resolve the 2 High secret finding(s) in Secrets (history) — start with REDACTED (2). — One of this dimension's main actionable groups (2 issue-level).
- Resolve the 1 Rotate the exposed credentials finding(s) in Secrets (history). — One of this dimension's main actionable groups (1 recommendation-level).
D29 · Static Analysis (SAST)
6 finding(s): 0 critical, 5 high, 1 medium, 0 low. 4 unpinned-GitHub-Actions row(s) are reported here but scored by D36 (supply-chain provenance), which measures that posture as `pinned_actions` — one pinning decision is charged once, not once per lens.
What to do
- Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
- Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 warning-level).
- No action in Static Analysis (SAST) — all 4 REDACTED finding(s) are reported here at file:line but scored by D36 (supply-chain provenance), so none is charged to this dimension. — One of this dimension's main actionable groups (4 issue-level, 0 of them charged here).
D30 · Dependency Vulnerabilities
1 finding(s): 0 critical, 1 high, 0 medium, 0 low.
What to do
- Resolve the 1 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
D31 · IaC & Container Security
4 finding(s): 0 critical, 2 high, 2 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 2 Medium IaC finding(s) in IaC & Container Security — start with REDACTED (2). — One of this dimension's main actionable groups (2 warning-level).
D34 · Knowledge Freshness
8 of 8 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is REDACTED. Counted over 8 of the 69 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 8 Orphaned file finding(s) in Knowledge Freshness — start with REDACTED, Items.scala, HttpApi.scala. — One of this dimension's main actionable groups (8 recommendation-level).
- Resolve the 1 Orphaned files with no living knowledge finding(s) in Knowledge Freshness. — One of this dimension's main actionable groups (1 recommendation-level).
D35 · Change Coupling
Strongest change-coupling: AppResources.scala↔REDACTED 50%
What to do
- Resolve the 1 Change coupling finding(s) in Change Coupling — start with AppResources.scala. — One of this dimension's main actionable groups (1 warning-level).
D36 · Supply-chain Provenance & Signing
1/4 supply-chain integrity signals present (provenance, signing, SBOM, pinned actions).
What to do
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing — start with REDACTED. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 recommendation-level).
D43 · Malicious Dependencies
No dependency in any ecosystem this repository declares is published as malicious.
D44 · Platform End-of-Life
0 end-of-life runtime(s) and 0 end-of-life framework(s), read from 1 platform declaration(s) and 0 dependency declaration(s). This dimension reads what the repository says about ITSELF — a pinned target framework, a version file, a capped requires-python, a Rust toolchain pin, a framework major a constraint cannot move off. A FLOOR is deliberately never charged: `requires-python = ">=3.8"` states what the package SUPPORTS, not what it runs on, and a well-maintained library declares exactly that while running its own CI on a current release. The end-of-life facts are FROZEN and dated, so this dimension needs no network and answers identically inside a closed scan fence; as the table ages it loses recall and never precision, because a statement about support that ended in the past cannot become false. The OS layer of a container image is D31's question and the toolchain a CI workflow installs is D29's; this row is neither.
Frontend & cross-cutting dimensions
AX10 · Code composition
AX3 · Project dependency cycles
AX4 · Dependency direction
AX6 · Interface segregation
DM12 · Ambient inputs in the domain
DM6 · Domain ↔ infrastructure boundary
- `Brand` (domain) — a transport codec (circe/derevo/spray/…) is derived directly on the domain entity — the type knows its own wire representation. Invert the dependency: keep the domain core free of framework/transport types (derive codecs on a boundary DTO; express infra behind a domain-owned port). — modules/core/src/main/scala/shop/domain/brand.scala:47
- `CartItem` (domain) — a transport codec (circe/derevo/spray/…) is derived directly on the domain entity — the type knows its own wire representation. Invert the dependency: keep the domain core free of framework/transport types (derive codecs on a boundary DTO; express infra behind a domain-owned port). — modules/core/src/main/scala/shop/domain/cart.scala:31
- `CartTotal` (domain) — a transport codec (circe/derevo/spray/…) is derived directly on the domain entity — the type knows its own wire representation. Invert the dependency: keep the domain core free of framework/transport types (derive codecs on a boundary DTO; express infra behind a domain-owned port). — modules/core/src/main/scala/shop/domain/cart.scala:36
- `Category` (domain) — a transport codec (circe/derevo/spray/…) is derived directly on the domain entity — the type knows its own wire representation. Invert the dependency: keep the domain core free of framework/transport types (derive codecs on a boundary DTO; express infra behind a domain-owned port). — modules/core/src/main/scala/shop/domain/category.scala:35
- `Card` (domain) — a transport codec (circe/derevo/spray/…) is derived directly on the domain entity — the type knows its own wire representation. Invert the dependency: keep the domain core free of framework/transport types (derive codecs on a boundary DTO; express infra behind a domain-owned port). — modules/core/src/main/scala/shop/domain/checkout.scala:53
- `Item` (domain) — a transport codec (circe/derevo/spray/…) is derived directly on the domain entity — the type knows its own wire representation. Invert the dependency: keep the domain core free of framework/transport types (derive codecs on a boundary DTO; express infra behind a domain-owned port). — modules/core/src/main/scala/shop/domain/item.scala:36
- `Order` (domain) — a transport codec (circe/derevo/spray/…) is derived directly on the domain entity — the type knows its own wire representation. Invert the dependency: keep the domain core free of framework/transport types (derive codecs on a boundary DTO; express infra behind a domain-owned port). — modules/core/src/main/scala/shop/domain/order.scala:26
- `Payment` (domain) — a transport codec (circe/derevo/spray/…) is derived directly on the domain entity — the type knows its own wire representation. Invert the dependency: keep the domain core free of framework/transport types (derive codecs on a boundary DTO; express infra behind a domain-owned port). — modules/core/src/main/scala/shop/domain/payment.scala:13
What to do
- Invert domain→infrastructure dependencies: declare interfaces in the domain, implement them in infrastructure (Dependency Inversion).
DM8 · Value-object opportunities
DM9 · Scattered domain decisions
GD1 · Unfinished & placeholder code
IC1 · Incompleteness & stubs
M1 · Documentation (README)
What to do
- Add an 'Architecture' / 'How it works' section to the root README — the high-level shape.
M2 · Architecture documentation
- No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
What to do
- Record your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them.
M3 · Folder & project structure
M4 · Documentation accuracy
P1 · CI/CD gates
P2 · Observability
What to do
- Add OpenTelemetry tracing/metrics (opentelemetry-java or Micrometer) so requests are traceable across the system, not just health-probable.
P3 · Security & performance tooling
What to do
- Your ecosystem's static analyzer is declared as a dependency but is not wired into CI — run it as a required step on push/PR (e.g. `composer phpstan` / `mix sobelow` / `bundle exec brakeman` / the spotbugs Gradle task / `sbt scalafixAll --check` / `golangci-lint run` / `rebar3 lint`) so a regression fails the build instead of relying on someone running it locally.
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P4 · Deployment & Rollback
What to do
- Add an approval/environment gate (required reviewers / protection rules) before production promotion.
P6 · Release Hygiene
- No CHANGELOG/HISTORY/RELEASES file — what shipped when isn't easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)
What to do
- Keep a changelog (e.g. Keep-a-Changelog) recording what shipped in each release.
PF3 · Async & latency hygiene
S1 · Web-Security Posture
- This repository runs an HTTP server and nothing in its Scala source or committed configuration secures the transport: no HTTPS served (akka/pekko-http `ConnectionContext.httpsServer`/`enableHttps`, an http4s builder's `withTLS`, Jetty's `SslContextFactory`, zio-http's `SSLConfig`, Play's `https.port`), no `Strict-Transport-Security` header, HSTS middleware or Play `RedirectHttpsFilter`, no `X-Forwarded-Proto` read or Play `play.http.forwarded.trustedProxies` for a TLS-terminating proxy — so its traffic may cross the network in clear text. (−2.0 on this card.) The server: modules/core/src/main/scala/shop/resources/MkHttpServer.scala:7 — `EmberServerBuilder`.
- None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, …) is set on a response this repository's Scala server sends — defense in depth, even when a proxy could set them. (−2.0 on this card.) The server: modules/core/src/main/scala/shop/resources/MkHttpServer.scala:7 — `EmberServerBuilder`.
What to do
- Secure the server's transport: serve TLS itself (akka/pekko-http `ConnectionContext.httpsServer(sslContext)` with `newServerAt(…).enableHttps(…)`, an http4s server builder's `withTLS(…)`, Play's `https.port`), or run it behind a TLS-terminating proxy and trust it (`X-Forwarded-Proto`; Play `play.http.forwarded.trustedProxies`); send `Strict-Transport-Security` once it is HTTPS-only (http4s `HSTS(…)`, Play `RedirectHttpsFilter`).
- Set security response headers on what the server sends — keep Play's `SecurityHeadersFilter` enabled, wrap akka/pekko-http routes in `respondWithHeaders(RawHeader("X-Content-Type-Options", "nosniff"), …)`, or add an http4s middleware that sets `Content-Security-Policy`, `X-Content-Type-Options` and a frame policy on every response.
X1 · Async correctness
X12 · Unreachable branch
X13 · Undrained process stream
X14 · Bypassable address classification
X15 · Unvalidated length from an untrusted reader
X16 · Unfloored truncation loop
X17 · Uncapped recursion over a caller-supplied document
X18 · Disposal-pattern correctness
X19 · Unrestored process-global state
X20 · Mistyped argument guard
X21 · Side-effecting pattern guard
X22 · Contradicted release guard
X23 · Unguarded diagnostic materialisation
X24 · Document value interpolated into markup unescaped
X25 · Inert configuration knob
X26 · Unsynchronised callback handoff
X27 · Collection changed while being enumerated
X28 · Index access outside its own emptiness guard
X29 · Per-element action decided by a fixed element
X3 · Exception handling
X30 · Support guard that admits what it rejects
X5 · Nullable reference types
- No build over this repository's 66 Scala product file(s) passes `-Yexplicit-nulls`, enables WartRemover's `Null` wart or runs Scalafix's `DisableSyntax.noNulls`, so every reference type admits null and nothing reports a `null` written into the code or returned from a Java API — the first one to reach a method call is a `NullPointerException`. `Option` by convention is a habit no tool here holds the code to.
What to do
- On Scala 3, add `-Yexplicit-nulls` to `scalacOptions` so `String` and `String | Null` mean different things, and type each Java API's result as nullable where it can return null; on Scala 2 (or as a first step), enable WartRemover's `Null` wart (`wartremoverErrors += Wart.Null`) or Scalafix's `DisableSyntax.noNulls = true` so the code holds absence in `Option`. Then pay the assertions down rather than adding to them: each `.nn` is a null the compiler could not rule out — wrap the Java value in `Option(…)` at the boundary, pattern-match on `null` once there, or change the API so the null cannot arrive; an `unsafeNulls` import switches the checking off for everything after it.
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 75% | Adequate — gated by X5 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Architecture | 88% | Strong | Solid. |
| Maturity | 51% | Adequate — gated by D34, M2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 57% | Adequate — gated by D13, P3 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 64% | Adequate — gated by D28, D36 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Domain Modelling | 81% | Strong | Solid. |
| Performance | 100% | Exemplary | Strongest area. |
Not evidenced — 4 control(s) we could not find positive evidence for
- C3 Audit Trail — Repo shows no audit-logging mechanism (an audit-log table or model — a Slick table, a case class or a SQL migration's table named for it — Hibernate Envers' @Audited, a JPA entity listener, Hibernate event listener or jOOQ RecordListener that records each change, or an event-sourced journal beside one) for sensitive changes — absence of evidence is not evidence of a working control. Record an audit trail in code (or document where it lives) so this dimension can be scored.
- C4 Data Retention — Repo shows no data-retention / TTL / cleanup mechanism for personal data — absence of evidence is not evidence of a working control. Define retention periods and a purge/cleanup job (or TTL) in code, or document where retention is enforced, so this dimension can be scored.
- C5 Data-Subject Rights — Repo shows no corroborated data-subject-rights mechanism (erasure / export-portability / consent) tied to a subject id or GDPR vocabulary — absence of evidence is not evidence of a working control. Implement erasure, data export/portability and consent tracking over the subject's records.
- P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
Not included — 59 check(s) not relevant to this codebase
- AC1 Text alternatives — No web markup found — accessibility is not applicable to this repository.
- AC2 Forms & labels — No web markup found — accessibility is not applicable to this repository.
- AC3 Page structure — No web markup found — accessibility is not applicable to this repository.
- AC4 Keyboard semantics — No web markup found — accessibility is not applicable to this repository.
- AC5 ARIA correctness — No web markup found — accessibility is not applicable to this repository.
- AC6 Visual & motion safety — No web markup found — accessibility is not applicable to this repository.
- AC7 A11y enforcement — No web markup found — accessibility is not applicable to this repository.
- AX1 Captive dependencies — Not applicable: this repository's Scala imports no dependency-injection container and defines no container of its own — nothing that both registers and resolves bindings, and nothing that names two lifetimes — so nothing holds one lifetime's instance while handing out another's.
- AX2 Stateful singletons — 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
- AX5 Architecture & structure — not assessed — architecture style/structure is computed from a project graph (projects, types, module namespaces) that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX7 Slice cohesion — not applicable — not a vertical-slice architecture
- AX8 Test isolation — no test/production split to check
- AX9 CQS / query purity — no CQRS query handlers detected — query purity is not applicable to this codebase
- AXB2 Runtime readiness — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- AXR1 Runtime accessibility — compose up failed (exit 18 — an image could not be pulled) — redis Pulling postgres Pulling postgres Error Get "https://registry-1.docker.io/v2/": Forbidden redis Error Get "https://registry-1.docker.io/v2/": Forbidden Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the earlier `compose pull` step reported: redis Pulling postgres Pulling postgres Error Get "https://registry-1.docker.io/v2/": Forbidden redis Error Get "https://registry-1.docker.io/v2/": Forbidden Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the runtime sandbox reaches registries only through the in-fence pull-through mirror, so an image the mirror does not carry cannot be fetched — this is a limit of our sandbox, not of your stack; runtime evidence skipped This is a statement about this run, not a statement about your application: nothing here says the surface is inaccessible, only that it was never rendered.
- C1 Data Protection — 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.
- D10 Test Quality — ~1032 lines of test source are present (.scala) but no test cases reached the test census for this repository — no test root we could resolve declared them, or the files we read declare no cases in a test framework we recognise — so skipped/assertion-free tests couldn't be counted. Not scored — this is a gap in the analyzer, not a finding about this repository.
- D11 Test Reliability — Test reliability not included — the .scala suite was found but not re-run
- D16 Bus Factor — dormant codebase — no living knowledge left to concentrate
- 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 — No bounded-context organisation was detected either — neither a context-shaped layout nor 2+ sibling source directories each declaring an aggregate root. Declaring this codebase's bounded contexts (≥2) would let cross-boundary type coupling be assessed. Declare them in `.codehealth/config.yaml` at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it — e.g. `architecture:` → `contexts:` → `Billing: ["src/billing", "Acme.Billing"]`, `Catalog: ["src/catalog", "Acme.Catalog"]`.
- D24 Comment Value — No inline comments to assess — comment value is not applicable here.
- D25 ADR Conformance — no ADRs to check
- D27 Navigability — D27 counts a call into the standard library or a dependency as unresolved for this repository's language (.scala), so too few call sites counted as resolved to assess navigability. Not scored: this is a gap in the analyzer, not a verdict about this repository.
- D32 Data Compliance (PII/GDPR) — 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.
- 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.
- D6 Cohesion (LCOM4) — Cohesion (LCOM4) was not measured: of the 75 type(s) found, none both holds instance state and has two or more methods whose shared use of it could be read (64 with fewer than two methods, 10 stateless, 1 stub-like), so LCOM4 is undefined for every type in this repository. Not scored — the metric does not apply here, and this is 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 Aggregate boundaries — no aggregates detected — aggregate-boundary check not applicable
- DM10 One transaction, one aggregate — no repository writes detected — no operation to judge against the one-aggregate rule
- DM11 Constructible invalid state — no entities detected — construction-time invariants not assessable
- DM2 Strongly-typed ids — no id-bearing domain types detected — strongly-typed-id adoption not assessable
- DM3 Integration-event coupling — no integration events detected — coupling check not applicable
- DM4 Rich vs anemic model — no data-bearing entities detected — rich-vs-anemic model not assessable
- DM5 Encapsulated state — no domain entities found — DM5 grades how entities protect their state, and this repository declares none
- DM7 Repository granularity — no repository abstraction detected (e.g. uses a document session)
- ED1 Event-Driven — not scored — this repository shows none of the 3 signals this lens looks for
- ED5 Idempotency — no mutating command handlers or message consumers detected — idempotency check not applicable
- ES1 Event Sourcing — not scored — this repository shows none of the 3 signals this lens looks for
- P12 CI test-gate honesty — Reported, not scored — and nothing was matched here. The coverage check applies to any stack, and the automatic-re-run check to any GitHub-Actions workflow, but the checks for excluded tests, skipped tests and sleep-based synchronisation currently recognise only some ecosystems' test-runner idioms, so on a repository built with another stack the zeros below mean 'not checked', not 'clean'.
- P7 Outbound HTTP resilience — not applicable — no HTTP server, API framework or worker entry point was found in the JVM source, so there is no service whose uptime a failing dependency could take down
- P8 Schema migrations — no ORM, schema-migration tool or schema auto-create was found in this repository's dependency manifests or source, so there is no database schema for this check to judge
- P9 Domain vs controller coverage — no coverage report found on disk — produce a coverage report in a standard format (`addSbtPlugin("org.scoverage" % "sbt-scoverage" % "<version>")` in `project/plugins.sbt`, then `sbt clean coverage test coverageReport`) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures, or wire coverage collection into CI, to enable this cross-layer check
- PF1 Benchmark discipline — Not applicable: no benchmark suite was found. This check searched for `@Benchmark` in a Java, Kotlin or Scala file importing JMH or kotlinx-benchmark, Jetpack Benchmark's `measureRepeated` in a file importing androidx.benchmark, or JMH/kotlinx-benchmark/androidx.benchmark in a pom.xml, Gradle or sbt build, and for a `*benchmark*` script that this repository's CI runs. Benchmarks are credited as a bonus, so their absence is neither scored nor deducted.
- PF2 Allocation hygiene — Not applicable: allocation awareness is rated where code engineers for it — at least 400 production lines that ship benchmarks or already use allocation-aware idioms (8 or more). This repository's Scala code has 3,021 production line(s), 0 such use(s) and no benchmarks, so there is no allocation work to rate. The card is reward-only: its absence costs nothing.
- X10 Duplicated predicate — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X2 Cancellation propagation — no C# was loaded; this repository's Scala was read, and no request in it can be cancelled by a caller — a Scala request takes no token: a Future cannot be cancelled, and cats-effect, ZIO and Monix interrupt the fiber that made the request from outside the call, not through a parameter
- X32 Type resolved by simple name across every loaded assembly — This check is about how a .NET program searches the assemblies loaded into its process for a type, and this repository contains no .NET source, so there is nothing here for it to assess. Not a gap in the analyzer and not a finding about your code.
- X4 Structured logging — This check asks whether log calls keep a message's values apart from its text, which needs a logger that can carry them as fields. This repository's Scala was read, and it logs through none that an interpolated message defeats: scala-logging takes an `s"…"` message apart into SLF4J's pattern and arguments at compile time, and log4s, grizzled-slf4j, Play's Logger, Akka's LoggingAdapter, sbt's Logger and Spark's Logging take one finished message (as log4net does in C#). Calls made straight through SLF4J (`org.slf4j.Logger`) would be judged.
- X6 Hand-rolled structured-format parsing — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X7 Silent fallback defaults — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X9 Subsumed condition operand — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
Appendix A — Findings (grouped)
Critical — 28 finding(s)
- Domain depends on infrastructure: Brand modules/core/src/main/scala/shop/domain/brand.scala:47
- Domain depends on infrastructure: CartItem modules/core/src/main/scala/shop/domain/cart.scala:31
- Domain depends on infrastructure: CartTotal modules/core/src/main/scala/shop/domain/cart.scala:36
- Domain depends on infrastructure: Category modules/core/src/main/scala/shop/domain/category.scala:35
- Domain depends on infrastructure: Card modules/core/src/main/scala/shop/domain/checkout.scala:53
- Domain depends on infrastructure: Item modules/core/src/main/scala/shop/domain/item.scala:36
- Domain depends on infrastructure: Order modules/core/src/main/scala/shop/domain/order.scala:26
- Domain depends on infrastructure: Payment modules/core/src/main/scala/shop/domain/payment.scala:13
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
Serious — 9 finding(s)
- REDACTED
- REDACTED
- TxItems.make (cognitive 21) modules/core/src/main/scala/shop/services/TxItems.scala:31
- Auth.make (cognitive 18) modules/core/src/main/scala/shop/services/Auth.scala:57
- REDACTED
- Change coupling: AppResources.scala ↔ REDACTED modules/core/src/main/scala/shop/resources/AppResources.scala:1
- REDACTED
- REDACTED
- Off the main sequence: core
Minor — 18 finding(s)
- Orphaned file REDACTED:1
- Orphaned file modules/core/src/main/scala/shop/services/Items.scala:1
- Orphaned file modules/core/src/main/scala/shop/modules/HttpApi.scala:1
- Orphaned file modules/core/src/main/scala/shop/services/Auth.scala:1
- Orphaned file build.sbt:1
- Orphaned file modules/core/src/main/scala/shop/services/Orders.scala:1
- Orphaned file modules/core/src/main/scala/shop/domain/item.scala:1
- Orphaned file modules/core/src/main/scala/shop/config/types.scala:1
- No ADRs found
- REDACTED
- Orphaned files with no living knowledge
- REDACTED
- REDACTED
- No ADRs
- No changelog
- No app-layer HTTPS enforcement detected
- No security response headers detected
- Scala's null is not held to the type system everywhere
Minor — 21 finding(s)
- Outdated: ch.qos.logback:logback-classic
- Outdated: co.fs2:fs2-core_2.13
- Outdated: com.disneystreaming:weaver-cats_2.13
- Outdated: com.disneystreaming:weaver-discipline_2.13
- Outdated: com.disneystreaming:weaver-scalacheck_2.13
- Outdated: com.github.cb372:cats-retry_2.13
- Outdated: dev.optics:monocle-core_2.13
- Outdated: dev.optics:monocle-law_2.13
- Outdated: dev.profunktor:http4s-jwt-auth_2.13
- Outdated: dev.profunktor:redis4cats-effects_2.13
- Outdated: dev.profunktor:redis4cats-log4cats_2.13
- Outdated: eu.timepit:refined-cats_2.13
- Outdated: eu.timepit:refined-scalacheck_2.13
- Outdated: eu.timepit:refined_2.13
- Outdated: org.tpolecat:skunk-circe_2.13
- Outdated: org.tpolecat:skunk-core_2.13
- Outdated: org.typelevel:cats-core_2.13
- Outdated: org.typelevel:cats-effect_2.13
- Outdated: org.typelevel:cats-laws_2.13
- Outdated: org.typelevel:log4cats-noop_2.13
- Outdated: org.typelevel:log4cats-slf4j_2.13
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-4dab382310bb4e70924085e171fdf05a/history.json --exit-code 0 --source . | 31 | 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-4dab382310bb4e70924085e171fdf05a/tree.json --exit-code 0 --source . | 11 | 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 . | 6 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | osv-scanner | — | osv-scanner --format json --recursive --experimental-disable-plugins transitivedependency/requirements --experimental-disable-plugins dotnet/csproj --experimental-disable-plugins dotnet/nugetcpm . /tmp/codehealth-osv-sbom-712954c924d748ca86127a105073467d | 1 | artifacts/raw/osv-scanner.json |
| D31 · IaC & Container Security | trivy | — | trivy config --format json --quiet . | 4 | 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 | — |
| D37 · Vulnerability-disclosure Policy | disclosure | — | disclosure: not applicable — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed. | 0 | — |
| D40 · Network Egress Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here. | 0 | — |
| D41 · Kernel & Syscall Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here. | 0 | — |
| D42 · Runtime Threat Enforcement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here. | 0 | — |
| D43 · Malicious Dependencies | osv-scanner | — | osv-scanner --format json --recursive --experimental-disable-plugins transitivedependency/requirements --experimental-disable-plugins dotnet/csproj --experimental-disable-plugins dotnet/nugetcpm . /tmp/codehealth-osv-sbom-712954c924d748ca86127a105073467d | 0 | artifacts/raw/osv-scanner.json |