Executive summary
Read through the Production lens — the standard calibration. *Green* means good enough to run in production. The score is absolute and comparable across repos.
mehdihadeli/food-delivery-microservices carries serious risk (39%). Several issues below can materially affect reliability, security, or the cost of change and warrant near-term attention.
It is strongest in Architecture (92%) — the structure is clean and changes stay contained. Event-Driven (80%) is solid too.
Most urgent: a critical security exposure was detected (see the Security & Compliance lens). Treat it as a priority regardless of the overall grade.
The area that most needs attention is Accessibility (34%) — it raises ongoing delivery and operational cost. Readiness (34%) is the next concern — operating, monitoring and recovering the system safely is harder.
Leadership focus, highest impact first: text alternative — alt on images (alt="" for purely decorative… (Text alternatives); Make custom controls keyboard-operable (role + tabindex + key handler) (Keyboard semantics); accessibility in the toolchain (A11y enforcement).
For scale: Medium (~40,663 production lines); rebuilding it from scratch would take roughly ~0.6 person-years (~1–2 engineers). Approximate, ±~30%.
It builds on a genuinely strong Architecture foundation (92%); the priorities above are the highest-leverage way to bring the rest up to that level.
Raise Accessibility 34 → 70 (the Healthy floor) ⇒ headline 39 → ~44.
Rebuild cost & value ~ Modeled — €31,000–€160,000
| Cost to rebuild | €31,000–€160,000 |
| Domain complexity | Very high |
| Quality factor | 0.7× (at 39% quality) |
| Size & shape | Medium · 47% boilerplate · 30% straight-line · 23% branching logic |
| Dead frontend code | ~107 LoC unreachable (9 file(s)) |
This codebase represents roughly ~0.6 person-years of build effort (about ~€94,000 to rebuild). Its weakest lens is Accessibility at 34% — the part of that asset most exposed by the findings below.
Top priorities
Diagnosis — what's actually going on
Trajectory
Architecture — bounded-context dependency graph
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 — Event Sourcing
At a glance — Accessibility
At a glance — Performance
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A05:2021 — Security Misconfiguration | 50 | High / Critical |
| A06:2021 — Vulnerable & Outdated Components | 50 | High / Critical |
| A02:2021 — Cryptographic Failures | 24 | High / Critical |
Roadmap
Begin by adding text alternatives for all images and media, and ensure custom controls are fully keyboard-operable. Next, implement programmatic labels for all form controls and buttons, and maintain visible focus styles while guarding animations for motion sensitivity. Finally, enforce accessibility standards in the development toolchain by integrating automated testing and continuous integration checks.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 1 Leaked secret finding(s) in Secret Scanning — start with http-client.private.env.json. | +4.3 pts | Low | Secret Scanning |
| Resolve the 9 No assertions (empty test) finding(s) in Test Quality — start with UnitTest1.cs (5), Tests.cs (4). | +2.5 pts | Low | Test Quality |
| Add a text alternative — alt on images (alt="" for purely decorative ones), a title or aria-label on meaningful svg, and a captions <track> on video. | +4.8 pts | Medium | Text alternatives |
| Make custom controls keyboard-operable (role + tabindex + key handler), drop positive tabindex, and give anchors a real href. | +4.8 pts | Medium | Keyboard semantics |
| Enforce accessibility in the toolchain: add eslint-plugin-jsx-a11y (or vuejs-accessibility), assert with jest-axe / playwright-axe in tests, then gate axe/pa11y/Lighthouse in CI. | +4.8 pts | Medium | A11y enforcement |
| Give every control a programmatic label (a <label for> / wrapping <label> / aria-label) and every button text — a placeholder is not a label. | +4.8 pts | Medium | Forms & labels |
| Keep a visible focus style (don't remove the outline without a replacement), guard animation with prefers-reduced-motion, and raise low-contrast colour pairs to at least 4.5:1. | +4.8 pts | Medium | Visual & motion safety |
| Declare <html lang>, a document <title> and a <main> landmark, keep headings in order, leave zoom enabled, title iframes and drop meta-refresh. | +4.8 pts | Medium | Page structure |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| deployments/k8s/kubernetes/infrastructure.yaml | 0.0 | Slop | IaC & Container Security: High IaC: KSV-0014 |
| package-lock.json | 0.3 | Slop | OSV Dependency Vulnerabilities: High CVE: [GHSA redacted] |
| _httpclients/http-client.private.env.json | 3.0 | Slop | Secret Scanning: Leaked secret: jwt |
| .devcontainer/Dockerfile | 4.4 | Mixed | IaC & Container Security: High IaC: DS-0002 |
| src/UIs/Spa/react-food-delivery/package-lock.json | 4.4 | Mixed | OSV Dependency Vulnerabilities: Critical CVE: [GHSA redacted] |
| src/Services/Catalogs/ECommerce.Services.Catalogs.Api/appsettings.json | 5.8 | Mixed | Secrets (history): Secret: generic-api-key |
| src/Services/Customers/ECommerce.Services.Customers.Api/appsettings.json | 5.8 | Mixed | Secrets (history): Secret: generic-api-key |
| src/Services/Identity/ECommerce.Services.Identity.Api/appsettings.json | 5.8 | Mixed | Secrets (history): Secret: generic-api-key |
| src/Services/Orders/ECommerce.Services.Orders.Api/appsettings.json | 5.8 | Mixed | Secrets (history): Secret: generic-api-key |
| src/Services/Store.Services.Orders/Store.Services.Orders.Api/appsettings.json | 5.8 | Mixed | Secrets (history): Secret: generic-api-key |
| src/Services/Store.Services.Catalogs/Store.Services.Catalogs.Api/appsettings.json | 5.8 | Mixed | Secrets (history): Secret: generic-api-key |
| src/Services/Store.Services.Customers/Store.Services.Customers.Api/appsettings.json | 5.8 | Mixed | Secrets (history): Secret: generic-api-key |
| src/Services/Store.Services.Identity/Store.Services.Identity.Api/appsettings.json | 5.8 | Mixed | Secrets (history): Secret: generic-api-key |
| tests/Shared/Tests.Shared/XunitCategories/Tests.cs | 6.5 | Mixed | Test Quality: No assertions (empty test): category_trait_test |
| src/Services/Catalogs/FoodDelivery.Services.Catalogs.Api/appsettings.json | 7.2 | Mixed | Secrets (history): Secret: generic-api-key |
| src/Services/Customers/FoodDelivery.Services.Customers.Api/appsettings.json | 7.2 | Mixed | Secrets (history): Secret: generic-api-key |
| src/Services/Identity/FoodDelivery.Services.Identity.Api/appsettings.json | 7.2 | Mixed | Secrets (history): Secret: generic-api-key |
| src/Services/Orders/FoodDelivery.Services.Orders.Api/appsettings.json | 7.2 | Mixed | Secrets (history): Secret: generic-api-key |
| src/ApiGateway/Dockerfile | 7.2 | Mixed | IaC & Container Security: High IaC: DS-0002 |
| src/ApiGateway/Dockerfile.dev | 7.2 | Mixed | IaC & Container Security: High IaC: DS-0002 |
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 98 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 4 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.8 — the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.
What we checked — 98 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, 204 of 249 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 |
| jscpd | Code duplication | — | ✓ deterministic |
| Coverage (coverlet / dotnet-coverage) | Line & branch coverage | 10.0.301 | ✓ deterministic |
| NuGet / dotnet | Outdated, vulnerable & deprecated dependencies | 10.0.301 | ✓ 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 | ✓ 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
- D19 Documentation Quality — LLM provider failed — The model provider returned an unusable result, so this LLM-assisted dimension fell back to a measurement gap (confidence 0) rather than a penalty. Re-run with a reachable provider to score it.
- D30 Dependency Vulnerabilities — scanner not present in this environment — The backing tool was not installed where this scan ran, so this dimension was not scored. Install the tool (or run in the hosted environment, where it is always present) for a graded result.
- D32 Data Compliance (PII/GDPR) — scanner not present in this environment — The backing tool was not installed where this scan ran, so this dimension was not scored. Install the tool (or run in the hosted environment, where it is always present) for a graded result.
- D37 Vulnerability-disclosure Policy — scanner not present in this environment — The backing tool was not installed where this scan ran, so this dimension was not scored. Install the tool (or run in the hosted environment, where it is always present) for a graded result.
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 (jscpd) — it finds copy-paste, not semantic duplication expressed differently. Committed machine-written code (EF migration scaffolds, *.Designer.cs, model snapshots) is EXCLUDED — its repetition is the tool's, not the team's — so the score reflects hand-written duplication only; the generated footprint is reported separately under Solution Shape.
- D5 Coupling: Coupling is measured between projects/assemblies — runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
- D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic — it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
- D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals — a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
- D10 Test Quality: Assertion density is structural — it cannot tell a meaningful behavioural assertion from a trivial one, only that an assertion is present.
- D12 Dependency Hygiene: Dependency health reads manifests and lockfiles — a vulnerability in a vendored/copied dependency, or risk from how a dependency is actually used, is outside this view.
- D13 Secret Scanning: Secret detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
- D14 License Compliance: License compatibility is checked against declared package metadata and a policy — mislabelled or missing license metadata, and obligations that depend on how you distribute, are not resolved here.
- D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
- D16 Bus Factor: Bus-factor is a time-decayed model of commit attribution (who has recently, repeatedly worked a file), not comprehension — pairing, review and reading-without-committing spread knowledge it can't see; bot commits and shared accounts still distort it.
- 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 (EF migrations, designer files, snapshots) 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.
- 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.
- D22 Internal API Consistency: API-surface coherence is an LLM judgement over a sample of the public surface — consistency of intent across the whole API is approximated, not exhaustively verified.
- 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").
- 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.
- D33 JS/npm Dependency Vulnerabilities: JS/npm CVE matching reads package manifests and lockfiles — risk from how a dependency is used, and advisories not yet published, fall outside this scan.
- 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.
- 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 clean result is "no unlabelled native 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.
- 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.
- C4 Data Retention: This control is scored from in-repo evidence only — its real-world effectiveness, exercised only at runtime, is outside a static scan.
- 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.
- P6 Release Hygiene: Rollback/observability controls are inferred from repo artefacts (pipelines, dashboards-as-code) — controls configured in external tooling, with no in-repo trace, cannot be credited.
The LLM boundary
Dimensions
D1 · Cyclomatic Complexity
1 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was DependencyInjectionExtensions.AddTracingExporters at 19.
D2 · Cognitive Complexity
3 method(s) exceeded the cognitive complexity threshold of 15; the worst was TypeExtensions.AddImplementationsAsTransient at 30.
D3 · God Classes
1 god class(es) detected.
D4 · Code Duplication
16 duplicated block group(s) detected.
D5 · Coupling
79 projects, 0 dependency cycle(s), 2 unstable depended-on project(s).
D6 · Cohesion (LCOM4)
0 of 83 classes have LCOM4 above 3.
D9 · Test Distribution
127 test methods: 94 unit, 33 integration, 0 BDD, 0 e2e.
D10 · Test Quality
0 skipped, 15 zero-assertion, 2 mock references across 145 tests.
What to do
- Resolve the 9 No assertions (empty test) finding(s) in Test Quality — start with UnitTest1.cs (5), Tests.cs (4). — One of this dimension's main actionable groups (9 issue-level).
- Resolve the 6 No assertions finding(s) in Test Quality — start with DependencyTests.cs (3), UserRegisteredTests.cs (2), CreateCustomerTests.cs. — One of this dimension's main actionable groups (6 warning-level).
- Enforce Test Quality in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D12 · Dependency Hygiene
0 outdated, 0 vulnerable, 0 deprecated packages.
D13 · Secret Scanning
1 secret(s) detected.
What to do
- Resolve the 1 Leaked secret finding(s) in Secret Scanning — start with http-client.private.env.json. — One of this dimension's main actionable groups (1 issue-level).
- Enforce Secret Scanning in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D14 · License Compliance
0 of 158 packages use a banned license.
D15 · Churn × Complexity Hotspots
No churn × complexity hotspots in the window.
D16 · Bus Factor
57 source file(s) have their living knowledge concentrated in one author (≥90% of recent, decayed contribution). The largest is src/BuildingBlocks/BuildingBlocks.OpenTelemetry/Extensions/DependencyInjectionExtensions.cs.
What to do
- Resolve the 1 Off-boarding risk finding(s) in Bus Factor. — One of this dimension's main actionable groups (1 recommendation-level).
D17 · Explicit Debt
18 deducted debt markers + 0 dead symbols across 38696 LoC (0.1/KLoC) → score 9.8.
D18 · Solution Shape
79 projects, 1154 .cs files, 44406 hand-written lines of code (38696 production / 5710 test), plus 3157 generated (EF migrations / designer / snapshots, excluded from quality), 669 inter-project edges (build failed).
What to do
- Resolve the 26 Shell project finding(s) in Solution Shape — start with BuildingBlocks.Caching.AzureRedis.csproj, BuildingBlocks.Integration.MassTransit.IntegrationTests.csproj, BuildingBlocks.Persistence.EfCore.AzureCosmosDB.csproj. — One of this dimension's main actionable groups (26 recommendation-level).
- Resolve the 1 Monorepo finding(s) in Solution Shape. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Thin analysable surface across projects finding(s) in Solution Shape. — One of this dimension's main actionable groups (1 recommendation-level).
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
2 naming inconsistencies across 200 sampled symbols.
What to do
- Resolve the 1 Inconsistent use of gerund ('Getting') vs noun/verb ('Get') in feature… finding(s) in Naming Consistency. — One of this dimension's main actionable groups (1 recommendation-level).
- Resolve the 1 Inconsistent naming for the same feature. The directory and handler use… finding(s) in Naming Consistency. — One of this dimension's main actionable groups (1 recommendation-level).
D22 · Internal API Consistency
5 API inconsistencies across a 400-member sample of 552 exposed types.
What to do
- Resolve the 1 Duplicate scheduling interfaces with overlapping responsibilities.… finding(s) in Internal API Consistency. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Inconsistent naming for retrieving an entity by ID. Some use… finding(s) in Internal API Consistency. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 IPageRequest exposes both properties (PageNumber, PageSize) and a… finding(s) in Internal API Consistency. — One of this dimension's main actionable groups (1 warning-level).
D24 · Comment Value
42 valuable / 1 redundant across 200 sampled comments; 1 shown with locations.
D26 · Project Cohesion
4 of 79 projects flagged as possibly oversized/incoherent.
What to do
- Resolve the 1 Split BuildingBlocks.Abstractions finding(s) in Project Cohesion. — One of this dimension's main actionable groups (1 recommendation-level).
- Resolve the 1 Split BuildingBlocks.Core finding(s) in Project Cohesion. — One of this dimension's main actionable groups (1 recommendation-level).
- Resolve the 1 Split FoodDelivery.Services.Catalogs finding(s) in Project Cohesion. — One of this dimension's main actionable groups (1 recommendation-level).
D27 · Navigability
94 % of calls cross a namespace and 8 % go through an interface, but 100 % of collaborators are co-located — so a call's collaborators sit together and tracing stays easy. Baseline: medium — clean/modular boundaries expected.
D28 · Secrets (history)
36 finding(s): 0 critical, 36 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 22 Secret finding(s) in Secrets (history) — start with appsettings.json (20), http-client.private.env.json (2). — One of this dimension's main actionable groups (22 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)
semgrep found no security issues.
D31 · IaC & Container Security
64 finding(s): 0 critical, 21 high, 8 medium, 35 low.
What to do
- Resolve the 21 High IaC finding(s) in IaC & Container Security — start with Dockerfile (6), infrastructure.yaml (6), Dockerfile.dev (5). — One of this dimension's main actionable groups (21 issue-level).
- Resolve the 21 Low IaC finding(s) in IaC & Container Security — start with infrastructure.yaml (20), Dockerfile. — One of this dimension's main actionable groups (21 recommendation-level).
- Resolve the 8 Medium IaC finding(s) in IaC & Container Security — start with infrastructure.yaml (7), Dockerfile. — One of this dimension's main actionable groups (8 warning-level).
D33 · JS/npm Dependency Vulnerabilities
No known-vulnerable JS/npm dependencies.
D34 · Knowledge Freshness
223 of 223 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is src/BuildingBlocks/BuildingBlocks.Core/Extensions/TypeExtensions.cs.
What to do
- Resolve the 1 Dormant codebase 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.
D36 · Supply-chain Provenance & Signing
0/4 supply-chain integrity signals present (provenance, signing, SBOM, pinned actions).
What to do
- Resolve the 1 Unpinned build actions finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 No build provenance finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 recommendation-level).
- Resolve the 1 No artifact signing finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 recommendation-level).
D38 · OSV Dependency Vulnerabilities
86 finding(s): 1 critical, 43 high, 34 medium, 8 low.
What to do
- Resolve the 43 High CVE finding(s) in OSV Dependency Vulnerabilities — start with package-lock.json (43). — One of this dimension's main actionable groups (43 issue-level).
- Resolve the 1 Critical CVE finding(s) in OSV Dependency Vulnerabilities — start with package-lock.json. — One of this dimension's main actionable groups (1 issue-level).
- Resolve the 6 Medium CVE finding(s) in OSV Dependency Vulnerabilities — start with package-lock.json (6). — One of this dimension's main actionable groups (6 warning-level).
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. (×7) — Consent.cshtml:9, Index.cshtml:9, Index.cshtml:9, …
What to do
- Add a text alternative — alt on images (alt="" for purely decorative ones), a title or aria-label on meaningful svg, 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) — Index.cshtml:60, Index.cshtml:67
- 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. (×20) — Consent.cshtml:74, Index.cshtml:71, Index.cshtml:104, …
- A link with no text, aria-label or labelled child (e.g. an icon-only link) has no accessible name, so assistive tech can't say where it goes. Add visible text or an aria-label. (×3) — Consent.cshtml:89, Index.cshtml:98, Index.cshtml:131
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
- An iframe with no title (or an empty one) is announced only as "frame". Add a non-empty title describing its content, or an aria-label. — LoggedOut.cshtml:20
- Skipping heading levels breaks the document outline assistive tech relies on. Don't jump levels — increase by at most one. (×5) — Index.cshtml:10, Consent.cshtml:16, Index.cshtml:16, …
- The page declares no language, so assistive tech can't pick the right pronunciation. Add lang (e.g. lang="en"). (×2) — Callback.cshtml:0, Challenge.cshtml:0
- A page with no <title> gives no name in the tab, history or screen-reader page list. Add a descriptive <title> in <head>. (×3) — Callback.cshtml:0, Challenge.cshtml:0, App.razor:2
- No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>. (×4) — Callback.cshtml:0, Challenge.cshtml:0, _Layout.cshtml:2, …
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
- A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabindex="0" + a key handler. — NavMenu.razor:9
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
- This element's Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade. (×3) — product-details.tsx:45, product-list.tsx:85, product-list.tsx:96
- A CSS rule's foreground/background colour pair falls below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. — NavMenu.razor.css:0
What to do
- Keep a visible focus style (don't remove the outline without a replacement), guard animation with prefers-reduced-motion, and raise low-contrast colour pairs to at least 4.5:1.
AC7 · A11y enforcement
- No accessibility enforcement found — no a11y linter (eslint-plugin-jsx-a11y / vuejs-accessibility) and no axe/pa11y/Lighthouse in tests or CI. Start with the linter to catch issues at author time.
What to do
- Enforce accessibility in the toolchain: add eslint-plugin-jsx-a11y (or vuejs-accessibility), assert with jest-axe / playwright-axe in tests, then gate axe/pa11y/Lighthouse in CI.
AX1 · Captive dependencies
AX10 · Code composition
What to do
- The domain core is a small share of production code — check that business logic isn't leaking into the application/infrastructure layers (a thin domain is the anemic-domain smell).
AX2 · Stateful singletons
AX3 · Project dependency cycles
AX4 · Dependency direction
AX5 · Architecture & structure
AX6 · Interface segregation
- `IPageList` declares 25 members. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces. — IPageList.cs:3
- `IReadRepository` declares 17 members. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces. — IRepository.cs:7
What to do
- Split fat interfaces into focused role-interfaces so clients depend only on what they use.
AX7 · Slice cohesion
AX8 · Test isolation
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
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.
C4 · Data Retention
- A retention mechanism is present, but the data-lifecycle is not yet complete — missing: a scheduled purge / cleanup job (PurgeOlderThan / CleanupJob), a documented retention period / data-expiry.
What to do
- Complete the data-lifecycle story: a TTL/index expiry, a scheduled purge/cleanup job, and a documented retention period covering the personal data.
DM1 · Aggregate boundaries
- `Product` references the aggregate root `Category` directly (via `Category`) — hold its `CategoryId` instead. — Product.cs:45
- `Product` references the aggregate root `Brand` directly (via `Brand`) — hold its `BrandId` instead. — Product.cs:50
What to do
- Reference other aggregates by their strongly-typed id, never by object reference, so each aggregate stays an independent consistency boundary.
DM2 · Strongly-typed ids
- `IEvent.EventId` is a raw `Guid` — give it a strongly-typed id (`readonly record struct EventId { Guid Value }`). — IEvent.cs:13
- `Event.EventId` is a raw `Guid` — give it a strongly-typed id (`readonly record struct EventId { Guid Value }`). — Event.cs:8
- `CheckpointStored.SubscriptionId` is a raw `String` — give it a strongly-typed id (`readonly record struct SubscriptionId { String Value }`). — EventStoreDbSubscriptionCheckPointRepository.cs:7
- `MaxThresholdChanged.ProductId` is a raw `Int64` — give it a strongly-typed id (`readonly record struct ProductId { Int64 Value }`). — MaxThresholdChanged.cs:6
- `ProductBrandChanged.BrandId` is a raw `Int64` — give it a strongly-typed id (`readonly record struct BrandId { Int64 Value }`). — ProductBrandChanged.cs:6
- `ProductBrandChanged.ProductId` is a raw `Int64` — give it a strongly-typed id (`readonly record struct ProductId { Int64 Value }`). — ProductBrandChanged.cs:6
- `ProductCategoryChanged.CategoryId` is a raw `Int64` — give it a strongly-typed id (`readonly record struct CategoryId { Int64 Value }`). — ProductCategoryChanged.cs:6
- `ProductCategoryChanged.ProductId` is a raw `Int64` — give it a strongly-typed id (`readonly record struct ProductId { Int64 Value }`). — ProductCategoryChanged.cs:6
- `ProductSupplierChanged.SupplierId` is a raw `Int64` — give it a strongly-typed id (`readonly record struct SupplierId { Int64 Value }`). — ProductSupplierChanged.cs:6
- `ProductSupplierChanged.ProductId` is a raw `Int64` — give it a strongly-typed id (`readonly record struct ProductId { Int64 Value }`). — ProductSupplierChanged.cs:6
- `RestockThresholdChanged.ProductId` is a raw `Int64` — give it a strongly-typed id (`readonly record struct ProductId { Int64 Value }`). — RestockThresholdChanged.cs:6
- `ProductCreated.CategoryId` is a raw `Int64` — give it a strongly-typed id (`readonly record struct CategoryId { Int64 Value }`). — ProductCreated.cs:36
- `ProductCreated.SupplierId` is a raw `Int64` — give it a strongly-typed id (`readonly record struct SupplierId { Int64 Value }`). — ProductCreated.cs:37
- `ProductCreated.BrandId` is a raw `Int64` — give it a strongly-typed id (`readonly record struct BrandId { Int64 Value }`). — ProductCreated.cs:38
- `ProductRestockThresholdReached.ProductId` is a raw `Int64` — give it a strongly-typed id (`readonly record struct ProductId { Int64 Value }`). — ProductRestockThresholdReached.cs:16
- `ProductStockDebited.ProductId` is a raw `Int64` — give it a strongly-typed id (`readonly record struct ProductId { Int64 Value }`). — ProductStockDebited.cs:15
- `ProductStockReplenished.ProductId` is a raw `Int64` — give it a strongly-typed id (`readonly record struct ProductId { Int64 Value }`). — ProductStockReplenished.cs:15
- `ProductUpdated.CategoryId` is a raw `Int64` — give it a strongly-typed id (`readonly record struct CategoryId { Int64 Value }`). — ProductUpdated.cs:34
- `ProductUpdated.SupplierId` is a raw `Int64` — give it a strongly-typed id (`readonly record struct SupplierId { Int64 Value }`). — ProductUpdated.cs:35
- `ProductUpdated.BrandId` is a raw `Int64` — give it a strongly-typed id (`readonly record struct BrandId { Int64 Value }`). — ProductUpdated.cs:36
- `CustomerCreated.IdentityId` is a raw `Guid` — give it a strongly-typed id (`readonly record struct IdentityId { Guid Value }`). — CustomerCreated.cs:23
- `CustomerUpdated.IdentityId` is a raw `Guid` — give it a strongly-typed id (`readonly record struct IdentityId { Guid Value }`). — CustomerUpdated.cs:22
- `Customer.IdentityId` is a raw `Guid` — give it a strongly-typed id (`readonly record struct IdentityId { Guid Value }`). — Customer.cs:39
- `RestockSubscriptionCreated.ProductId` is a raw `Int64` — give it a strongly-typed id (`readonly record struct ProductId { Int64 Value }`). — RestockSubscriptionCreated.cs:21
- `RestockSubscriptionCreated.CustomerId` is a raw `Int64` — give it a strongly-typed id (`readonly record struct CustomerId { Int64 Value }`). — RestockSubscriptionCreated.cs:22
- `RestockSubscriptionDeleted.RestockSubscriptionId` is a raw `Int64` — give it a strongly-typed id (`readonly record struct RestockSubscriptionId { Int64 Value }`). — RestockSubscriptionDeleted.cs:11
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
- `UserStateUpdatedV1.OldUserState` exposes `UserState`, a enum owned by the producer's domain assembly (`FoodDelivery.Services.Shared`) — carry the enum as a string/int instead. — UserStateUpdatedV1.cs:6
- `UserStateUpdatedV1.NewUserState` exposes `UserState`, a enum owned by the producer's domain assembly (`FoodDelivery.Services.Shared`) — carry the enum as a string/int instead. — UserStateUpdatedV1.cs:6
What to do
- Keep integration events to primitives + shared-contract types; never reference a producer-domain enum or type, so services evolve independently.
DM4 · Rich vs anemic model
- `AuditableEntity` is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — AuditableEntity.cs:5
- `AuditAggregate` is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — AuditAggregate.cs:5
- `Category` 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. — Category.cs:15
- `CategoryImage` is an aggregate/entity with 3 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — CategoryImage.cs:6
- `ProductImage` 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. — ProductImage.cs:7
- `Supplier` is an aggregate/entity with 1 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — Supplier.cs:5
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
- `Product` exposes public setter(s) (Stock). — Product.cs:34
What to do
- Make entity setters private/init-only; change state only through methods that enforce the invariants (Marten/EF can bind via constructor or private setters).
DM6 · Domain ↔ infrastructure boundary
- `ProductCreatedHandler` (domain layer) uses `EF Core` inside a method body — infrastructure reached without it appearing in any signature. — ProductCreated.cs:85
- `RestockSubscriptionCreatedHandler` (domain layer) uses `DbContext` inside a method body — infrastructure reached without it appearing in any signature. — RestockSubscriptionCreated.cs:66
- `RestockNotificationProcessedHandler` (domain layer) uses `EF Core` inside a method body — infrastructure reached without it appearing in any signature. — RestockNotificationProcessed.cs:19
What to do
- Invert domain→infrastructure dependencies: declare interfaces in the domain, implement them in infrastructure (Dependency Inversion).
DM8 · Value-object opportunities
ED1 · Handler temporal coupling
ED3 · Event naming
- `IDomainEvent` 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. — IDomainEvent.cs:6
- `IDomainNotificationEvent` 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. — IDomainNotificationEvent.cs:3
- `IEvent` 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. — IEvent.cs:8
- `Event` 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. — Event.cs:6
- `DomainEvent` 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. — DomainEvent.cs:5
- `DomainNotificationEvent` 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. — DomainNotificationEvent.cs:5
- `DomainNotificationEventWrapper` 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. — DomainNotificationEventWrapper.cs:5
- `IntegrationEventWrapper` 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. — IntegrationEventWrapper.cs:7
- `IntegrationEvent` 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. — IntegrationEvent.cs:5
What to do
- Name events in the past tense — they record facts that already happened.
ED4 · Outbox / dual-write
- `EventStoreDbSubscriptionToAll..ctor` writes to the database AND publishes to the message bus in the same flow, with no outbox referenced in this path. These two writes aren't atomic — a crash between them either loses the message (DB committed, publish failed) or emits a phantom event (publish succeeded, DB rolled back). Use the transactional outbox pattern (e.g. MassTransit's EF/Marten outbox) so the message is committed in the same transaction as the state change and dispatched afterwards. — SubscribeToAllBackgroundWorker.cs:17
- `EventStoreDbSubscriptionToAll.HandleEvent` writes to the database AND publishes to the message bus in the same flow, with no outbox referenced in this path. These two writes aren't atomic — a crash between them either loses the message (DB committed, publish failed) or emits a phantom event (publish succeeded, DB rolled back). Use the transactional outbox pattern (e.g. MassTransit's EF/Marten outbox) so the message is committed in the same transaction as the state change and dispatched afterwards. — SubscribeToAllBackgroundWorker.cs:70
- `DeleteRestockSubscriptionsByTimeHandler..ctor` writes to the database AND publishes to the message bus in the same flow, with no outbox referenced in this path. These two writes aren't atomic — a crash between them either loses the message (DB committed, publish failed) or emits a phantom event (publish succeeded, DB rolled back). Use the transactional outbox pattern (e.g. MassTransit's EF/Marten outbox) so the message is committed in the same transaction as the state change and dispatched afterwards. — DeleteRestockSubscriptionsByTime.cs:13
- `DeleteRestockSubscriptionsByTimeHandler.Handle` writes to the database AND publishes to the message bus in the same flow, with no outbox referenced in this path. These two writes aren't atomic — a crash between them either loses the message (DB committed, publish failed) or emits a phantom event (publish succeeded, DB rolled back). Use the transactional outbox pattern (e.g. MassTransit's EF/Marten outbox) so the message is committed in the same transaction as the state change and dispatched afterwards. — DeleteRestockSubscriptionsByTime.cs:19
What to do
- Adopt the transactional outbox pattern so DB writes and message publishes commit atomically — no lost or phantom events on a crash.
ED5 · Idempotency
ES2 · Immutable events
ES3 · PII in the event store
- Persisted event carries personal data (Email, PhoneNumber, BirthDate) — no crypto-shredding strategy covers it, so it collides with the GDPR right-to-erasure. (×3) — CustomerCreated.cs:17, CustomerUpdated.cs:16, CustomerUpdatedV1.cs:6
- Persisted event carries personal data (Email) — no crypto-shredding strategy covers it, so it collides with the GDPR right-to-erasure. (×2) — RestockSubscriptionCreated.cs:19, RestockSubscriptionCreatedV1.cs:5
- Persisted event carries personal data (Email, PhoneNumber) — no crypto-shredding strategy covers it, so it collides with the GDPR right-to-erasure. — UserRegisteredV1.cs:6
- Persisted event carries personal data (FirstName, LastName) — classified as REAL personal data (not fictional) by the model. Append-only events can't be erased, so this needs a crypto-shredding/pseudonymisation strategy — none covering this event was detected. (×3) — CustomerCreated.cs:17, CustomerUpdated.cs:16, UserRegisteredV1.cs:6
What to do
- Adopt crypto-shredding (store PII encrypted with a per-subject key you can throw away) or keep PII out of events and reference it by id so erasure stays possible.
GD1 · Unfinished & placeholder code
- A shipped member still throws NotImplementedException — generated scaffolding that was never completed. Implement it or remove the dead surface. (×23) — InMemoryMessagePersistenceRepository.cs:68, InMemoryMessagePersistenceRepository.cs:78, NullMediator.cs:12, …
What to do
- Finish or delete NotImplementedException stubs and replace placeholder literals before shipping.
IC1 · Incompleteness & stubs
- `GetFilterBySateAsync` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. (×2) — InMemoryMessagePersistenceRepository.cs:63, PostgresMessagePersistenceRepository.cs:60
- `GetFilterByAsync` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. (×2) — InMemoryMessagePersistenceRepository.cs:71, PostgresMessagePersistenceRepository.cs:68
- `NullMediator` has 10 unfinished members out of 10 — a scaffolded type that was never implemented. — NullMediator.cs:5
- `Send` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. (×4) — NullMediator.cs:7, NullMediator.cs:15, NullMediator.cs:23, …
- `CreateStream` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. (×4) — NullMediator.cs:33, NullMediator.cs:41, NullMediator.cs:49, …
- `Publish` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. (×2) — NullMediator.cs:62, NullMediator.cs:68
- `CommitAsync` looks like it should compute a result but its body just returns a constant — a placeholder return that was never filled in. (×2) — InMemoryEventStore.cs:121, EventStoreDbEventStore.cs:189
- `Handle` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — LoggingBehavior.cs:65
- `ApplyMessagesSendTopology` takes parameters but its body is empty — it accepts inputs and does nothing. Either implement it or remove it. — DependencyInjectionExtensions.cs:238
- `Probe` takes parameters but its body is empty — it accepts inputs and does nothing. Either implement it or remove it. — MessageHandlerConsumerFilter.cs:46
- `Apply` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. — MartenSubscription.cs:11
- `AnyAsync` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. — MongoRepositoryBase.cs:55
- `GetAllAsync` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. (×2) — MongoRepositoryBase.cs:87, MongoRepositoryBase.cs:95
- `FirstOrDefaultAsync` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. (×2) — MongoRepositoryBase.cs:103, MongoRepositoryBase.cs:111
- `SingleOrDefaultAsync` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. (×2) — MongoRepositoryBase.cs:119, MongoRepositoryBase.cs:127
- `CountAsync` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. — MongoRepositoryBase.cs:135
- `Handle` looks like it should compute a result but its body just returns a constant — a placeholder return that was never filled in. — ProductStockDebited.cs:53
What to do
- Finish or delete the unfinished stubs (NotImplementedException / empty / constant-returning bodies) — they are dead surface that looks live.
- 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
- Add a 'Testing' section to the root README — how to run the test suite.
- Add a README to the 66 of 79 project(s) that lack one — worth up to 1.7 pts.
M2 · Architecture documentation
- No Architecture Decision Records found — decisions aren't captured for future maintainers.
- No C4/PlantUML/Mermaid diagram or architecture.md — the high-level shape isn't documented.
What to do
- Start an ADR log (docs/adr/) recording significant decisions and their rationale.
- Add a C4 context/container diagram (Structurizr, PlantUML or Mermaid) or an architecture.md overview.
M3 · Folder & project structure
M4 · Documentation accuracy
- README claims Helm/Kubernetes/Kustomize for deployment but evidence omits any such tools
What to do
- Reconcile the README with reality: README claims Helm/Kubernetes/Kustomize for deployment but evidence omits any such tools.
P1 · CI/CD gates
P10 · Library API & versioning
- 1201/1446 types (83%) are public. For a library, every public type is a stability contract — make internal-by-default and expose only the intended API.
What to do
- Make types internal by default; expose only the deliberate public API so internals can change without breaking consumers.
P2 · Observability
- Only 19/53 service-like projects use logging (pure contract/DTO projects are excluded — they have nothing to log).
What to do
- Extend structured logging to the remaining service-like projects so the whole executable surface is diagnosable in production.
P3 · Security & performance tooling
What to do
- Enable Dependabot/Renovate or a dependency-review gate.
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P4 · Deployment & Rollback
P5 · DR & Backup
What to do
- Document RTO/RPO and a tested restore procedure (a backup config alone isn't disaster recovery).
P6 · Release Hygiene
- No CHANGELOG/HISTORY/RELEASES file — what shipped when isn't easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)
What to do
- Keep a changelog (e.g. Keep-a-Changelog) recording what shipped in each release.
P7 · Outbound HTTP resilience
P8 · Schema migrations
PF1 · Benchmark discipline
- No BenchmarkDotNet suite was found. For a performance-sensitive library, a benchmark guards against silent regressions — but it's a bonus here, not a deduction.
What to do
- Add a BenchmarkDotNet project for the hot paths (with [MemoryDiagnoser] to track allocations), and run it in CI to catch regressions.
PF2 · Allocation hygiene
What to do
- Raise allocation-aware density on the hot paths — currently 124 use(s) across 42,085 production line(s) (~2.9/1k). More Span/Memory, pooling (ArrayPool/ObjectPool), stackalloc and ValueTask on the allocation-heavy paths climbs this toward 10.
PF3 · Async & latency hygiene
- Only 75/613 awaits use ConfigureAwait(false). A library that captures the caller's context can stall or deadlock its host — the classic way a dependency drags an app down.
What to do
- In library code, append .ConfigureAwait(false) to every await (or set <ConfigureAwait>false</ConfigureAwait> / use the analyzer CA2007) so the library never captures the host's context.
R1 · Type Safety
R10 · Code Duplication
- src/UIs/Spa/react-food-delivery/src/features/products/components/edit-product.tsx:95 · src/UIs/Spa/react-food-delivery/src/features/products/components/edit-product.tsx:113 · src/UIs/Spa/react-food-delivery/src/features/products/components/edit-product.tsx:131 · src/UIs/Spa/react-food-delivery/src/features/products/components/edit-product.tsx:149 — edit-product.tsx:95
- src/UIs/Spa/react-food-delivery/src/features/products/components/edit-product.tsx:177 · src/UIs/Spa/react-food-delivery/src/features/products/components/edit-product.tsx:211 · src/UIs/Spa/react-food-delivery/src/features/products/components/new-product.tsx:142 · src/UIs/Spa/react-food-delivery/src/features/products/components/new-product.tsx:176 — edit-product.tsx:177
- src/UIs/Spa/react-food-delivery/src/features/products/components/edit-product.tsx:212 · src/UIs/Spa/react-food-delivery/src/features/products/components/new-product.tsx:177 — edit-product.tsx:212
- src/UIs/Spa/react-food-delivery/src/features/products/components/edit-product.tsx:11 · src/UIs/Spa/react-food-delivery/src/features/products/components/new-product.tsx:11 — edit-product.tsx:11
- src/UIs/Spa/react-food-delivery/src/features/products/dtos/create-product-request.ts:1 · src/UIs/Spa/react-food-delivery/src/features/products/dtos/update-product-request.ts:1 · src/UIs/Spa/react-food-delivery/src/features/products/models/product.ts:8 — create-product-request.ts:1
- src/UIs/Spa/react-food-delivery/src/features/products/components/product-details.tsx:36 · src/UIs/Spa/react-food-delivery/src/features/products/components/product-list.tsx:75 — product-details.tsx:36
- src/UIs/Spa/react-food-delivery/src/features/home/components/home.tsx:65 · src/UIs/Spa/react-food-delivery/src/features/home/components/home.tsx:81 — home.tsx:65
- src/UIs/Spa/react-food-delivery/src/features/products/components/edit-product.tsx:65 · src/UIs/Spa/react-food-delivery/src/features/products/components/new-product.tsx:33 — edit-product.tsx:65
What to do
- Extract the duplicated blocks into shared functions/components.
R11 · Import Boundaries
R2 · Cyclomatic Complexity
- Branch-heavy code is where defects cluster — extract decisions into smaller functions. — auth-service.ts:92
What to do
- Break down the listed branch-heavy functions; aim P95 cyclomatic ≤ 5.
R3 · Large Files
R4 · Test Coverage
- No test imports this module directly or transitively — its behavior is unverified. (×8) — edit-product.tsx, auth-service.ts, new-product.tsx, …
What to do
- Add tests that import the unreached modules (directly or through their public entry).
R5 · Dependency Freshness
R6 · Tooling
- test ✗ · lint ✗ · typecheck ✗
What to do
- Add the missing tooling (eslint, tsc) as package.json scripts and run them in CI.
R7 · Dead Code
- Unreachable from the 1 application, 6 tooling and 0 test entry point(s) detected in this repo. Gate removals on your build/type-check — an undetected custom entry would make these reachable.
- no import path from any entry point (1 application, 6 tooling, 0 test roots considered) (×7) — product.ts, create-product-request.ts, update-product-request.ts, …
What to do
- Delete the dead files and unused exports — every line is maintenance cost and rebuild-estimate inflation with zero runtime value.
R8 · Dependency Hygiene
- Declared in the root/package.json but never imported anywhere in that package or its workspace members — dead weight and attack surface. Verify against build tooling before removing. (×3)
What to do
- Remove unused dependencies, declare unlisted imports explicitly, and demote type-/test-only packages to devDependencies.
R9 · Circular Imports
S1 · Web-Security Posture
- `RequireHttpsMetadata = false` allows the OIDC discovery doc to be fetched over plain HTTP. Safe for loopback-only fetches (Aspire / on-host); risky for any other path. — DependencyInjectionExtensions.cs:53
What to do
- Set RequireHttpsMetadata = true in prod (or pin MetadataAddress to a localhost URL the API can hit directly).
X1 · Async correctness
X2 · Cancellation propagation
- Only 211/307 async methods accept a CancellationToken, so requests can't be cancelled cleanly under load or on client disconnect. In Blazor Server circuits and other short-write hosts, omitting it can be an accepted convention — judge against your hosting model.
- No CancellationToken parameter — work can't be cancelled cleanly on disconnect/shutdown. (×25) — DevToolBackendClient.cs:15, RedisPubSubExtensions.cs:10, RedisPubSubExtensions.cs:20, …
What to do
- Thread a CancellationToken through async methods so work stops promptly on cancellation.
X3 · Exception handling
X4 · Structured logging
X5 · Nullable reference types
- 0/58 projects enable <Nullable>enable</Nullable>. NRTs catch a whole class of null-deref bugs at compile time.
- ~1.6 `!` suppressions per 1k syntax nodes — 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 | 61% | Adequate — gated by X5 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Architecture | 92% | Exemplary | Strongest area. |
| Maturity | 48% | Weak — gated by D34, M2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 34% | Weak — gated by R4, R6 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 55% | Adequate — gated by D28, D31, D36, D38, C1 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Domain Modelling | 50% | Weak — gated by DM2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Event-Driven | 80% | Strong | Solid. |
| Event Sourcing | 71% | Strong | Solid. |
| Accessibility | 34% | Weak — gated by AC1, AC4 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Performance | 65% | Adequate | Acceptable, with room to improve. |
Not included — 20 check(s) not relevant to this codebase
- AXB2 Runtime readiness — no data
- 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.
- D11 Test Reliability — No tests discovered
- D19 Documentation Quality — LLM evaluation failed
- D23 Boundary Type-Coupling — Bounded contexts not declared
- D25 ADR Conformance — no ADRs to check
- D30 Dependency Vulnerabilities — the solution did not restore on the analyzer's .NET SDK (an SDK/target-framework/restore mismatch, common for an older codebase), so there was no restored dependency graph to scan for NuGet CVEs — excluded rather than scored; re-run on an SDK that can restore this solution
- D32 Data Compliance (PII/GDPR) — No PII/GDPR-handling patterns detected (p/gdpr ruleset) — no data-compliance surface to assess.
- D37 Vulnerability-disclosure Policy — No vulnerability-disclosure policy file found (SECURITY.md, .github/SECURITY.md, docs/SECURITY.md, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
- D39 IL Efficiency — The target did not build, so no IL was available to measure.
- D7 Architectural Integrity — no checkable ADRs and no dependency cycles — architectural integrity not assessed
- D8 Code Coverage — Coverage not measured — analyzer environment
- DM7 Repository granularity — no repository abstraction detected (e.g. uses a document session)
- ED2 Event/command shape — no command-shaped messages detected — single-handler-per-command check not applicable
- ES1 Fold determinism — no Apply/When folds detected — fold-determinism check not applicable
- P12 CI test-gate honesty — no data
- P9 Domain vs controller coverage — no coverage report found on disk — run tests with `--collect:"XPlat Code Coverage"` (or in CI) to enable this cross-layer check
- SC1 Supply-chain hygiene — no data
- X6 Hand-rolled structured-format parsing — no data
- X7 Silent fallback defaults — no data
Appendix A — Findings (grouped)
Issue — 97 finding(s)
- High CVE: [GHSA redacted] package-lock.json
- High CVE: [GHSA redacted] package-lock.json
- High CVE: [GHSA redacted] package-lock.json
- High CVE: [GHSA redacted] package-lock.json
- High CVE: [GHSA redacted] package-lock.json
- High CVE: [GHSA redacted] package-lock.json
- High CVE: [GHSA redacted] package-lock.json
- High CVE: [GHSA redacted] package-lock.json
- High CVE: [GHSA redacted] package-lock.json
- High CVE: [GHSA redacted] package-lock.json
- High CVE: [GHSA redacted] package-lock.json
- High CVE: [GHSA redacted] package-lock.json
- High CVE: [GHSA redacted] package-lock.json
- High CVE: [GHSA redacted] package-lock.json
- High CVE: [GHSA redacted] src/UIs/Spa/react-food-delivery/package-lock.json
- High CVE: [GHSA redacted] src/UIs/Spa/react-food-delivery/package-lock.json
- High CVE: [GHSA redacted] src/UIs/Spa/react-food-delivery/package-lock.json
- High CVE: [GHSA redacted] src/UIs/Spa/react-food-delivery/package-lock.json
- High CVE: [GHSA redacted] src/UIs/Spa/react-food-delivery/package-lock.json
- High CVE: [GHSA redacted] src/UIs/Spa/react-food-delivery/package-lock.json
- High CVE: [GHSA redacted] src/UIs/Spa/react-food-delivery/package-lock.json
- High CVE: [GHSA redacted] src/UIs/Spa/react-food-delivery/package-lock.json
- High CVE: [GHSA redacted] src/UIs/Spa/react-food-delivery/package-lock.json
- High CVE: [GHSA redacted] src/UIs/Spa/react-food-delivery/package-lock.json
- High CVE: [GHSA redacted] src/UIs/Spa/react-food-delivery/package-lock.json
- Secret: generic-api-key _httpclients/http-client.private.env.json:16
- Secret: jwt _httpclients/http-client.private.env.json:19
- Secret: generic-api-key src/Services/Catalogs/FoodDelivery.Services.Catalogs.Api/appsettings.json:32
- Secret: generic-api-key src/Services/Customers/FoodDelivery.Services.Customers.Api/appsettings.json:32
- Secret: generic-api-key src/Services/Identity/FoodDelivery.Services.Identity.Api/appsettings.json:23
- Secret: generic-api-key src/Services/Orders/FoodDelivery.Services.Orders.Api/appsettings.json:31
- Secret: generic-api-key src/Services/Catalogs/ECommerce.Services.Catalogs.Api/appsettings.json:29
- Secret: generic-api-key src/Services/Catalogs/ECommerce.Services.Catalogs.Api/appsettings.json:43
- Secret: generic-api-key src/Services/Customers/ECommerce.Services.Customers.Api/appsettings.json:29
- Secret: generic-api-key src/Services/Customers/ECommerce.Services.Customers.Api/appsettings.json:62
- Secret: generic-api-key src/Services/Identity/ECommerce.Services.Identity.Api/appsettings.json:20
- Secret: generic-api-key src/Services/Identity/ECommerce.Services.Identity.Api/appsettings.json:50
- Secret: generic-api-key src/Services/Orders/ECommerce.Services.Orders.Api/appsettings.json:28
- Secret: generic-api-key src/Services/Orders/ECommerce.Services.Orders.Api/appsettings.json:56
- Secret: generic-api-key src/Services/Store.Services.Orders/Store.Services.Orders.Api/appsettings.json:49
- Secret: generic-api-key src/Services/Store.Services.Catalogs/Store.Services.Catalogs.Api/appsettings.json:22
- Secret: generic-api-key src/Services/Store.Services.Customers/Store.Services.Customers.Api/appsettings.json:22
- Secret: generic-api-key src/Services/Store.Services.Identity/Store.Services.Identity.Api/appsettings.json:10
- Secret: generic-api-key src/Services/Store.Services.Orders/Store.Services.Orders.Api/appsettings.json:9
- Secret: generic-api-key src/Services/Store.Services.Catalogs/Store.Services.Catalogs.Api/appsettings.json:37
- Secret: generic-api-key src/Services/Store.Services.Customers/Store.Services.Customers.Api/appsettings.json:37
- Secret: generic-api-key src/Services/Store.Services.Identity/Store.Services.Identity.Api/appsettings.json:45
- High IaC: DS-0002 .devcontainer/Dockerfile
- High IaC: KSV-0014 deployments/k8s/kubernetes/infrastructure.yaml
- High IaC: KSV-0014 deployments/k8s/kubernetes/infrastructure.yaml
- High IaC: KSV-0118 deployments/k8s/kubernetes/infrastructure.yaml
- High IaC: KSV-0118 deployments/k8s/kubernetes/infrastructure.yaml
- High IaC: KSV-0118 deployments/k8s/kubernetes/infrastructure.yaml
- High IaC: KSV-0118 deployments/k8s/kubernetes/infrastructure.yaml
- High IaC: DS-0002 src/ApiGateway/Dockerfile
- High IaC: DS-0002 src/ApiGateway/Dockerfile.dev
- High IaC: DS-0002 src/Services/Catalogs/Dockerfile
- High IaC: DS-0002 src/Services/Catalogs/Dockerfile.dev
- High IaC: DS-0002 src/Services/Catalogs/Dockerfile.watch
- High IaC: DS-0002 src/Services/Customers/Dockerfile
- High IaC: DS-0002 src/Services/Customers/Dockerfile.dev
- High IaC: DS-0002 src/Services/Customers/Dockerfile.watch
- High IaC: DS-0002 src/Services/Identity/Dockerfile
- High IaC: DS-0002 src/Services/Identity/Dockerfile.dev
- High IaC: DS-0002 src/Services/Identity/Dockerfile.watch
- High IaC: DS-0002 src/Services/Orders/Dockerfile
- High IaC: DS-0002 src/Services/Orders/Dockerfile.dev
- High IaC: DS-0002 src/Services/Orders/Dockerfile.watch
- No assertions (empty test): Test1 tests/ApiGateway/FoodDelivery.ApiGateway.TestShared/UnitTest1.cs:7
- No assertions (empty test): Test1 tests/ApiGateway/FoodDelivery.ApiGateway.UnitTests/UnitTest1.cs:7
- No assertions (empty test): Test1 tests/Services/Catalogs/FoodDelivery.Services.Catalogs.LoadTests/UnitTest1.cs:7
- No assertions (empty test): Test1 tests/Services/Identity/FoodDelivery.Services.Identity.EndToEndTests/UnitTest1.cs:7
- No assertions (empty test): Test1 tests/Services/Identity/FoodDelivery.Services.Identity.TestShared/UnitTest1.cs:7
- No assertions (empty test): Test1 tests/Services/Identity/FoodDelivery.Services.Identity.UnitTests/Tests.cs:8
- No assertions (empty test): category_trait_test tests/Shared/Tests.Shared/XunitCategories/Tests.cs:9
- No assertions (empty test): feature_trait_test tests/Shared/Tests.Shared/XunitCategories/Tests.cs:13
- No assertions (empty test): bug_trait_test tests/Shared/Tests.Shared/XunitCategories/Tests.cs:17
- Leaked secret: jwt _httpclients/http-client.private.env.json:19
- Critical CVE: [GHSA redacted] src/UIs/Spa/react-food-delivery/package-lock.json
Warning — 86 finding(s)
- Off the main sequence: BuildingBlocks.AspireIntegrations
- Off the main sequence: BuildingBlocks.OpenTelemetry
- Off the main sequence: BuildingBlocks.Web
- Off the main sequence: BuildingBlocks.HealthCheck
- Off the main sequence: BuildingBlocks.Resiliency
- Off the main sequence: BuildingBlocks.Validation
- Off the main sequence: BuildingBlocks.SerilogLogging
- Off the main sequence: BuildingBlocks.Persistence.Mongo
- Off the main sequence: BuildingBlocks.OpenApi
- Off the main sequence: BuildingBlocks.Integration.MassTransit
- Off the main sequence: BuildingBlocks.Messaging.Persistence.Postgres
- Off the main sequence: BuildingBlocks.Core
- Off the main sequence: BuildingBlocks.Persistence.EfCore.Postgres
- Off the main sequence: FoodDelivery.Services.Shared
- Off the main sequence: BuildingBlocks.Security
- Off the main sequence: BuildingBlocks.Email
- TodoComment src/BuildingBlocks/BuildingBlocks.Core/Messages/MessagePersistence/MessagePersistenceService.cs:86
- TodoComment src/BuildingBlocks/BuildingBlocks.Core/Persistence/EfCore/Interceptors/AuditInterceptor.cs:23
- TodoComment src/BuildingBlocks/BuildingBlocks.Integration.MassTransit/MessageHandlerConsumerFilter.cs:36
- TodoComment src/BuildingBlocks/BuildingBlocks.Validation/Extensions/DependencyInjectionExtensions.cs:11
- TodoComment src/Services/Customers/FoodDelivery.Services.Customers/Customers/Features/UpdatingCustomer/v1/UpdateCustomer.cs:110
- TodoComment src/Services/Identity/FoodDelivery.Services.Identity.Api/Pages/Device/Index.cshtml.cs:235
- TodoComment src/Services/Orders/FoodDelivery.Services.Orders/Orders/Models/Order.cs:19
- TodoComment tests/Shared/Tests.Shared/Factory/CustomWebApplicationFactory.cs:132
- TodoComment tests/Shared/Tests.Shared/Fixtures/SharedFixture.cs:119
- Medium IaC: DS-0001 .devcontainer/Dockerfile
- Medium IaC: KSV-0001 deployments/k8s/kubernetes/infrastructure.yaml
- Medium IaC: KSV-0001 deployments/k8s/kubernetes/infrastructure.yaml
- Medium IaC: KSV-0012 deployments/k8s/kubernetes/infrastructure.yaml
- Medium IaC: KSV-0012 deployments/k8s/kubernetes/infrastructure.yaml
- Medium IaC: KSV-0013 deployments/k8s/kubernetes/infrastructure.yaml
- Medium IaC: KSV-0104 deployments/k8s/kubernetes/infrastructure.yaml
- Medium IaC: KSV-0104 deployments/k8s/kubernetes/infrastructure.yaml
- No assertions: validate_service_dependencies tests/Services/Catalogs/FoodDelivery.Services.Catalogs.DependencyTests/DependencyTests.cs:17
- No assertions: validate_service_dependencies tests/Services/Customers/FoodDelivery.Services.Customers.DependencyTests/DependencyTests.cs:21
- No assertions: can_create_new_mongo_customer_read_model_in_the_mongodb tests/Services/Customers/FoodDelivery.Services.Customers.IntegrationTests/Customers/Features/CreatingCustomer/v1/CreateCustomerTests.cs:95
- No assertions: should_create_new_customer_in_postgres_write_db_when_after_consuming_message tests/Services/Customers/FoodDelivery.Services.Customers.IntegrationTests/Users/Features/RegisteringUser/v1/Events/External/UserRegisteredTests.cs:66
- No assertions: should_create_new_mongo_customer_read_model_in_the_mongodb_after_consuming_message tests/Services/Customers/FoodDelivery.Services.Customers.IntegrationTests/Users/Features/RegisteringUser/v1/Events/External/UserRegisteredTests.cs:98
- No assertions: validate_service_dependencies tests/Services/Identity/FoodDelivery.Services.Identity.DependencyTests/DependencyTests.cs:21
- CommentedOutCode src/Bffs/Spa.Bff/FoodDelivery.Spa.Bff/Extensions/HostApplicationBuilderExtensions/AuthenticationExtensions.cs:64
- CommentedOutCode src/UIs/BlazorWebApp/FoodDelivery.BlazorWebApp/Extensions/WebApplicationBuilderExtensions/AuthenticationExtensions.cs:60
- CommentedOutCode tests/Shared/Tests.Shared/Factory/CustomWebApplicationFactory.cs:180
- CommentedOutCode src/Services/Customers/FoodDelivery.Services.Customers/RestockSubscriptions/Features/DeletingRestockSubscriptionsByTime/v1/DeleteRestockSubscriptionsByTime.cs:36
- CommentedOutCode tests/Shared/Tests.Shared/Fixtures/Tests/PostgresContainerFixtureTests.cs:24
- CommentedOutCode tests/Shared/Tests.Shared/Fixtures/SharedFixture.cs:509
- Medium CVE: [GHSA redacted] package-lock.json
- Medium CVE: [GHSA redacted] package-lock.json
- Medium CVE: [GHSA redacted] package-lock.json
- Medium CVE: [GHSA redacted] package-lock.json
- Medium CVE: [GHSA redacted] package-lock.json
- Medium CVE: [GHSA redacted] package-lock.json
- BarePragmaDisable src/BuildingBlocks/BuildingBlocks.Caching/Extensions/DependencyInjectionExtensions.cs:17
- BarePragmaDisable src/Services/Identity/FoodDelivery.Services.Identity.Api/Pages/Telemetry.cs:25
- Duplicated block (19 lines × 3) src/BuildingBlocks/BuildingBlocks.Core/Commands/Diagnostics/CommandHandlerMetrics.cs:57
- Duplicated block (19 lines × 3) src/BuildingBlocks/BuildingBlocks.Core/Queries/Diagnostics/QueryHandlerMetrics.cs:57
- Duplicated block (15 lines × 2) src/BuildingBlocks/BuildingBlocks.AspireIntegrations/AspireDashBoard/AspireDashboardHealthCheck.cs:13
- Duplicated block (15 lines × 2) src/BuildingBlocks/BuildingBlocks.Web/ProblemDetail/DefaultExceptionHandler.cs:71
- Duplicated block (12 lines × 2) src/BuildingBlocks/BuildingBlocks.Core/Commands/Diagnostics/CommandHandlerMetrics.cs:39
- Duplicated block (12 lines × 2) src/Services/Customers/FoodDelivery.Services.Customers/Customers/Features/UpdatingCustomer/v1/Events/Internal/Mongo/UpdateCustomerRead.cs:67
- DependencyInjectionExtensions.AddTracingExporters (cyclomatic 19) src/BuildingBlocks/BuildingBlocks.OpenTelemetry/Extensions/DependencyInjectionExtensions.cs:263
- BareSuppressMessage src/Services/Identity/FoodDelivery.Services.Identity.Api/Pages/ExternalLogin/Callback.cshtml.cs:124
- Monorepo: only 1 of 2 solutions was scored
- LLM evaluation failed
- TypeExtensions.AddImplementationsAsTransient (cognitive 30) src/BuildingBlocks/BuildingBlocks.Core/Extensions/TypeExtensions.cs:618
- ApiVersionDescriptionExtensions.BuildDescription (cognitive 26) src/BuildingBlocks/BuildingBlocks.OpenApi/AspnetOpenApi/Extensions/ApiVersionDescriptionExtensions.cs:9
- Index.OnPost (cognitive 23) src/Services/Identity/FoodDelivery.Services.Identity.Api/Pages/Account/Login/Index.cshtml.cs:61
- Duplicate scheduling interfaces with overlapping responsibilities. ICommandBus and ICommandScheduler both expose ScheduleAsync for IInternalCommand. Additionally, IScheduler.ScheduleAsync accepts a generic ScheduleSerializedObject, while the others accept specific command types, creating confusion about which scheduler to use.
- Inconsistent naming for retrieving an entity by ID. Some use FindByIdAsync, others GetByIdAsync, and others GetAsync. This creates confusion about the correct method to call for simple ID-based lookups.
- IPageRequest exposes both properties (PageNumber, PageSize) and a Deconstruct method that returns the same data. This is redundant and potentially confusing for consumers who might use one or the other.
- Multiple interfaces (IMessagePublisher, IBusPublisher, IBusDirectPublisher) all expose Publish/PublishAsync methods for sending messages. The signatures are similar but not identical, leading to ambiguity about which publisher to use.
- Inconsistent naming for identity properties. Some interfaces use 'Id', others use 'Value' or 'Id' with different types (object vs TId). This creates inconsistency in how entities expose their identifiers.
- TooManyMethods: TypeExtensions src/BuildingBlocks/BuildingBlocks.Core/Extensions/TypeExtensions.cs:0
- Unpinned build actions
- Duplicated block (34 lines × 2) src/Services/Customers/FoodDelivery.Services.Customers/Shared/Extensions/HostApplicationBuilderExtensions/InfrastructureExtensions.cs:37
- Duplicated block (28 lines × 2) src/Services/Catalogs/FoodDelivery.Services.Catalogs/Shared/Extensions/HostApplicationBuilderExtensions/InfrastructureExtensions.cs:68
- Duplicated block (26 lines × 2) src/BuildingBlocks/BuildingBlocks.OpenApi/AspnetOpenApi/Extensions/WebApplicationExtensions.cs:20
- Duplicated block (19 lines × 2) src/BuildingBlocks/BuildingBlocks.Core/Web/Extensions/QueryCollectionExtensions.cs:14
- Duplicated block (18 lines × 2) src/BuildingBlocks/BuildingBlocks.Core/Types/Extensions/StringExtensions.cs:39
- Duplicated block (16 lines × 2) src/BuildingBlocks/BuildingBlocks.Core/Persistence/EfCore/StronglyTypedIdValueConverterSelector.cs:35
- Duplicated block (13 lines × 2) src/Services/Customers/FoodDelivery.Services.Customers/Customers/Features/CreatingCustomer/v1/Events/Domain/CustomerCreated.cs:83
- Duplicated block (10 lines × 2) src/Services/Catalogs/FoodDelivery.Services.Catalogs/Products/ProductEventMapper.cs:22
- Duplicated block (6 lines × 2) src/Services/Catalogs/FoodDelivery.Services.Catalogs/Products/Features/CreatingProduct/v1/CreateProduct.cs:45
- Duplicated block (5 lines × 4) src/Services/Catalogs/FoodDelivery.Services.Catalogs/Shared/Extensions/HostApplicationBuilderExtensions/InfrastructureExtensions.cs:82
- Unstable project BuildingBlocks.Persistence.EventStoreDB
- Unstable project BuildingBlocks.Persistence.Marten
- Coverage not measured — analyzer environment
Recommendation — 63 finding(s)
- Shell project: BuildingBlocks.Caching.AzureRedis src/BuildingBlocks/BuildingBlocks.Caching.AzureRedis/BuildingBlocks.Caching.AzureRedis.csproj
- Shell project: BuildingBlocks.Persistence.EfCore.AzureCosmosDB src/BuildingBlocks/BuildingBlocks.Persistence.EfCore.AzureCosmosDB/BuildingBlocks.Persistence.EfCore.AzureCosmosDB.csproj
- Shell project: BuildingBlocks.Persistence.EfCore.AzurePostgres src/BuildingBlocks/BuildingBlocks.Persistence.EfCore.AzurePostgres/BuildingBlocks.Persistence.EfCore.AzurePostgres.csproj
- Shell project: FoodDelivery.Services.Billing.Api src/Services/Billing/FoodDelivery.Services.Billing.Api/FoodDelivery.Services.Billing.Api.csproj
- Shell project: FoodDelivery.Services.Billing src/Services/Billing/FoodDelivery.Services.Billing/FoodDelivery.Services.Billing.csproj
- Shell project: FoodDelivery.Services.Carts.Api src/Services/Carts/FoodDelivery.Services.Carts.Api/FoodDelivery.Services.Carts.Api.csproj
- Shell project: FoodDelivery.Services.Carts src/Services/Carts/FoodDelivery.Services.Carts/FoodDelivery.Services.Carts.csproj
- Shell project: FoodDelivery.Services.Checkouts.Api src/Services/Checkouts/FoodDelivery.Services.Checkouts.Api/FoodDelivery.Services.Checkouts.Api.csproj
- Shell project: FoodDelivery.Services.Checkouts src/Services/Checkouts/FoodDelivery.Services.Checkouts/FoodDelivery.Services.Checkouts.csproj
- Shell project: FoodDelivery.Services.GroceryStores.Api src/Services/GroceryStores/FoodDelivery.Services.GroceryStores.Api/FoodDelivery.Services.GroceryStores.Api.csproj
- Shell project: FoodDelivery.Services.GroceryStores src/Services/GroceryStores/FoodDelivery.Services.GroceryStores/FoodDelivery.Services.GroceryStores.csproj
- Shell project: FoodDelivery.Services.Pricing.Api src/Services/Pricing/FoodDelivery.Services.Pricing.Api/FoodDelivery.Services.Pricing.Api.csproj
- Shell project: FoodDelivery.Services.Pricing src/Services/Pricing/FoodDelivery.Services.Pricing/FoodDelivery.Services.Pricing.csproj
- Shell project: FoodDelivery.Services.Recommendations.Api src/Services/Recommendations/FoodDelivery.Services.Recommendations.Api/FoodDelivery.Services.Recommendations.Api.csproj
- Shell project: FoodDelivery.Services.Recommendations src/Services/Recommendations/FoodDelivery.Services.Recommendations/FoodDelivery.Services.Recommendations.csproj
- Shell project: FoodDelivery.Services.Restaurants.Api src/Services/Restaurants/FoodDelivery.Services.Restaurants.Api/FoodDelivery.Services.Restaurants.Api.csproj
- Shell project: FoodDelivery.Services.Restaurants src/Services/Restaurants/FoodDelivery.Services.Restaurants/FoodDelivery.Services.Restaurants.csproj
- Shell project: FoodDelivery.Services.Reviews.Api src/Services/Reviews/FoodDelivery.Services.Reviews.Api/FoodDelivery.Services.Reviews.Api.csproj
- Shell project: FoodDelivery.Services.Reviews src/Services/Reviews/FoodDelivery.Services.Reviews/FoodDelivery.Services.Reviews.csproj
- Shell project: FoodDelivery.Services.Search.Api src/Services/Search/FoodDelivery.Services.Search.Api/FoodDelivery.Services.Search.Api.csproj
- Shell project: FoodDelivery.Services.Search src/Services/Search/FoodDelivery.Services.Search/FoodDelivery.Services.Search.csproj
- Shell project: FoodDelivery.Services.Shippings.Api src/Services/Shippings/FoodDelivery.Services.Shippings.Api/FoodDelivery.Services.Shippings.Api.csproj
- Shell project: BuildingBlocks.Integration.MassTransit.IntegrationTests tests/BuildingBlocks/MassTransit/BuildingBlocks.Integration.MassTransit.IntegrationTests/BuildingBlocks.Integration.MassTransit.IntegrationTests.csproj
- Shell project: FoodDelivery.Services.Catalogs.EndToEndTests tests/Services/Catalogs/FoodDelivery.Services.Catalogs.EndToEndTests/FoodDelivery.Services.Catalogs.EndToEndTests.csproj
- Shell project: FoodDelivery.Services.Catalogs.IntegrationTests tests/Services/Catalogs/FoodDelivery.Services.Catalogs.IntegrationTests/FoodDelivery.Services.Catalogs.IntegrationTests.csproj
- Low IaC: DS-0026 .devcontainer/Dockerfile
- Low IaC: KSV-0003 deployments/k8s/kubernetes/infrastructure.yaml
- Low IaC: KSV-0003 deployments/k8s/kubernetes/infrastructure.yaml
- Low IaC: KSV-0004 deployments/k8s/kubernetes/infrastructure.yaml
- Low IaC: KSV-0004 deployments/k8s/kubernetes/infrastructure.yaml
- Low IaC: KSV-0011 deployments/k8s/kubernetes/infrastructure.yaml
- Low IaC: KSV-0011 deployments/k8s/kubernetes/infrastructure.yaml
- Low IaC: KSV-0015 deployments/k8s/kubernetes/infrastructure.yaml
- Low IaC: KSV-0015 deployments/k8s/kubernetes/infrastructure.yaml
- Low IaC: KSV-0016 deployments/k8s/kubernetes/infrastructure.yaml
- Low IaC: KSV-0016 deployments/k8s/kubernetes/infrastructure.yaml
- Low IaC: KSV-0018 deployments/k8s/kubernetes/infrastructure.yaml
- Low IaC: KSV-0018 deployments/k8s/kubernetes/infrastructure.yaml
- Low IaC: KSV-0020 deployments/k8s/kubernetes/infrastructure.yaml
- Low IaC: KSV-0020 deployments/k8s/kubernetes/infrastructure.yaml
- Low IaC: KSV-0021 deployments/k8s/kubernetes/infrastructure.yaml
- Low IaC: KSV-0021 deployments/k8s/kubernetes/infrastructure.yaml
- Low IaC: KSV-0030 deployments/k8s/kubernetes/infrastructure.yaml
- Low IaC: KSV-0030 deployments/k8s/kubernetes/infrastructure.yaml
- Low IaC: KSV-0106 deployments/k8s/kubernetes/infrastructure.yaml
- Low IaC: KSV-0106 deployments/k8s/kubernetes/infrastructure.yaml
- No tests discovered
- Off-boarding risk: anonymized user #1
- Thin analysable surface across projects
- No ADRs found
- Inconsistent use of gerund ('Getting') vs noun/verb ('Get') in feature names. Other features in the codebase use the noun form (e.g., 'GetRestockSubscriptionById'), but this feature uses the gerund 'Getting'.
- Inconsistent naming for the same feature. The directory and handler use 'Getting...', but the request class uses 'Get...'.
- Bounded contexts not declared
- redundant comment src/BuildingBlocks/BuildingBlocks.AspireIntegrations/Swagger/SwaggerUiExtensions.cs:33
- Split BuildingBlocks.Abstractions
- Split BuildingBlocks.Core
- Split FoodDelivery.Services.Catalogs
- Rotate the exposed credentials — git history can't be un-committed
- Dormant codebase
- No build provenance
- No artifact signing
- No SBOM
Info — 3 finding(s)
- Mock framework: NSubstitute
- Mock framework: NSubstitute
- Build did not complete in the analyzer
Appendix B — Reproduction & audit trail
| Dimension | Tool | Version | Command | Findings | Raw output |
|---|---|---|---|---|---|
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-banner --report-format json --report-path /dev/stdout --exit-code 0 --source . | 36 | artifacts/raw/gitleaks-history.json |
| D29 · Static Analysis (SAST) | semgrep | — | semgrep --config auto --json --quiet --timeout 0 --metrics off . | 0 | — |
| D30 · Dependency Vulnerabilities | dotnet | — | dotnet: not applicable — the solution did not restore on the analyzer's .NET SDK (an SDK/target-framework/restore mismatch, common for an older codebase), so there was no restored dependency graph to scan for NuGet CVEs — excluded rather than scored; re-run on an SDK that can restore this solution | 0 | — |
| D31 · IaC & Container Security | trivy | — | trivy config --format json --quiet . | 64 | artifacts/raw/trivy-config.json |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep: not applicable — No PII/GDPR-handling patterns detected (p/gdpr ruleset) — no data-compliance surface to assess. | 0 | — |
| D33 · JS/npm Dependency Vulnerabilities | trivy | — | trivy fs --scanners vuln --format json --quiet --severity CRITICAL,HIGH,MEDIUM,LOW --skip-dirs **/bin/** --skip-dirs **/obj/** . --skip-db-update | 0 | — |
| D37 · Vulnerability-disclosure Policy | disclosure | — | disclosure: not applicable — No vulnerability-disclosure policy file found (SECURITY.md, .github/SECURITY.md, docs/SECURITY.md, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed. | 0 | — |
| D38 · OSV Dependency Vulnerabilities | osv-scanner | — | osv-scanner --format json --recursive . | 86 | artifacts/raw/osv-scanner.json |
Appendix C — Personal-data map
Email — 48 field(s)
- CreateUserClientRequestDto.Email src/Aspire/FoodDelivery.ServiceDefaults/Clients/Rest/Identity/Dtos/CreateUserClientRequestDto.cs:5
- IdentityUserClientDto.Email src/Aspire/FoodDelivery.ServiceDefaults/Clients/Rest/Identity/Dtos/IdentityUserClientDto.cs:6
- IdentityRestClientOptions.GetUserByEmailEndpoint src/Aspire/FoodDelivery.ServiceDefaults/Clients/Rest/Identity/Rest/IdentityRestClientOptions.cs:8
- InvalidEmailException.Email src/BuildingBlocks/BuildingBlocks.Core/Domain/Exceptions/InvalidEmailException.cs:7
- EmailObject.ReceiverEmail src/BuildingBlocks/BuildingBlocks.Email/IEmailSender.cs:27
- EmailObject.SenderEmail src/BuildingBlocks/BuildingBlocks.Email/IEmailSender.cs:29
- OpenApiOptions.AuthorEmail src/BuildingBlocks/BuildingBlocks.OpenApi/OpenApiOptions.cs:9
- CustomerReadDto.Email src/Services/Customers/FoodDelivery.Services.Customers/Customers/Dtos/v1/CustomerReadDto.cs:7
- CreateCustomer.Email src/Services/Customers/FoodDelivery.Services.Customers/Customers/Features/CreatingCustomer/v1/CreateCustomer.cs:25
- CreateCustomerRequest.Email src/Services/Customers/FoodDelivery.Services.Customers/Customers/Features/CreatingCustomer/v1/CreateCustomerEndpoint.cs:66
- CustomerCreated.Email src/Services/Customers/FoodDelivery.Services.Customers/Customers/Features/CreatingCustomer/v1/Events/Domain/CustomerCreated.cs:21
- CreateCustomerRead.Email src/Services/Customers/FoodDelivery.Services.Customers/Customers/Features/CreatingCustomer/v1/Events/Internal/Mongo/CreateCustomerRead.cs:13
- CustomerUpdated.Email src/Services/Customers/FoodDelivery.Services.Customers/Customers/Features/UpdatingCustomer/v1/Events/Domain/CustomerUpdated.cs:20
- UpdateCustomerRead.Email src/Services/Customers/FoodDelivery.Services.Customers/Customers/Features/UpdatingCustomer/v1/Events/Internal/Mongo/UpdateCustomerRead.cs:16
- UpdateCustomer.Email src/Services/Customers/FoodDelivery.Services.Customers/Customers/Features/UpdatingCustomer/v1/UpdateCustomer.cs:24
- UpdateCustomerRequest.Email src/Services/Customers/FoodDelivery.Services.Customers/Customers/Features/UpdatingCustomer/v1/UpdateCustomerEndpoint.cs:59
- Customer.Email src/Services/Customers/FoodDelivery.Services.Customers/Customers/Models/Customer.cs:40
- CustomerReadModel.Email src/Services/Customers/FoodDelivery.Services.Customers/Customers/Models/Reads/CustomerReadModel.cs:10
- RestockSubscriptionDto.Email src/Services/Customers/FoodDelivery.Services.Customers/RestockSubscriptions/Dtos/v1/RestockSubscriptionDto.cs:7
- CreateMongoRestockSubscriptionReadModels.Email src/Services/Customers/FoodDelivery.Services.Customers/RestockSubscriptions/Features/CreatingRestockSubscription/v1/CreateMongoRestockSubscriptionReadModels.cs:15
- CreateRestockSubscription.Email src/Services/Customers/FoodDelivery.Services.Customers/RestockSubscriptions/Features/CreatingRestockSubscription/v1/CreateRestockSubscription.cs:21
- CreateRestockSubscriptionRequest.Email src/Services/Customers/FoodDelivery.Services.Customers/RestockSubscriptions/Features/CreatingRestockSubscription/v1/CreateRestockSubscriptionEndpoint.cs:66
- RestockSubscriptionCreated.Email src/Services/Customers/FoodDelivery.Services.Customers/RestockSubscriptions/Features/CreatingRestockSubscription/v1/Events/Domain/RestockSubscriptionCreated.cs:24
- GetRestockSubscriptions.Emails src/Services/Customers/FoodDelivery.Services.Customers/RestockSubscriptions/Features/GettingRestockSubscriptions/v1/GetRestockSubscriptions.cs:37
- GetRestockSubscriptionsRequestParameters.Email src/Services/Customers/FoodDelivery.Services.Customers/RestockSubscriptions/Features/GettingRestockSubscriptions/v1/GetRestockSubscriptionsEndpoint.cs:72
- UpdateMongoRestockSubscriptionReadModel.Email src/Services/Customers/FoodDelivery.Services.Customers/RestockSubscriptions/Features/ProcessingRestockNotification/v1/UpdateMongoRestockSubscriptionReadModel.cs:13
- SendRestockNotificationHandler._emailConfig src/Services/Customers/FoodDelivery.Services.Customers/RestockSubscriptions/Features/SendingRestockNotification/v1/SendRestockNotification.cs:33
- RestockSubscriptionReadModel.Email src/Services/Customers/FoodDelivery.Services.Customers/RestockSubscriptions/Models/Read/RestockSubscriptionReadModel.cs:13
- RestockSubscription.Email src/Services/Customers/FoodDelivery.Services.Customers/RestockSubscriptions/Models/RestockSubscription.cs:36
- CreateUserClientRequestDto.Email src/Services/Customers/FoodDelivery.Services.Customers/Shared/Clients/Rest/Identity/Dtos/CreateUserClientRequestDto.cs:5
- IdentityUserClientDto.Email src/Services/Customers/FoodDelivery.Services.Customers/Shared/Clients/Rest/Identity/Dtos/IdentityUserClientDto.cs:6
- IdentityRestClientOptions.GetUserByEmailEndpoint src/Services/Customers/FoodDelivery.Services.Customers/Shared/Clients/Rest/Identity/Rest/IdentityRestClientOptions.cs:8
- UserIdentity.Email src/Services/Customers/FoodDelivery.Services.Customers/Users/Model/IdentityUser.cs:6
- InputModel.Email src/Services/Identity/FoodDelivery.Services.Identity.Api/Pages/Account/Register/InputModel.cs:24
- EmailNotConfirmedException.Email src/Services/Identity/FoodDelivery.Services.Identity/Identity/Exceptions/EmailNotConfirmedException.cs:14
- SendEmailVerificationCode.Email src/Services/Identity/FoodDelivery.Services.Identity/Identity/Features/SendingEmailVerificationCode/v1/SendEmailVerificationCode.cs:11
- SendEmailVerificationCodeRequest.Email src/Services/Identity/FoodDelivery.Services.Identity/Identity/Features/SendingEmailVerificationCode/v1/SendEmailVerificationCodeEndpoint.cs:40
- VerifyEmail.Email src/Services/Identity/FoodDelivery.Services.Identity/Identity/Features/VerifyingEmail/v1/VerifyEmail.cs:15
- VerifyEmailRequest.Email src/Services/Identity/FoodDelivery.Services.Identity/Identity/Features/VerifyingEmail/v1/VerifyEmailEndpoint.cs:43
- IdentityUserDto.Email src/Services/Identity/FoodDelivery.Services.Identity/Users/Dtos/v1/IdentityUserDto.cs:9
Name — 44 field(s)
- CreateUserClientRequestDto.FirstName src/Aspire/FoodDelivery.ServiceDefaults/Clients/Rest/Identity/Dtos/CreateUserClientRequestDto.cs:6
- CreateUserClientRequestDto.LastName src/Aspire/FoodDelivery.ServiceDefaults/Clients/Rest/Identity/Dtos/CreateUserClientRequestDto.cs:7
- IdentityUserClientDto.FirstName src/Aspire/FoodDelivery.ServiceDefaults/Clients/Rest/Identity/Dtos/IdentityUserClientDto.cs:8
- IdentityUserClientDto.LastName src/Aspire/FoodDelivery.ServiceDefaults/Clients/Rest/Identity/Dtos/IdentityUserClientDto.cs:9
- CustomerCreated.FirstName src/Services/Customers/FoodDelivery.Services.Customers/Customers/Features/CreatingCustomer/v1/Events/Domain/CustomerCreated.cs:19
- CustomerCreated.LastName src/Services/Customers/FoodDelivery.Services.Customers/Customers/Features/CreatingCustomer/v1/Events/Domain/CustomerCreated.cs:20
- CreateCustomerRead.FirstName src/Services/Customers/FoodDelivery.Services.Customers/Customers/Features/CreatingCustomer/v1/Events/Internal/Mongo/CreateCustomerRead.cs:14
- CreateCustomerRead.LastName src/Services/Customers/FoodDelivery.Services.Customers/Customers/Features/CreatingCustomer/v1/Events/Internal/Mongo/CreateCustomerRead.cs:15
- CreateCustomerRead.FullName src/Services/Customers/FoodDelivery.Services.Customers/Customers/Features/CreatingCustomer/v1/Events/Internal/Mongo/CreateCustomerRead.cs:24
- CustomerUpdated.FirstName src/Services/Customers/FoodDelivery.Services.Customers/Customers/Features/UpdatingCustomer/v1/Events/Domain/CustomerUpdated.cs:18
- CustomerUpdated.LastName src/Services/Customers/FoodDelivery.Services.Customers/Customers/Features/UpdatingCustomer/v1/Events/Domain/CustomerUpdated.cs:19
- UpdateCustomerRead.FirstName src/Services/Customers/FoodDelivery.Services.Customers/Customers/Features/UpdatingCustomer/v1/Events/Internal/Mongo/UpdateCustomerRead.cs:17
- UpdateCustomerRead.LastName src/Services/Customers/FoodDelivery.Services.Customers/Customers/Features/UpdatingCustomer/v1/Events/Internal/Mongo/UpdateCustomerRead.cs:18
- UpdateCustomerRead.FullName src/Services/Customers/FoodDelivery.Services.Customers/Customers/Features/UpdatingCustomer/v1/Events/Internal/Mongo/UpdateCustomerRead.cs:27
- UpdateCustomer.FirstName src/Services/Customers/FoodDelivery.Services.Customers/Customers/Features/UpdatingCustomer/v1/UpdateCustomer.cs:22
- UpdateCustomer.LastName src/Services/Customers/FoodDelivery.Services.Customers/Customers/Features/UpdatingCustomer/v1/UpdateCustomer.cs:23
- UpdateCustomerRequest.FirstName src/Services/Customers/FoodDelivery.Services.Customers/Customers/Features/UpdatingCustomer/v1/UpdateCustomerEndpoint.cs:57
- UpdateCustomerRequest.LastName src/Services/Customers/FoodDelivery.Services.Customers/Customers/Features/UpdatingCustomer/v1/UpdateCustomerEndpoint.cs:58
- CustomerReadModel.FirstName src/Services/Customers/FoodDelivery.Services.Customers/Customers/Models/Reads/CustomerReadModel.cs:11
- CustomerReadModel.LastName src/Services/Customers/FoodDelivery.Services.Customers/Customers/Models/Reads/CustomerReadModel.cs:12
- CustomerReadModel.FullName src/Services/Customers/FoodDelivery.Services.Customers/Customers/Models/Reads/CustomerReadModel.cs:13
- CustomerName.FirstName src/Services/Customers/FoodDelivery.Services.Customers/Customers/Models/ValueObjects/CustomerName.cs:13
- CustomerName.LastName src/Services/Customers/FoodDelivery.Services.Customers/Customers/Models/ValueObjects/CustomerName.cs:14
- CustomerName.FullName src/Services/Customers/FoodDelivery.Services.Customers/Customers/Models/ValueObjects/CustomerName.cs:15
- CreateUserClientRequestDto.FirstName src/Services/Customers/FoodDelivery.Services.Customers/Shared/Clients/Rest/Identity/Dtos/CreateUserClientRequestDto.cs:6
- CreateUserClientRequestDto.LastName src/Services/Customers/FoodDelivery.Services.Customers/Shared/Clients/Rest/Identity/Dtos/CreateUserClientRequestDto.cs:7
- IdentityUserClientDto.FirstName src/Services/Customers/FoodDelivery.Services.Customers/Shared/Clients/Rest/Identity/Dtos/IdentityUserClientDto.cs:8
- IdentityUserClientDto.LastName src/Services/Customers/FoodDelivery.Services.Customers/Shared/Clients/Rest/Identity/Dtos/IdentityUserClientDto.cs:9
- UserIdentity.FirstName src/Services/Customers/FoodDelivery.Services.Customers/Users/Model/IdentityUser.cs:8
- UserIdentity.LastName src/Services/Customers/FoodDelivery.Services.Customers/Users/Model/IdentityUser.cs:9
- InputModel.FirstName src/Services/Identity/FoodDelivery.Services.Identity.Api/Pages/Account/Register/InputModel.cs:11
- InputModel.LastName src/Services/Identity/FoodDelivery.Services.Identity.Api/Pages/Account/Register/InputModel.cs:15
- ApplicationUser.FirstName src/Services/Identity/FoodDelivery.Services.Identity/Shared/Models/ApplicationUser.cs:10
- ApplicationUser.LastName src/Services/Identity/FoodDelivery.Services.Identity/Shared/Models/ApplicationUser.cs:11
- IdentityUserDto.FirstName src/Services/Identity/FoodDelivery.Services.Identity/Users/Dtos/v1/IdentityUserDto.cs:11
- IdentityUserDto.LastName src/Services/Identity/FoodDelivery.Services.Identity/Users/Dtos/v1/IdentityUserDto.cs:12
- RegisterUser.FirstName src/Services/Identity/FoodDelivery.Services.Identity/Users/Features/RegisteringUser/v1/RegisterUser.cs:17
- RegisterUser.LastName src/Services/Identity/FoodDelivery.Services.Identity/Users/Features/RegisteringUser/v1/RegisterUser.cs:18
- RegisterUserRequest.FirstName src/Services/Identity/FoodDelivery.Services.Identity/Users/Features/RegisteringUser/v1/RegisterUserEndpoint.cs:59
- RegisterUserRequest.LastName src/Services/Identity/FoodDelivery.Services.Identity/Users/Features/RegisteringUser/v1/RegisterUserEndpoint.cs:60
Phone — 19 field(s)
- IdentityUserClientDto.PhoneNumber src/Aspire/FoodDelivery.ServiceDefaults/Clients/Rest/Identity/Dtos/IdentityUserClientDto.cs:7
- InvalidPhoneNumberException.PhoneNumber src/BuildingBlocks/BuildingBlocks.Core/Domain/Exceptions/InvalidPhoneNumberException.cs:7
- CustomerReadDto.PhoneNumber src/Services/Customers/FoodDelivery.Services.Customers/Customers/Dtos/v1/CustomerReadDto.cs:15
- CustomerCreated.PhoneNumber src/Services/Customers/FoodDelivery.Services.Customers/Customers/Features/CreatingCustomer/v1/Events/Domain/CustomerCreated.cs:22
- CreateCustomerRead.PhoneNumber src/Services/Customers/FoodDelivery.Services.Customers/Customers/Features/CreatingCustomer/v1/Events/Internal/Mongo/CreateCustomerRead.cs:16
- CustomerUpdated.PhoneNumber src/Services/Customers/FoodDelivery.Services.Customers/Customers/Features/UpdatingCustomer/v1/Events/Domain/CustomerUpdated.cs:21
- UpdateCustomerRead.PhoneNumber src/Services/Customers/FoodDelivery.Services.Customers/Customers/Features/UpdatingCustomer/v1/Events/Internal/Mongo/UpdateCustomerRead.cs:19
- UpdateCustomer.PhoneNumber src/Services/Customers/FoodDelivery.Services.Customers/Customers/Features/UpdatingCustomer/v1/UpdateCustomer.cs:25
- UpdateCustomerRequest.PhoneNumber src/Services/Customers/FoodDelivery.Services.Customers/Customers/Features/UpdatingCustomer/v1/UpdateCustomerEndpoint.cs:60
- Customer.PhoneNumber src/Services/Customers/FoodDelivery.Services.Customers/Customers/Models/Customer.cs:45
- CustomerReadModel.PhoneNumber src/Services/Customers/FoodDelivery.Services.Customers/Customers/Models/Reads/CustomerReadModel.cs:14
- IdentityUserClientDto.PhoneNumber src/Services/Customers/FoodDelivery.Services.Customers/Shared/Clients/Rest/Identity/Dtos/IdentityUserClientDto.cs:7
- UserIdentity.PhoneNumber src/Services/Customers/FoodDelivery.Services.Customers/Users/Model/IdentityUser.cs:7
- InputModel.PhoneNumber src/Services/Identity/FoodDelivery.Services.Identity.Api/Pages/Account/Register/InputModel.cs:28
- IdentityUserDto.PhoneNumber src/Services/Identity/FoodDelivery.Services.Identity/Users/Dtos/v1/IdentityUserDto.cs:10
- RegisterUser.PhoneNumber src/Services/Identity/FoodDelivery.Services.Identity/Users/Features/RegisteringUser/v1/RegisterUser.cs:21
- RegisterUserRequest.PhoneNumber src/Services/Identity/FoodDelivery.Services.Identity/Users/Features/RegisteringUser/v1/RegisterUserEndpoint.cs:63
- CustomerUpdatedV1.PhoneNumber src/Services/Shared/FoodDelivery.Services.Shared/Customers/Customers/Events/Integration/v1/CustomerUpdatedV1.cs:11
- UserRegisteredV1.PhoneNumber src/Services/Shared/FoodDelivery.Services.Shared/Identity/Users/Events/Integration/v1/UserRegisteredV1.cs:9
Date of birth — 10 field(s)
- CustomerReadDto.BirthDate src/Services/Customers/FoodDelivery.Services.Customers/Customers/Dtos/v1/CustomerReadDto.cs:14
- CustomerCreated.BirthDate src/Services/Customers/FoodDelivery.Services.Customers/Customers/Features/CreatingCustomer/v1/Events/Domain/CustomerCreated.cs:27
- CreateCustomerRead.BirthDate src/Services/Customers/FoodDelivery.Services.Customers/Customers/Features/CreatingCustomer/v1/Events/Internal/Mongo/CreateCustomerRead.cs:17
- CustomerUpdated.BirthDate src/Services/Customers/FoodDelivery.Services.Customers/Customers/Features/UpdatingCustomer/v1/Events/Domain/CustomerUpdated.cs:23
- UpdateCustomerRead.BirthDate src/Services/Customers/FoodDelivery.Services.Customers/Customers/Features/UpdatingCustomer/v1/Events/Internal/Mongo/UpdateCustomerRead.cs:20
- UpdateCustomer.BirthDate src/Services/Customers/FoodDelivery.Services.Customers/Customers/Features/UpdatingCustomer/v1/UpdateCustomer.cs:26
- UpdateCustomerRequest.BirthDate src/Services/Customers/FoodDelivery.Services.Customers/Customers/Features/UpdatingCustomer/v1/UpdateCustomerEndpoint.cs:61
- Customer.BirthDate src/Services/Customers/FoodDelivery.Services.Customers/Customers/Models/Customer.cs:44
- CustomerReadModel.BirthDate src/Services/Customers/FoodDelivery.Services.Customers/Customers/Models/Reads/CustomerReadModel.cs:19
- CustomerUpdatedV1.BirthDate src/Services/Shared/FoodDelivery.Services.Shared/Customers/Customers/Events/Integration/v1/CustomerUpdatedV1.cs:14
Address — 2 field(s)
- Address.PostalCode src/BuildingBlocks/BuildingBlocks.Core/Domain/ValueObjects/Address.cs:16
- AddressDto.ZipCode src/Services/Customers/FoodDelivery.Services.Customers/Customers/Dtos/v1/AddressDto.cs:3