Executive summary
aspnetrun/run-aspnetcore-microservices scores 28 out of 100, but it is rated At risk while a critical security finding is open; the score itself is unchanged.
The weakest lens counts most in the score, and here that is Production Readiness, which scores 13 and is rated Critical. Its Code Coverage dimension scores 0 out of 10, and until that reaches 4, Production Readiness can't be rated higher than Adequate. The first actions are to resolve the 3 Leaked secret finding(s) in Secret Scanning and to resolve the 1 No automated tests finding(s) in Code Coverage, and if Production Readiness rose to 70, the score would rise from 28 to about 40.
40 findings are critical: ten in Forms & labels, eight in Dependency Vulnerabilities, six in Secrets (history), four in IaC & Container Security, four in Text alternatives, three in Secret Scanning, two in Explicit Debt, one in Code Coverage, one in Domain ↔ infrastructure boundary and one in Web-Security Posture.
Watchdog couldn't measure Dependency Hygiene, IL Efficiency and Runtime accessibility in this code, so those dimensions are left out of the score. The product code is 2,830 lines, which would take an estimated 0.1 person-years, around €4,000, to rebuild.
If Production Readiness rose from 13 to 70, the lowest score rated Strong, the score would rise from 28 to about 40.
New since the last survey: 66 findings
- Secret Scanning · REDACTED
- Secret Scanning · REDACTED
- Secret Scanning · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Access Controls · No authorization src/Services/Basket/Basket.API/Basket/CheckoutBasket/CheckoutBasketEndpoints.cs
- Access Controls · No authorization src/Services/Basket/Basket.API/Basket/DeleteBasket/DeleteBasketEndpoints.cs
- Access Controls · No authorization src/Services/Basket/Basket.API/Basket/GetBasket/GetBasketEndpoints.cs
- Access Controls · No authorization src/Services/Basket/Basket.API/Basket/StoreBasket/StoreBasketEndpoints.cs
- Access Controls · No authorization src/Services/Catalog/Catalog.API/Products/CreateProduct/CreateProductEndpoint.cs
- Access Controls · No authorization src/Services/Catalog/Catalog.API/Products/DeleteProduct/DeleteProductEndpoint.cs
- Access Controls · No authorization src/Services/Catalog/Catalog.API/Products/GetProductByCategory/GetProductByCategoryEndpoint.cs
- Access Controls · No authorization src/Services/Catalog/Catalog.API/Products/GetProductById/GetProductByIdEndpoint.cs
- Access Controls · No authorization src/Services/Catalog/Catalog.API/Products/GetProducts/GetProductsEndpoint.cs
- Access Controls · No authorization src/Services/Catalog/Catalog.API/Products/UpdateProduct/UpdateProductEndpoint.cs
- Access Controls · No authorization src/Services/Discount/Discount.Grpc/Program.cs
- Access Controls · No authorization src/Services/Ordering/Ordering.API/Endpoints/CreateOrder.cs
- Access Controls · No authorization src/Services/Ordering/Ordering.API/Endpoints/DeleteOrder.cs
- Access Controls · No authorization src/Services/Ordering/Ordering.API/Endpoints/GetOrders.cs
- Access Controls · No authorization src/Services/Ordering/Ordering.API/Endpoints/GetOrdersByCustomer.cs
- Access Controls · No authorization src/Services/Ordering/Ordering.API/Endpoints/GetOrdersByName.cs
- Access Controls · No authorization src/Services/Ordering/Ordering.API/Endpoints/UpdateOrder.cs
- Cancellation propagation · Async endpoint handler without CancellationToken: /products src/Services/Catalog/Catalog.API/Products/CreateProduct/CreateProductEndpoint.cs
- Cancellation propagation · Async endpoint handler without CancellationToken: /products/{id} src/Services/Catalog/Catalog.API/Products/DeleteProduct/DeleteProductEndpoint.cs
- Cancellation propagation · Async endpoint handler without CancellationToken: /products/category/{category} src/Services/Catalog/Catalog.API/Products/GetProductByCategory/GetProductByCategoryEndpoint.cs
- Cancellation propagation · Async endpoint handler without CancellationToken: /products/{id} src/Services/Catalog/Catalog.API/Products/GetProductById/GetProductByIdEndpoint.cs
- Cancellation propagation · Async endpoint handler without CancellationToken: /products src/Services/Catalog/Catalog.API/Products/GetProducts/GetProductsEndpoint.cs
- Cancellation propagation · Async endpoint handler without CancellationToken: /products src/Services/Catalog/Catalog.API/Products/UpdateProduct/UpdateProductEndpoint.cs
- Cancellation propagation · Async endpoint handler without CancellationToken: /basket/checkout src/Services/Basket/Basket.API/Basket/CheckoutBasket/CheckoutBasketEndpoints.cs
- Cancellation propagation · Async endpoint handler without CancellationToken: /basket/{userName} src/Services/Basket/Basket.API/Basket/DeleteBasket/DeleteBasketEndpoints.cs
- Cancellation propagation · Async endpoint handler without CancellationToken: /basket/{userName} src/Services/Basket/Basket.API/Basket/GetBasket/GetBasketEndpoints.cs
- Cancellation propagation · Async endpoint handler without CancellationToken: /basket src/Services/Basket/Basket.API/Basket/StoreBasket/StoreBasketEndpoints.cs
- Cancellation propagation · Async method without CancellationToken: GetDiscount src/Services/Discount/Discount.Grpc/Services/DiscountService.cs
- Cancellation propagation · Async method without CancellationToken: CreateDiscount src/Services/Discount/Discount.Grpc/Services/DiscountService.cs
- Cancellation propagation · Async method without CancellationToken: UpdateDiscount src/Services/Discount/Discount.Grpc/Services/DiscountService.cs
- Cancellation propagation · Async method without CancellationToken: DeleteDiscount src/Services/Discount/Discount.Grpc/Services/DiscountService.cs
- Cancellation propagation · Async endpoint handler without CancellationToken: /orders src/Services/Ordering/Ordering.API/Endpoints/CreateOrder.cs
- Cancellation propagation · Async endpoint handler without CancellationToken: /orders/{id} src/Services/Ordering/Ordering.API/Endpoints/DeleteOrder.cs
- Cancellation propagation · Async endpoint handler without CancellationToken: /orders src/Services/Ordering/Ordering.API/Endpoints/GetOrders.cs
- Cancellation propagation · Async endpoint handler without CancellationToken: /orders/customer/{customerId} src/Services/Ordering/Ordering.API/Endpoints/GetOrdersByCustomer.cs
- Cancellation propagation · Async endpoint handler without CancellationToken: /orders/{orderName} src/Services/Ordering/Ordering.API/Endpoints/GetOrdersByName.cs
- Cancellation propagation · Async endpoint handler without CancellationToken: /orders src/Services/Ordering/Ordering.API/Endpoints/UpdateOrder.cs
- Async & latency hygiene · Sync-over-async blocking
- Async & latency hygiene · Sync-over-async blocking src/Services/Ordering/Ordering.Infrastructure/Data/Extensions/DatabaseExtentions.cs
- Async & latency hygiene · Sync-over-async blocking src/Services/Ordering/Ordering.Infrastructure/Data/Interceptors/DispatchDomainEventsInterceptor.cs
Rebuild cost: about €4,000 · Estimate
| Cost to rebuild | €1,300 to €6,600, for 22 to 69 hours of work, about 0.1 person-years for one engineer |
|---|---|
| Difficulty of the problem | Very high, judged from the kind of software and how it is built. Code that solves a harder problem, such as payments or medical bookings, costs more per line to write. |
| Quality factor | ×0.7 at a score of 28. 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,830 lines of product code, of which 45% is declarations and boilerplate, 52% straight logic and 3% logic with branches |
Top priorities
Diagnosis: what the measurements show together
Architecture — bounded-context dependency graph
Architecture: which parts of the code depend on which
| uses → | 1 Basket.API.Dtos | 2 Basket.API.Models | 3 BuildingBlocks.CQRS | 4 BuildingBlocks.Exceptions | 5 BuildingBlocks.Messaging.Events | 6 BuildingBlocks.Pagination | 7 Catalog.API.Models | 8 Discount.Grpc.Data | 9 Ordering.Domain.Abstractions | 10 Ordering.Domain.Enums | 11 Shopping.Web.Models.Basket | 12 Shopping.Web.Models.Catalog | 13 Shopping.Web.Models.Ordering | 14 Basket.API.Data | 15 Basket.API.Exceptions | 16 Catalog.API.Data | 17 Catalog.API.Products.GetProductByCategory | 18 Catalog.API.Products.GetProductById | 19 Catalog.API.Products.GetProducts | 20 Ordering.Application.Dtos | 21 Ordering.Domain.Models | 22 Shopping.Web.Services | 23 Basket.API.Basket.CheckoutBasket | 24 Basket.API.Basket.DeleteBasket | 25 Basket.API.Basket.GetBasket | 26 Basket.API.Basket.StoreBasket | 27 Ordering.API.Endpoints | 28 Ordering.Application.Data | 29 Ordering.Application.Extensions | 30 Ordering.Domain.Events | 31 Shopping.Web.Pages | 32 Ordering.Application.Orders.Commands.CreateOrder | 33 Ordering.Application.Orders.Commands.DeleteOrder | 34 Ordering.Application.Orders.Commands.UpdateOrder | 35 Ordering.Application.Orders.Queries.GetOrders | 36 Ordering.Application.Orders.Queries.GetOrdersByCustomer | 37 Ordering.Application.Orders.Queries.GetOrdersByName | 38 Ordering.Infrastructure.Data | 39 Ordering.Application.Orders.EventHandlers.Integration | 40 Ordering.Infrastructure.Data.Extensions |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 Basket.API.Dtos | ||||||||||||||||||||||||||||||||||||||||
| 2 Basket.API.Models | ||||||||||||||||||||||||||||||||||||||||
| 3 BuildingBlocks.CQRS | ||||||||||||||||||||||||||||||||||||||||
| 4 BuildingBlocks.Exceptions | ||||||||||||||||||||||||||||||||||||||||
| 5 BuildingBlocks.Messaging.Events | ||||||||||||||||||||||||||||||||||||||||
| 6 BuildingBlocks.Pagination | ||||||||||||||||||||||||||||||||||||||||
| 7 Catalog.API.Models | ||||||||||||||||||||||||||||||||||||||||
| 8 Discount.Grpc.Data | ||||||||||||||||||||||||||||||||||||||||
| 9 Ordering.Domain.Abstractions | ||||||||||||||||||||||||||||||||||||||||
| 10 Ordering.Domain.Enums | ||||||||||||||||||||||||||||||||||||||||
| 11 Shopping.Web.Models.Basket | ||||||||||||||||||||||||||||||||||||||||
| 12 Shopping.Web.Models.Catalog | ||||||||||||||||||||||||||||||||||||||||
| 13 Shopping.Web.Models.Ordering | ||||||||||||||||||||||||||||||||||||||||
| 14 Basket.API.Data | 3 | |||||||||||||||||||||||||||||||||||||||
| 15 Basket.API.Exceptions | 1 | |||||||||||||||||||||||||||||||||||||||
| 16 Catalog.API.Data | 1 | |||||||||||||||||||||||||||||||||||||||
| 17 Catalog.API.Products.GetProductByCategory | 2 | 2 | ||||||||||||||||||||||||||||||||||||||
| 18 Catalog.API.Products.GetProductById | 2 | 2 | ||||||||||||||||||||||||||||||||||||||
| 19 Catalog.API.Products.GetProducts | 2 | 2 | ||||||||||||||||||||||||||||||||||||||
| 20 Ordering.Application.Dtos | 1 | |||||||||||||||||||||||||||||||||||||||
| 21 Ordering.Domain.Models | 4 | 1 | ||||||||||||||||||||||||||||||||||||||
| 22 Shopping.Web.Services | 7 | 3 | 3 | |||||||||||||||||||||||||||||||||||||
| 23 Basket.API.Basket.CheckoutBasket | 2 | 2 | 1 | |||||||||||||||||||||||||||||||||||||
| 24 Basket.API.Basket.DeleteBasket | 2 | 1 | ||||||||||||||||||||||||||||||||||||||
| 25 Basket.API.Basket.GetBasket | 2 | 2 | 1 | |||||||||||||||||||||||||||||||||||||
| 26 Basket.API.Basket.StoreBasket | 3 | 2 | 1 | |||||||||||||||||||||||||||||||||||||
| 27 Ordering.API.Endpoints | 1 | 5 | ||||||||||||||||||||||||||||||||||||||
| 28 Ordering.Application.Data | 4 | |||||||||||||||||||||||||||||||||||||||
| 29 Ordering.Application.Extensions | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 30 Ordering.Domain.Events | 2 | 2 | ||||||||||||||||||||||||||||||||||||||
| 31 Shopping.Web.Pages | 3 | 3 | 1 | 9 | ||||||||||||||||||||||||||||||||||||
| 32 Ordering.Application.Orders.Commands.CreateOrder | 2 | 2 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 33 Ordering.Application.Orders.Commands.DeleteOrder | 2 | 1 | ||||||||||||||||||||||||||||||||||||||
| 34 Ordering.Application.Orders.Commands.UpdateOrder | 2 | 2 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 35 Ordering.Application.Orders.Queries.GetOrders | 2 | 2 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 36 Ordering.Application.Orders.Queries.GetOrdersByCustomer | 2 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 37 Ordering.Application.Orders.Queries.GetOrdersByName | 2 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 38 Ordering.Infrastructure.Data | 4 | 1 | ||||||||||||||||||||||||||||||||||||||
| 39 Ordering.Application.Orders.EventHandlers.Integration | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 40 Ordering.Infrastructure.Data.Extensions | 3 | 1 |
14→2 Basket.API.Data uses Basket.API.Models✕
- Connections
- 3 pairs of types, where a type in Basket.API.Data uses a type in Basket.API.Models.
- The types involved
Basket.API.Data.BasketRepository→Basket.API.Models.ShoppingCartBasket.API.Data.CachedBasketRepository→Basket.API.Models.ShoppingCartBasket.API.Data.IBasketRepository→Basket.API.Models.ShoppingCart
- Direction
- Basket.API.Data uses Basket.API.Models, so a change to Basket.API.Models can break Basket.API.Data, while a change to Basket.API.Data can't break Basket.API.Models.
- Position
- Below the diagonal: Basket.API.Data uses a module listed above it, which is the healthy direction.
15→4 Basket.API.Exceptions uses BuildingBlocks.Exceptions✕
- Connections
- 1 pair of types, where a type in Basket.API.Exceptions uses a type in BuildingBlocks.Exceptions.
- The types involved
Basket.API.Exceptions.BasketNotFoundException→BuildingBlocks.Exceptions.NotFoundException
- Direction
- Basket.API.Exceptions uses BuildingBlocks.Exceptions, so a change to BuildingBlocks.Exceptions can break Basket.API.Exceptions, while a change to Basket.API.Exceptions can't break BuildingBlocks.Exceptions.
- Position
- Below the diagonal: Basket.API.Exceptions uses a module listed above it, which is the healthy direction.
16→7 Catalog.API.Data uses Catalog.API.Models✕
- Connections
- 1 pair of types, where a type in Catalog.API.Data uses a type in Catalog.API.Models.
- The types involved
Catalog.API.Data.CatalogInitialData→Catalog.API.Models.Product
- Direction
- Catalog.API.Data uses Catalog.API.Models, so a change to Catalog.API.Models can break Catalog.API.Data, while a change to Catalog.API.Data can't break Catalog.API.Models.
- Position
- Below the diagonal: Catalog.API.Data uses a module listed above it, which is the healthy direction.
17→3 Catalog.API.Products.GetProductByCategory uses BuildingBlocks.CQRS✕
- Connections
- 2 pairs of types, where a type in Catalog.API.Products.GetProductByCategory uses a type in BuildingBlocks.CQRS.
- The types involved
Catalog.API.Products.GetProductByCategory.GetProductByCategoryQuery→BuildingBlocks.CQRS.IQueryCatalog.API.Products.GetProductByCategory.GetProductByCategoryQueryHandler→BuildingBlocks.CQRS.IQueryHandler
- Direction
- Catalog.API.Products.GetProductByCategory uses BuildingBlocks.CQRS, so a change to BuildingBlocks.CQRS can break Catalog.API.Products.GetProductByCategory, while a change to Catalog.API.Products.GetProductByCategory can't break BuildingBlocks.CQRS.
- Position
- Below the diagonal: Catalog.API.Products.GetProductByCategory uses a module listed above it, which is the healthy direction.
17→7 Catalog.API.Products.GetProductByCategory uses Catalog.API.Models✕
- Connections
- 2 pairs of types, where a type in Catalog.API.Products.GetProductByCategory uses a type in Catalog.API.Models.
- The types involved
Catalog.API.Products.GetProductByCategory.GetProductByCategoryResponse→Catalog.API.Models.ProductCatalog.API.Products.GetProductByCategory.GetProductByCategoryResult→Catalog.API.Models.Product
- Direction
- Catalog.API.Products.GetProductByCategory uses Catalog.API.Models, so a change to Catalog.API.Models can break Catalog.API.Products.GetProductByCategory, while a change to Catalog.API.Products.GetProductByCategory can't break Catalog.API.Models.
- Position
- Below the diagonal: Catalog.API.Products.GetProductByCategory uses a module listed above it, which is the healthy direction.
18→3 Catalog.API.Products.GetProductById uses BuildingBlocks.CQRS✕
- Connections
- 2 pairs of types, where a type in Catalog.API.Products.GetProductById uses a type in BuildingBlocks.CQRS.
- The types involved
Catalog.API.Products.GetProductById.GetProductByIdQuery→BuildingBlocks.CQRS.IQueryCatalog.API.Products.GetProductById.GetProductByIdQueryHandler→BuildingBlocks.CQRS.IQueryHandler
- Direction
- Catalog.API.Products.GetProductById uses BuildingBlocks.CQRS, so a change to BuildingBlocks.CQRS can break Catalog.API.Products.GetProductById, while a change to Catalog.API.Products.GetProductById can't break BuildingBlocks.CQRS.
- Position
- Below the diagonal: Catalog.API.Products.GetProductById uses a module listed above it, which is the healthy direction.
18→7 Catalog.API.Products.GetProductById uses Catalog.API.Models✕
- Connections
- 2 pairs of types, where a type in Catalog.API.Products.GetProductById uses a type in Catalog.API.Models.
- The types involved
Catalog.API.Products.GetProductById.GetProductByIdResponse→Catalog.API.Models.ProductCatalog.API.Products.GetProductById.GetProductByIdResult→Catalog.API.Models.Product
- Direction
- Catalog.API.Products.GetProductById uses Catalog.API.Models, so a change to Catalog.API.Models can break Catalog.API.Products.GetProductById, while a change to Catalog.API.Products.GetProductById can't break Catalog.API.Models.
- Position
- Below the diagonal: Catalog.API.Products.GetProductById uses a module listed above it, which is the healthy direction.
19→3 Catalog.API.Products.GetProducts uses BuildingBlocks.CQRS✕
- Connections
- 2 pairs of types, where a type in Catalog.API.Products.GetProducts uses a type in BuildingBlocks.CQRS.
- The types involved
Catalog.API.Products.GetProducts.GetProductsQuery→BuildingBlocks.CQRS.IQueryCatalog.API.Products.GetProducts.GetProductsQueryHandler→BuildingBlocks.CQRS.IQueryHandler
- Direction
- Catalog.API.Products.GetProducts uses BuildingBlocks.CQRS, so a change to BuildingBlocks.CQRS can break Catalog.API.Products.GetProducts, while a change to Catalog.API.Products.GetProducts can't break BuildingBlocks.CQRS.
- Position
- Below the diagonal: Catalog.API.Products.GetProducts uses a module listed above it, which is the healthy direction.
19→7 Catalog.API.Products.GetProducts uses Catalog.API.Models✕
- Connections
- 2 pairs of types, where a type in Catalog.API.Products.GetProducts uses a type in Catalog.API.Models.
- The types involved
Catalog.API.Products.GetProducts.GetProductsResponse→Catalog.API.Models.ProductCatalog.API.Products.GetProducts.GetProductsResult→Catalog.API.Models.Product
- Direction
- Catalog.API.Products.GetProducts uses Catalog.API.Models, so a change to Catalog.API.Models can break Catalog.API.Products.GetProducts, while a change to Catalog.API.Products.GetProducts can't break Catalog.API.Models.
- Position
- Below the diagonal: Catalog.API.Products.GetProducts uses a module listed above it, which is the healthy direction.
20→10 Ordering.Application.Dtos uses Ordering.Domain.Enums✕
- Connections
- 1 pair of types, where a type in Ordering.Application.Dtos uses a type in Ordering.Domain.Enums.
- The types involved
Ordering.Application.Dtos.OrderDto→Ordering.Domain.Enums.OrderStatus
- Direction
- Ordering.Application.Dtos uses Ordering.Domain.Enums, so a change to Ordering.Domain.Enums can break Ordering.Application.Dtos, while a change to Ordering.Application.Dtos can't break Ordering.Domain.Enums.
- Position
- Below the diagonal: Ordering.Application.Dtos uses a module listed above it, which is the healthy direction.
21→9 Ordering.Domain.Models uses Ordering.Domain.Abstractions✕
- Connections
- 4 pairs of types, where a type in Ordering.Domain.Models uses a type in Ordering.Domain.Abstractions.
- The types involved
Ordering.Domain.Models.Customer→Ordering.Domain.Abstractions.EntityOrdering.Domain.Models.Order→Ordering.Domain.Abstractions.AggregateOrdering.Domain.Models.OrderItem→Ordering.Domain.Abstractions.EntityOrdering.Domain.Models.Product→Ordering.Domain.Abstractions.Entity
- Direction
- Ordering.Domain.Models uses Ordering.Domain.Abstractions, so a change to Ordering.Domain.Abstractions can break Ordering.Domain.Models, while a change to Ordering.Domain.Models can't break Ordering.Domain.Abstractions.
- Position
- Below the diagonal: Ordering.Domain.Models uses a module listed above it, which is the healthy direction.
21→10 Ordering.Domain.Models uses Ordering.Domain.Enums✕
- Connections
- 1 pair of types, where a type in Ordering.Domain.Models uses a type in Ordering.Domain.Enums.
- The types involved
Ordering.Domain.Models.Order→Ordering.Domain.Enums.OrderStatus
- Direction
- Ordering.Domain.Models uses Ordering.Domain.Enums, so a change to Ordering.Domain.Enums can break Ordering.Domain.Models, while a change to Ordering.Domain.Models can't break Ordering.Domain.Enums.
- Position
- Below the diagonal: Ordering.Domain.Models uses a module listed above it, which is the healthy direction.
22→11 Shopping.Web.Services uses Shopping.Web.Models.Basket✕
- Connections
- 7 pairs of types, where a type in Shopping.Web.Services uses a type in Shopping.Web.Models.Basket.
- The types involved
Shopping.Web.Services.IBasketService→Shopping.Web.Models.Basket.CheckoutBasketRequestShopping.Web.Services.IBasketService→Shopping.Web.Models.Basket.CheckoutBasketResponseShopping.Web.Services.IBasketService→Shopping.Web.Models.Basket.DeleteBasketResponseShopping.Web.Services.IBasketService→Shopping.Web.Models.Basket.GetBasketResponseShopping.Web.Services.IBasketService→Shopping.Web.Models.Basket.ShoppingCartModelShopping.Web.Services.IBasketService→Shopping.Web.Models.Basket.StoreBasketRequestShopping.Web.Services.IBasketService→Shopping.Web.Models.Basket.StoreBasketResponse
- Direction
- Shopping.Web.Services uses Shopping.Web.Models.Basket, so a change to Shopping.Web.Models.Basket can break Shopping.Web.Services, while a change to Shopping.Web.Services can't break Shopping.Web.Models.Basket.
- Position
- Below the diagonal: Shopping.Web.Services uses a module listed above it, which is the healthy direction.
22→12 Shopping.Web.Services uses Shopping.Web.Models.Catalog✕
- Connections
- 3 pairs of types, where a type in Shopping.Web.Services uses a type in Shopping.Web.Models.Catalog.
- The types involved
Shopping.Web.Services.ICatalogService→Shopping.Web.Models.Catalog.GetProductByCategoryResponseShopping.Web.Services.ICatalogService→Shopping.Web.Models.Catalog.GetProductByIdResponseShopping.Web.Services.ICatalogService→Shopping.Web.Models.Catalog.GetProductsResponse
- Direction
- Shopping.Web.Services uses Shopping.Web.Models.Catalog, so a change to Shopping.Web.Models.Catalog can break Shopping.Web.Services, while a change to Shopping.Web.Services can't break Shopping.Web.Models.Catalog.
- Position
- Below the diagonal: Shopping.Web.Services uses a module listed above it, which is the healthy direction.
22→13 Shopping.Web.Services uses Shopping.Web.Models.Ordering✕
- Connections
- 3 pairs of types, where a type in Shopping.Web.Services uses a type in Shopping.Web.Models.Ordering.
- The types involved
Shopping.Web.Services.IOrderingService→Shopping.Web.Models.Ordering.GetOrdersByCustomerResponseShopping.Web.Services.IOrderingService→Shopping.Web.Models.Ordering.GetOrdersByNameResponseShopping.Web.Services.IOrderingService→Shopping.Web.Models.Ordering.GetOrdersResponse
- Direction
- Shopping.Web.Services uses Shopping.Web.Models.Ordering, so a change to Shopping.Web.Models.Ordering can break Shopping.Web.Services, while a change to Shopping.Web.Services can't break Shopping.Web.Models.Ordering.
- Position
- Below the diagonal: Shopping.Web.Services uses a module listed above it, which is the healthy direction.
23→1 Basket.API.Basket.CheckoutBasket uses Basket.API.Dtos✕
- Connections
- 2 pairs of types, where a type in Basket.API.Basket.CheckoutBasket uses a type in Basket.API.Dtos.
- The types involved
Basket.API.Basket.CheckoutBasket.CheckoutBasketCommand→Basket.API.Dtos.BasketCheckoutDtoBasket.API.Basket.CheckoutBasket.CheckoutBasketRequest→Basket.API.Dtos.BasketCheckoutDto
- Direction
- Basket.API.Basket.CheckoutBasket uses Basket.API.Dtos, so a change to Basket.API.Dtos can break Basket.API.Basket.CheckoutBasket, while a change to Basket.API.Basket.CheckoutBasket can't break Basket.API.Dtos.
- Position
- Below the diagonal: Basket.API.Basket.CheckoutBasket uses a module listed above it, which is the healthy direction.
23→3 Basket.API.Basket.CheckoutBasket uses BuildingBlocks.CQRS✕
- Connections
- 2 pairs of types, where a type in Basket.API.Basket.CheckoutBasket uses a type in BuildingBlocks.CQRS.
- The types involved
Basket.API.Basket.CheckoutBasket.CheckoutBasketCommand→BuildingBlocks.CQRS.ICommandBasket.API.Basket.CheckoutBasket.CheckoutBasketCommandHandler→BuildingBlocks.CQRS.ICommandHandler
- Direction
- Basket.API.Basket.CheckoutBasket uses BuildingBlocks.CQRS, so a change to BuildingBlocks.CQRS can break Basket.API.Basket.CheckoutBasket, while a change to Basket.API.Basket.CheckoutBasket can't break BuildingBlocks.CQRS.
- Position
- Below the diagonal: Basket.API.Basket.CheckoutBasket uses a module listed above it, which is the healthy direction.
23→14 Basket.API.Basket.CheckoutBasket uses Basket.API.Data✕
- Connections
- 1 pair of types, where a type in Basket.API.Basket.CheckoutBasket uses a type in Basket.API.Data.
- The types involved
Basket.API.Basket.CheckoutBasket.CheckoutBasketCommandHandler→Basket.API.Data.IBasketRepository
- Direction
- Basket.API.Basket.CheckoutBasket uses Basket.API.Data, so a change to Basket.API.Data can break Basket.API.Basket.CheckoutBasket, while a change to Basket.API.Basket.CheckoutBasket can't break Basket.API.Data.
- Position
- Below the diagonal: Basket.API.Basket.CheckoutBasket uses a module listed above it, which is the healthy direction.
24→3 Basket.API.Basket.DeleteBasket uses BuildingBlocks.CQRS✕
- Connections
- 2 pairs of types, where a type in Basket.API.Basket.DeleteBasket uses a type in BuildingBlocks.CQRS.
- The types involved
Basket.API.Basket.DeleteBasket.DeleteBasketCommand→BuildingBlocks.CQRS.ICommandBasket.API.Basket.DeleteBasket.DeleteBasketCommandHandler→BuildingBlocks.CQRS.ICommandHandler
- Direction
- Basket.API.Basket.DeleteBasket uses BuildingBlocks.CQRS, so a change to BuildingBlocks.CQRS can break Basket.API.Basket.DeleteBasket, while a change to Basket.API.Basket.DeleteBasket can't break BuildingBlocks.CQRS.
- Position
- Below the diagonal: Basket.API.Basket.DeleteBasket uses a module listed above it, which is the healthy direction.
24→14 Basket.API.Basket.DeleteBasket uses Basket.API.Data✕
- Connections
- 1 pair of types, where a type in Basket.API.Basket.DeleteBasket uses a type in Basket.API.Data.
- The types involved
Basket.API.Basket.DeleteBasket.DeleteBasketCommandHandler→Basket.API.Data.IBasketRepository
- Direction
- Basket.API.Basket.DeleteBasket uses Basket.API.Data, so a change to Basket.API.Data can break Basket.API.Basket.DeleteBasket, while a change to Basket.API.Basket.DeleteBasket can't break Basket.API.Data.
- Position
- Below the diagonal: Basket.API.Basket.DeleteBasket uses a module listed above it, which is the healthy direction.
25→2 Basket.API.Basket.GetBasket uses Basket.API.Models✕
- Connections
- 2 pairs of types, where a type in Basket.API.Basket.GetBasket uses a type in Basket.API.Models.
- The types involved
Basket.API.Basket.GetBasket.GetBasketResponse→Basket.API.Models.ShoppingCartBasket.API.Basket.GetBasket.GetBasketResult→Basket.API.Models.ShoppingCart
- Direction
- Basket.API.Basket.GetBasket uses Basket.API.Models, so a change to Basket.API.Models can break Basket.API.Basket.GetBasket, while a change to Basket.API.Basket.GetBasket can't break Basket.API.Models.
- Position
- Below the diagonal: Basket.API.Basket.GetBasket uses a module listed above it, which is the healthy direction.
25→3 Basket.API.Basket.GetBasket uses BuildingBlocks.CQRS✕
- Connections
- 2 pairs of types, where a type in Basket.API.Basket.GetBasket uses a type in BuildingBlocks.CQRS.
- The types involved
Basket.API.Basket.GetBasket.GetBasketQuery→BuildingBlocks.CQRS.IQueryBasket.API.Basket.GetBasket.GetBasketQueryHandler→BuildingBlocks.CQRS.IQueryHandler
- Direction
- Basket.API.Basket.GetBasket uses BuildingBlocks.CQRS, so a change to BuildingBlocks.CQRS can break Basket.API.Basket.GetBasket, while a change to Basket.API.Basket.GetBasket can't break BuildingBlocks.CQRS.
- Position
- Below the diagonal: Basket.API.Basket.GetBasket uses a module listed above it, which is the healthy direction.
25→14 Basket.API.Basket.GetBasket uses Basket.API.Data✕
- Connections
- 1 pair of types, where a type in Basket.API.Basket.GetBasket uses a type in Basket.API.Data.
- The types involved
Basket.API.Basket.GetBasket.GetBasketQueryHandler→Basket.API.Data.IBasketRepository
- Direction
- Basket.API.Basket.GetBasket uses Basket.API.Data, so a change to Basket.API.Data can break Basket.API.Basket.GetBasket, while a change to Basket.API.Basket.GetBasket can't break Basket.API.Data.
- Position
- Below the diagonal: Basket.API.Basket.GetBasket uses a module listed above it, which is the healthy direction.
26→2 Basket.API.Basket.StoreBasket uses Basket.API.Models✕
- Connections
- 3 pairs of types, where a type in Basket.API.Basket.StoreBasket uses a type in Basket.API.Models.
- The types involved
Basket.API.Basket.StoreBasket.StoreBasketCommand→Basket.API.Models.ShoppingCartBasket.API.Basket.StoreBasket.StoreBasketCommandHandler→Basket.API.Models.ShoppingCartBasket.API.Basket.StoreBasket.StoreBasketRequest→Basket.API.Models.ShoppingCart
- Direction
- Basket.API.Basket.StoreBasket uses Basket.API.Models, so a change to Basket.API.Models can break Basket.API.Basket.StoreBasket, while a change to Basket.API.Basket.StoreBasket can't break Basket.API.Models.
- Position
- Below the diagonal: Basket.API.Basket.StoreBasket uses a module listed above it, which is the healthy direction.
26→3 Basket.API.Basket.StoreBasket uses BuildingBlocks.CQRS✕
- Connections
- 2 pairs of types, where a type in Basket.API.Basket.StoreBasket uses a type in BuildingBlocks.CQRS.
- The types involved
Basket.API.Basket.StoreBasket.StoreBasketCommand→BuildingBlocks.CQRS.ICommandBasket.API.Basket.StoreBasket.StoreBasketCommandHandler→BuildingBlocks.CQRS.ICommandHandler
- Direction
- Basket.API.Basket.StoreBasket uses BuildingBlocks.CQRS, so a change to BuildingBlocks.CQRS can break Basket.API.Basket.StoreBasket, while a change to Basket.API.Basket.StoreBasket can't break BuildingBlocks.CQRS.
- Position
- Below the diagonal: Basket.API.Basket.StoreBasket uses a module listed above it, which is the healthy direction.
26→14 Basket.API.Basket.StoreBasket uses Basket.API.Data✕
- Connections
- 1 pair of types, where a type in Basket.API.Basket.StoreBasket uses a type in Basket.API.Data.
- The types involved
Basket.API.Basket.StoreBasket.StoreBasketCommandHandler→Basket.API.Data.IBasketRepository
- Direction
- Basket.API.Basket.StoreBasket uses Basket.API.Data, so a change to Basket.API.Data can break Basket.API.Basket.StoreBasket, while a change to Basket.API.Basket.StoreBasket can't break Basket.API.Data.
- Position
- Below the diagonal: Basket.API.Basket.StoreBasket uses a module listed above it, which is the healthy direction.
27→6 Ordering.API.Endpoints uses BuildingBlocks.Pagination✕
- Connections
- 1 pair of types, where a type in Ordering.API.Endpoints uses a type in BuildingBlocks.Pagination.
- The types involved
Ordering.API.Endpoints.GetOrdersResponse→BuildingBlocks.Pagination.PaginatedResult
- Direction
- Ordering.API.Endpoints uses BuildingBlocks.Pagination, so a change to BuildingBlocks.Pagination can break Ordering.API.Endpoints, while a change to Ordering.API.Endpoints can't break BuildingBlocks.Pagination.
- Position
- Below the diagonal: Ordering.API.Endpoints uses a module listed above it, which is the healthy direction.
27→20 Ordering.API.Endpoints uses Ordering.Application.Dtos✕
- Connections
- 5 pairs of types, where a type in Ordering.API.Endpoints uses a type in Ordering.Application.Dtos.
- The types involved
Ordering.API.Endpoints.CreateOrderRequest→Ordering.Application.Dtos.OrderDtoOrdering.API.Endpoints.GetOrdersByCustomerResponse→Ordering.Application.Dtos.OrderDtoOrdering.API.Endpoints.GetOrdersByNameResponse→Ordering.Application.Dtos.OrderDtoOrdering.API.Endpoints.GetOrdersResponse→Ordering.Application.Dtos.OrderDtoOrdering.API.Endpoints.UpdateOrderRequest→Ordering.Application.Dtos.OrderDto
- Direction
- Ordering.API.Endpoints uses Ordering.Application.Dtos, so a change to Ordering.Application.Dtos can break Ordering.API.Endpoints, while a change to Ordering.API.Endpoints can't break Ordering.Application.Dtos.
- Position
- Below the diagonal: Ordering.API.Endpoints uses a module listed above it, which is the healthy direction.
28→21 Ordering.Application.Data uses Ordering.Domain.Models✕
- Connections
- 4 pairs of types, where a type in Ordering.Application.Data uses a type in Ordering.Domain.Models.
- The types involved
Ordering.Application.Data.IApplicationDbContext→Ordering.Domain.Models.CustomerOrdering.Application.Data.IApplicationDbContext→Ordering.Domain.Models.OrderOrdering.Application.Data.IApplicationDbContext→Ordering.Domain.Models.OrderItemOrdering.Application.Data.IApplicationDbContext→Ordering.Domain.Models.Product
- Direction
- Ordering.Application.Data uses Ordering.Domain.Models, so a change to Ordering.Domain.Models can break Ordering.Application.Data, while a change to Ordering.Application.Data can't break Ordering.Domain.Models.
- Position
- Below the diagonal: Ordering.Application.Data uses a module listed above it, which is the healthy direction.
29→20 Ordering.Application.Extensions uses Ordering.Application.Dtos✕
- Connections
- 1 pair of types, where a type in Ordering.Application.Extensions uses a type in Ordering.Application.Dtos.
- The types involved
Ordering.Application.Extensions.OrderExtensions→Ordering.Application.Dtos.OrderDto
- Direction
- Ordering.Application.Extensions uses Ordering.Application.Dtos, so a change to Ordering.Application.Dtos can break Ordering.Application.Extensions, while a change to Ordering.Application.Extensions can't break Ordering.Application.Dtos.
- Position
- Below the diagonal: Ordering.Application.Extensions uses a module listed above it, which is the healthy direction.
29→21 Ordering.Application.Extensions uses Ordering.Domain.Models✕
- Connections
- 1 pair of types, where a type in Ordering.Application.Extensions uses a type in Ordering.Domain.Models.
- The types involved
Ordering.Application.Extensions.OrderExtensions→Ordering.Domain.Models.Order
- Direction
- Ordering.Application.Extensions uses Ordering.Domain.Models, so a change to Ordering.Domain.Models can break Ordering.Application.Extensions, while a change to Ordering.Application.Extensions can't break Ordering.Domain.Models.
- Position
- Below the diagonal: Ordering.Application.Extensions uses a module listed above it, which is the healthy direction.
30→9 Ordering.Domain.Events uses Ordering.Domain.Abstractions✕
- Connections
- 2 pairs of types, where a type in Ordering.Domain.Events uses a type in Ordering.Domain.Abstractions.
- The types involved
Ordering.Domain.Events.OrderCreatedEvent→Ordering.Domain.Abstractions.IDomainEventOrdering.Domain.Events.OrderUpdatedEvent→Ordering.Domain.Abstractions.IDomainEvent
- Direction
- Ordering.Domain.Events uses Ordering.Domain.Abstractions, so a change to Ordering.Domain.Abstractions can break Ordering.Domain.Events, while a change to Ordering.Domain.Events can't break Ordering.Domain.Abstractions.
- Position
- Below the diagonal: Ordering.Domain.Events uses a module listed above it, which is the healthy direction.
30→21 Ordering.Domain.Events uses Ordering.Domain.Models✕
- Connections
- 2 pairs of types, where a type in Ordering.Domain.Events uses a type in Ordering.Domain.Models.
- The types involved
Ordering.Domain.Events.OrderCreatedEvent→Ordering.Domain.Models.OrderOrdering.Domain.Events.OrderUpdatedEvent→Ordering.Domain.Models.Order
- Direction
- Ordering.Domain.Events uses Ordering.Domain.Models, so a change to Ordering.Domain.Models can break Ordering.Domain.Events, while a change to Ordering.Domain.Events can't break Ordering.Domain.Models.
- Position
- Below the diagonal: Ordering.Domain.Events uses a module listed above it, which is the healthy direction.
31→11 Shopping.Web.Pages uses Shopping.Web.Models.Basket✕
- Connections
- 3 pairs of types, where a type in Shopping.Web.Pages uses a type in Shopping.Web.Models.Basket.
- The types involved
Shopping.Web.Pages.CartModel→Shopping.Web.Models.Basket.ShoppingCartModelShopping.Web.Pages.CheckoutModel→Shopping.Web.Models.Basket.BasketCheckoutModelShopping.Web.Pages.CheckoutModel→Shopping.Web.Models.Basket.ShoppingCartModel
- Direction
- Shopping.Web.Pages uses Shopping.Web.Models.Basket, so a change to Shopping.Web.Models.Basket can break Shopping.Web.Pages, while a change to Shopping.Web.Pages can't break Shopping.Web.Models.Basket.
- Position
- Below the diagonal: Shopping.Web.Pages uses a module listed above it, which is the healthy direction.
31→12 Shopping.Web.Pages uses Shopping.Web.Models.Catalog✕
- Connections
- 3 pairs of types, where a type in Shopping.Web.Pages uses a type in Shopping.Web.Models.Catalog.
- The types involved
Shopping.Web.Pages.IndexModel→Shopping.Web.Models.Catalog.ProductModelShopping.Web.Pages.ProductDetailModel→Shopping.Web.Models.Catalog.ProductModelShopping.Web.Pages.ProductListModel→Shopping.Web.Models.Catalog.ProductModel
- Direction
- Shopping.Web.Pages uses Shopping.Web.Models.Catalog, so a change to Shopping.Web.Models.Catalog can break Shopping.Web.Pages, while a change to Shopping.Web.Pages can't break Shopping.Web.Models.Catalog.
- Position
- Below the diagonal: Shopping.Web.Pages uses a module listed above it, which is the healthy direction.
31→13 Shopping.Web.Pages uses Shopping.Web.Models.Ordering✕
- Connections
- 1 pair of types, where a type in Shopping.Web.Pages uses a type in Shopping.Web.Models.Ordering.
- The types involved
Shopping.Web.Pages.OrderListModel→Shopping.Web.Models.Ordering.OrderModel
- Direction
- Shopping.Web.Pages uses Shopping.Web.Models.Ordering, so a change to Shopping.Web.Models.Ordering can break Shopping.Web.Pages, while a change to Shopping.Web.Pages can't break Shopping.Web.Models.Ordering.
- Position
- Below the diagonal: Shopping.Web.Pages uses a module listed above it, which is the healthy direction.
31→22 Shopping.Web.Pages uses Shopping.Web.Services✕
- Connections
- 9 pairs of types, where a type in Shopping.Web.Pages uses a type in Shopping.Web.Services.
- The types involved
Shopping.Web.Pages.CartModel→Shopping.Web.Services.IBasketServiceShopping.Web.Pages.CheckoutModel→Shopping.Web.Services.IBasketServiceShopping.Web.Pages.IndexModel→Shopping.Web.Services.IBasketServiceShopping.Web.Pages.IndexModel→Shopping.Web.Services.ICatalogServiceShopping.Web.Pages.OrderListModel→Shopping.Web.Services.IOrderingServiceShopping.Web.Pages.ProductDetailModel→Shopping.Web.Services.IBasketServiceShopping.Web.Pages.ProductDetailModel→Shopping.Web.Services.ICatalogServiceShopping.Web.Pages.ProductListModel→Shopping.Web.Services.IBasketServiceShopping.Web.Pages.ProductListModel→Shopping.Web.Services.ICatalogService
- Direction
- Shopping.Web.Pages uses Shopping.Web.Services, so a change to Shopping.Web.Services can break Shopping.Web.Pages, while a change to Shopping.Web.Pages can't break Shopping.Web.Services.
- Position
- Below the diagonal: Shopping.Web.Pages uses a module listed above it, which is the healthy direction.
32→3 Ordering.Application.Orders.Commands.CreateOrder uses BuildingBlocks.CQRS✕
- Connections
- 2 pairs of types, where a type in Ordering.Application.Orders.Commands.CreateOrder uses a type in BuildingBlocks.CQRS.
- The types involved
Ordering.Application.Orders.Commands.CreateOrder.CreateOrderCommand→BuildingBlocks.CQRS.ICommandOrdering.Application.Orders.Commands.CreateOrder.CreateOrderHandler→BuildingBlocks.CQRS.ICommandHandler
- Direction
- Ordering.Application.Orders.Commands.CreateOrder uses BuildingBlocks.CQRS, so a change to BuildingBlocks.CQRS can break Ordering.Application.Orders.Commands.CreateOrder, while a change to Ordering.Application.Orders.Commands.CreateOrder can't break BuildingBlocks.CQRS.
- Position
- Below the diagonal: Ordering.Application.Orders.Commands.CreateOrder uses a module listed above it, which is the healthy direction.
32→20 Ordering.Application.Orders.Commands.CreateOrder uses Ordering.Application.Dtos✕
- Connections
- 2 pairs of types, where a type in Ordering.Application.Orders.Commands.CreateOrder uses a type in Ordering.Application.Dtos.
- The types involved
Ordering.Application.Orders.Commands.CreateOrder.CreateOrderCommand→Ordering.Application.Dtos.OrderDtoOrdering.Application.Orders.Commands.CreateOrder.CreateOrderHandler→Ordering.Application.Dtos.OrderDto
- Direction
- Ordering.Application.Orders.Commands.CreateOrder uses Ordering.Application.Dtos, so a change to Ordering.Application.Dtos can break Ordering.Application.Orders.Commands.CreateOrder, while a change to Ordering.Application.Orders.Commands.CreateOrder can't break Ordering.Application.Dtos.
- Position
- Below the diagonal: Ordering.Application.Orders.Commands.CreateOrder uses a module listed above it, which is the healthy direction.
32→21 Ordering.Application.Orders.Commands.CreateOrder uses Ordering.Domain.Models✕
- Connections
- 1 pair of types, where a type in Ordering.Application.Orders.Commands.CreateOrder uses a type in Ordering.Domain.Models.
- The types involved
Ordering.Application.Orders.Commands.CreateOrder.CreateOrderHandler→Ordering.Domain.Models.Order
- Direction
- Ordering.Application.Orders.Commands.CreateOrder uses Ordering.Domain.Models, so a change to Ordering.Domain.Models can break Ordering.Application.Orders.Commands.CreateOrder, while a change to Ordering.Application.Orders.Commands.CreateOrder can't break Ordering.Domain.Models.
- Position
- Below the diagonal: Ordering.Application.Orders.Commands.CreateOrder uses a module listed above it, which is the healthy direction.
32→28 Ordering.Application.Orders.Commands.CreateOrder uses Ordering.Application.Data✕
- Connections
- 1 pair of types, where a type in Ordering.Application.Orders.Commands.CreateOrder uses a type in Ordering.Application.Data.
- The types involved
Ordering.Application.Orders.Commands.CreateOrder.CreateOrderHandler→Ordering.Application.Data.IApplicationDbContext
- Direction
- Ordering.Application.Orders.Commands.CreateOrder uses Ordering.Application.Data, so a change to Ordering.Application.Data can break Ordering.Application.Orders.Commands.CreateOrder, while a change to Ordering.Application.Orders.Commands.CreateOrder can't break Ordering.Application.Data.
- Position
- Below the diagonal: Ordering.Application.Orders.Commands.CreateOrder uses a module listed above it, which is the healthy direction.
33→3 Ordering.Application.Orders.Commands.DeleteOrder uses BuildingBlocks.CQRS✕
- Connections
- 2 pairs of types, where a type in Ordering.Application.Orders.Commands.DeleteOrder uses a type in BuildingBlocks.CQRS.
- The types involved
Ordering.Application.Orders.Commands.DeleteOrder.DeleteOrderCommand→BuildingBlocks.CQRS.ICommandOrdering.Application.Orders.Commands.DeleteOrder.DeleteOrderHandler→BuildingBlocks.CQRS.ICommandHandler
- Direction
- Ordering.Application.Orders.Commands.DeleteOrder uses BuildingBlocks.CQRS, so a change to BuildingBlocks.CQRS can break Ordering.Application.Orders.Commands.DeleteOrder, while a change to Ordering.Application.Orders.Commands.DeleteOrder can't break BuildingBlocks.CQRS.
- Position
- Below the diagonal: Ordering.Application.Orders.Commands.DeleteOrder uses a module listed above it, which is the healthy direction.
33→28 Ordering.Application.Orders.Commands.DeleteOrder uses Ordering.Application.Data✕
- Connections
- 1 pair of types, where a type in Ordering.Application.Orders.Commands.DeleteOrder uses a type in Ordering.Application.Data.
- The types involved
Ordering.Application.Orders.Commands.DeleteOrder.DeleteOrderHandler→Ordering.Application.Data.IApplicationDbContext
- Direction
- Ordering.Application.Orders.Commands.DeleteOrder uses Ordering.Application.Data, so a change to Ordering.Application.Data can break Ordering.Application.Orders.Commands.DeleteOrder, while a change to Ordering.Application.Orders.Commands.DeleteOrder can't break Ordering.Application.Data.
- Position
- Below the diagonal: Ordering.Application.Orders.Commands.DeleteOrder uses a module listed above it, which is the healthy direction.
34→3 Ordering.Application.Orders.Commands.UpdateOrder uses BuildingBlocks.CQRS✕
- Connections
- 2 pairs of types, where a type in Ordering.Application.Orders.Commands.UpdateOrder uses a type in BuildingBlocks.CQRS.
- The types involved
Ordering.Application.Orders.Commands.UpdateOrder.UpdateOrderCommand→BuildingBlocks.CQRS.ICommandOrdering.Application.Orders.Commands.UpdateOrder.UpdateOrderHandler→BuildingBlocks.CQRS.ICommandHandler
- Direction
- Ordering.Application.Orders.Commands.UpdateOrder uses BuildingBlocks.CQRS, so a change to BuildingBlocks.CQRS can break Ordering.Application.Orders.Commands.UpdateOrder, while a change to Ordering.Application.Orders.Commands.UpdateOrder can't break BuildingBlocks.CQRS.
- Position
- Below the diagonal: Ordering.Application.Orders.Commands.UpdateOrder uses a module listed above it, which is the healthy direction.
34→20 Ordering.Application.Orders.Commands.UpdateOrder uses Ordering.Application.Dtos✕
- Connections
- 2 pairs of types, where a type in Ordering.Application.Orders.Commands.UpdateOrder uses a type in Ordering.Application.Dtos.
- The types involved
Ordering.Application.Orders.Commands.UpdateOrder.UpdateOrderCommand→Ordering.Application.Dtos.OrderDtoOrdering.Application.Orders.Commands.UpdateOrder.UpdateOrderHandler→Ordering.Application.Dtos.OrderDto
- Direction
- Ordering.Application.Orders.Commands.UpdateOrder uses Ordering.Application.Dtos, so a change to Ordering.Application.Dtos can break Ordering.Application.Orders.Commands.UpdateOrder, while a change to Ordering.Application.Orders.Commands.UpdateOrder can't break Ordering.Application.Dtos.
- Position
- Below the diagonal: Ordering.Application.Orders.Commands.UpdateOrder uses a module listed above it, which is the healthy direction.
34→21 Ordering.Application.Orders.Commands.UpdateOrder uses Ordering.Domain.Models✕
- Connections
- 1 pair of types, where a type in Ordering.Application.Orders.Commands.UpdateOrder uses a type in Ordering.Domain.Models.
- The types involved
Ordering.Application.Orders.Commands.UpdateOrder.UpdateOrderHandler→Ordering.Domain.Models.Order
- Direction
- Ordering.Application.Orders.Commands.UpdateOrder uses Ordering.Domain.Models, so a change to Ordering.Domain.Models can break Ordering.Application.Orders.Commands.UpdateOrder, while a change to Ordering.Application.Orders.Commands.UpdateOrder can't break Ordering.Domain.Models.
- Position
- Below the diagonal: Ordering.Application.Orders.Commands.UpdateOrder uses a module listed above it, which is the healthy direction.
34→28 Ordering.Application.Orders.Commands.UpdateOrder uses Ordering.Application.Data✕
- Connections
- 1 pair of types, where a type in Ordering.Application.Orders.Commands.UpdateOrder uses a type in Ordering.Application.Data.
- The types involved
Ordering.Application.Orders.Commands.UpdateOrder.UpdateOrderHandler→Ordering.Application.Data.IApplicationDbContext
- Direction
- Ordering.Application.Orders.Commands.UpdateOrder uses Ordering.Application.Data, so a change to Ordering.Application.Data can break Ordering.Application.Orders.Commands.UpdateOrder, while a change to Ordering.Application.Orders.Commands.UpdateOrder can't break Ordering.Application.Data.
- Position
- Below the diagonal: Ordering.Application.Orders.Commands.UpdateOrder uses a module listed above it, which is the healthy direction.
35→3 Ordering.Application.Orders.Queries.GetOrders uses BuildingBlocks.CQRS✕
- Connections
- 2 pairs of types, where a type in Ordering.Application.Orders.Queries.GetOrders uses a type in BuildingBlocks.CQRS.
- The types involved
Ordering.Application.Orders.Queries.GetOrders.GetOrdersHandler→BuildingBlocks.CQRS.IQueryHandlerOrdering.Application.Orders.Queries.GetOrders.GetOrdersQuery→BuildingBlocks.CQRS.IQuery
- Direction
- Ordering.Application.Orders.Queries.GetOrders uses BuildingBlocks.CQRS, so a change to BuildingBlocks.CQRS can break Ordering.Application.Orders.Queries.GetOrders, while a change to Ordering.Application.Orders.Queries.GetOrders can't break BuildingBlocks.CQRS.
- Position
- Below the diagonal: Ordering.Application.Orders.Queries.GetOrders uses a module listed above it, which is the healthy direction.
35→6 Ordering.Application.Orders.Queries.GetOrders uses BuildingBlocks.Pagination✕
- Connections
- 2 pairs of types, where a type in Ordering.Application.Orders.Queries.GetOrders uses a type in BuildingBlocks.Pagination.
- The types involved
Ordering.Application.Orders.Queries.GetOrders.GetOrdersQuery→BuildingBlocks.Pagination.PaginationRequestOrdering.Application.Orders.Queries.GetOrders.GetOrdersResult→BuildingBlocks.Pagination.PaginatedResult
- Direction
- Ordering.Application.Orders.Queries.GetOrders uses BuildingBlocks.Pagination, so a change to BuildingBlocks.Pagination can break Ordering.Application.Orders.Queries.GetOrders, while a change to Ordering.Application.Orders.Queries.GetOrders can't break BuildingBlocks.Pagination.
- Position
- Below the diagonal: Ordering.Application.Orders.Queries.GetOrders uses a module listed above it, which is the healthy direction.
35→20 Ordering.Application.Orders.Queries.GetOrders uses Ordering.Application.Dtos✕
- Connections
- 1 pair of types, where a type in Ordering.Application.Orders.Queries.GetOrders uses a type in Ordering.Application.Dtos.
- The types involved
Ordering.Application.Orders.Queries.GetOrders.GetOrdersResult→Ordering.Application.Dtos.OrderDto
- Direction
- Ordering.Application.Orders.Queries.GetOrders uses Ordering.Application.Dtos, so a change to Ordering.Application.Dtos can break Ordering.Application.Orders.Queries.GetOrders, while a change to Ordering.Application.Orders.Queries.GetOrders can't break Ordering.Application.Dtos.
- Position
- Below the diagonal: Ordering.Application.Orders.Queries.GetOrders uses a module listed above it, which is the healthy direction.
35→28 Ordering.Application.Orders.Queries.GetOrders uses Ordering.Application.Data✕
- Connections
- 1 pair of types, where a type in Ordering.Application.Orders.Queries.GetOrders uses a type in Ordering.Application.Data.
- The types involved
Ordering.Application.Orders.Queries.GetOrders.GetOrdersHandler→Ordering.Application.Data.IApplicationDbContext
- Direction
- Ordering.Application.Orders.Queries.GetOrders uses Ordering.Application.Data, so a change to Ordering.Application.Data can break Ordering.Application.Orders.Queries.GetOrders, while a change to Ordering.Application.Orders.Queries.GetOrders can't break Ordering.Application.Data.
- Position
- Below the diagonal: Ordering.Application.Orders.Queries.GetOrders uses a module listed above it, which is the healthy direction.
36→3 Ordering.Application.Orders.Queries.GetOrdersByCustomer uses BuildingBlocks.CQRS✕
- Connections
- 2 pairs of types, where a type in Ordering.Application.Orders.Queries.GetOrdersByCustomer uses a type in BuildingBlocks.CQRS.
- The types involved
Ordering.Application.Orders.Queries.GetOrdersByCustomer.GetOrdersByCustomerHandler→BuildingBlocks.CQRS.IQueryHandlerOrdering.Application.Orders.Queries.GetOrdersByCustomer.GetOrdersByCustomerQuery→BuildingBlocks.CQRS.IQuery
- Direction
- Ordering.Application.Orders.Queries.GetOrdersByCustomer uses BuildingBlocks.CQRS, so a change to BuildingBlocks.CQRS can break Ordering.Application.Orders.Queries.GetOrdersByCustomer, while a change to Ordering.Application.Orders.Queries.GetOrdersByCustomer can't break BuildingBlocks.CQRS.
- Position
- Below the diagonal: Ordering.Application.Orders.Queries.GetOrdersByCustomer uses a module listed above it, which is the healthy direction.
36→20 Ordering.Application.Orders.Queries.GetOrdersByCustomer uses Ordering.Application.Dtos✕
- Connections
- 1 pair of types, where a type in Ordering.Application.Orders.Queries.GetOrdersByCustomer uses a type in Ordering.Application.Dtos.
- The types involved
Ordering.Application.Orders.Queries.GetOrdersByCustomer.GetOrdersByCustomerResult→Ordering.Application.Dtos.OrderDto
- Direction
- Ordering.Application.Orders.Queries.GetOrdersByCustomer uses Ordering.Application.Dtos, so a change to Ordering.Application.Dtos can break Ordering.Application.Orders.Queries.GetOrdersByCustomer, while a change to Ordering.Application.Orders.Queries.GetOrdersByCustomer can't break Ordering.Application.Dtos.
- Position
- Below the diagonal: Ordering.Application.Orders.Queries.GetOrdersByCustomer uses a module listed above it, which is the healthy direction.
36→28 Ordering.Application.Orders.Queries.GetOrdersByCustomer uses Ordering.Application.Data✕
- Connections
- 1 pair of types, where a type in Ordering.Application.Orders.Queries.GetOrdersByCustomer uses a type in Ordering.Application.Data.
- The types involved
Ordering.Application.Orders.Queries.GetOrdersByCustomer.GetOrdersByCustomerHandler→Ordering.Application.Data.IApplicationDbContext
- Direction
- Ordering.Application.Orders.Queries.GetOrdersByCustomer uses Ordering.Application.Data, so a change to Ordering.Application.Data can break Ordering.Application.Orders.Queries.GetOrdersByCustomer, while a change to Ordering.Application.Orders.Queries.GetOrdersByCustomer can't break Ordering.Application.Data.
- Position
- Below the diagonal: Ordering.Application.Orders.Queries.GetOrdersByCustomer uses a module listed above it, which is the healthy direction.
37→3 Ordering.Application.Orders.Queries.GetOrdersByName uses BuildingBlocks.CQRS✕
- Connections
- 2 pairs of types, where a type in Ordering.Application.Orders.Queries.GetOrdersByName uses a type in BuildingBlocks.CQRS.
- The types involved
Ordering.Application.Orders.Queries.GetOrdersByName.GetOrdersByNameHandler→BuildingBlocks.CQRS.IQueryHandlerOrdering.Application.Orders.Queries.GetOrdersByName.GetOrdersByNameQuery→BuildingBlocks.CQRS.IQuery
- Direction
- Ordering.Application.Orders.Queries.GetOrdersByName uses BuildingBlocks.CQRS, so a change to BuildingBlocks.CQRS can break Ordering.Application.Orders.Queries.GetOrdersByName, while a change to Ordering.Application.Orders.Queries.GetOrdersByName can't break BuildingBlocks.CQRS.
- Position
- Below the diagonal: Ordering.Application.Orders.Queries.GetOrdersByName uses a module listed above it, which is the healthy direction.
37→20 Ordering.Application.Orders.Queries.GetOrdersByName uses Ordering.Application.Dtos✕
- Connections
- 1 pair of types, where a type in Ordering.Application.Orders.Queries.GetOrdersByName uses a type in Ordering.Application.Dtos.
- The types involved
Ordering.Application.Orders.Queries.GetOrdersByName.GetOrdersByNameResult→Ordering.Application.Dtos.OrderDto
- Direction
- Ordering.Application.Orders.Queries.GetOrdersByName uses Ordering.Application.Dtos, so a change to Ordering.Application.Dtos can break Ordering.Application.Orders.Queries.GetOrdersByName, while a change to Ordering.Application.Orders.Queries.GetOrdersByName can't break Ordering.Application.Dtos.
- Position
- Below the diagonal: Ordering.Application.Orders.Queries.GetOrdersByName uses a module listed above it, which is the healthy direction.
37→28 Ordering.Application.Orders.Queries.GetOrdersByName uses Ordering.Application.Data✕
- Connections
- 1 pair of types, where a type in Ordering.Application.Orders.Queries.GetOrdersByName uses a type in Ordering.Application.Data.
- The types involved
Ordering.Application.Orders.Queries.GetOrdersByName.GetOrdersByNameHandler→Ordering.Application.Data.IApplicationDbContext
- Direction
- Ordering.Application.Orders.Queries.GetOrdersByName uses Ordering.Application.Data, so a change to Ordering.Application.Data can break Ordering.Application.Orders.Queries.GetOrdersByName, while a change to Ordering.Application.Orders.Queries.GetOrdersByName can't break Ordering.Application.Data.
- Position
- Below the diagonal: Ordering.Application.Orders.Queries.GetOrdersByName uses a module listed above it, which is the healthy direction.
38→21 Ordering.Infrastructure.Data uses Ordering.Domain.Models✕
- Connections
- 4 pairs of types, where a type in Ordering.Infrastructure.Data uses a type in Ordering.Domain.Models.
- The types involved
Ordering.Infrastructure.Data.ApplicationDbContext→Ordering.Domain.Models.CustomerOrdering.Infrastructure.Data.ApplicationDbContext→Ordering.Domain.Models.OrderOrdering.Infrastructure.Data.ApplicationDbContext→Ordering.Domain.Models.OrderItemOrdering.Infrastructure.Data.ApplicationDbContext→Ordering.Domain.Models.Product
- Direction
- Ordering.Infrastructure.Data uses Ordering.Domain.Models, so a change to Ordering.Domain.Models can break Ordering.Infrastructure.Data, while a change to Ordering.Infrastructure.Data can't break Ordering.Domain.Models.
- Position
- Below the diagonal: Ordering.Infrastructure.Data uses a module listed above it, which is the healthy direction.
38→28 Ordering.Infrastructure.Data uses Ordering.Application.Data✕
- Connections
- 1 pair of types, where a type in Ordering.Infrastructure.Data uses a type in Ordering.Application.Data.
- The types involved
Ordering.Infrastructure.Data.ApplicationDbContext→Ordering.Application.Data.IApplicationDbContext
- Direction
- Ordering.Infrastructure.Data uses Ordering.Application.Data, so a change to Ordering.Application.Data can break Ordering.Infrastructure.Data, while a change to Ordering.Infrastructure.Data can't break Ordering.Application.Data.
- Position
- Below the diagonal: Ordering.Infrastructure.Data uses a module listed above it, which is the healthy direction.
39→5 Ordering.Application.Orders.EventHandlers.Integration uses BuildingBlocks.Messaging.Events✕
- Connections
- 1 pair of types, where a type in Ordering.Application.Orders.EventHandlers.Integration uses a type in BuildingBlocks.Messaging.Events.
- The types involved
Ordering.Application.Orders.EventHandlers.Integration.BasketCheckoutEventHandler→BuildingBlocks.Messaging.Events.BasketCheckoutEvent
- Direction
- Ordering.Application.Orders.EventHandlers.Integration uses BuildingBlocks.Messaging.Events, so a change to BuildingBlocks.Messaging.Events can break Ordering.Application.Orders.EventHandlers.Integration, while a change to Ordering.Application.Orders.EventHandlers.Integration can't break BuildingBlocks.Messaging.Events.
- Position
- Below the diagonal: Ordering.Application.Orders.EventHandlers.Integration uses a module listed above it, which is the healthy direction.
39→32 Ordering.Application.Orders.EventHandlers.Integration uses Ordering.Application.Orders.Commands.CreateOrder✕
- Connections
- 1 pair of types, where a type in Ordering.Application.Orders.EventHandlers.Integration uses a type in Ordering.Application.Orders.Commands.CreateOrder.
- The types involved
Ordering.Application.Orders.EventHandlers.Integration.BasketCheckoutEventHandler→Ordering.Application.Orders.Commands.CreateOrder.CreateOrderCommand
- Direction
- Ordering.Application.Orders.EventHandlers.Integration uses Ordering.Application.Orders.Commands.CreateOrder, so a change to Ordering.Application.Orders.Commands.CreateOrder can break Ordering.Application.Orders.EventHandlers.Integration, while a change to Ordering.Application.Orders.EventHandlers.Integration can't break Ordering.Application.Orders.Commands.CreateOrder.
- Position
- Below the diagonal: Ordering.Application.Orders.EventHandlers.Integration uses a module listed above it, which is the healthy direction.
40→21 Ordering.Infrastructure.Data.Extensions uses Ordering.Domain.Models✕
- Connections
- 3 pairs of types, where a type in Ordering.Infrastructure.Data.Extensions uses a type in Ordering.Domain.Models.
- The types involved
Ordering.Infrastructure.Data.Extensions.InitialData→Ordering.Domain.Models.CustomerOrdering.Infrastructure.Data.Extensions.InitialData→Ordering.Domain.Models.OrderOrdering.Infrastructure.Data.Extensions.InitialData→Ordering.Domain.Models.Product
- Direction
- Ordering.Infrastructure.Data.Extensions uses Ordering.Domain.Models, so a change to Ordering.Domain.Models can break Ordering.Infrastructure.Data.Extensions, while a change to Ordering.Infrastructure.Data.Extensions can't break Ordering.Domain.Models.
- Position
- Below the diagonal: Ordering.Infrastructure.Data.Extensions uses a module listed above it, which is the healthy direction.
40→38 Ordering.Infrastructure.Data.Extensions uses Ordering.Infrastructure.Data✕
- Connections
- 1 pair of types, where a type in Ordering.Infrastructure.Data.Extensions uses a type in Ordering.Infrastructure.Data.
- The types involved
Ordering.Infrastructure.Data.Extensions.DatabaseExtentions→Ordering.Infrastructure.Data.ApplicationDbContext
- Direction
- Ordering.Infrastructure.Data.Extensions uses Ordering.Infrastructure.Data, so a change to Ordering.Infrastructure.Data can break Ordering.Infrastructure.Data.Extensions, while a change to Ordering.Infrastructure.Data.Extensions can't break Ordering.Infrastructure.Data.
- Position
- Below the diagonal: Ordering.Infrastructure.Data.Extensions 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 — Event-Driven
At a glance — Accessibility
At a glance — Performance
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A02:2025 — Security Misconfiguration | 32 | High / Critical |
| A05:2025 — Injection | 17 | Medium |
| A03:2025 — Software Supply Chain Failures | 12 | High / Critical |
| A07:2025 — Authentication Failures | 10 | High / Critical |
Roadmap
Immediately resolve the three leaked secrets in REDACTED and REDACTED to secure sensitive credentials. Establish a baseline for code quality by addressing the lack of automated tests and test distribution, while simultaneously implementing default-deny access controls on all endpoints. Finally, configure a CI/CD pipeline to automatically build and run the test suite on every push or pull request to enforce these standards.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 3 Leaked secret finding(s) in Secret Scanning — start with REDACTED (2), REDACTED. | +11.4 pts | Low | Secret Scanning |
| Resolve the 1 No automated tests finding(s) in Code Coverage. | +11.4 pts | Low | Code Coverage |
| Resolve the 1 No tests found finding(s) in Test Distribution. | +11.4 pts | Low | Test Distribution |
| Resolve the 6 High secret finding(s) in Secrets (history) — start with REDACTED (4), REDACTED (2). | +2.6 pts | Low | Secrets (history) |
| Resolve the 6 Orphaned file finding(s) in Knowledge Freshness — start with CatalogInitialData.cs, OrderConfiguration.cs, DiscountService.cs. | +2.4 pts | Low | Knowledge Freshness |
| Protect endpoints by default-deny: [Authorize] + role/policy authorization, or imperative guard methods (throw-on-violation) called from every handler. | +4.3 pts | Medium | Access Controls |
| Resolve the 1 No ADRs found finding(s) in ADR Quality. | +1.9 pts | Low | ADR Quality |
| Resolve the 6 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (2), REDACTED, REDACTED. | +1.7 pts | Low | Dependency Vulnerabilities |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 1.6 | Slop | Secret Scanning: Leaked secret: REDACTED |
| REDACTED | 2.7 | Slop | IaC & Container Security: High IaC: REDACTED |
| REDACTED | 3.3 | Slop | Dependency Vulnerabilities: High CVE: REDACTED |
| REDACTED | 4.4 | Mixed | Secret Scanning: Leaked secret: REDACTED |
| REDACTED | 5.4 | Mixed | Static Analysis (SAST): Medium: REDACTED |
| REDACTED | 5.5 | Mixed | Explicit Debt: WriteOnlyPrivateField |
| REDACTED | 5.8 | Mixed | Secrets (history): High secret: REDACTED |
| REDACTED | 5.8 | Mixed | Dependency Vulnerabilities: Critical CVE: REDACTED |
| REDACTED | 5.8 | Mixed | Dependency Vulnerabilities: Critical CVE: REDACTED |
| REDACTED | 5.8 | Mixed | Dependency Vulnerabilities: High CVE: REDACTED |
| REDACTED | 6.2 | Mixed | IaC & Container Security: Medium IaC: REDACTED |
| REDACTED | 6.2 | Mixed | IaC & Container Security: Medium IaC: REDACTED |
| REDACTED | 6.2 | Mixed | IaC & Container Security: Medium IaC: REDACTED |
| REDACTED | 6.2 | Mixed | IaC & Container Security: Medium IaC: REDACTED |
| REDACTED | 6.2 | Mixed | IaC & Container Security: Medium IaC: REDACTED |
| REDACTED | 6.2 | Mixed | IaC & Container Security: Medium IaC: REDACTED |
| REDACTED | 6.2 | Mixed | IaC & Container Security: Medium IaC: REDACTED |
| REDACTED | 6.2 | Mixed | IaC & Container Security: Medium IaC: REDACTED |
| REDACTED | 6.2 | Mixed | IaC & Container Security: Medium IaC: REDACTED |
| REDACTED | 6.3 | Mixed | Static Analysis (SAST): Medium: 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. 94 of 99 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 5 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 — 99 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, 190 of 214 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
- D12 Dependency Hygiene — 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. `dotnet list package` did not return usable output (restore or query failed); no outdated/vulnerable/deprecated data to assess. The tool said: `dotnet list package` exited 1 with no output.
- D16 Bus Factor — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. Single-contributor repository — bus factor is not applicable (1 contributor(s) across 218 commit(s) sampled, automation and bot accounts excluded). Concentration needs a team to concentrate: with one contributor there is nobody to spread the knowledge to, so there is nothing here for the owner to act on.
- D17 Explicit Debt — 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. The C# workspace loaded this repository's projects but reported a load failure, and the dead-code reference search is unreliable over a graph that did not load cleanly, so it was skipped. The other debt markers on this row were read; dead symbols were not, and their absence from the score is not a finding that the code has none. First load diagnostic: Failure: Cannot open project 'src/docker-compose.dcproj' because the file extension '.dcproj' is not associated with a language.
- D22 Internal API Consistency — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. The loaded project set declares no packable project and no `.Contracts` project, so there is no intentionally-exposed surface for API consistency to be judged over.
- D32 Data Compliance (PII/GDPR) — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. `src/BuildingBlocks/BuildingBlocks/Behaviors/LoggingBehavior.cs`, `src/BuildingBlocks/BuildingBlocks/Behaviors/ValidationBehavior.cs`, `src/BuildingBlocks/BuildingBlocks/Exceptions/Handler/CustomExceptionHandler.cs`, `src/BuildingBlocks/BuildingBlocks/Pagination/PaginatedResult.cs`, `src/Services/Basket/Basket.API/Basket/CheckoutBasket/CheckoutBasketHandler.cs`, … (+29 more) produced a parse error, so every rule in this engine's `gdpr.yml` was absent there. That absence is NOT a clean result: these rules detect personal data crossing a boundary into a log sink, a URL or browser storage, and a file that was never parsed cannot report any of the three. The rest of the tree analysed normally and its rows above stand; only these files are unaccounted for. You can widen what we reach: fix the syntax error (or exclude the file deliberately) and re-scan to cover it.
- D39 IL Efficiency — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. IL NOT MEASURED: the analyzer's own build of this repository failed for an ENVIRONMENT reason (exit 1) — MSBuild's engine or the CLR gave up, or our image does not carry the SDK band/targeting pack this repository needs. This is OUR limitation, not a defect in the repo, and it is not a statement that this repository fails to build. D18 owns the question of whether this repository builds; it was not answered here.
- 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) — messagebroker Error context canceled orderdb Error context canceled basketdb Error context canceled ordering.api Warning context canceled catalogdb Error context canceled catalog.api Warning context canceled basket.api Warning context canceled yarpapigateway Warning 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: catalog.api Warning Get "https://registry-1.docker.io/v2/": Forbidden discount.grpc Warning context canceled orderdb Error context canceled WARNING: Some service image(s) must be built from source by running: docker compose build ordering.api basket.api yarpapigateway shopping.web catalog.api discount.grpc 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.
- X2 Cancellation propagation — 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. 2 further occurrence(s) are not listed individually; the score already reflects all 42.
Limitations & what we did not check
Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.
Per-dimension blind spots
- D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically — it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
- D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
- D3 God Classes: "God class" is sized by members and responsibilities visible in the type — a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module — one class/IIFE — earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
- D4 Code Duplication: Duplication is token-similarity — an in-process token-stream comparison over sliding windows, with type-aware normalization — so it finds copy-paste, not semantic duplication expressed differently. Committed machine-written code (scaffolded migrations, designer/codegen output, protobuf/OpenAPI stubs, model snapshots) is EXCLUDED — its repetition is the tool's, not the team's — so the score reflects hand-written duplication only.
- D5 Coupling: Coupling is measured between projects/assemblies — runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
- D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic — it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
- D8 Code Coverage: Coverage is measured by building and running the test suite inside Watchdog's isolated image — the target repo is never modified, and nothing on your systems runs. So coverage exists only when the suite builds and runs within the inline time budget; one that needs external services, can't build, or exceeds the budget yields no coverage (D8 then degrades to not-measured, not a low score). Line coverage also says nothing about assertion quality.
- 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.
- D13 Secret Scanning: Secret detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
- D14 License Compliance: License compatibility is checked against declared package metadata and a policy — mislabelled or missing license metadata, and obligations that depend on how you distribute, are not resolved here.
- D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
- D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual — undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (scaffolded migrations, designer/codegen output, generated stubs) is excluded — it is never the team's dead code to delete.
- D18 Solution Shape: Build integrity reflects whether the solution compiled in this environment — a build that needs a private feed, a specific SDK, or a generated file absent from the repo can read as broken when it is merely unreproducible here.
- D19 Documentation Quality: Documentation quality is judged by an LLM over a bounded sample of docs — it reads what is written, not whether the docs match the running system, and it is advisory, not a measurement. Its critique rows are drawn from a closed category vocabulary and each row means the same thing in every run, so two scans can be compared row by row; the SET that fires is still a sample, and does not repeat exactly. Measured on one frozen input, six scans at one engine SHA: 2-5 critique rows per scan, 8 distinct rows across the six, 3 of those 8 seen in only one scan. So a D19 row is evidence about the documentation, but a COUNT of D19 rows is not a quantity — never read a change in it as an improvement or a regression.
- D20 ADR Quality: ADR quality is an LLM read of the decision records present — it cannot know about decisions made and never recorded, and its verdict is sampled and advisory.
- D21 Naming Consistency: Naming quality is an LLM judgement over a bounded sample — it assesses clarity/consistency of the names it sees, not domain-correctness, and is advisory.
- D24 Comment Value: Comment value (WHY vs WHAT) is an LLM judgement over a bounded sample — it is advisory and cannot weigh a comment against the precise code change it was written to explain.
- D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
- D27 Navigability: Indirection/navigability is structural — it measures hops to follow a call, not whether that indirection buys real flexibility or just ceremony.
- D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
- D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
- D30 Dependency Vulnerabilities: CVE matching depends on accurate package/version metadata and on the advisory databases — a vulnerability with no published advisory, or in code not declared as a dependency, is not seen. Coverage needs a RESOLVED graph: an unpinned requirements.txt, or a pom without a resolved build, yields partial coverage rather than a clean verdict. An ecosystem the analyzer cannot scan is reported as unmeasured, never as clean.
- D31 IaC & Container Security: IaC scanning checks Dockerfiles/Terraform/Kubernetes against best-practice rules — it cannot see the live cloud account, runtime configuration, or drift between the committed config and what is actually deployed.
- D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension — code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
- D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
- D44 Platform End-of-Life: The support table is FROZEN, so it goes out of date by losing RECALL: a release that ended support after the table was written is missed until the table is refreshed, and this dimension reading 10 is not evidence that a platform is current. Only platforms the repository DECLARES in a place this pass reads are seen — a runtime named only in a REDACTED (D31's subject), in a CI workflow (D29's), or in a file this pass does not parse (go.mod, a Gemfile ruby directive) is invisible here, which is why a repository declaring none of them abstains rather than scoring. Only frameworks with a PUBLISHED support policy are tracked: React, Flask and Express publish none, so their age cannot be judged and their absence from a report is not a statement that they are supported.
- AC1 Text alternatives: Alt-text is detected structurally — the scan sees that an alternative EXISTS, not whether it meaningfully describes the image, and decorative-vs-missing is judged by attribute shape; runtime-injected images and a non-role=img decorative svg are out of scope. This is accessibility readiness, never a WCAG conformance claim.
- AC2 Forms & labels: Label association is read from static markup — a label wired up at runtime (JS-set aria-labelledby, framework-injected ids) reads as missing, a present label says nothing about whether its text is correct. A known UI-library field component (e.g. a JSX <TextField>) is now checked conservatively — flagged only when it carries NO label/aria-label/aria-labelledby/id/name — but wrapper/context-labelled libraries (Chakra/Radix FormControl+FormLabel) aren't statically visible (possible false positive) and non-JSX lowercased components are still skipped. A click handler on a plain element is now asked for a name too (it is a control the author declared), but the subtree test that answers it is deliberately generous: any DYNAMIC text expression in the subtree counts as a name, so an icon chosen by a ternary ({cond ? <IconA/> : <IconB/>}) reads as named, and a glyph component from a library the icon-import list does not know still names its parent. A clean result is "no unlabelled control found", not a labelling proof.
- AC3 Page structure: Page structure is read from the static markup tree — landmarks, headings and lang injected at runtime aren't seen, heading ORDER is checked structurally (not against the rendered visual hierarchy), and lang/title/main fire only on full documents, never partials, and the data-table check sees header-cell presence (a <th> exists), not whether each header correctly associates with its cells. Static readiness, not conformance.
- AC4 Keyboard semantics: Keyboard semantics are inferred from markup attributes — interactivity wired purely in script, focus managed at runtime, and component-level handlers are invisible. A clean result means "no static keyboard-trap shape", not a keyboard-operability proof.
- AC5 ARIA correctness: ARIA correctness is checked against the static role/attribute shape — roles/attributes set dynamically aren't seen, a valid role says nothing about whether it matches the element's real behaviour, and required-state checks are suppressed when a JSX spread could supply them. The two-branch toggle check (a control whose state is conveyed only by which of two mutually exclusive branches renders) reads CONDITIONALS THAT ARE ATTRIBUTES — Vue v-if/v-else/v-show and Alpine x-if/x-show — so the same toggle written as a Svelte {#if} block or a JSX ternary is control flow the markup model never projects as a branch and is not seen at all.
- AC6 Visual & motion safety: Contrast and motion safety are PARTIAL by construction — literal colours (hex/rgb/hsl/named) in inline styles, in-repo <style> blocks, in-repo .css files, var() tokens, Tailwind neutral utilities and CSS-in-JS top-level declarations are read (same-rule/same-element colour+background pairs only); computed/runtime/theme colour, external-CDN stylesheets, CSS-in-JS dynamic (${…}) and nested-selector colours, cross-element pairs and image contrast stay out of reach, so a clean result is bounded by what the static CSS itself shows.
- AC7 A11y enforcement: Enforcement is scored from in-repo config/CI evidence only — an a11y gate enforced in external tooling with no in-repo trace can't be credited, and a configured linter is presence, not proof the rules actually run or block a merge.
- 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.
- AX9 CQS / query purity: Handlers are found by interface/name convention — a query handler using neither is not seen. Mutation is a resolved write/publish invocation (SaveChanges/repository/bus), so a write hidden behind a hand-rolled wrapper, reflection, or a string-keyed service locator resolves to a non-persistence type and isn't flagged; it detects that a query writes state, not whether the write is a legitimate read-side cache update. Clean means "no resolved write/publish in a query body", not a proof of CQS purity.
- C3 Audit Trail: This control is scored from in-repo evidence only — a working control configured outside the repository leaves no signal a static scan can credit.
- DM4 Rich vs anemic model: Behaviour is detected as state mutation inside a method body — a method that enforces an invariant by validating-and-throwing without mutating reads as a query, and mutation delegated through an interface the scan can't resolve isn't credited; entities with zero public properties still drop out of the population. It detects that state changes, not whether the rule is correct.
- DM6 Domain ↔ infrastructure boundary: Infrastructure reached through a hand-rolled wrapper, a domain-named facade, reflection, or a string-keyed service locator resolves to a non-infra type and isn't seen; the body scan is symbol resolution over syntax, not full dataflow. A clean result means "no resolved infra reference in a domain body", not a proof of purity.
- ED5 Idempotency: Idempotency is judged from the handler body's visible writes and guards — a guard enforced by a database unique constraint, a broker's exactly-once delivery, or a domain method whose no-op-when-applied logic the scan can't follow may read as at-risk; the at-risk candidates are confirmed by a SAMPLED LLM verdict (advisory, not exhaustive) and degrade to heuristic-only when no model is configured. It flags the at-least-once double-apply SHAPE, not a runtime proof of a duplicate effect.
- 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".
- P5 DR & Backup: Backup/restore and disaster-recovery readiness is judged from in-repo evidence — a config that exists is not a tested restore, so the absence of positive evidence is reported as "not evidenced", never scored as present.
The LLM boundary
Dimensions
D1 · Cyclomatic Complexity
0 method(s) exceeded the cyclomatic complexity threshold of 15.
D2 · Cognitive Complexity
0 method(s) exceeded the cognitive complexity threshold of 15.
D3 · God Classes
0 god class(es) detected.
D4 · Code Duplication
6 duplicated block group(s) detected.
What to do
- Resolve the 2 Duplicated block (19 lines × 3) finding(s) in Code Duplication — start with BasketCheckoutEvent.cs, REDACTED. — One of this dimension's main actionable groups (2 warning-level).
- Resolve the 1 Duplicated block (12 lines × 2) finding(s) in Code Duplication — start with OrderConfiguration.cs. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Duplicated block (6 lines × 2) finding(s) in Code Duplication — start with Product.cs. — One of this dimension's main actionable groups (1 warning-level).
- Stand up a CI pipeline, then gate Code Duplication in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D5 · Coupling
11 projects, 0 dependency cycle(s), 0 unstable depended-on project(s).
D6 · Cohesion (LCOM4)
0 of 13 classes have LCOM4 above 3.
D8 · Code Coverage
No automated tests — no test code was found in this repository.
What to do
- Resolve the 1 No automated tests finding(s) in Code Coverage. — One of this dimension's main actionable groups (1 issue-level).
- Stand up a CI pipeline, then gate Code Coverage in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D9 · Test Distribution
No test suite found.
What to do
- Resolve the 1 No tests found finding(s) in Test Distribution. — One of this dimension's main actionable groups (1 recommendation-level).
D13 · Secret Scanning
2 secret(s) detected.
What to do
- Resolve the 3 Leaked secret finding(s) in Secret Scanning — start with REDACTED (2), REDACTED. — One of this dimension's main actionable groups (3 issue-level).
- Stand up a CI pipeline, then gate Secret Scanning in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D14 · License Compliance
0 of 265 packages use a banned license. ★ DEPTH: this repository's MSBuild projects declare 24 direct `PackageReference`(s), and 226 further package(s) were reached beyond them by closing the graph over nuget.org's own nuspec dependency graph — so a banned licence pulled in only by a dependency's OWN dependencies is inside this verdict. A package whose licence nuget.org could not be asked for is not graded, and version ranges are taken at their lower bound, so this is the closure as that graph states it rather than a restored consumer's exact resolution.
D15 · Churn × Complexity Hotspots
No churn × complexity hotspots in the window.
D17 · Explicit Debt
4 deducted debt markers + unmeasured dead symbols across 2830 LoC in the .NET projects (0.5/KLoC) → score 9.1. Dead code not measured: the solution did not load cleanly, so the reference search was skipped.
What to do
- Resolve the 2 WriteOnlyPrivateField finding(s) in Explicit Debt — start with REDACTED, Privacy.cshtml.cs. — One of this dimension's main actionable groups (2 issue-level).
- Resolve the 2 TodoComment finding(s) in Explicit Debt — start with DeleteBasketHandler.cs, BasketCheckoutEventHandler.cs. — One of this dimension's main actionable groups (2 warning-level).
- Stand up a CI pipeline, then gate Explicit Debt in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D18 · Solution Shape
11 projects, 140 source files, 2830 hand-written lines of code (2830 production / 0 test — the split is derived per file: test is what its project, its own path, or a compile-guarded region marks as test, and a file carrying no test signal counts as production), plus 772 generated (machine-written code — designer, scaffolded and tool-emitted files — excluded from quality), 9 inter-project edges.
D19 · Documentation Quality
The repository's root README is a self-promoting marketing page for an Udemy course (https://www.udemy.com/course/microservices-architecture-and-implementation-on-dotnet/?couponCode=MARC26) that describes the project as 'implementations on microservices with .net tools' over an e-commerce stack, and links to a Medium check-in. It is not a real README for any directory in the repo but rather a one-document marketing page; it does state what each repository (Catalog, Basket, Discount, Ordering) includes and where to run the project ('Run The Project'), so it serves as the root overview. However the document itself is unstructured with only an outline and no actual headings, making it impossible to judge against its own directory's content.
What to do
- Improve Documentation Quality — currently 4.0/10. — The repository's root README is a self-promoting marketing page for an Udemy course (https://www.udemy.com/course/microservices-architecture-and-implementation-on-dotnet/?couponCode=MARC26) that describes the project as 'implementations on microservices with .net tools' over an e-commerce stack, and links to a Medium check-in. It is not a real README for any directory in the repo but rather a one-document marketing page; it does state what each repository (Catalog, Basket, Discount, Ordering) includes and where to run the project ('Run The Project'), so it serves as the root overview. However the document itself is unstructured with only an outline and no actual headings, making it impossible to judge against its own directory's content.
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
1 naming inconsistencies across 200 sampled symbols.
D24 · Comment Value
26 valuable / 0 redundant across 65 sampled comments.
D26 · Project Cohesion
0 of 11 projects flagged as possibly oversized/incoherent.
D27 · Navigability
91 % of calls cross a namespace and 13 % go through an interface, but 99 % of collaborators are co-located — so a call's collaborators sit together and tracing stays easy. Baseline: small — navigation cost is tolerated.
D28 · Secrets (history)
6 finding(s): 0 critical, 6 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 6 High secret finding(s) in Secrets (history) — start with REDACTED (4), REDACTED (2). — One of this dimension's main actionable groups (6 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)
17 finding(s): 0 critical, 0 high, 17 medium, 0 low. semgrep hit a parse error in 34 file(s) — `src/BuildingBlocks/BuildingBlocks/Behaviors/LoggingBehavior.cs` (lines 6–7, line 7), `src/BuildingBlocks/BuildingBlocks/Behaviors/ValidationBehavior.cs` (lines 6–7, line 7), `src/BuildingBlocks/BuildingBlocks/Exceptions/Handler/CustomExceptionHandler.cs` (line 9), `src/BuildingBlocks/BuildingBlocks/Pagination/PaginatedResult.cs` (lines 2–3, line 3), `src/Services/Basket/Basket.API/Basket/CheckoutBasket/CheckoutBasketHandler.cs` (line 22), … (+29 more) — so no absence of findings in the named regions is evidence of anything; rows reported elsewhere in those files are real. Fix the syntax error (or exclude the file deliberately) and re-scan to cover them. In 34 of those file(s) — `src/BuildingBlocks/BuildingBlocks/Behaviors/LoggingBehavior.cs`, `src/BuildingBlocks/BuildingBlocks/Behaviors/ValidationBehavior.cs`, `src/BuildingBlocks/BuildingBlocks/Exceptions/Handler/CustomExceptionHandler.cs`, `src/BuildingBlocks/BuildingBlocks/Pagination/PaginatedResult.cs`, `src/Services/Basket/Basket.API/Basket/CheckoutBasket/CheckoutBasketHandler.cs`, … (+29 more) — the break is a C# primary constructor, which semgrep's grammar cannot parse and which hides the type from every rule scoped to it; those files were re-scanned from a shadow copy with the constructor's parameter list blanked (line and column preserving), which restores the type to the rules, and 0 additional row(s) came from that pass. Only the header's own parameter list is unread in them.
What to do
- Resolve the 14 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (2), REDACTED (2), REDACTED (2). — One of this dimension's main actionable groups (14 warning-level).
- Resolve the 3 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (3). — One of this dimension's main actionable groups (3 warning-level).
D30 · Dependency Vulnerabilities
12 finding(s): 2 critical, 6 high, 4 medium, 0 low.
What to do
- Resolve the 6 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (2), REDACTED, REDACTED. — One of this dimension's main actionable groups (6 issue-level).
- Resolve the 4 Medium CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (4). — One of this dimension's main actionable groups (4 warning-level).
- Resolve the 2 Critical CVE finding(s) in Dependency Vulnerabilities — start with REDACTED, REDACTED. — One of this dimension's main actionable groups (2 issue-level).
D31 · IaC & Container Security
32 finding(s): 0 critical, 4 high, 19 medium, 9 low.
What to do
- Resolve the 19 Medium IaC finding(s) in IaC & Container Security — start with REDACTED (12), REDACTED (6), REDACTED. — One of this dimension's main actionable groups (19 warning-level).
- Resolve the 4 High IaC finding(s) in IaC & Container Security — start with REDACTED (4). — One of this dimension's main actionable groups (4 issue-level).
- Resolve the 9 Low IaC finding(s) in IaC & Container Security — start with REDACTED (6), REDACTED (3). — One of this dimension's main actionable groups (9 recommendation-level).
D34 · Knowledge Freshness
6 of 6 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is src/Services/Catalog/Catalog.API/Data/CatalogInitialData.cs. Counted over 6 of the 140 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
What to do
- Resolve the 6 Orphaned file finding(s) in Knowledge Freshness — start with CatalogInitialData.cs, OrderConfiguration.cs, DiscountService.cs. — One of this dimension's main actionable groups (6 recommendation-level).
- Resolve the 1 Orphaned files with no living knowledge finding(s) in Knowledge Freshness. — One of this dimension's main actionable groups (1 recommendation-level).
D35 · Change Coupling
No strong hidden change-coupling between production files.
D44 · Platform End-of-Life
0 end-of-life runtime(s) and 0 end-of-life framework(s), read from 11 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
AC1 · Text alternatives
- An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt — alt="" if it's purely decorative. (×4) — src/WebApps/Shopping.Web/Pages/Cart.cshtml:40, src/WebApps/Shopping.Web/Pages/OrderList.cshtml:43, src/WebApps/Shopping.Web/Pages/ProductDetail.cshtml:28, …
What to do
- Add a text alternative — alt on images (alt="" for purely decorative ones), a title or aria-label on meaningful svg, an aria-label or inner fallback content on canvas, and a captions <track> on video.
AC2 · Forms & labels
- This control has no associated label. Add a <label for> / wrapping <label> / aria-label / aria-labelledby so assistive tech can name it. (×2) — src/WebApps/Shopping.Web/Pages/Cart.cshtml:43, src/WebApps/Shopping.Web/Pages/ProductDetail.cshtml:59
- A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one). (×4) — src/WebApps/Shopping.Web/Pages/Cart.cshtml:48, src/WebApps/Shopping.Web/Pages/ProductDetail.cshtml:55, src/WebApps/Shopping.Web/Pages/ProductDetail.cshtml:61, …
- This control has only a placeholder — a placeholder is not a label (it vanishes on input and many AT ignore it). Add a <label for>, a wrapping <label>, or aria-label. (×3) — src/WebApps/Shopping.Web/Pages/Checkout.cshtml:49, src/WebApps/Shopping.Web/Pages/Checkout.cshtml:193, src/WebApps/Shopping.Web/Pages/Shared/_Layout.cshtml:46
- This <label> has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association — it is the TARGET of one, so a control still has to point at it. Give the label for="<the control's id>", move the control inside the label, or point the control's aria-labelledby at this label's id. — src/WebApps/Shopping.Web/Pages/ProductDetail.cshtml:52
What to do
- Give every control a programmatic label (a <label for> / wrapping <label> / aria-label) and every button text — a placeholder is not a label.
AC3 · Page structure
- Skipping heading levels breaks the document outline assistive tech relies on. Don't jump levels — increase by at most one. (×2) — src/WebApps/Shopping.Web/Pages/Checkout.cshtml:34, src/WebApps/Shopping.Web/Pages/Confirmation.cshtml:14
What to do
- Declare <html lang>, a document <title> and a <main> landmark, keep headings in order, leave zoom enabled, title iframes and drop meta-refresh.
AC4 · Keyboard semantics
- An <a href="#"> (or javascript:) with a click handler is a button dressed as a link — it announces the wrong role and stops working without JS. Use a <button> for an action. (×2) — src/WebApps/Shopping.Web/Pages/ProductDetail.cshtml:67, src/WebApps/Shopping.Web/Pages/Shared/_ProductItemPartial.cshtml:17
What to do
- Make custom controls keyboard-operable (role + tabindex + key handler), drop positive tabindex, and give anchors a real href.
AC5 · ARIA correctness
AC6 · Visual & motion safety
AC7 · A11y enforcement
- No accessibility enforcement found — no automated accessibility check runs over the HTML your app renders. Assert the accessibility invariants over that HTML in the test suite you already have (parse the output and assert, or drive a browser), and gate that test in CI so a regression blocks the merge. What was searched, so you can tell an absence from a miss: the 14 markup file(s) this pass actually assessed, the linter configuration checked in beside them, and this repository's test and CI files — matched by name against the accessibility checkers this dimension carries. An audit run outside the repository, a hosted scanner, or a check whose name is not one of those, is not seen here.
What to do
- Enforce accessibility in the test suite you already have: assert the accessibility invariants over the HTML your app renders — parse the rendered output in an existing test, or drive a real browser from one — and gate that test in CI so a regression blocks the merge.
AX1 · Captive dependencies
AX10 · Code composition
AX3 · Project dependency cycles
AX4 · Dependency direction
AX5 · Architecture & structure
AX6 · Interface segregation
AX9 · CQS / query purity
C1 · Data Protection
- No data-protection or encryption usage (ASP.NET Data Protection, AES, column encryption, PBKDF2) was found — sensitive data at rest may be unprotected. If TDE/KMS/vault is delegated to infrastructure, ignore.
What to do
- Encrypt sensitive data at rest (ASP.NET Core Data Protection / column encryption) and manage keys in a vault. Skip if delegated to infra (Postgres TDE, KMS, etc.).
C2 · Access Controls
- No [Authorize]/policies and no imperative guard methods (throw-on-violation) were found — endpoints may be unprotected.
- `MapPost("/basket/checkout")` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — src/Services/Basket/Basket.API/Basket/CheckoutBasket/CheckoutBasketEndpoints.cs:10
- `MapDelete("/basket/{userName}")` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — src/Services/Basket/Basket.API/Basket/DeleteBasket/DeleteBasketEndpoints.cs:10
- `MapGet("/basket/{userName}")` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — src/Services/Basket/Basket.API/Basket/GetBasket/GetBasketEndpoints.cs:10
- `MapPost("/basket")` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — src/Services/Basket/Basket.API/Basket/StoreBasket/StoreBasketEndpoints.cs:10
- `MapPost("/products")` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — src/Services/Catalog/Catalog.API/Products/CreateProduct/CreateProductEndpoint.cs:11
- `MapDelete("/products/{id}")` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — src/Services/Catalog/Catalog.API/Products/DeleteProduct/DeleteProductEndpoint.cs:11
- `MapGet("/products/category/{category}")` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — src/Services/Catalog/Catalog.API/Products/GetProductByCategory/GetProductByCategoryEndpoint.cs:11
- `MapGet("/products/{id}")` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — src/Services/Catalog/Catalog.API/Products/GetProductById/GetProductByIdEndpoint.cs:11
- `MapGet("/products")` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — src/Services/Catalog/Catalog.API/Products/GetProducts/GetProductsEndpoint.cs:10
- `MapPut("/products")` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — src/Services/Catalog/Catalog.API/Products/UpdateProduct/UpdateProductEndpoint.cs:11
- `MapGet("/")` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — src/Services/Discount/Discount.Grpc/Program.cs:17
- `MapPost("/orders")` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — src/Services/Ordering/Ordering.API/Endpoints/CreateOrder.cs:17
- `MapDelete("/orders/{id}")` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — src/Services/Ordering/Ordering.API/Endpoints/DeleteOrder.cs:17
- `MapGet("/orders")` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — src/Services/Ordering/Ordering.API/Endpoints/GetOrders.cs:17
- `MapGet("/orders/customer/{customerId}")` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — src/Services/Ordering/Ordering.API/Endpoints/GetOrdersByCustomer.cs:16
- `MapGet("/orders/{orderName}")` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — src/Services/Ordering/Ordering.API/Endpoints/GetOrdersByName.cs:16
- `MapPut("/orders")` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — src/Services/Ordering/Ordering.API/Endpoints/UpdateOrder.cs:17
What to do
- Protect endpoints by default-deny: [Authorize] + role/policy authorization, or imperative guard methods (throw-on-violation) called from every handler.
C3 · Audit Trail
- An audit mechanism is present, but the trail is not yet complete — missing: an immutable audit-log / audit-trail type to write to, [Audited] per-entity coverage.
What to do
- Back the audit convention with a structural mechanism: an EF SaveChanges interceptor (or equivalent) writing every sensitive change to an immutable audit log, and apply [Audited] to the entities that need a who-changed-what trail.
DM1 · Aggregate boundaries
DM10 · One transaction, one aggregate
DM11 · Constructible invalid state
DM12 · Ambient inputs in the domain
DM2 · Strongly-typed ids
- `IDomainEvent.EventId` is a raw `Guid` — give it a strongly-typed id: a dedicated single-field type wrapping the `Guid`, in whatever form your language spells that. — src/Services/Ordering/Ordering.Domain/Abstractions/IDomainEvent.cs:6
What to do
- Adopt strongly-typed ids across the domain — finish the migration or document the boundary; primitive ids invite transposed-argument bugs.
DM3 · Integration-event coupling
DM4 · Rich vs anemic model
- `OrderItem` is an aggregate/entity with 4 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — src/Services/Ordering/Ordering.Domain/Models/OrderItem.cs:2
What to do
- Move business rules onto the aggregates/entities they govern so invariants are enforced at the source, not in anemic services.
DM5 · Encapsulated state
DM6 · Domain ↔ infrastructure boundary
- `OrderCreatedEventHandler` (domain layer) names `IPublishEndpoint` from `MassTransit` — a messaging type (in a member signature). The domain should own a port and let an infrastructure adapter implement it. — src/Services/Ordering/Ordering.Application/Orders/EventHandlers/Domain/OrderCreatedEventHandler.cs:6
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
ED1 · Handler temporal coupling
ED2 · Event/command shape
ED3 · Event naming
- `BasketCheckoutEvent` reads as an instruction, not a fact that happened. Events describe something that already occurred — name them in the past tense (e.g. `OrderPlaced`, `PaymentCaptured`) so the ubiquitous language stays clear. — src/BuildingBlocks/BuildingBlocks.Messaging/Events/BasketCheckoutEvent.cs:2
What to do
- Name events in the past tense — they record facts that already happened.
ED4 · Outbox / dual-write
ED5 · Idempotency
- `CreateOrder.CreateOrderHandler.Handle` mutates persistent state (a database save) with no idempotency guard, and the model confirms a re-run would double-apply it. A retry or at-least-once redelivery means it can run twice — add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write. — src/Services/Ordering/Ordering.Application/Orders/Commands/CreateOrder/CreateOrderHandler.cs:5
What to do
- Make retry-prone mutations idempotent — guard each write with an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write, so a re-run doesn't double-apply.
GD1 · Unfinished & placeholder code
IC1 · Incompleteness & stubs
- A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers). (×3) — src/Services/Basket/Basket.API/Program.cs:33, src/Services/Ordering/Ordering.Domain/ValueObjects/OrderName.cs:10, REDACTED:12
What to do
- Clear the softer debt: remove commented-out code and dead branches, re-enable or delete skipped tests, and replace blanket warning suppressions with targeted ones.
M1 · Documentation (README)
What to do
- Explain in the README how to run the tests. Add a section called Testing to the README in the repository's top folder, saying how to run the test suite.
- Add an 'Architecture' / 'How it works' section to the root README — the high-level shape.
- Add a README to the 11 of 11 project(s) that lack one — worth up to 2 pts.
M2 · Architecture documentation
- No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
What to do
- Record your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them.
M3 · Folder & project structure
- Only 4/11 projects share a common root namespace — the code's module identity is inconsistent.
What to do
- Start a test surface where your build system looks for one (tests/, test/, spec/, or your ecosystem's test source set) — the separation follows from putting the first tests in the right place.
- Adopt a consistent root-namespace convention (a shared prefix, e.g. Acme.*); short project-file/directory names are fine as long as the RootNamespace is uniform.
M4 · Documentation accuracy
P1 · CI/CD gates
- No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, …) — changes aren't gated by an automated build/test.
What to do
- Add a CI workflow that builds and runs the test suite on every push/PR.
P2 · Observability
- Only 4/10 service-like projects use logging (pure contract/DTO projects are excluded — they have nothing to log). Of those 10, 6 ship a process this repository operates; the rest are libraries their consumer hosts, where the logging decision belongs to the host.
What to do
- Extend structured logging across the projects you operate, and give the library ones a diagnostics seam instead — an `EventSource`/`ActivitySource` the host can subscribe to, or an optional logger on your options object — rather than taking a logging dependency on your consumers' behalf.
- Add OpenTelemetry tracing/metrics (ActivitySource / AddMetrics) so requests are traceable across the system, not just health-probable.
P3 · Security & performance tooling
- No static application security testing detected. For this repository's stack, add CodeQL's csharp pack, or a .NET security analyzer package (or `semgrep --config=auto`, which runs on any language) — this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge's web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen — if that is your case the row is wrong, and saying so is more useful than adding a second scanner.
What to do
- Run what this repository's stack ships: CodeQL's csharp pack, or a .NET security analyzer package — or `semgrep --config=auto`, which runs on any language — locally for now, since there is no CI pipeline here yet, and as a step of the first workflow you add so a security regression fails the build instead of landing.
- Enable Dependabot/Renovate or a dependency-review gate.
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P4 · Deployment & Rollback
- Deployment is orchestrated by compose, but no service declares a `healthcheck:` and nothing pins a previous image to fall back to — the runtime can tell that the container is up, not that it is serving, so a bad release is harder to detect and reverse.
What to do
- Add a `healthcheck:` to the served compose service — probing the endpoint it already answers on where it has one — with `depends_on: condition: service_healthy` on whatever waits for it, and keep the deployed image tag immutable and recorded so rolling back is re-pointing at the previous tag rather than rebuilding.
- Add an approval/environment gate (required reviewers / protection rules) before production promotion.
P5 · DR & Backup
- A persistence guard (data volume / purge-protection) was found, but no backup, geo-recovery or RTO/RPO controls were evidenced — a volume that survives a container recreate is not a tested restore from catastrophic loss.
What to do
- Codify backups + geo-recovery in IaC and document RTO/RPO and the restore procedure — a persistence guard alone is not disaster recovery.
P7 · Outbound HTTP resilience
- The app makes outbound HTTP calls but no resilience handler was detected (Polly / AddStandardResilienceHandler / circuit-breaker). A slow or failing dependency will cascade — add timeouts, retries with back-off, and a circuit breaker.
What to do
- Add `AddStandardResilienceHandler()` (or Polly policies) to your HttpClient registrations so a flaky dependency can't take the app down.
P8 · Schema migrations
PF3 · Async & latency hygiene
- 2 blocking call(s) on async work (.Wait()/.GetAwaiter().GetResult()) — these waste a thread and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one).
- `.GetAwaiter().GetResult()` blocks this thread until the async work completes — it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one). (×2) — src/Services/Ordering/Ordering.Infrastructure/Data/Extensions/DatabaseExtentions.cs:13, src/Services/Ordering/Ordering.Infrastructure/Data/Interceptors/DispatchDomainEventsInterceptor.cs:10
What to do
- Make the call chain async end-to-end and await it — never block on a Task with .Wait()/.GetAwaiter().GetResult().
S1 · Web-Security Posture
- `ServerCertificateCustomValidationCallback` is assigned `DangerousAcceptAnyServerCertificateValidator`, so every TLS peer certificate is accepted — including one an attacker presents. Chain, expiry, revocation and hostname are all skipped, so an attacker on the network path can present any certificate and read or rewrite the traffic — the connection is encrypted to the attacker, not to the intended host. Delete the override and let the platform validate. If a specific self-signed or internally-issued certificate genuinely has to be trusted, pin THAT one — compare the presented certificate's public key or thumbprint against the expected value and return `false` for everything else — and scope it to the single handler that talks to that host rather than to the whole process. If the override exists only to get past a development certificate, gate it on a build configuration or an explicit opt-in setting so it cannot ship. — src/Services/Basket/Basket.API/Program.cs:45
- `//code.jquery.com/jquery-3.2.1.slim.min.js` is executed by this page with no Subresource Integrity. Whoever can answer that request — the CDN, anyone who compromises it, anyone on the network path — runs arbitrary script in this page's origin, with its session. The URL also names no version, so it resolves to whatever that origin serves at fetch time — the executed bytes can change with nobody touching this repository. 3 such include(s) across the repository's markup. — src/WebApps/Shopping.Web/Pages/Shared/_Layout.cshtml:127
- None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, …) is configured — defense in depth, even when a reverse proxy could set them. (−2.0 on this card.)
- This web host's pipeline is composed here and adds no security response header (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, a frame policy) to what it serves. (×6) — src/ApiGateways/YarpApiGateway/Program.cs:3, src/Services/Basket/Basket.API/Program.cs:6, src/Services/Catalog/Catalog.API/Program.cs:4, …
What to do
- Stop accepting every TLS certificate: remove the always-true validation callback so the platform verifies the chain, hostname and expiry. If one self-signed certificate must be trusted, pin it by public key or thumbprint on the single handler that needs it and reject all others — never process-wide.
- Pin third-party scripts and verify them: name an exact version in the URL and add an `integrity="sha384-…"` hash alongside `crossorigin="anonymous"` (both are required — an integrity hash on a cross-origin script without `crossorigin` is not evaluated, it blocks the script). Where the vendor ships a continuously-updated loader and publishes no stable hash (tag managers, analytics, chat widgets), Subresource Integrity is not available: constrain it instead with a `Content-Security-Policy` that names the exact origins allowed to execute, and drop the script from the pages that do not need it. Where the page is shipped inside a package that others host, prefer vendoring the asset and serving it from the app’s own origin, so no consumer inherits a third-party dependency they did not choose.
- Add security response headers (Content-Security-Policy first, then Strict-Transport-Security, X-Content-Type-Options and a frame policy) — defense in depth, even when a reverse proxy could set them.
X1 · Async correctness
- Blocking on a Task with `.Wait()`/`.GetAwaiter().GetResult()` can deadlock (and wastes a thread). Prefer awaiting it: make the caller `async` and `await` instead. Where a synchronous entry point must stay — a public sync API you cannot break, or a process entry point that must not return until the work finishes — the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process. (×2) — src/Services/Ordering/Ordering.Infrastructure/Data/Extensions/DatabaseExtentions.cs:13, src/Services/Ordering/Ordering.Infrastructure/Data/Interceptors/DispatchDomainEventsInterceptor.cs:10
What to do
- Sync-over-async (deadlock risk)
X12 · Unreachable branch
X13 · Undrained process stream
X14 · Bypassable address classification
X15 · Unvalidated length from an untrusted reader
X16 · Unfloored truncation loop
X17 · Uncapped recursion over a caller-supplied document
X18 · Disposal-pattern correctness
X19 · Unrestored process-global state
X2 · Cancellation propagation
- Only 29/67 async methods accept a CancellationToken, so in-flight work can't be stopped early when the caller gives up — whatever ends it in your host (shutdown signal, timeout, abandoned request, user cancel). Thread a token through the call chain and honour it at each await and loop; where a method genuinely cannot be interrupted, omitting it is a deliberate choice — judge against your hosting model.
- This endpoint's handler takes no CancellationToken, while it calls something that takes one — a client that disconnects leaves that work running. Add a `CancellationToken` parameter (minimal APIs bind it to the request's) and pass it on. (×16) — src/Services/Catalog/Catalog.API/Products/CreateProduct/CreateProductEndpoint.cs:12, src/Services/Catalog/Catalog.API/Products/DeleteProduct/DeleteProductEndpoint.cs:11, src/Services/Catalog/Catalog.API/Products/GetProductByCategory/GetProductByCategoryEndpoint.cs:12, …
- No CancellationToken parameter, and the token `context.CancellationToken` carries reaches none of the calls here that take one — this work can't be stopped early once started. Pass `context.CancellationToken` on, or take a CancellationToken. (×4) — src/Services/Discount/Discount.Grpc/Services/DiscountService.cs:13, src/Services/Discount/Discount.Grpc/Services/DiscountService.cs:28, src/Services/Discount/Discount.Grpc/Services/DiscountService.cs:44, …
- No CancellationToken parameter, and the token `app.Lifetime.ApplicationStarted` carries reaches none of the calls here that take one — this work can't be stopped early once started. Pass `app.Lifetime.ApplicationStarted` on, or take a CancellationToken. — src/Services/Ordering/Ordering.Infrastructure/Data/Extensions/DatabaseExtentions.cs:7
- No CancellationToken parameter — this work can't be stopped early once started. (×17) — src/Services/Ordering/Ordering.Infrastructure/Data/Extensions/DatabaseExtentions.cs:18, src/Services/Ordering/Ordering.Infrastructure/Data/Extensions/DatabaseExtentions.cs:25, src/Services/Ordering/Ordering.Infrastructure/Data/Extensions/DatabaseExtentions.cs:34, …
- 2 async method(s) await work their caller's cancellation cannot reach: a CancellationToken they hold (a parameter, or the one a framework-fixed signature carries) is never passed on, or the call is handed CancellationToken.None, default or an already-cancelled token. Forward the caller's token to that call.
What to do
- Thread a CancellationToken through async methods so work stops promptly on cancellation.
X20 · Mistyped argument guard
X21 · Side-effecting pattern guard
X22 · Contradicted release guard
X23 · Unguarded diagnostic materialisation
X24 · Document value interpolated into markup unescaped
X25 · Inert configuration knob
X26 · Unsynchronised callback handoff
X27 · Collection changed while being enumerated
X28 · Index access outside its own emptiness guard
X29 · Per-element action decided by a fixed element
X3 · Exception handling
X30 · Support guard that admits what it rejects
X32 · Type resolved by simple name across every loaded assembly
X4 · Structured logging
X5 · Nullable reference types
- ~5.6 `!` suppressions per 1k syntax nodes — 117 suppression(s) across the 20777 syntax node(s) in code where nullable warnings are ENABLED, which is the only code a `!` can suppress anything in (a `!` under `#nullable disable` is inert and is not counted, and its file's nodes are not in the denominator). Each one tells the compiler to trust you about null, suppressing the very safety NRTs provide.
What to do
- Enable <Nullable>enable</Nullable> across all projects and resolve warnings rather than suppressing with `!`.
WCAG coverage — what static analysis assessed
| Dimension | WCAG 2.2 A/AA criteria | Coverage |
|---|---|---|
| AC1 · Text alternatives | 1.1.1, 1.2.2, 1.2.5 | Partial signal |
| AC2 · Forms & labels | 1.3.1, 3.3.2, 4.1.2 | Partial signal |
| AC3 · Page structure | 1.4.4, 2.2.1, 2.4.1, 2.4.2, 3.1.1, 4.1.2 | Partial signal |
| AC4 · Keyboard semantics | 2.1.1, 2.4.3 | Partial signal |
| AC5 · ARIA correctness | 4.1.2 | Partial signal |
| AC6 · Visual & motion safety | 1.4.3, 2.4.7 | Partial — literal CSS only |
| AC7 · A11y enforcement | enforcement — no page criterion | Enforcement posture (process) |
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 75% | Strong | Solid. |
| Architecture | 82% | Strong | Solid. |
| Maturity | 44% | Weak — gated by D34, M2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 13% | Critical — gated by D8, D9, D13, P1, P3, P5, P7 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 26% | Weak — gated by D30, C1, C2, S1 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Domain Modelling | 84% | Strong | Solid. |
| Event-Driven | 100% | Exemplary | Strongest area. |
| Accessibility | 42% | Weak — gated by AC1, AC4 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Performance | 70% | Strong | Solid. |
Unscored — 1 check(s) recorded observations but carry no score
- SC1 Supply-chain hygiene — 1 observation(s) recorded · Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
Not evidenced — 3 control(s) we could not find positive evidence for
- C4 Data Retention — Repo shows no data-retention / TTL / cleanup mechanism for personal data (event-sourced storage — lifecycle is stream archival / event TTL, not row CASCADE) — 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.
- P6 Release Hygiene — not evidenced — no changelog, version stamp or semver release tag in the repo
Not included — 31 check(s) not relevant to this codebase
- AX2 Stateful singletons — no singleton implementations detected
- AX7 Slice cohesion — not applicable — not a vertical-slice architecture
- AX8 Test isolation — no test/production split to check
- 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) — messagebroker Error context canceled orderdb Error context canceled basketdb Error context canceled ordering.api Warning context canceled catalogdb Error context canceled catalog.api Warning context canceled basket.api Warning context canceled yarpapigateway Warning 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: catalog.api Warning Get "https://registry-1.docker.io/v2/": Forbidden discount.grpc Warning context canceled orderdb Error context canceled WARNING: Some service image(s) must be built from source by running: docker compose build ordering.api basket.api yarpapigateway shopping.web catalog.api discount.grpc 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.
- D10 Test Quality — No tests were found in the analyzed repository to assess for quality.
- D11 Test Reliability — No test suite was found to re-run, so reliability couldn't be assessed. Two searches produced that zero and both came back empty: the classifier that reads the loaded workspace recognised no suite it could run, and a walk of the source on disk — which covers the JS/TS `*.test.*` and `*.spec.*` conventions and probes for a Pester suite — found no test source in any other ecosystem either. Neither search reaches a suite that is missing from the loaded workspace and carries no name either walk recognises, so this is 'no suite found by those two searches', not a verdict that the repository has none.
- D12 Dependency Hygiene — Dependency hygiene not measured
- D16 Bus Factor — single-contributor repository — bus factor is not applicable
- D22 Internal API Consistency — No intentionally-exposed public API to evaluate for consistency.
- D23 Boundary Type-Coupling — small single-context codebase (2,830 production LoC in the .NET projects) — bounded contexts are not needed at this size No bounded-context organisation was detected either — neither a context-shaped layout, nor 2+ sibling source directories each declaring an aggregate root, nor 2+ projects each declaring an entity of their own. Aggregate roots were found in only one source directory (Services), which is a layered codebase, not two contexts. Declaring this codebase's bounded contexts (≥2) would let cross-boundary type coupling be assessed. Declare them in `.codehealth/config.yaml` at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it — e.g. `architecture:` → `contexts:` → `Billing: ["src/billing", "Acme.Billing"]`, `Catalog: ["src/catalog", "Acme.Catalog"]`.
- D25 ADR Conformance — no ADRs to check
- D32 Data Compliance (PII/GDPR) — 34 file(s) were not parsed by semgrep — the PII/GDPR ruleset never ran over them
- D36 Supply-chain Provenance & Signing — No CI/build pipeline found (.github/.forgejo/.gitea workflows, .circleci, .buildkite, .woodpecker, .teamcity, .gitlab-ci.yml, .travis.yml, bitbucket-pipelines.yml, .drone.yml, .cirrus.yml, .woodpecker.yml, appveyor.yml, azure-pipelines*.yml, .pipelines/, .vsts-ci/, .azuredevops/, Jenkinsfile); there is no build to attest provenance for.
- D37 Vulnerability-disclosure Policy — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
- D39 IL Efficiency — IL not measured — the analyzer's build of the target did not succeed
- D40 Network Egress Confinement — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
- D41 Kernel & Syscall Confinement — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
- D42 Runtime Threat Enforcement — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
- D43 Malicious Dependencies — Not scored — no dependency manifest in a supported ecosystem was read for this repository. A gap in the analyzer's language coverage, NOT a finding that the repository is free of vulnerable dependencies (a Python pyproject.toml/requirements.txt (pip/uv/Poetry), a Swift Package.swift/Package.resolved, a Cargo manifest, a Go module (go.mod/go.sum), a Gradle version catalogue, a Maven POM, an sbt build (build.sbt), composer.json, package.json, a Dart pubspec.yaml, an Elixir mix.exs/mix.lock (Hex), a rebar.config / erlang.mk DEPS (Hex), a Ruby Gemfile/Gemfile.lock or .gemspec (Bundler/RubyGems) — not scanned yet).
- D7 Architectural Integrity — no checkable ADRs and no dependency cycles — architectural integrity not assessed
- DM7 Repository granularity — no repository abstraction detected (e.g. uses a document session)
- ES1 Event Sourcing — not scored — this repository shows only 1 of the 3 signals this lens looks for (an event-store package (Marten/EventStore))
- P12 CI test-gate honesty — no CI workflow found
- P9 Domain vs controller coverage — no coverage report found on disk — produce a coverage report in a standard format (Cobertura — `dotnet test --collect:"XPlat Code Coverage"` with a `coverlet.collector` PackageReference) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures, or wire coverage collection into CI, to enable this cross-layer check
- PF1 Benchmark discipline — Performance is assessed only for perf-relevant repos — a packaged library, one that ships benchmarks, or one already using allocation-aware APIs. This repo isn't one, so the Performance lens is not applicable and is excluded from the score.
- PF2 Allocation hygiene — Performance is assessed only for perf-relevant repos — a packaged library, one that ships benchmarks, or one already using allocation-aware APIs. This repo isn't one, so the Performance lens is not applicable and is excluded from the score.
- X10 Duplicated predicate — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- 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 — 40 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- <input> without a programmatic label src/WebApps/Shopping.Web/Pages/Cart.cshtml:43
- <input> without a programmatic label src/WebApps/Shopping.Web/Pages/Checkout.cshtml:49
- <input> without a programmatic label src/WebApps/Shopping.Web/Pages/Checkout.cshtml:193
- <input> without a programmatic label src/WebApps/Shopping.Web/Pages/ProductDetail.cshtml:59
- <input> without a programmatic label src/WebApps/Shopping.Web/Pages/Shared/_Layout.cshtml:46
- <img> without a text alternative src/WebApps/Shopping.Web/Pages/Cart.cshtml:40
- <img> without a text alternative src/WebApps/Shopping.Web/Pages/OrderList.cshtml:43
- <img> without a text alternative src/WebApps/Shopping.Web/Pages/ProductDetail.cshtml:28
- <img> without a text alternative src/WebApps/Shopping.Web/Pages/ProductList.cshtml:39
- <button> with no accessible text src/WebApps/Shopping.Web/Pages/Cart.cshtml:48
- <button> with no accessible text src/WebApps/Shopping.Web/Pages/ProductDetail.cshtml:55
- <button> with no accessible text src/WebApps/Shopping.Web/Pages/ProductDetail.cshtml:61
- <button> with no accessible text src/WebApps/Shopping.Web/Pages/Shared/_Layout.cshtml:48
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- WriteOnlyPrivateField REDACTED:14
- WriteOnlyPrivateField src/WebApps/Shopping.Web/Pages/Privacy.cshtml.cs:7
- REDACTED
- REDACTED
- <label> that labels no control src/WebApps/Shopping.Web/Pages/ProductDetail.cshtml:52
- No automated tests
- Domain depends on infrastructure: OrderCreatedEventHandler src/Services/Ordering/Ordering.Application/Orders/EventHandlers/Domain/OrderCreatedEventHandler.cs:6
- TLS certificate validation disabled src/Services/Basket/Basket.API/Program.cs:45
Serious — 122 finding(s)
- Async method without CancellationToken: GetDiscount src/Services/Discount/Discount.Grpc/Services/DiscountService.cs:13
- Async method without CancellationToken: CreateDiscount src/Services/Discount/Discount.Grpc/Services/DiscountService.cs:28
- Async method without CancellationToken: UpdateDiscount src/Services/Discount/Discount.Grpc/Services/DiscountService.cs:44
- Async method without CancellationToken: DeleteDiscount src/Services/Discount/Discount.Grpc/Services/DiscountService.cs:59
- Async method without CancellationToken: InitialiseDatabaseAsync src/Services/Ordering/Ordering.Infrastructure/Data/Extensions/DatabaseExtentions.cs:7
- Async method without CancellationToken: SeedAsync src/Services/Ordering/Ordering.Infrastructure/Data/Extensions/DatabaseExtentions.cs:18
- Async method without CancellationToken: SeedCustomerAsync src/Services/Ordering/Ordering.Infrastructure/Data/Extensions/DatabaseExtentions.cs:25
- Async method without CancellationToken: SeedProductAsync src/Services/Ordering/Ordering.Infrastructure/Data/Extensions/DatabaseExtentions.cs:34
- Async method without CancellationToken: SeedOrdersWithItemsAsync src/Services/Ordering/Ordering.Infrastructure/Data/Extensions/DatabaseExtentions.cs:43
- Async method without CancellationToken: DispatchDomainEvents src/Services/Ordering/Ordering.Infrastructure/Data/Interceptors/DispatchDomainEventsInterceptor.cs:20
- Async method without CancellationToken: OnGetAsync REDACTED:8
- Async method without CancellationToken: OnPostRemoveToCartAsync REDACTED:15
- Async method without CancellationToken: OnGetAsync REDACTED:11
- Async method without CancellationToken: OnPostCheckOutAsync REDACTED:18
- Async method without CancellationToken: OnGetAsync REDACTED:8
- Async method without CancellationToken: OnPostAddToCartAsync REDACTED:17
- Async method without CancellationToken: OnGetAsync REDACTED:9
- Async method without CancellationToken: OnGetAsync REDACTED:15
- Async method without CancellationToken: OnPostAddToCartAsync REDACTED:23
- Async method without CancellationToken: OnGetAsync REDACTED:13
- Async method without CancellationToken: OnPostAddToCartAsync REDACTED:32
- Async method without CancellationToken: LoadUserBasket src/WebApps/Shopping.Web/Services/IBasketService.cs:19
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- No authorization
- No authorization src/Services/Basket/Basket.API/Basket/CheckoutBasket/CheckoutBasketEndpoints.cs:10
- No authorization src/Services/Basket/Basket.API/Basket/DeleteBasket/DeleteBasketEndpoints.cs:10
- No authorization src/Services/Basket/Basket.API/Basket/GetBasket/GetBasketEndpoints.cs:10
- No authorization src/Services/Basket/Basket.API/Basket/StoreBasket/StoreBasketEndpoints.cs:10
- No authorization src/Services/Catalog/Catalog.API/Products/CreateProduct/CreateProductEndpoint.cs:11
- No authorization src/Services/Catalog/Catalog.API/Products/DeleteProduct/DeleteProductEndpoint.cs:11
- No authorization src/Services/Catalog/Catalog.API/Products/GetProductByCategory/GetProductByCategoryEndpoint.cs:11
- No authorization src/Services/Catalog/Catalog.API/Products/GetProductById/GetProductByIdEndpoint.cs:11
- No authorization src/Services/Catalog/Catalog.API/Products/GetProducts/GetProductsEndpoint.cs:10
- No authorization src/Services/Catalog/Catalog.API/Products/UpdateProduct/UpdateProductEndpoint.cs:11
- No authorization src/Services/Discount/Discount.Grpc/Program.cs:17
- No authorization src/Services/Ordering/Ordering.API/Endpoints/CreateOrder.cs:17
- No authorization src/Services/Ordering/Ordering.API/Endpoints/DeleteOrder.cs:17
- No authorization src/Services/Ordering/Ordering.API/Endpoints/GetOrders.cs:17
- No authorization src/Services/Ordering/Ordering.API/Endpoints/GetOrdersByCustomer.cs:16
- No authorization src/Services/Ordering/Ordering.API/Endpoints/GetOrdersByName.cs:16
- No authorization src/Services/Ordering/Ordering.API/Endpoints/UpdateOrder.cs:17
- Async endpoint handler without CancellationToken: /products src/Services/Catalog/Catalog.API/Products/CreateProduct/CreateProductEndpoint.cs:12
- Async endpoint handler without CancellationToken: /products/{id} src/Services/Catalog/Catalog.API/Products/DeleteProduct/DeleteProductEndpoint.cs:11
- Async endpoint handler without CancellationToken: /products/category/{category} src/Services/Catalog/Catalog.API/Products/GetProductByCategory/GetProductByCategoryEndpoint.cs:12
- Async endpoint handler without CancellationToken: /products/{id} src/Services/Catalog/Catalog.API/Products/GetProductById/GetProductByIdEndpoint.cs:11
- Async endpoint handler without CancellationToken: /products src/Services/Catalog/Catalog.API/Products/GetProducts/GetProductsEndpoint.cs:10
- Async endpoint handler without CancellationToken: /products src/Services/Catalog/Catalog.API/Products/UpdateProduct/UpdateProductEndpoint.cs:12
- Async endpoint handler without CancellationToken: /basket/checkout src/Services/Basket/Basket.API/Basket/CheckoutBasket/CheckoutBasketEndpoints.cs:10
- Async endpoint handler without CancellationToken: /basket/{userName} src/Services/Basket/Basket.API/Basket/DeleteBasket/DeleteBasketEndpoints.cs:10
- Async endpoint handler without CancellationToken: /basket/{userName} src/Services/Basket/Basket.API/Basket/GetBasket/GetBasketEndpoints.cs:10
- Async endpoint handler without CancellationToken: /basket src/Services/Basket/Basket.API/Basket/StoreBasket/StoreBasketEndpoints.cs:10
- Async endpoint handler without CancellationToken: /orders src/Services/Ordering/Ordering.API/Endpoints/CreateOrder.cs:17
- Async endpoint handler without CancellationToken: /orders/{id} src/Services/Ordering/Ordering.API/Endpoints/DeleteOrder.cs:17
- Async endpoint handler without CancellationToken: /orders src/Services/Ordering/Ordering.API/Endpoints/GetOrders.cs:17
- Async endpoint handler without CancellationToken: /orders/customer/{customerId} src/Services/Ordering/Ordering.API/Endpoints/GetOrdersByCustomer.cs:16
- Async endpoint handler without CancellationToken: /orders/{orderName} src/Services/Ordering/Ordering.API/Endpoints/GetOrdersByName.cs:16
- Async endpoint handler without CancellationToken: /orders src/Services/Ordering/Ordering.API/Endpoints/UpdateOrder.cs:17
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Sync-over-async blocking
- Sync-over-async blocking src/Services/Ordering/Ordering.Infrastructure/Data/Extensions/DatabaseExtentions.cs:13
- Sync-over-async blocking src/Services/Ordering/Ordering.Infrastructure/Data/Interceptors/DispatchDomainEventsInterceptor.cs:10
- Link used as a button (placeholder href) src/WebApps/Shopping.Web/Pages/ProductDetail.cshtml:67
- Link used as a button (placeholder href) src/WebApps/Shopping.Web/Pages/Shared/_ProductItemPartial.cshtml:17
- TodoComment src/Services/Basket/Basket.API/Basket/DeleteBasket/DeleteBasketHandler.cs:19
- TodoComment src/Services/Ordering/Ordering.Application/Orders/EventHandlers/Integration/BasketCheckoutEventHandler.cs:12
- Duplicated block (19 lines × 3) src/BuildingBlocks/BuildingBlocks.Messaging/Events/BasketCheckoutEvent.cs:4
- Duplicated block (19 lines × 3) REDACTED:18
- Sync-over-async (deadlock risk) src/Services/Ordering/Ordering.Infrastructure/Data/Extensions/DatabaseExtentions.cs:13
- Sync-over-async (deadlock risk) src/Services/Ordering/Ordering.Infrastructure/Data/Interceptors/DispatchDomainEventsInterceptor.cs:10
- Heading level jumps from h4 to h6 src/WebApps/Shopping.Web/Pages/Checkout.cshtml:34
- Heading level jumps from h1 to h3 src/WebApps/Shopping.Web/Pages/Confirmation.cshtml:14
- Accessibility enforcement below the top rung
- No data-protection/encryption
- Duplicated block (12 lines × 2) src/Services/Ordering/Ordering.Infrastructure/Data/Configurations/OrderConfiguration.cs:39
- Duplicated block (6 lines × 2) src/Services/Catalog/Catalog.API/Models/Product.cs:5
- Duplicated block (7 lines × 2) src/BuildingBlocks/BuildingBlocks/Pagination/PaginatedResult.cs:2
- Duplicated block (5 lines × 2) src/Services/Basket/Basket.API/Models/ShoppingCartItem.cs:5
- Anemic entity: OrderItem src/Services/Ordering/Ordering.Domain/Models/OrderItem.cs:2
- Non-idempotent mutation: CreateOrder.CreateOrderHandler.Handle src/Services/Ordering/Ordering.Application/Orders/Commands/CreateOrder/CreateOrderHandler.cs:5
- No CI pipeline
- No DR/backup evidence
- Outbound HTTP without resilience
- Third-party script without Subresource Integrity src/WebApps/Shopping.Web/Pages/Shared/_Layout.cshtml:127
- NuGet dependencies are not locked
Minor — 41 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- No security response headers detected
- No security response headers detected src/ApiGateways/YarpApiGateway/Program.cs:3
- No security response headers detected src/Services/Basket/Basket.API/Program.cs:6
- No security response headers detected src/Services/Catalog/Catalog.API/Program.cs:4
- No security response headers detected src/Services/Discount/Discount.Grpc/Program.cs:5
- No security response headers detected src/Services/Ordering/Ordering.API/Program.cs:6
- No security response headers detected src/WebApps/Shopping.Web/Program.cs:1
- Orphaned file src/Services/Catalog/Catalog.API/Data/CatalogInitialData.cs:1
- Orphaned file src/Services/Ordering/Ordering.Infrastructure/Data/Configurations/OrderConfiguration.cs:1
- Orphaned file src/Services/Discount/Discount.Grpc/Services/DiscountService.cs:1
- Orphaned file src/Services/Ordering/Ordering.Infrastructure/Data/Extensions/InitialData.cs:1
- Orphaned file src/Services/Ordering/Ordering.Application/Extensions/OrderExtensions.cs:1
- Orphaned file src/BuildingBlocks/BuildingBlocks/Exceptions/Handler/CustomExceptionHandler.cs:1
- Commented-out code src/Services/Basket/Basket.API/Program.cs:33
- Commented-out code src/Services/Ordering/Ordering.Domain/ValueObjects/OrderName.cs:10
- Commented-out code REDACTED:12
- Partial audit-trail evidence
- No ADRs found
- The type name `DatabaseExtentions` contains a typo. It should be `DatabaseExtensions`. This typo is carried through to the method `SeedProductAsync` which is defined on this type. While the method name itself is consistent with its role, the type name is misspelled.
- REDACTED
- Orphaned files with no living knowledge
- No tests found
- Primitive id on a domain type: IDomainEvent.EventId src/Services/Ordering/Ordering.Domain/Abstractions/IDomainEvent.cs:6
- Event not named in past tense: BasketCheckoutEvent src/BuildingBlocks/BuildingBlocks.Messaging/Events/BasketCheckoutEvent.cs:2
- No ADRs
- Inconsistent root namespaces
- Logging is not universal
- No SAST
- No rollback/health safety
- Not all async methods take a CancellationToken
- Some async methods drop the CancellationToken they accept
- Null-forgiving operator (`!`) suppressions reduce the NRT score
Minor — 11 finding(s)
- XML-doc coverage: Catalog.API src/Services/Catalog/Catalog.API/Catalog.API.csproj
- XML-doc coverage: BuildingBlocks src/BuildingBlocks/BuildingBlocks/BuildingBlocks.csproj
- XML-doc coverage: Basket.API REDACTED
- XML-doc coverage: Discount.Grpc REDACTED
- XML-doc coverage: Ordering.API REDACTED
- XML-doc coverage: Ordering.Domain src/Services/Ordering/Ordering.Domain/Ordering.Domain.csproj
- XML-doc coverage: Ordering.Application src/Services/Ordering/Ordering.Application/Ordering.Application.csproj
- XML-doc coverage: Ordering.Infrastructure src/Services/Ordering/Ordering.Infrastructure/Ordering.Infrastructure.csproj
- XML-doc coverage: BuildingBlocks.Messaging REDACTED
- XML-doc coverage: Shopping.Web REDACTED
- Off the main sequence: BuildingBlocks.Messaging REDACTED:1
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-981e0c93994e47758dc4564b92c80b7a/history.json --exit-code 0 --source . | 0 | artifacts/raw/gitleaks-history.json |
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-git --no-banner --config /opt/gitleaks-rules/watchdog-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-981e0c93994e47758dc4564b92c80b7a/tree.json --exit-code 0 --source . | 0 | artifacts/raw/gitleaks-tree.json |
| D29 · Static Analysis (SAST) | semgrep | — | semgrep --config /opt/semgrep-rules/security-audit.yml --config /opt/semgrep-rules/owasp-top-ten.yml --config /opt/semgrep-rules/watchdog-sast.yml --json --quiet --timeout 10 --timeout-threshold 3 --metrics off . | 17 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | dotnet | — | dotnet list src/eshop-microservices.sln package --vulnerable --include-transitive --format json | 12 | artifacts/raw/dotnet-vulnerable.json |
| D31 · IaC & Container Security | trivy | — | trivy config --format json --quiet . | 32 | artifacts/raw/trivy-config.json |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that. semgrep could not parse 34 file(s) — `src/BuildingBlocks/BuildingBlocks/Behaviors/LoggingBehavior.cs`, `src/BuildingBlocks/BuildingBlocks/Behaviors/ValidationBehavior.cs`, `src/BuildingBlocks/BuildingBlocks/Exceptions/Handler/CustomExceptionHandler.cs`, `src/BuildingBlocks/BuildingBlocks/Pagination/PaginatedResult.cs`, `src/Services/Basket/Basket.API/Basket/CheckoutBasket/CheckoutBasketHandler.cs`, … (+29 more) — so the PII/GDPR sweep did not cover the unparsed regions of them; rows reported elsewhere in those files are real. | 0 | — |
| D36 · Supply-chain Provenance & Signing | provenance | — | provenance: not applicable — No CI/build pipeline found (.github/.forgejo/.gitea workflows, .circleci, .buildkite, .woodpecker, .teamcity, .gitlab-ci.yml, .travis.yml, bitbucket-pipelines.yml, .drone.yml, .cirrus.yml, .woodpecker.yml, appveyor.yml, azure-pipelines*.yml, .pipelines/, .vsts-ci/, .azuredevops/, Jenkinsfile); there is no build to attest provenance for. | 0 | — |
| D37 · Vulnerability-disclosure Policy | disclosure | — | disclosure: not applicable — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed. | 0 | — |
| D40 · Network Egress Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here. | 0 | — |
| D41 · Kernel & Syscall Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here. | 0 | — |
| D42 · Runtime Threat Enforcement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here. | 0 | — |
| D43 · Malicious Dependencies | none (no readable dependency manifest) | — | none (no readable dependency manifest): not applicable — Not scored — no dependency manifest in a supported ecosystem was read for this repository. A gap in the analyzer's language coverage, NOT a finding that the repository is free of vulnerable dependencies (a Python pyproject.toml/requirements.txt (pip/uv/Poetry), a Swift Package.swift/Package.resolved, a Cargo manifest, a Go module (go.mod/go.sum), a Gradle version catalogue, a Maven POM, an sbt build (build.sbt), composer.json, package.json, a Dart pubspec.yaml, an Elixir mix.exs/mix.lock (Hex), a rebar.config / erlang.mk DEPS (Hex), a Ruby Gemfile/Gemfile.lock or .gemspec (Bundler/RubyGems) — not scanned yet). | 0 | — |
Appendix C — Personal-data map
Name — 12 field(s)
- BasketCheckoutEvent.FirstName src/BuildingBlocks/BuildingBlocks.Messaging/Events/BasketCheckoutEvent.cs:9
- BasketCheckoutEvent.LastName src/BuildingBlocks/BuildingBlocks.Messaging/Events/BasketCheckoutEvent.cs:10
- BasketCheckoutDto.FirstName src/Services/Basket/Basket.API/Dtos/BasketCheckoutDto.cs:10
- BasketCheckoutDto.LastName src/Services/Basket/Basket.API/Dtos/BasketCheckoutDto.cs:11
- AddressDto.FirstName src/Services/Ordering/Ordering.Application/Dtos/AddressDto.cs:2
- AddressDto.LastName src/Services/Ordering/Ordering.Application/Dtos/AddressDto.cs:2
- Address.FirstName src/Services/Ordering/Ordering.Domain/ValueObjects/Address.cs:4
- Address.LastName src/Services/Ordering/Ordering.Domain/ValueObjects/Address.cs:5
- BasketCheckoutModel.FirstName src/WebApps/Shopping.Web/Models/Basket/BasketCheckoutModel.cs:10
- BasketCheckoutModel.LastName src/WebApps/Shopping.Web/Models/Basket/BasketCheckoutModel.cs:11
- AddressModel.FirstName src/WebApps/Shopping.Web/Models/Ordering/OrderModel.cs:15
- AddressModel.LastName src/WebApps/Shopping.Web/Models/Ordering/OrderModel.cs:15
Address — 9 field(s)
- BasketCheckoutEvent.ZipCode src/BuildingBlocks/BuildingBlocks.Messaging/Events/BasketCheckoutEvent.cs:15
- BasketCheckoutDto.ZipCode src/Services/Basket/Basket.API/Dtos/BasketCheckoutDto.cs:16
- AddressDto.ZipCode src/Services/Ordering/Ordering.Application/Dtos/AddressDto.cs:2
- OrderDto.BillingAddress src/Services/Ordering/Ordering.Application/Dtos/OrderDto.cs:10
- Order.BillingAddress src/Services/Ordering/Ordering.Domain/Models/Order.cs:10
- Address.ZipCode src/Services/Ordering/Ordering.Domain/ValueObjects/Address.cs:10
- BasketCheckoutModel.ZipCode src/WebApps/Shopping.Web/Models/Basket/BasketCheckoutModel.cs:16
- OrderModel.BillingAddress src/WebApps/Shopping.Web/Models/Ordering/OrderModel.cs:8
- AddressModel.ZipCode src/WebApps/Shopping.Web/Models/Ordering/OrderModel.cs:15
Email — 7 field(s)
- BasketCheckoutEvent.EmailAddress src/BuildingBlocks/BuildingBlocks.Messaging/Events/BasketCheckoutEvent.cs:11
- BasketCheckoutDto.EmailAddress src/Services/Basket/Basket.API/Dtos/BasketCheckoutDto.cs:12
- AddressDto.EmailAddress src/Services/Ordering/Ordering.Application/Dtos/AddressDto.cs:2
- Customer.Email src/Services/Ordering/Ordering.Domain/Models/Customer.cs:5
- Address.EmailAddress src/Services/Ordering/Ordering.Domain/ValueObjects/Address.cs:6
- BasketCheckoutModel.EmailAddress src/WebApps/Shopping.Web/Models/Basket/BasketCheckoutModel.cs:12
- AddressModel.EmailAddress src/WebApps/Shopping.Web/Models/Ordering/OrderModel.cs:15
Financial (card / IBAN) — 6 field(s)
- BasketCheckoutEvent.CardNumber src/BuildingBlocks/BuildingBlocks.Messaging/Events/BasketCheckoutEvent.cs:19
- BasketCheckoutDto.CardNumber src/Services/Basket/Basket.API/Dtos/BasketCheckoutDto.cs:20
- PaymentDto.CardNumber src/Services/Ordering/Ordering.Application/Dtos/PaymentDto.cs:3
- Payment.CardNumber src/Services/Ordering/Ordering.Domain/ValueObjects/Payment.cs:5
- BasketCheckoutModel.CardNumber src/WebApps/Shopping.Web/Models/Basket/BasketCheckoutModel.cs:20
- PaymentModel.CardNumber src/WebApps/Shopping.Web/Models/Ordering/OrderModel.cs:17