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-modular-monolith carries serious risk (43%). Several issues below can materially affect reliability, security, or the cost of change and warrant near-term attention.
The area that most needs attention is Security (37%) — exposure to security and compliance incidents is elevated. Readiness (38%) is the next concern — operating, monitoring and recovering the system safely is harder.
Leadership focus, highest impact first: Encrypt sensitive data at rest (ASP.NET Core Data Protection /… (Data Protection); Set RequireHttpsMetadata = true in prod (or pin MetadataAddress… (Web-Security Posture); Back the audit convention with a structural mechanism (Audit Trail).
For scale: Medium (~22,201 production lines); rebuilding it from scratch would take roughly ~0.2 person-years (~1 engineer). Approximate, ±~30%.
Raise Security 37 → 70 (the Healthy floor) ⇒ headline 43 → ~48.
Rebuild cost & value ~ Modeled — €11,000–€56,000
| Cost to rebuild | €11,000–€56,000 |
| Domain complexity | Very high |
| Quality factor | 0.7× (at 43% quality) |
| Size & shape | Medium · 46% boilerplate · 36% straight-line · 18% branching logic |
This codebase represents roughly ~0.2 person-years of build effort (about ~€34,000 to rebuild). Its weakest lens is Security at 37% — the part of that asset most exposed by the findings below.
Top priorities
Diagnosis — what's actually going on
Trajectory
Architecture — module 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 — Performance
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A02:2021 — Cryptographic Failures | 15 | High / Critical |
| A05:2021 — Security Misconfiguration | 3 | High / Critical |
Roadmap
First, encrypt sensitive data at rest and manage keys securely, while ensuring HTTPS metadata is strictly required in production. Next, implement a structural audit trail using an EF SaveChanges interceptor to log all sensitive changes immutably. Then, resolve the seven deprecated dependencies to improve hygiene. Finally, codify backups and geo-recovery in infrastructure as code, documenting RTO/RPO and restore procedures to ensure true disaster recovery.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 7 Deprecated finding(s) in Dependency Hygiene. | +5.0 pts | Low | Dependency Hygiene |
| Resolve the 4 Vulnerable finding(s) in Dependency Hygiene. | +4.7 pts | Low | Dependency Hygiene |
| Resolve the 2 No assertions (empty test) finding(s) in Test Quality — start with UnitTest1.cs (2). | +4.4 pts | Low | Test Quality |
| 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.). | +5.2 pts | Medium | Data Protection |
| Set RequireHttpsMetadata = true in prod (or pin MetadataAddress to a localhost URL the API can hit directly). | +5.1 pts | Medium | Web-Security Posture |
| 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. | +5.1 pts | Medium | Audit Trail |
| Codify backups + geo-recovery in IaC and document RTO/RPO and the restore procedure — a persistence guard alone is not disaster recovery. | +5.0 pts | Medium | DR & Backup |
| Add readiness/liveness probes and a rolling-update (or blue/green) strategy so a bad release is caught and rolled back automatically. | +4.5 pts | Medium | Deployment & Rollback |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| .devcontainer/Dockerfile | 4.4 | Mixed | IaC & Container Security: High IaC: DS-0002 |
| src/Modules/Identity/ECommerce.Modules.Identity/identity.appsettings.json | 5.8 | Mixed | Secrets (history): Secret: generic-api-key |
| src/Api/ECommerce.Api/appsettings.docker.json | 5.8 | Mixed | Secrets (history): Secret: generic-api-key |
| src/Api/ECommerce.Api/appsettings.json | 5.8 | Mixed | Secrets (history): Secret: generic-api-key |
| src/BuildingBlocks/BuildingBlocks.Core/Extensions/TypeExtensions.cs | 6.0 | Mixed | Explicit Debt: Dead code: GetImplementedInterfacesToMap |
| src/BuildingBlocks/BuildingBlocks.Core/Extensions/ReflectionExtensions.cs | 6.0 | Mixed | Explicit Debt: Dead code: GenericParametersMatch |
| tests/building-blocks/Core/BuildingBlocks.Core.IntegrationTests/BusPublishTests.cs | 6.5 | Mixed | Explicit Debt: CommentedOutCode |
| src/BuildingBlocks/BuildingBlocks.Core/Persistence/EfCore/EfDbContextBase.cs | 6.7 | Mixed | Explicit Debt: TodoComment |
| src/Modules/Identity/FoodDelivery.Modules.Identity/IdentityModuleConfiguration.cs | 6.7 | Mixed | Explicit Debt: TodoComment |
| src/Api/FoodDelivery.Api/appsettings.json | 7.2 | Mixed | Secrets (history): Secret: generic-api-key |
| src/Api/FoodDelivery.Api/appsettings.docker.json | 7.2 | Mixed | Secrets (history): Secret: generic-api-key |
| src/Api/FoodDelivery.Api/tempkey.jwk | 7.2 | Mixed | Secrets (history): Secret: generic-api-key |
| src/Modules/Identity/FoodDelivery.Modules.Identity/identity.appsettings.json | 7.2 | Mixed | Secrets (history): Secret: generic-api-key |
| src/Modules/Catalogs/ECommerce.Modules.Catalogs/catalogs.appsettings.json | 7.2 | Mixed | Secrets (history): Secret: generic-api-key |
| src/Modules/Customers/ECommerce.Modules.Customers/customers.appsettings.json | 7.2 | Mixed | Secrets (history): Secret: generic-api-key |
| src/Modules/Orders/ECommerce.Modules.Orders/orders.appsettings.json | 7.2 | Mixed | Secrets (history): Secret: generic-api-key |
| src/Api/ECommerce.Api/tempkey.jwk | 7.2 | Mixed | Secrets (history): Secret: generic-api-key |
| src/BuildingBlocks/BuildingBlocks.Core/Messaging/Broker/InMemory/InMemoryBus.cs | 7.8 | Mixed | Cognitive Complexity: InMemoryBus.ReceivingMessages (cognitive 16) |
| tests/modules/Identity/FoodDelivery.Modules.Identity.EndToEndTests/UnitTest1.cs | 8.0 | Near-clean | Test Quality: No assertions (empty test): Test1 |
| tests/modules/Identity/FoodDelivery.Modules.Identity.UnitTests/UnitTest1.cs | 8.0 | Near-clean | Test Quality: No assertions (empty test): Test1 |
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. 70 of 73 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 3 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.7 — 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 — 73 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, 63 of 200 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.
- D33 JS/npm 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.
- 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.
- D38 OSV 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.
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.
- D23 Boundary Type-Coupling: Boundary leakage is detected from type references across detected contexts — leaks that flow through primitives, serialization or shared infrastructure may not surface as a typed reference.
- 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.
- 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.
- AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
- AX9 CQS / query purity: Handlers are found by interface/name convention — a query handler using neither is not seen. Mutation is a resolved write/publish invocation (SaveChanges/repository/bus), so a write hidden behind a hand-rolled wrapper, reflection, or a string-keyed service locator resolves to a non-persistence type and isn't flagged; it detects that a query writes state, not whether the write is a legitimate read-side cache update. Clean means "no resolved write/publish in a query body", not a proof of CQS purity.
- C3 Audit Trail: This control is scored from in-repo evidence only — a working control configured outside the repository leaves no signal a static scan can credit.
- DM4 Rich vs anemic model: Behaviour is detected as state mutation inside a method body — a method that enforces an invariant by validating-and-throwing without mutating reads as a query, and mutation delegated through an interface the scan can't resolve isn't credited; entities with zero public properties still drop out of the population. It detects that state changes, not whether the rule is correct.
- DM6 Domain ↔ infrastructure boundary: Infrastructure reached through a hand-rolled wrapper, a domain-named facade, reflection, or a string-keyed service locator resolves to a non-infra type and isn't seen; the body scan is symbol resolution over syntax, not full dataflow. A clean result means "no resolved infra reference in a domain body", not a proof of purity.
- ED5 Idempotency: Idempotency is judged from the handler body's visible writes and guards — a guard enforced by a database unique constraint, a broker's exactly-once delivery, or a domain method whose no-op-when-applied logic the scan can't follow may read as at-risk; the at-risk candidates are confirmed by a SAMPLED LLM verdict (advisory, not exhaustive) and degrade to heuristic-only when no model is configured. It flags the at-least-once double-apply SHAPE, not a runtime proof of a duplicate effect.
- M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present — it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.
- P4 Deployment & Rollback: Approval/branch-protection rules live in repository settings the scan cannot see — only their in-repo evidence (config files, workflows) is checked, so a control enforced purely in the host's settings reads as "not evidenced".
- P5 DR & Backup: Backup/restore and disaster-recovery readiness is judged from in-repo evidence — a config that exists is not a tested restore, so the absence of positive evidence is reported as "not evidenced", never scored as present.
The LLM boundary
Dimensions
D1 · Cyclomatic Complexity
0 method(s) exceeded the cyclomatic complexity threshold of 15.
D2 · Cognitive Complexity
5 method(s) exceeded the cognitive complexity threshold of 15; the worst was TypeExtensions.AddImplementationsAsTransient at 30.
What to do
- Resolve the 1 TypeExtensions.AddImplementationsAsTransient (cognitive 30) finding(s) in Cognitive Complexity — start with TypeExtensions.cs. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 ReflectionExtensions.TraverseObjectGraphRecursively (cognitive 26) finding(s) in Cognitive Complexity — start with ReflectionExtensions.cs. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 EfDbContextBase.OnBeforeSaving (cognitive 18) finding(s) in Cognitive Complexity — start with EfDbContextBase.cs. — One of this dimension's main actionable groups (1 warning-level).
- Enforce Cognitive Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D3 · God Classes
1 god class(es) detected.
D4 · Code Duplication
7 duplicated block group(s) detected.
D5 · Coupling
27 projects, 0 dependency cycle(s), 1 unstable depended-on project(s).
D6 · Cohesion (LCOM4)
2 of 38 classes have LCOM4 above 3.
D9 · Test Distribution
11 test methods: 2 unit, 9 integration, 0 BDD, 0 e2e.
D10 · Test Quality
0 skipped, 2 zero-assertion, 1 mock references across 11 tests.
What to do
- Resolve the 2 No assertions (empty test) finding(s) in Test Quality — start with UnitTest1.cs (2). — One of this dimension's main actionable groups (2 issue-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
96 outdated, 4 vulnerable, 7 deprecated packages.
What to do
- Resolve the 7 Deprecated finding(s) in Dependency Hygiene. — One of this dimension's main actionable groups (7 warning-level).
- Resolve the 4 Vulnerable finding(s) in Dependency Hygiene. — One of this dimension's main actionable groups (4 issue-level).
- Enforce Dependency Hygiene in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D13 · Secret Scanning
Secret scan ran and found no leaked secrets.
D14 · License Compliance
0 of 114 packages use a banned license.
D15 · Churn × Complexity Hotspots
No churn × complexity hotspots in the window.
D16 · Bus Factor
No source file's living knowledge is concentrated in a single author.
D17 · Explicit Debt
15 deducted debt markers + 9 dead symbols across 20495 LoC (0.2/KLoC) → score 9.5.
D18 · Solution Shape
27 projects, 738 .cs files, 22087 hand-written lines of code (20495 production / 1592 test), plus 2749 generated (EF migrations / designer / snapshots, excluded from quality), 190 inter-project edges.
What to do
- Resolve the 5 Shell project finding(s) in Solution Shape — start with BuildingBlocks.Core.IntegrationTests.csproj, FoodDelivery.Modules.Customers.EndToEndTests.csproj, FoodDelivery.Modules.Customers.UnitTests.csproj. — One of this dimension's main actionable groups (5 recommendation-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
0 naming inconsistencies across 200 sampled symbols.
D23 · Boundary Type-Coupling
No domain types are scored-flagged across 6 context boundaries; 4 contract project(s) carry advisory strong-ID notes.
D24 · Comment Value
42 valuable / 0 redundant across 200 sampled comments.
D26 · Project Cohesion
2 of 27 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).
D27 · Navigability
90 % of calls cross a namespace and 12 % 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.
What to do
- Improve Navigability — currently 8.8/10. — 90 % of calls cross a namespace and 12 % 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)
14 finding(s): 0 critical, 14 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 14 Secret finding(s) in Secrets (history) — start with appsettings.docker.json (3), appsettings.json (3), identity.appsettings.json (3). — One of this dimension's main actionable groups (14 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
3 finding(s): 0 critical, 1 high, 1 medium, 1 low.
D34 · Knowledge Freshness
94 of 94 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).
Frontend & cross-cutting dimensions
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
- `IConsumeContext` declares 19 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. — IConsumeContext.cs:11
What to do
- Split fat interfaces into focused role-interfaces so clients depend only on what they use.
AX7 · Slice cohesion
AX8 · Test isolation
- `BuildingBlocks.Core.IntegrationTests` (production) references the test project `Tests.Shared`. Production must never depend on test code — it pulls a unit-test framework and test fixtures into the shipped product and inverts the only correct direction (tests depend on production, never the reverse). Move any shared helper into a production support library, or invert the reference.
- `FoodDelivery.Modules.Customers.EndToEndTests` (production) references the test project `Tests.Shared`. Production must never depend on test code — it pulls a unit-test framework and test fixtures into the shipped product and inverts the only correct direction (tests depend on production, never the reverse). Move any shared helper into a production support library, or invert the reference.
- `FoodDelivery.Modules.Customers.IntegrationTests` (production) references the test project `Tests.Shared`. Production must never depend on test code — it pulls a unit-test framework and test fixtures into the shipped product and inverts the only correct direction (tests depend on production, never the reverse). Move any shared helper into a production support library, or invert the reference.
- `FoodDelivery.Modules.Customers.UnitTests` (production) references the test project `Tests.Shared`. Production must never depend on test code — it pulls a unit-test framework and test fixtures into the shipped product and inverts the only correct direction (tests depend on production, never the reverse). Move any shared helper into a production support library, or invert the reference.
- `FoodDelivery.Modules.Identity.EndToEndTests` (production) references the test project `Tests.Shared`. Production must never depend on test code — it pulls a unit-test framework and test fixtures into the shipped product and inverts the only correct direction (tests depend on production, never the reverse). Move any shared helper into a production support library, or invert the reference.
- `FoodDelivery.Modules.Identity.IntegrationTests` (production) references the test project `Tests.Shared`. Production must never depend on test code — it pulls a unit-test framework and test fixtures into the shipped product and inverts the only correct direction (tests depend on production, never the reverse). Move any shared helper into a production support library, or invert the reference.
- `FoodDelivery.Modules.Identity.UnitTests` (production) references the test project `Tests.Shared`. Production must never depend on test code — it pulls a unit-test framework and test fixtures into the shipped product and inverts the only correct direction (tests depend on production, never the reverse). Move any shared helper into a production support library, or invert the reference.
What to do
- Remove every production → test project reference: extract any shared test helper into a production support library (which the tests reference), or invert the dependency so the test project depends on production — not the reverse.
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.).
- Enforce HTTPS (UseHttpsRedirection / RequireHttpsMetadata) so data in transit is always encrypted.
C2 · Access Controls
C3 · Audit Trail
- An audit marker (IAuditable / AddAuditing) was found, but no structural mechanism (an EF SaveChanges interceptor, an immutable audit-log type, or [Audited] usage) — the trail's completeness can't be confirmed from the source.
What to do
- Back the audit convention with a structural mechanism: an EF SaveChanges interceptor (or equivalent) writing every sensitive change to an immutable audit log, and apply [Audited] to the entities that need a who-changed-what trail.
DM1 · Aggregate boundaries
- `Product` references the aggregate root `Category` directly (via `Category`) — hold its `CategoryId` instead. — Product.cs:34
- `Product` references the aggregate root `Brand` directly (via `Brand`) — hold its `BrandId` instead. — Product.cs:39
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
- `IMessage.MessageId` is a raw `Guid` — give it a strongly-typed id (`readonly record struct MessageId { Guid Value }`). — IMessage.cs:7
- `Event.EventId` is a raw `Guid` — give it a strongly-typed id (`readonly record struct EventId { Guid Value }`). — Event.cs:8
- `Message.MessageId` is a raw `Guid` — give it a strongly-typed id (`readonly record struct MessageId { Guid Value }`). — Message.cs:7
- `MaxThresholdChanged.ProductId` is a raw `Int64` — give it a strongly-typed id (`readonly record struct ProductId { Int64 Value }`). — MaxThresholdChanged.cs:5
- `RestockThresholdChanged.ProductId` is a raw `Int64` — give it a strongly-typed id (`readonly record struct ProductId { Int64 Value }`). — RestockThresholdChanged.cs:5
- `ProductCreatedNotification.CategoryId` is a raw `Int64` — give it a strongly-typed id (`readonly record struct CategoryId { Int64 Value }`). — ProductCreatedNotification.cs:13
- `Customer.IdentityId` is a raw `Guid` — give it a strongly-typed id (`readonly record struct IdentityId { Guid Value }`). — Customer.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
- `UserStateUpdated.OldUserState` exposes `UserState`, a enum owned by the producer's domain assembly (`FoodDelivery.Modules.Identity`) — carry the enum as a string/int instead. — UserStateUpdated.cs:6
- `UserStateUpdated.NewUserState` exposes `UserState`, a enum owned by the producer's domain assembly (`FoodDelivery.Modules.Identity`) — carry the enum as a string/int instead. — UserStateUpdated.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
- `Aggregate` 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. — Aggregate.cs:9
- `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
- `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:25
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
- `ChangingProductBrandValidationHandler` (domain layer) uses `DbContext` inside a method body — infrastructure reached without it appearing in any signature. — ChangingProductBrand.cs:12
- `ProductCreatedHandler` (domain layer) uses `EF Core` inside a method body — infrastructure reached without it appearing in any signature. — ProductCreated.cs:14
- `RestockSubscriptionCreatedHandler` (domain layer) uses `DbContext` inside a method body — infrastructure reached without it appearing in any signature. — RestockSubscriptionCreated.cs:32
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
- `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
- `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:9
- `IIntegrationEvent` 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. — IIntegrationEvent.cs:6
- `IMessage` 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. — IMessage.cs:5
- `IStreamEvent` 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. (×2) — IStreamEvent.cs:6, IStreamEvent.cs:13
- `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:6
- `NotificationEvent` 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. — NotificationEvent.cs:4
- `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
- `Message` 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. — Message.cs:5
- `StreamEvent` 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. (×2) — StreamEvent.cs:7, StreamEvent.cs:10
- `ChangingProductBrand` 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. — ChangingProductBrand.cs:10
- `ChangingProductCategory` 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. — ChangingProductCategory.cs:10
- `ChangingProductSupplier` 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. — ChangingProductSupplier.cs:10
- `CreatingProduct` 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. — CreatingProduct.cs:10
What to do
- Name events in the past tense — they record facts that already happened.
ED4 · Outbox / dual-write
- `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:31
- `SendEmailVerificationCodeHandler.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. — SendEmailVerificationCode.cs:36
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
- `UpdatingProduct.UpdateProductCommandHandler.Handle` mutates persistent state (a database save) with no idempotency guard, and the model confirms a re-run would double-apply it. A retry or at-least-once redelivery means it can run twice — add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write. — UpdateProduct.cs:50
What to do
- Make retry-prone mutations idempotent — guard each write with an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write, so a re-run doesn't double-apply.
GD1 · Unfinished & placeholder code
IC1 · Incompleteness & stubs
- `StopAsync` looks like it should compute a result but its body just returns a constant — a placeholder return that was never filled in. — InMemoryBus.cs:67
- `ProcessInbox` looks like it should compute a result but its body just returns a constant — a placeholder return that was never filled in. — InMemoryMessagePersistenceService.cs:216
- `CommitAsync` looks like it should compute a result but its body just returns a constant — a placeholder return that was never filled in. — InMemoryEventStore.cs:113
- `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. — ProductCreatedNotification.cs:27
- `Handle` looks like it should compute a result but its body just returns a constant — a placeholder return that was never filled in. (×3) — SupplierCreated.cs:11, SupplierDeleted.cs:10, SupplierUpdated.cs:11
- `HandleAsync` looks like it should compute a result but its body just returns a constant — a placeholder return that was never filled in. (×2) — ProductCreated.cs:13, CustomerCreated.cs:12
- A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers). (×15) — InMemoryEventStore.cs:83, RetryBehavior.cs:29, Extensions.cs:83, …
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 10 of 27 project(s) that lack one — worth up to 0.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
- Only 15/27 projects share a common root namespace — the code's module identity is inconsistent.
What to do
- Adopt a consistent root-namespace convention (a shared prefix, e.g. Acme.*); short project-file/directory names are fine as long as the RootNamespace is uniform.
M4 · Documentation accuracy
P1 · CI/CD gates
P2 · Observability
- Only 14/19 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.
- Add OpenTelemetry tracing/metrics (ActivitySource / AddMetrics) so requests are traceable across the system, not just health-probable.
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
- Deployment automation exists but no readiness/liveness probes, rolling-update strategy, lifecycle hooks or migration job were evidenced — a bad release is harder to detect and reverse.
What to do
- Add readiness/liveness probes and a rolling-update (or blue/green) strategy so a bad release is caught and rolled back automatically.
P5 · DR & Backup
- A persistence guard (data volume / purge-protection) was found, but no backup, geo-recovery or RTO/RPO controls were evidenced — a volume that survives a container recreate is not a tested restore from catastrophic loss.
What to do
- Codify backups + geo-recovery in IaC and document RTO/RPO and the restore procedure — a persistence guard alone is not disaster recovery.
P7 · Outbound HTTP resilience
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 26 use(s) across 23,670 production line(s) (~1.1/1k). More Span/Memory, pooling (ArrayPool/ObjectPool), stackalloc and ValueTask on the allocation-heavy paths climbs this toward 10.
PF3 · Async & latency hygiene
- 2 blocking call(s) on async work (.Wait()/.GetAwaiter().GetResult()) — these waste a thread and can deadlock in a consumer with a synchronization context.
What to do
- Make the call chain async end-to-end and await it — never block on a Task with .Wait()/.GetAwaiter().GetResult() in library code.
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. — JwtExtensions.cs:51
- No Content-Security-Policy / X-Frame-Options / X-Content-Type-Options configuration found — defense in depth, even when a reverse proxy could set them. (−2.0 on this card.)
- No UseHttpsRedirection/UseHsts and no reverse-proxy signal — transport security is unverified at the app layer. (−2.0 on this card.)
- No CookieSecurePolicy/HttpOnly/SameSite configuration found. (−1.5 on this card; skip if the app sets no cookies.)
What to do
- Set RequireHttpsMetadata = true in prod (or pin MetadataAddress to a localhost URL the API can hit directly).
- Add security response headers (Content-Security-Policy, X-Frame-Options, X-Content-Type-Options) — defense in depth, even when a reverse proxy could set them.
- Enforce HTTPS at the app layer (UseHttpsRedirection / UseHsts) — only skip this if a reverse proxy demonstrably terminates TLS.
- Set secure cookie flags — CookieSecurePolicy.Always, HttpOnly, and SameSite (Strict/Lax) on auth/session cookies. Skip only if the app sets no cookies.
X1 · Async correctness
- Blocking on a Task with `.Wait()`/`.GetAwaiter().GetResult()` can deadlock (and wastes a thread). Make the caller `async` and `await` instead. (×2) — DomainEventsInvoker.cs:41, Program.cs:159
What to do
- Sync-over-async (deadlock risk)
X2 · Cancellation propagation
- Only 124/175 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) — InMemoryCacheProvider.cs:19, InMemoryCacheProvider.cs:39, InMemoryCacheProvider.cs:45, …
What to do
- Thread a CancellationToken through async methods so work stops promptly on cancellation.
X3 · Exception handling
X4 · Structured logging
- Logging an interpolated string (`$"..."`) collapses the event to plain text — you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: `LogInformation("User {UserId} did {Action}", id, action)`. — MessagePersistenceBackgroundService.cs:34
What to do
- Interpolated log message defeats structured logging
X5 · Nullable reference types
- ~1.5 `!` 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 `!`.
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 79% | Strong | Solid. |
| Architecture | 67% | Adequate — gated by AX8 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Maturity | 52% | Adequate — gated by D34, M2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 38% | Weak — gated by D12, P5 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 37% | Weak — gated by D28, D36, C1 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Domain Modelling | 51% | Adequate — gated by DM2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Event-Driven | 83% | Strong | Strongest area. |
| Performance | 64% | Adequate | Acceptable, with room to improve. |
Not included — 31 check(s) not relevant to this codebase
- AC1 Text alternatives — No web markup found — accessibility is not applicable to this repository.
- AC2 Forms & labels — No web markup found — accessibility is not applicable to this repository.
- AC3 Page structure — No web markup found — accessibility is not applicable to this repository.
- AC4 Keyboard semantics — No web markup found — accessibility is not applicable to this repository.
- AC5 ARIA correctness — No web markup found — accessibility is not applicable to this repository.
- AC6 Visual & motion safety — No web markup found — accessibility is not applicable to this repository.
- AC7 A11y enforcement — No web markup found — accessibility is not applicable to this repository.
- AXB2 Runtime readiness — no data
- C4 Data Retention — Repo shows no data-retention / TTL / cleanup mechanism for personal data (event-sourced storage — lifecycle is stream archival / event TTL, not row CASCADE) — absence of evidence is not evidence of a working control. Define retention periods and a purge/cleanup job (or TTL) in code, or document where retention is enforced, so this dimension can be scored.
- C5 Data-Subject Rights — Repo shows no corroborated data-subject-rights mechanism (erasure / export-portability / consent) tied to a subject id or GDPR vocabulary — absence of evidence is not evidence of a working control. Implement erasure, data export/portability and consent tracking over the subject's records.
- D11 Test Reliability — No tests discovered
- D19 Documentation Quality — LLM evaluation failed
- D22 Internal API Consistency — No exposed public API
- 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.
- D33 JS/npm Dependency Vulnerabilities — No JS/npm manifest or lockfile found outside bin/obj (package.json, package-lock.json, yarn.lock, pnpm-lock.yaml, bun.lockb); no JS dependencies to scan.
- 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.
- D38 OSV Dependency Vulnerabilities — No JS/npm lockfile found outside bin/obj (package-lock.json, yarn.lock, pnpm-lock.yaml, bun.lockb); nothing for OSV to scan.
- 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
- 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 Event Sourcing — applicable but skipped (2/3 markers — below the conservative bar): an event-store package (Marten/EventStore); an append-only event-store seam (IEventStore/Append-of-events)
- P12 CI test-gate honesty — no data
- P6 Release Hygiene — not evidenced — no changelog, version stamp or semver release tag in the repo
- 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 — 21 finding(s)
- Secret: generic-api-key src/Api/FoodDelivery.Api/appsettings.json:12
- Secret: generic-api-key src/Api/FoodDelivery.Api/appsettings.docker.json:12
- Secret: generic-api-key src/Api/FoodDelivery.Api/tempkey.jwk:1
- Secret: generic-api-key src/Modules/Identity/FoodDelivery.Modules.Identity/identity.appsettings.json:23
- Secret: generic-api-key src/Modules/Identity/ECommerce.Modules.Identity/identity.appsettings.json:23
- Secret: generic-api-key src/Modules/Catalogs/ECommerce.Modules.Catalogs/catalogs.appsettings.json:19
- Secret: generic-api-key src/Modules/Customers/ECommerce.Modules.Customers/customers.appsettings.json:19
- Secret: generic-api-key src/Modules/Identity/ECommerce.Modules.Identity/identity.appsettings.json:19
- Secret: generic-api-key src/Modules/Orders/ECommerce.Modules.Orders/orders.appsettings.json:19
- Secret: generic-api-key src/Api/ECommerce.Api/tempkey.jwk:1
- Secret: generic-api-key src/Api/ECommerce.Api/appsettings.docker.json:22
- Secret: generic-api-key src/Api/ECommerce.Api/appsettings.docker.json:53
- Secret: generic-api-key src/Api/ECommerce.Api/appsettings.json:22
- Secret: generic-api-key src/Api/ECommerce.Api/appsettings.json:53
- Vulnerable: AutoMapper
- Vulnerable: OpenTelemetry.Api
- Vulnerable: MailKit
- Vulnerable: Duende.IdentityServer
- No assertions (empty test): Test1 tests/modules/Identity/FoodDelivery.Modules.Identity.EndToEndTests/UnitTest1.cs:5
- No assertions (empty test): Test1 tests/modules/Identity/FoodDelivery.Modules.Identity.UnitTests/UnitTest1.cs:5
- High IaC: DS-0002 .devcontainer/Dockerfile
Warning — 60 finding(s)
- CommentedOutCode src/BuildingBlocks/BuildingBlocks.Swagger/ApiVersionOperationFilter.cs:19
- CommentedOutCode src/Modules/Catalogs/FoodDelivery.Modules.Catalogs/Products/Features/GettingProducts/GetProductsRequest.cs:17
- CommentedOutCode src/Modules/Identity/FoodDelivery.Modules.Identity/Users/Features/GettingUsers/GetUsersRequest.cs:15
- CommentedOutCode src/Modules/Customers/FoodDelivery.Modules.Customers/Customers/Features/GettingCustomers/GetCustomersRequest.cs:19
- CommentedOutCode tests/building-blocks/Core/BuildingBlocks.Core.IntegrationTests/BusPublishTests.cs:30
- CommentedOutCode src/Modules/Customers/FoodDelivery.Modules.Customers/RestockSubscriptions/Features/DeletingRestockSubscriptionsByTime/DeleteRestockSubscriptionsByTime.cs:46
- CommentedOutCode tests/building-blocks/Core/BuildingBlocks.Core.IntegrationTests/BusPublishTests.cs:69
- CommentedOutCode src/Modules/Customers/FoodDelivery.Modules.Customers/RestockSubscriptions/Features/GettingRestockSubscriptions/GetRestockSubscriptionsRequest.cs:24
- CommentedOutCode tests/building-blocks/Core/BuildingBlocks.Core.IntegrationTests/BusPublishTests.cs:1
- CommentedOutCode tests/building-blocks/Core/BuildingBlocks.Core.IntegrationTests/BusPublishTests.cs:26
- CommentedOutCode tests/building-blocks/Core/BuildingBlocks.Core.IntegrationTests/BusPublishTests.cs:104
- Dead code: GenericParametersMatch src/BuildingBlocks/BuildingBlocks.Core/Extensions/ReflectionExtensions.cs:209
- Dead code: GetImplementedInterfacesToMap src/BuildingBlocks/BuildingBlocks.Core/Extensions/TypeExtensions.cs:495
- Dead code: IsRecord src/BuildingBlocks/BuildingBlocks.Core/Extensions/TypeExtensions.cs:724
- Dead code: MapBrandsEndpoints src/Modules/Catalogs/FoodDelivery.Modules.Catalogs/Brands/Configs.cs:15
- Dead code: MapCategoriesEndpoints src/Modules/Catalogs/FoodDelivery.Modules.Catalogs/Categories/Configs.cs:15
- Dead code: MapSuppliersEndpoints src/Modules/Catalogs/FoodDelivery.Modules.Catalogs/Suppliers/Configs.cs:15
- Dead code: CustomerAlreadyCompletedException src/Modules/Customers/FoodDelivery.Modules.Customers/Customers/Exceptions/Domain/CustomerAlreadyCompletedException.cs:5
- Dead code: CustomerAlreadyVerifiedException src/Modules/Customers/FoodDelivery.Modules.Customers/Customers/Exceptions/Domain/CustomerAlreadyVerifiedException.cs:5
- Dead code: CustomerNotActiveException src/Modules/Customers/FoodDelivery.Modules.Customers/Customers/Exceptions/Domain/CustomerNotActiveException.cs:5
- Off the main sequence: BuildingBlocks.Persistence.Mongo
- Off the main sequence: BuildingBlocks.Logging
- Off the main sequence: BuildingBlocks.Core
- Off the main sequence: BuildingBlocks.Caching.InMemory
- Off the main sequence: BuildingBlocks.Monitoring
- Off the main sequence: BuildingBlocks.Swagger
- Off the main sequence: BuildingBlocks.Validation
- Off the main sequence: BuildingBlocks.Security
- Off the main sequence: BuildingBlocks.Web
- Deprecated: MediatR.Extensions.Microsoft.DependencyInjection
- Deprecated: Microsoft.AspNetCore.Http.Abstractions
- Deprecated: AutoMapper.Extensions.Microsoft.DependencyInjection
- Deprecated: SqlStreamStore
- Deprecated: FluentValidation.AspNetCore
- Deprecated: Serilog.Sinks.Elasticsearch
- Deprecated: xunit
- TodoComment src/BuildingBlocks/BuildingBlocks.Core/CQRS/Event/EventHandlerDecorator.cs:17
- TodoComment src/BuildingBlocks/BuildingBlocks.Core/Persistence/EfCore/EfDbContextBase.cs:147
- TodoComment src/Modules/Identity/FoodDelivery.Modules.Identity/IdentityModuleConfiguration.cs:43
- TodoComment src/Modules/Orders/FoodDelivery.Modules.Orders/Orders/Models/Order.cs:13
- Duplicated block (9 lines × 2) src/BuildingBlocks/BuildingBlocks.Core/Extensions/ReflectionExtensions.cs:53
- Duplicated block (9 lines × 2) src/BuildingBlocks/BuildingBlocks.Resiliency/Extensions/HttpClientBuilderExtensions.CircuitBreaker.cs:13
- Low cohesion: Product (LCOM4 11) src/Modules/Catalogs/FoodDelivery.Modules.Catalogs/Products/Models/Product.cs:25
- Low cohesion: EventProcessor (LCOM4 4) src/BuildingBlocks/BuildingBlocks.Core/CQRS/Event/EventProcessor.cs:10
- LLM evaluation failed
- TypeExtensions.AddImplementationsAsTransient (cognitive 30) src/BuildingBlocks/BuildingBlocks.Core/Extensions/TypeExtensions.cs:618
- ReflectionExtensions.TraverseObjectGraphRecursively (cognitive 26) src/BuildingBlocks/BuildingBlocks.Core/Extensions/ReflectionExtensions.cs:243
- EfDbContextBase.OnBeforeSaving (cognitive 18) src/BuildingBlocks/BuildingBlocks.Core/Persistence/EfCore/EfDbContextBase.cs:133
- ConfigureSwaggerOptions.CreateInfoForApiVersion (cognitive 18) src/BuildingBlocks/BuildingBlocks.Swagger/ConfigureSwaggerOptions.cs:36
- InMemoryBus.ReceivingMessages (cognitive 16) src/BuildingBlocks/BuildingBlocks.Core/Messaging/Broker/InMemory/InMemoryBus.cs:72
- TooManyMethods: TypeExtensions src/BuildingBlocks/BuildingBlocks.Core/Extensions/TypeExtensions.cs:0
- Medium IaC: DS-0001 .devcontainer/Dockerfile
- Unpinned build actions
- Duplicated block (27 lines × 2) src/Modules/Catalogs/FoodDelivery.Modules.Catalogs/Shared/Extensions/ServiceCollectionExtensions/Infrastructure.cs:41
- Duplicated block (16 lines × 2) src/BuildingBlocks/BuildingBlocks.Core/Messaging/Broker/InMemory/InMemoryBus.cs:88
- Duplicated block (12 lines × 4) src/Modules/Catalogs/FoodDelivery.Modules.Catalogs/Shared/Extensions/ApplicationBuilderExtensions/Seed.cs:9
- Duplicated block (12 lines × 2) src/Modules/Identity/FoodDelivery.Modules.Identity/IdentityModuleConfiguration.cs:55
- Duplicated block (11 lines × 2) src/BuildingBlocks/BuildingBlocks.Core/Messaging/MessagePersistence/InMemory/InMemoryMessagePersistenceService.cs:159
- Unstable project FoodDelivery.Api
- Coverage not measured
Recommendation — 17 finding(s)
- Shell project: FoodDelivery.Modules.Identity.EndToEndTests tests/modules/Identity/FoodDelivery.Modules.Identity.EndToEndTests/FoodDelivery.Modules.Identity.EndToEndTests.csproj
- Shell project: FoodDelivery.Modules.Identity.UnitTests tests/modules/Identity/FoodDelivery.Modules.Identity.UnitTests/FoodDelivery.Modules.Identity.UnitTests.csproj
- Shell project: BuildingBlocks.Core.IntegrationTests tests/building-blocks/Core/BuildingBlocks.Core.IntegrationTests/BuildingBlocks.Core.IntegrationTests.csproj
- Shell project: FoodDelivery.Modules.Customers.UnitTests tests/modules/Customers/FoodDelivery.Modules.Customers.UnitTests/FoodDelivery.Modules.Customers.UnitTests.csproj
- Shell project: FoodDelivery.Modules.Customers.EndToEndTests tests/modules/Customers/FoodDelivery.Modules.Customers.EndToEndTests/FoodDelivery.Modules.Customers.EndToEndTests.csproj
- No tests discovered
- Small-team knowledge concentration
- Thin analysable surface across projects
- No ADRs found
- Split BuildingBlocks.Abstractions
- Split BuildingBlocks.Core
- Rotate the exposed credentials — git history can't be un-committed
- Low IaC: DS-0026 .devcontainer/Dockerfile
- Dormant codebase
- No build provenance
- No artifact signing
- No SBOM
Info — 102 finding(s)
- Outdated: Ardalis.GuardClauses
- Outdated: AsyncAwaitBestPractices
- Outdated: AsyncFixer
- Outdated: AutoMapper
- Outdated: Meziantou.Analyzer
- Outdated: Microsoft.AspNetCore.Http.Abstractions
- Outdated: Microsoft.EntityFrameworkCore.Abstractions
- Outdated: Microsoft.EntityFrameworkCore.Design
- Outdated: Microsoft.Extensions.Configuration.Abstractions
- Outdated: Microsoft.Extensions.DependencyInjection.Abstractions
- Outdated: Microsoft.Extensions.Hosting.Abstractions
- Outdated: Microsoft.Extensions.Logging.Abstractions
- Outdated: Microsoft.Extensions.Options
- Outdated: Microsoft.VisualStudio.Threading.Analyzers
- Outdated: MongoDB.Driver
- Outdated: Roslynator.Analyzers
- Outdated: Roslynator.CodeAnalysis.Analyzers
- Outdated: Roslynator.Formatting.Analyzers
- Outdated: Bogus
- Outdated: DotNetEnv
- Outdated: EFCore.NamingConventions
- Outdated: Humanizer
- Outdated: Humanizer.Core
- Outdated: McMaster.NETCore.Plugins
- Outdated: Microsoft.EntityFrameworkCore
- Mock framework: NSubstitute
- No exposed public API
- BuildingBlocks: 11 contract type(s) expose producer-owned ids/enums
- Catalogs: 2 contract type(s) expose producer-owned ids/enums
- Customers: 1 contract type(s) expose producer-owned ids/enums
- Orders: 1 contract type(s) expose producer-owned ids/enums
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 . | 14 | 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 . | 3 | 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: not applicable — No JS/npm manifest or lockfile found outside bin/obj (package.json, package-lock.json, yarn.lock, pnpm-lock.yaml, bun.lockb); no JS dependencies to scan. | 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: not applicable — No JS/npm lockfile found outside bin/obj (package-lock.json, yarn.lock, pnpm-lock.yaml, bun.lockb); nothing for OSV to scan. | 0 | — |
Appendix C — Personal-data map
Email — 43 field(s)
- InvalidEmailException.Email src/BuildingBlocks/BuildingBlocks.Core/Exception/Types/InvalidEmailException.cs:5
- EmailObject.ReceiverEmail src/BuildingBlocks/BuildingBlocks.Email/IEmailSender.cs:31
- EmailObject.SenderEmail src/BuildingBlocks/BuildingBlocks.Email/IEmailSender.cs:33
- CustomerReadDto.Email src/Modules/Customers/FoodDelivery.Modules.Customers/Customers/Dtos/CustomerReadDto.cs:8
- CreateMongoCustomerReadModels.Email src/Modules/Customers/FoodDelivery.Modules.Customers/Customers/Features/CreateMongoCustomerReadModels.cs:15
- CreateCustomer.Email src/Modules/Customers/FoodDelivery.Modules.Customers/Customers/Features/CreatingCustomer/CreateCustomer.cs:14
- CreateCustomerRequest.Email src/Modules/Customers/FoodDelivery.Modules.Customers/Customers/Features/CreatingCustomer/CreateCustomerRequest.cs:3
- CreateCustomerResponse.Email src/Modules/Customers/FoodDelivery.Modules.Customers/Customers/Features/CreatingCustomer/CreateCustomerResponse.cs:5
- UpdateMongoCustomerReadsModel.Email src/Modules/Customers/FoodDelivery.Modules.Customers/Customers/Features/UpdateMongoCustomerReadsModel.cs:16
- Customer.Email src/Modules/Customers/FoodDelivery.Modules.Customers/Customers/Models/Customer.cs:12
- CustomerReadModel.Email src/Modules/Customers/FoodDelivery.Modules.Customers/Customers/Models/Reads/CustomerReadModel.cs:8
- RestockSubscriptionDto.Email src/Modules/Customers/FoodDelivery.Modules.Customers/RestockSubscriptions/Dtos/RestockSubscriptionDto.cs:7
- CreateMongoRestockSubscriptionReadModels.Email src/Modules/Customers/FoodDelivery.Modules.Customers/RestockSubscriptions/Features/CreateMongoRestockSubscriptionReadModels.cs:16
- CreateRestockSubscription.Email src/Modules/Customers/FoodDelivery.Modules.Customers/RestockSubscriptions/Features/CreatingRestockSubscription/CreateRestockSubscription.cs:20
- CreateRestockSubscriptionRequest.Email src/Modules/Customers/FoodDelivery.Modules.Customers/RestockSubscriptions/Features/CreatingRestockSubscription/CreateRestockSubscriptionRequest.cs:3
- RestockSubscriptionCreated.Email src/Modules/Customers/FoodDelivery.Modules.Customers/RestockSubscriptions/Features/CreatingRestockSubscription/Events/Integration/RestockSubscriptionCreated.cs:5
- GetRestockSubscriptions.Emails src/Modules/Customers/FoodDelivery.Modules.Customers/RestockSubscriptions/Features/GettingRestockSubscriptions/GetRestockSubscriptions.cs:17
- GetRestockSubscriptionsRequest.Emails src/Modules/Customers/FoodDelivery.Modules.Customers/RestockSubscriptions/Features/GettingRestockSubscriptions/GetRestockSubscriptionsRequest.cs:9
- GetRestockSubscriptionsByEmails.Emails src/Modules/Customers/FoodDelivery.Modules.Customers/RestockSubscriptions/Features/GettingRestockSubscriptionsByEmails/GetRestockSubscriptionsByEmails.cs:13
- GetRestockSubscriptionsByEmailsRequest.Emails src/Modules/Customers/FoodDelivery.Modules.Customers/RestockSubscriptions/Features/GettingRestockSubscriptionsByEmails/GetRestockSubscriptionsByEmailsRequest.cs:3
- SendRestockNotificationHandler._emailSender src/Modules/Customers/FoodDelivery.Modules.Customers/RestockSubscriptions/Features/SendingRestockNotification/SendRestockNotification.cs:33
- SendRestockNotificationHandler._emailConfig src/Modules/Customers/FoodDelivery.Modules.Customers/RestockSubscriptions/Features/SendingRestockNotification/SendRestockNotification.cs:34
- RestockSubscriptionReadModel.Email src/Modules/Customers/FoodDelivery.Modules.Customers/RestockSubscriptions/Models/Read/RestockSubscriptionReadModel.cs:11
- RestockSubscription.Email src/Modules/Customers/FoodDelivery.Modules.Customers/RestockSubscriptions/Models/Write/RestockSubscription.cs:18
- CreateUserRequest.Email src/Modules/Customers/FoodDelivery.Modules.Customers/Shared/Clients/Identity/Dtos/CreateUserRequest.cs:5
- UserIdentityDto.Email src/Modules/Customers/FoodDelivery.Modules.Customers/Shared/Clients/Identity/Dtos/UserIdentityDto.cs:7
- UserRegistered.Email src/Modules/Customers/FoodDelivery.Modules.Customers/Users/Features/RegisteringUser/Events/External/UserRegistered.cs:12
- EmailNotConfirmedException.Email src/Modules/Identity/FoodDelivery.Modules.Identity/Identity/Exceptions/EmailNotConfirmedException.cs:12
- Login.UserNameOrEmail src/Modules/Identity/FoodDelivery.Modules.Identity/Identity/Features/Login/Login.cs:19
- LoginFailedException.UserNameOrEmail src/Modules/Identity/FoodDelivery.Modules.Identity/Identity/Features/Login/LoginFailedException.cs:12
- LoginUserRequest.UserNameOrEmail src/Modules/Identity/FoodDelivery.Modules.Identity/Identity/Features/Login/LoginUserRequest.cs:3
- SendEmailVerificationCode.Email src/Modules/Identity/FoodDelivery.Modules.Identity/Identity/Features/SendEmailVerificationCode/SendEmailVerificationCode.cs:15
- SendEmailVerificationCodeHandler._emailSender src/Modules/Identity/FoodDelivery.Modules.Identity/Identity/Features/SendEmailVerificationCode/SendEmailVerificationCode.cs:21
- SendEmailVerificationCodeRequest.Email src/Modules/Identity/FoodDelivery.Modules.Identity/Identity/Features/SendEmailVerificationCode/SendEmailVerificationCodeRequest.cs:5
- VerifyEmail.Email src/Modules/Identity/FoodDelivery.Modules.Identity/Identity/Features/VerifyEmail/VerifyEmail.cs:13
- VerifyEmailRequest.Email src/Modules/Identity/FoodDelivery.Modules.Identity/Identity/Features/VerifyEmail/VerifyEmailRequest.cs:5
- EmailVerificationCode.Email src/Modules/Identity/FoodDelivery.Modules.Identity/Shared/Models/EmailVerificationCode.cs:7
- PasswordResetCode.Email src/Modules/Identity/FoodDelivery.Modules.Identity/Shared/Models/PasswordResetCode.cs:7
- IdentityUserDto.Email src/Modules/Identity/FoodDelivery.Modules.Identity/Users/Dtos/IdentityUserDto.cs:9
- GetUserByEmail.Email src/Modules/Identity/FoodDelivery.Modules.Identity/Users/Features/GettingUerByEmail/GetUserByEmail.cs:12
Name — 34 field(s)
- CreateMongoCustomerReadModels.FirstName src/Modules/Customers/FoodDelivery.Modules.Customers/Customers/Features/CreateMongoCustomerReadModels.cs:16
- CreateMongoCustomerReadModels.LastName src/Modules/Customers/FoodDelivery.Modules.Customers/Customers/Features/CreateMongoCustomerReadModels.cs:17
- CreateMongoCustomerReadModels.FullName src/Modules/Customers/FoodDelivery.Modules.Customers/Customers/Features/CreateMongoCustomerReadModels.cs:18
- CreateCustomerResponse.FirstName src/Modules/Customers/FoodDelivery.Modules.Customers/Customers/Features/CreatingCustomer/CreateCustomerResponse.cs:6
- CreateCustomerResponse.LastName src/Modules/Customers/FoodDelivery.Modules.Customers/Customers/Features/CreatingCustomer/CreateCustomerResponse.cs:7
- UpdateMongoCustomerReadsModel.FirstName src/Modules/Customers/FoodDelivery.Modules.Customers/Customers/Features/UpdateMongoCustomerReadsModel.cs:17
- UpdateMongoCustomerReadsModel.LastName src/Modules/Customers/FoodDelivery.Modules.Customers/Customers/Features/UpdateMongoCustomerReadsModel.cs:18
- UpdateMongoCustomerReadsModel.FullName src/Modules/Customers/FoodDelivery.Modules.Customers/Customers/Features/UpdateMongoCustomerReadsModel.cs:19
- CustomerName.FirstName src/Modules/Customers/FoodDelivery.Modules.Customers/Customers/Models/CustomerName.cs:8
- CustomerName.LastName src/Modules/Customers/FoodDelivery.Modules.Customers/Customers/Models/CustomerName.cs:9
- CustomerName.FullName src/Modules/Customers/FoodDelivery.Modules.Customers/Customers/Models/CustomerName.cs:10
- CustomerReadModel.FirstName src/Modules/Customers/FoodDelivery.Modules.Customers/Customers/Models/Reads/CustomerReadModel.cs:9
- CustomerReadModel.LastName src/Modules/Customers/FoodDelivery.Modules.Customers/Customers/Models/Reads/CustomerReadModel.cs:10
- CustomerReadModel.FullName src/Modules/Customers/FoodDelivery.Modules.Customers/Customers/Models/Reads/CustomerReadModel.cs:11
- CreateUserRequest.FirstName src/Modules/Customers/FoodDelivery.Modules.Customers/Shared/Clients/Identity/Dtos/CreateUserRequest.cs:6
- CreateUserRequest.LastName src/Modules/Customers/FoodDelivery.Modules.Customers/Shared/Clients/Identity/Dtos/CreateUserRequest.cs:7
- UserIdentityDto.FirstName src/Modules/Customers/FoodDelivery.Modules.Customers/Shared/Clients/Identity/Dtos/UserIdentityDto.cs:8
- UserIdentityDto.LastName src/Modules/Customers/FoodDelivery.Modules.Customers/Shared/Clients/Identity/Dtos/UserIdentityDto.cs:9
- UserRegistered.FirstName src/Modules/Customers/FoodDelivery.Modules.Customers/Users/Features/RegisteringUser/Events/External/UserRegistered.cs:14
- UserRegistered.LastName src/Modules/Customers/FoodDelivery.Modules.Customers/Users/Features/RegisteringUser/Events/External/UserRegistered.cs:15
- LoginResponse.FirstName src/Modules/Identity/FoodDelivery.Modules.Identity/Identity/Features/Login/LoginResponse.cs:20
- LoginResponse.LastName src/Modules/Identity/FoodDelivery.Modules.Identity/Identity/Features/Login/LoginResponse.cs:21
- RefreshTokenResponse.FirstName src/Modules/Identity/FoodDelivery.Modules.Identity/Identity/Features/RefreshingToken/RefreshTokenResponse.cs:19
- RefreshTokenResponse.LastName src/Modules/Identity/FoodDelivery.Modules.Identity/Identity/Features/RefreshingToken/RefreshTokenResponse.cs:20
- ApplicationUser.FirstName src/Modules/Identity/FoodDelivery.Modules.Identity/Shared/Models/ApplicationUser.cs:7
- ApplicationUser.LastName src/Modules/Identity/FoodDelivery.Modules.Identity/Shared/Models/ApplicationUser.cs:8
- IdentityUserDto.FirstName src/Modules/Identity/FoodDelivery.Modules.Identity/Users/Dtos/IdentityUserDto.cs:10
- IdentityUserDto.LastName src/Modules/Identity/FoodDelivery.Modules.Identity/Users/Dtos/IdentityUserDto.cs:11
- UserRegistered.FirstName src/Modules/Identity/FoodDelivery.Modules.Identity/Users/Features/RegisteringUser/Events/Integration/UserRegistered.cs:9
- UserRegistered.LastName src/Modules/Identity/FoodDelivery.Modules.Identity/Users/Features/RegisteringUser/Events/Integration/UserRegistered.cs:10
- RegisterUser.FirstName src/Modules/Identity/FoodDelivery.Modules.Identity/Users/Features/RegisteringUser/RegisterUser.cs:14
- RegisterUser.LastName src/Modules/Identity/FoodDelivery.Modules.Identity/Users/Features/RegisteringUser/RegisterUser.cs:15
- RegisterUserRequest.FirstName src/Modules/Identity/FoodDelivery.Modules.Identity/Users/Features/RegisteringUser/RegisterUserRequest.cs:4
- RegisterUserRequest.LastName src/Modules/Identity/FoodDelivery.Modules.Identity/Users/Features/RegisteringUser/RegisterUserRequest.cs:5
Phone — 6 field(s)
- InvalidPhoneNumberException.PhoneNumber src/BuildingBlocks/BuildingBlocks.Core/Exception/Types/InvalidPhoneNumberException.cs:5
- CustomerReadDto.PhoneNumber src/Modules/Customers/FoodDelivery.Modules.Customers/Customers/Dtos/CustomerReadDto.cs:15
- CreateMongoCustomerReadModels.PhoneNumber src/Modules/Customers/FoodDelivery.Modules.Customers/Customers/Features/CreateMongoCustomerReadModels.cs:24
- UpdateMongoCustomerReadsModel.PhoneNumber src/Modules/Customers/FoodDelivery.Modules.Customers/Customers/Features/UpdateMongoCustomerReadsModel.cs:25
- Customer.PhoneNumber src/Modules/Customers/FoodDelivery.Modules.Customers/Customers/Models/Customer.cs:17
- CustomerReadModel.PhoneNumber src/Modules/Customers/FoodDelivery.Modules.Customers/Customers/Models/Reads/CustomerReadModel.cs:18
Date of birth — 5 field(s)
- CustomerReadDto.BirthDate src/Modules/Customers/FoodDelivery.Modules.Customers/Customers/Dtos/CustomerReadDto.cs:14
- CreateMongoCustomerReadModels.BirthDate src/Modules/Customers/FoodDelivery.Modules.Customers/Customers/Features/CreateMongoCustomerReadModels.cs:23
- UpdateMongoCustomerReadsModel.BirthDate src/Modules/Customers/FoodDelivery.Modules.Customers/Customers/Features/UpdateMongoCustomerReadsModel.cs:24
- Customer.BirthDate src/Modules/Customers/FoodDelivery.Modules.Customers/Customers/Models/Customer.cs:16
- CustomerReadModel.BirthDate src/Modules/Customers/FoodDelivery.Modules.Customers/Customers/Models/Reads/CustomerReadModel.cs:17