Public report — saastack, published 29 Jun 2026. Concrete security findings (CVE IDs, secret matches, dependency versions) are hidden in this version; ask the repo owner for the full report.
Watchdog 29-06-2026 @ 21:26 UTC Public
Code Health Audit

SaaStacked/saastack

56% At Risk

Medium · 88,544 LoC · 142 projects · rebuild ~2.6 person-years · weakest lens: Readiness (48%)

Grounded in facts. Every number here is computed, not narrated — reproducible, tool-backed, and traceable to a line of code. How to trust this ▸

78/83dimensions tool-verifieddeterministic · confidence 1.0 · 5 LLM-assisted, advisory
493findings with an exact file:lineof 548 — the remainder are repo-wide signals (a dimension-level measurement, not a single line); open any file:line and verify
83/111dimensions across the health lenses88544 LoC · 142 projects — wide & deep

Executive summary

Read through the Template lens: this is a template / kata / sample / demo — code meant to be read or copied, not operated. The ship-it and operate-it dimensions (CI/CD, observability, ADRs, architecture docs, deployment security) are N/A, and the colour bands on what remains are relaxed to what an example needs. Code correctness stays near-strict; the score is absolute and comparable across repos.

SaaStacked/saastack is in a workable but fragile state (56%). It is not in crisis, but it carries material risk that makes change slower and incidents harder to contain if left unaddressed.

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 Readiness (48%) — operating, monitoring and recovering the system safely is harder. Performance (60%) is the next concern — it raises ongoing delivery and operational cost.

Leadership focus, highest impact first: Extend structured logging to the remaining service-like… (Observability); Codify backups + geo-recovery in IaC… (DR & Backup); missing tooling (eslint (Tooling).

For scale: Medium (~88,544 production lines); rebuilding it from scratch would take roughly ~2.6 person-years (~1–6 engineers). Approximate, ±~30%.

How the score is built — each lens's share of the headline Width is the lens's weight in the worst-heaviest fold (the weakest area pulls hardest); colour is that lens's own band. A lens fixes the score in proportion to its width.
Readiness 48% · 45% weightPerformance 60% · 25% weightAccessibility 62% · 14% weightMaturity 63% · 8% weightArchitecture 68% · 4% weightSecurity 70% · 2% weightCode Health 71% · 1% weightDomain Modelling 73% · 1% weight

Raise Readiness 48 → 70 (the Healthy floor) ⇒ headline 56 → ~63.

Code composition — where the lines go
Business logic 17%Plumbing 27%Tests 47%Generated 5%Analyzers 4%
New since the last scan (1+)

1 finding(s) are new versus the previous scan (2026-06-29) — surfaced by this scheduled scan itself, no pull request required.

  • D19 · LLM evaluation failed

A full-fidelity diff against the previous run's complete recorded findings — line-move tolerant: a finding that only shifted line counts as unchanged, only genuinely new titles/files surface here.

Rebuild cost & value ~ Modeled — €130,000–€650,000
Cost to rebuild€130,000–€650,000 (1.3–4.0 person-years (2,109–6,793 h), ~1–6 engineers)
Domain complexityHigh — harder problems cost more per line
Quality factor0.8× (at 56% quality) — the last 20% of quality is most of the work
Size & shapeMedium · 42% boilerplate · 22% straight-line · 37% branching logic
Dead frontend code~509 LoC unreachable (10 file(s)) — that slice of this estimate buys code with zero runtime value; deleting it is the cheapest win in this report (the R7 card lists every file)

This codebase represents roughly ~2.6 person-years of build effort (about ~€390,000 to rebuild). Its weakest lens is Readiness at 48% — the part of that asset most exposed by the findings below.

How we model this: boilerplate at a scaffolding rate + logic × domain High (×1.5) — service/app, DDD/clean architecture, domain model, high decision density × a 0.8× quality factor, at €60–95/h; indicative, ±~30%. Indicative only — most sensitive to the hourly rate and the domain tier (both tunable in config).

Top priorities

The highest-leverage moves; the full ranked list is in the Roadmap below.

1
Resolve the 2 Leaked secret finding(s) in Secret Scanning — start with EndUserRoot.cs, WebsiteTestingExtensions.cs.
+6.8 pts · Low effort · Secret Scanning
2
Extend structured logging to the remaining service-like projects so the whole executable surface is diagnosable in production.
+6.8 pts · Medium effort · Observability
3
Codify backups + geo-recovery in IaC (snapshot/replication/geo-redundant) to back the DR plan.
+6.8 pts · Medium effort · DR & Backup

Diagnosis — what's actually going on

Value concentrated against a weak lens · Medium · Value at risk
This is a Medium asset (~2.6 person-years to rebuild), and its weakest lens is Readiness at 48%. The operational and business risk on an asset this size concentrates there — that's where remediation buys the most protection.
Evidence: valuation: Medium, ~2.6 person-years rebuild (88,544 LoC) · weakest lens: Readiness 48%
→ Direct remediation budget at Readiness first — highest risk-reduction per euro on an asset this size.
Root cause: an un-encapsulated domain · Medium · Root cause
50 findings across public setters, anemic types and primitive ids share one root cause — the domain layer doesn't protect its own invariants. Fixing the encapsulation pattern resolves them together, rather than chasing each finding.
Evidence: DM5 setters: 0 · DM4 anemic: 9 · DM2 primitive ids: 41
→ Address encapsulation as one pattern (private setters + behaviour + strongly-typed ids), not 100 separate findings.
Highest-leverage move · Medium · Leverage
Of everything flagged, the best return on effort is: Extend structured logging to the remaining service-like projects so the whole executable surface is diagnosable in production. The rest can wait behind it.
Evidence: priority ranking: top of 5 ranked by impact/effort
→ Extend structured logging to the remaining service-like projects so the whole executable surface is diagnosable in production.
Improving trajectory · Info · Trajectory
The headline is improving steadily (+6.9 pts/run over 4 runs) — whatever you're doing is working; keep the gate.
Evidence: trajectory: +6.9 pts/run over 4 runs

Trajectory

Where this codebase is heading — something a one-shot snapshot cannot show. 56, unchanged across 4 runs.

025507510029 Junnow
OverallCode HealthArchitectureMaturityReadinessSecurityDomain ModellingAccessibilityPerformance

Architecture — bounded-context dependency graph

Each box is a bounded context (its layer projects grouped, or a project count when large); arrows show dependencies between contexts. A shared kernel is where many arrows converge.

arch UnitTests UnitTests AncillaryDomain.UnitTests AncillaryDomain.UnitTests IntegrationTests IntegrationTests AncillaryInfrastructure.UnitTests AncillaryInfrastructure.UnitTests ApiHost1 ApiHost1 ctx:Framework Framework 23 projects ApiHost1->ctx:Framework ctx:Subdomains Subdomains 39 projects ApiHost1->ctx:Subdomains ApiHost1.IntegrationTests ApiHost1.IntegrationTests Common.UnitTests Common.UnitTests Interfaces.UnitTests Interfaces.UnitTests Persistence.Common.UnitTests Persistence.Common.UnitTests Persistence.Shared.UnitTests Persistence.Shared.UnitTests BookingsApplication.UnitTests BookingsApplication.UnitTests BookingsDomain.UnitTests BookingsDomain.UnitTests BookingsInfrastructure.IntegrationTests BookingsInfrastructure.IntegrationTests BookingsInfrastructure.UnitTests BookingsInfrastructure.UnitTests CarsApplication.UnitTests CarsApplication.UnitTests CarsDomain.UnitTests CarsDomain.UnitTests CarsInfrastructure.IntegrationTests CarsInfrastructure.IntegrationTests CarsInfrastructure.UnitTests CarsInfrastructure.UnitTests Common.UnitTests (2) Common.UnitTests (2) Domain.Common.UnitTests Domain.Common.UnitTests Events.Shared.UnitTests Events.Shared.UnitTests Domain.Interfaces.UnitTests Domain.Interfaces.UnitTests Shared.UnitTests Shared.UnitTests EndUsersApplication.UnitTests EndUsersApplication.UnitTests EndUsersDomain.UnitTests EndUsersDomain.UnitTests EndUsersInfrastructure.IntegrationTests EndUsersInfrastructure.IntegrationTests EndUsersInfrastructure.UnitTests EndUsersInfrastructure.UnitTests EventNotificationsApplication.UnitTests EventNotificationsApplication.UnitTests EventNotificationsInfrastructure.IntegrationTests EventNotificationsInfrastructure.IntegrationTests EventNotificationsInfrastructure.UnitTests EventNotificationsInfrastructure.UnitTests IdentityApplication.UnitTests IdentityApplication.UnitTests IdentityDomain.UnitTests IdentityDomain.UnitTests IdentityInfrastructure.IntegrationTests IdentityInfrastructure.IntegrationTests IdentityInfrastructure.UnitTests IdentityInfrastructure.UnitTests ImagesApplication.UnitTests ImagesApplication.UnitTests ImagesDomain.UnitTests ImagesDomain.UnitTests ImagesInfrastructure.IntegrationTests ImagesInfrastructure.IntegrationTests ImagesInfrastructure.UnitTests ImagesInfrastructure.UnitTests Infrastructure.Common.UnitTests Infrastructure.Common.UnitTests Eventing.Common.UnitTests Eventing.Common.UnitTests External.Persistence.Common.UnitTests External.Persistence.Common.UnitTests External.TestingOnly.UnitTests External.TestingOnly.UnitTests Hosting.Common.UnitTests Hosting.Common.UnitTests Infrastructure.Persistence.Common.UnitTests Infrastructure.Persistence.Common.UnitTests Persistence.Interfaces.UnitTests Persistence.Interfaces.UnitTests Infrastructure.Shared.UnitTests Infrastructure.Shared.UnitTests Web.Api.Common.UnitTests Web.Api.Common.UnitTests Web.Api.IntegrationTests Web.Api.IntegrationTests Web.Common.UnitTests Web.Common.UnitTests Web.Hosting.Common.UnitTests Web.Hosting.Common.UnitTests Website.Common Website.Common OrganizationsApplication.UnitTests OrganizationsApplication.UnitTests OrganizationsDomain.UnitTests OrganizationsDomain.UnitTests OrganizationsInfrastructure.IntegrationTests OrganizationsInfrastructure.IntegrationTests OrganizationsInfrastructure.UnitTests OrganizationsInfrastructure.UnitTests SubscriptionsApplication.UnitTests SubscriptionsApplication.UnitTests SubscriptionsDomain.UnitTests SubscriptionsDomain.UnitTests SubscriptionsInfrastructure.IntegrationTests SubscriptionsInfrastructure.IntegrationTests SubscriptionsInfrastructure.UnitTests SubscriptionsInfrastructure.UnitTests TestingStubApiHost TestingStubApiHost ctx:ExternalAdapters ExternalAdapters 2 projects TestingStubApiHost->ctx:ExternalAdapters TestingStubApiHost->ctx:Framework TestingStubApiHost->ctx:Subdomains Generators.Common.UnitTests Generators.Common.UnitTests Generators.Web.Api.Authorization.UnitTests Generators.Web.Api.Authorization.UnitTests Generators.Web.Api.UnitTests Generators.Web.Api.UnitTests Generators.Workers.UnitTests Generators.Workers.UnitTests CodeAnalysis.Common CodeAnalysis.Common Common Common UserProfilesApplication.UnitTests UserProfilesApplication.UnitTests UserProfilesDomain.UnitTests UserProfilesDomain.UnitTests UserProfilesInfrastructure.IntegrationTests UserProfilesInfrastructure.IntegrationTests UserProfilesInfrastructure.UnitTests UserProfilesInfrastructure.UnitTests WebsiteHost WebsiteHost WebsiteHost->ctx:Framework WebsiteHost.IntegrationTests WebsiteHost.IntegrationTests WebsiteHost.UnitTests WebsiteHost.UnitTests ctx:ExternalAdapters->ctx:Subdomains ctx:Framework->ctx:ExternalAdapters ctx:Framework->ctx:Subdomains

At a glance — Code Health · 71% · Strong

At a glance — Architecture · 68% · Adequate · gated by R9

At a glance — Maturity · 63% · Adequate · gated by D16, D34

At a glance — Readiness · 48% · Adequate · gated by D13, R6, P5

At a glance — Security · 70% · Adequate · gated by D38

At a glance — Domain Modelling · 73% · Adequate · gated by DM2

At a glance — Accessibility · 62% · Strong

At a glance — Performance · 60% · Strong

Security & Compliance — OWASP Top-10 mapping

Findings mapped to OWASP categories; the specific CVEs/secrets are in the Security dimension cards below and findings.md (redacted only on the public version of this report).

OWASP categoryFindingsSeverity
A06:2021 — Vulnerable & Outdated Components44High / Critical
A02:2021 — Cryptographic Failures7High / Critical

Roadmap

First, extend structured logging across all service-like projects to ensure full production diagnosability. Next, codify backups and geo-recovery in infrastructure-as-code to support disaster recovery plans. Then, integrate missing tooling such as eslint and tsc into CI pipelines to enforce code quality. After that, resolve the two leaked secret findings to eliminate immediate security risks. Finally, implement readiness probes and automated rollback strategies to safely manage deployments.

Ranked by impact ÷ effort. "Helps" is the estimated gain on the 0–100 health score.

Do thisHelpsEffortDimension
Resolve the 2 Leaked secret finding(s) in Secret Scanning — start with EndUserRoot.cs, WebsiteTestingExtensions.cs.+6.8 ptsLowSecret Scanning
Extend structured logging to the remaining service-like projects so the whole executable surface is diagnosable in production.+6.8 ptsMediumObservability
Codify backups + geo-recovery in IaC (snapshot/replication/geo-redundant) to back the DR plan.+6.8 ptsMediumDR & Backup
Add the missing tooling (eslint, tsc) as package.json scripts and run them in CI.+6.8 ptsMediumTooling
Add readiness/liveness probes and a rolling-update (or blue/green) strategy so a bad release is caught and rolled back automatically.+6.8 ptsMediumDeployment & Rollback
Add tests that import the unreached modules (directly or through their public entry).+6.7 ptsMediumTest Coverage
Bump outdated dependencies to current versions to limit upgrade debt.+6.0 ptsMediumDependency Freshness
Add a BenchmarkDotNet project for the hot paths (with [MemoryDiagnoser] to track allocations), and run it in CI to catch regressions.+1.3 ptsMediumBenchmark discipline

File quality

Per-file score 0–10 — a quality signature. Of 232 files carrying findings, judged against the Template bar: 0% slop · 1% mixed · 99% near-clean.

FileScoreBandWorst signal
src/Hosts/WebsiteHost/ClientApp/package-lock.json0.0SlopOSV Dependency Vulnerabilities: Critical CVE: [GHSA redacted]
src/Subdomains/Generic/EndUsersDomain/EndUserRoot.cs2.2MixedSecret Scanning: Leaked secret: high-entropy-secret
src/Subdomains/Generic/IdentityDomain/PersonCredentialRoot.cs6.0Near-cleanExplicit Debt: BarePragmaDisable
src/Subdomains/Generic/SubscriptionsDomain/SubscriptionRoot.Trials.cs6.0Near-cleanExplicit Debt: BarePragmaDisable
src/Subdomains/Generic/EndUsersDomain/EndUserRoot.RolesAndFeatures.cs6.0Near-cleanExplicit Debt: BarePragmaDisable
src/Subdomains/Generic/SubscriptionsApplication/SubscriptionApplication_ProviderNotifications.cs6.0Near-cleanExplicit Debt: HackComment
src/Subdomains/Generic/SubscriptionsDomain/SubscriptionRoot.Quotas.cs6.0Near-cleanExplicit Debt: BarePragmaDisable
src/ExternalAdapters/Infrastructure.External.Persistence.TestingOnly/ApplicationServices/InProcessInMemStore.IEventStore.cs6.0Near-cleanExplicit Debt: HackComment
src/Framework/Common/Annotations.cs6.1Near-cleanExplicit Debt: BarePragmaDisable
src/Subdomains/Generic/AncillaryDomain/EmailDeliveryRoot.cs6.3Near-cleanCode Duplication: Duplicated block (19 lines × 2)
src/Framework/Domain/Domain.Common/DomainEvent.cs6.9Near-cleanExplicit Debt: BarePragmaDisable
src/Framework/Domain/Domain.Common/TombstoneDomainEvent.cs6.9Near-cleanExplicit Debt: BarePragmaDisable
src/Hosts/ApiHost1.IntegrationTests/GeneralApiSpec.cs6.9Near-cleanExplicit Debt: HackComment
src/Hosts/ApiHost1/Api/TestingOnly/TestingWebApi.cs7.0Near-cleanGod Classes: TooManyMethods: TestingWebApi
src/Subdomains/Generic/IdentityInfrastructure.UnitTests/Api/OAuth2/AuthorizeOAuth2RequestValidatorSpec.cs7.0Near-cleanTest Quality: No assertions: WhenAllPropertiesValid_ThenSucceeds
src/Framework/Infrastructure/Infrastructure.Web.Api.Common.UnitTests/Validation/HasSearchOptionsValidatorSpec.cs7.0Near-cleanTest Quality: No assertions: WhenAllPropertiesValid_ThenSucceeds
src/Subdomains/Generic/IdentityInfrastructure.UnitTests/Api/OAuth2/ExchangeOAuth2ForTokensRequestValidatorSpec.cs7.0Near-cleanTest Quality: No assertions: WhenAllPropertiesValid_ThenSucceeds
src/Hosts/WebsiteHost.UnitTests/Api/AuthN/AuthenticateRequestValidatorSpec.cs7.0Near-cleanTest Quality: No assertions: WhenAllProperties_ThenSucceeds
src/Subdomains/Generic/OrganizationsInfrastructure.UnitTests/Api/Onboarding/InitiateOnboardingWorkflowRequestValidatorSpec.cs7.0Near-cleanTest Quality: No assertions: WhenAllProperties_ThenSucceeds
src/Subdomains/Generic/UserProfilesInfrastructure.UnitTests/Api/Profiles/ChangeProfileRequestValidatorSpec.cs7.0Near-cleanTest Quality: No assertions: WhenAllProperties_ThenSucceeds

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. 78 of 83 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 5 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.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.

Every figure here is one of three kinds, and we label which: ✓ Measured — a deterministic fact (LoC, complexity, coverage); ~ Modeled — an estimate from a stated model (cost, effort, value-at-risk), always a range with its assumptions, never a precise fact; ◐ Advisory — an LLM prose judgement. We never present a modelled estimate as if it were measured. Perfect or absent scores carry their provenance too (ADR-0011): ✓ Tool-verified means the property itself was measured across the surface; ○ Nothing flagged means the probes came back clean — a claim bounded by what a repository can show; ⊘ Not evidenced means a working control (a tested restore, an automated rollback) showed no positive evidence — absence of evidence is not evidence of a control, so it's excluded from the score rather than awarded a spurious 10; ◐ Sampled · advisory marks an LLM verdict over a bounded sample — advisory, never a deterministic measurement.

What we checked — 83 dimensions across the health lenses
D1D2D3D4D5D6D7D9D10D11D12D13D14D15D16D17D18D20D21D24D25D26D27D28D29D30D33D34D35D38AC1AC2AC3AC4AC5AC6AC7AX1AX10AX2AX3AX4AX5AX6AX8C1C2DM1DM2DM3DM4DM5DM6DM8GD1IC1M1M2M3M4P1P2P4P5PF1PF2PF3R1R10R2R3R4R5R6R7R8R9S1X1X2X3X4X5

Each chip is a dimension scored from real signals across architecture, testing, dependencies, security & compliance, documentation, git-history and code quality — in one coherent pass. A surface report typically covers a handful.

How to trust any code-health report — three questions
  1. 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, 493 of 548 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line. (Every path in this report is repo-relative by construction: paths are normalized at the producer and the report is rejected if any rooted path leaks through.)
  2. 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.
  3. 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.

This report answers yes to all three. That's the bar to hold any assessment to.

Tools & methods

The actual versions used this run (captured at analysis time) — re-run on the same commit for the identical score.

MethodBacksVersionEvaluator
Roslyn static analysisComplexity, cohesion, coupling, dead code, API surface, layering5.3.0✓ deterministic
Native secret scannerHardcoded secrets / credentials1.0.0✓ deterministic
jscpdCode duplication✓ deterministic
Coverage (coverlet / dotnet-coverage)Line & branch coverage10.0.301✓ deterministic
NuGet / dotnetOutdated, vulnerable & deprecated dependencies10.0.301✓ deterministic
git / LibGit2SharpChurn hotspots, knowledge concentration, history2.43.0 · 0.31.0✓ deterministic
gitleaks · semgrep · trivy · checkovSecrets in history, SAST, CVEs, IaC & container, PII / GDPR1.86.0 · 0.69.3✓ deterministic
LLM (sampled · advisory)Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurementLocal LLM◐ LLM · sampled · advisory

Every finding is locatable in findings.md. Run 019f1546-8266-7faf-8d80-b8ec9f5da038.

The exact command behind every deep-scan dimension — tool, version, invocation and retained raw output — is in Appendix B — Reproduction & audit trail.

Run transparency — what happened this run

What ran differently this time — a tool absent, degraded, or that fell back to an estimate. Named openly, not folded silently into the scores. A degraded run also records its exact cause in diagnostics.md.

  • 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.
  • D31 IaC & Container Security — 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.
  • D36 Supply-chain Provenance & Signing — 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.

Repo exclusion declarations (.gitattributes linguist-generated/vendored, .editorconfig generated_code): none declared — every source file was scored.

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

For each dimension that was measured, what a static, repo-only scan structurally cannot see — the honest edge of the measurement, not a failure of it.

  • 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.
  • D7 Architectural Integrity: Layering is checked against detected/declared rules — an architecture whose boundaries live in convention or in code review, not in a rule a scanner can read, is not enforced here.
  • 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.
  • D11 Test Reliability: Flakiness is inferred from history/markers — Watchdog runs the suite once (for coverage), not the repeated runs under varied conditions that reveal nondeterminism, so a flaky test never recorded as failing is invisible here.
  • 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.
  • 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.
  • D25 ADR Conformance: ADR conformance is the LLM-scored fraction of sampled code that follows recorded decisions — it checks the decisions that were written down and the slices it sampled, not unrecorded rules or the whole tree.
  • D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
  • D27 Navigability: Indirection/navigability is structural — it measures hops to follow a call, not whether that indirection buys real flexibility or just ceremony.
  • D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
  • D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
  • D30 Dependency Vulnerabilities: CVE matching depends on accurate package/version metadata and the advisory database — a vulnerability with no published advisory, or in code not declared as a dependency, is not seen.
  • 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.
  • 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.
  • 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

LLM-set scores this run (5): D20, D21, D24, D25, M4 (model: Local LLM). For these, a model reads a bounded sample and sets the numeric score (documentation, ADR quality, naming, comment value, onboarding) — D25 sets the ADR-conformance fraction over sampled code, D22 judges API accuracy over a sample. These are sampled and advisory by design: they vary at the margins between runs and are never a deterministic measurement. Every other score in this report is tool-computed at confidence 1.0.

Dimensions

D1 · Cyclomatic Complexity6.8 / 10Adequate✓ Tool-verified

What it measures: How tangled the control flow is — methods with many branches are hard to test and change.

Method: Cyclomatic complexity per method (1 + decision points), computed exhaustively across production source; test projects separated by convention. Deterministic.

Maturity: DocumentedVerifiedPrevented · effective 6.8 / 10 · rule-coverage 100% · ceiling Prevented

38 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was LocalMachineFileStoreExtensions.FromFileProperty at 46.

LocalMachineFileStoreExtensions.FromFileProperty (cyclomatic 46)src/ExternalAdapters/Infrastructure.External.Persistence.TestingOnly/ApplicationServices/LocalMachineJsonFileStore.cs:552
EndUserRoot.OnStateChanged (cyclomatic 45)src/Subdomains/Generic/EndUsersDomain/EndUserRoot.cs:117
SubscriptionRoot.OnStateChanged (cyclomatic 45)src/Subdomains/Generic/SubscriptionsDomain/SubscriptionRoot.cs:118
PersonCredentialRoot.OnStateChanged (cyclomatic 41)src/Subdomains/Generic/IdentityDomain/PersonCredentialRoot.cs:150
EndUserProjection.ProjectEventAsync (cyclomatic 40)src/Subdomains/Generic/EndUsersInfrastructure/Persistence/ReadModels/EndUserProjection.cs:34

+ 33 more group(s) — more in Appendix A; the complete list is findings.md.

What to do

  1. Resolve the 1 LocalMachineFileStoreExtensions.FromFileProperty (cyclomatic 46) finding(s) in Cyclomatic Complexity — start with LocalMachineJsonFileStore.cs. — One of this dimension's main actionable groups (1 warning-level).
  2. Resolve the 1 EndUserRoot.OnStateChanged (cyclomatic 45) finding(s) in Cyclomatic Complexity — start with EndUserRoot.cs. — One of this dimension's main actionable groups (1 warning-level).
  3. Resolve the 1 SubscriptionRoot.OnStateChanged (cyclomatic 45) finding(s) in Cyclomatic Complexity — start with SubscriptionRoot.cs. — One of this dimension's main actionable groups (1 warning-level).

Detailed fixes: d1_recommendation.md · top locations in Appendix A, every location in findings.md.

D2 · Cognitive Complexity6.4 / 10Adequate✓ Tool-verified

What it measures: How hard the code is for a person to follow, beyond raw branching.

Method: Cognitive complexity per method (Sonar-style nesting-penalized score), computed exhaustively over production code, excluding test projects. Deterministic.

Maturity: DocumentedVerifiedPrevented · effective 6.4 / 10 · rule-coverage 100% · ceiling Prevented

60 method(s) exceeded the cognitive complexity threshold of 15; the worst was RequestTenantDetective.ParseTenantIdFromRequestBodyAsync at 66.

RequestTenantDetective.ParseTenantIdFromRequestBodyAsync (cognitive 66)src/Framework/Infrastructure/Infrastructure.Web.Api.Common/RequestTenantDetective.cs:177
SubscriptionRoot.OnStateChanged (cognitive 65)src/Subdomains/Generic/SubscriptionsDomain/SubscriptionRoot.cs:118
SubscriptionsApplication.ResyncSubscriptionTierQuotasInternalAsync (cognitive 63)src/Subdomains/Generic/SubscriptionsApplication/SubscriptionsApplication_Quotas.cs:170
EndUserRoot.OnStateChanged (cognitive 57)src/Subdomains/Generic/EndUsersDomain/EndUserRoot.cs:117
HostExtensions.ConfigureApiHost (cognitive 50)src/Framework/Infrastructure/Infrastructure.Web.Hosting.Common/Extensions/HostExtensions.cs:65

+ 55 more group(s) — more in Appendix A; the complete list is findings.md.

What to do

  1. Resolve the 1 RequestTenantDetective.ParseTenantIdFromRequestBodyAsync (cognitive 66) finding(s) in Cognitive Complexity — start with RequestTenantDetective.cs. — One of this dimension's main actionable groups (1 warning-level).
  2. Resolve the 1 SubscriptionRoot.OnStateChanged (cognitive 65) finding(s) in Cognitive Complexity — start with SubscriptionRoot.cs. — One of this dimension's main actionable groups (1 warning-level).
  3. Resolve the 1 SubscriptionsApplication.ResyncSubscriptionTierQuotasInternalAsync… finding(s) in Cognitive Complexity — start with SubscriptionsApplication_Quotas.cs. — One of this dimension's main actionable groups (1 warning-level).

Detailed fixes: d2_recommendation.md · top locations in Appendix A, every location in findings.md.

D3 · God Classes8.8 / 10Strong✓ Tool-verified

What it measures: Over-large classes that try to do too much ("god classes").

Method: God-class detection by line and method-count thresholds per logical type (partial classes unified), filtered for generated code and registration/contract false positives. Deterministic.

Maturity: DocumentedVerifiedPrevented · effective 8.8 / 10 · rule-coverage 100% · ceiling Prevented

22 god class(es) detected.

TooManyMethods: InProcessInMemStore · ×14src/ExternalAdapters/Infrastructure.External.Persistence.TestingOnly/ApplicationServices/InProcessInMemStore.IBlobStore.cs:0
FileTooLong: Common/Annotations.cs · ×5src/Framework/Common/Annotations.cs:0
ClassTooLong: AncillaryApplication · ×4src/Subdomains/Generic/AncillaryApplication/AncillaryApplication.Auditing.cs:0

What to do

  1. Resolve the 14 TooManyMethods finding(s) in God Classes — start with DateTimeExtensions.cs, EndUserRoot.RolesAndFeatures.cs, InProcessInMemStore.IBlobStore.cs. — One of this dimension's main actionable groups (14 warning-level).
  2. Resolve the 5 FileTooLong finding(s) in God Classes — start with Annotations.cs, OrganizationsApplication.cs, PersonCredentialRoot.cs. — One of this dimension's main actionable groups (5 warning-level).
  3. Resolve the 4 ClassTooLong finding(s) in God Classes — start with AncillaryApplication.Auditing.cs, EndUsersApplication.DomainEventHandlers.cs, NativeIdentityServerCredentialsService.Mfa.cs. — One of this dimension's main actionable groups (4 warning-level).
  4. Enforce God Classes in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.

Detailed fixes: d3_recommendation.md · top locations in Appendix A, every location in findings.md.

D4 · Code Duplication9.7 / 10Exemplary✓ Tool-verified

What it measures: Copy-pasted code that should be shared instead.

Method: Code duplication via token-stream sliding windows with type-aware normalization (locals masked, type names preserved), density-scored per KLoC of production code. Deterministic.

Maturity: DocumentedVerifiedPrevented · effective 9.7 / 10 · rule-coverage 100% · ceiling Verified

62 duplicated block group(s) detected.

Duplicated block (16 lines × 2) · ×13src/Subdomains/Generic/AncillaryInfrastructure/Persistence/ReadModels/EmailDeliveryProjection.cs:60
Duplicated block (17 lines × 2) · ×6src/Subdomains/Generic/IdentityApplication/AuthTokensApplication.cs:73
Duplicated block (14 lines × 2) · ×5src/Framework/Infrastructure/Infrastructure.Web.Api.Common/RequestTenantDetective.cs:84
Duplicated block (11 lines × 2) · ×5src/Hosts/ApiHost1/Api/TestingOnly/ValidationsValidatedGetTestingOnlyRequestValidator.cs:14
Duplicated block (15 lines × 2) · ×4src/Subdomains/Generic/AncillaryInfrastructure/Api/Emails/SearchAllEmailDeliveriesRequestValidator.cs:14

+ 22 more group(s) — more in Appendix A; the complete list is findings.md.

✓ On the Gold path — maintain.

Detailed fixes: d4_recommendation.md · top locations in Appendix A, every location in findings.md.

D5 · Coupling9.3 / 10Exemplary✓ Tool-verified

What it measures: Whether volatile projects sit underneath others that depend on them (so their churn ripples upward), and whether project dependencies form cycles. A widely-depended-on but stable shared/kernel project is healthy, not penalised.

Method: Dependency cycles via elementary-DFS over real .csproj references, plus Martin instability (afferent/efferent) per project. Exhaustive over the reference graph, deterministic.

Coverage: Exhaustive · type-level: afferent/efferent coupling + cycles computed over every production type — the population is all types, not a name convention.

Maturity: DocumentedVerifiedPrevented · effective 9.3 / 10 · rule-coverage 100% · ceiling Prevented

142 projects, 0 dependency cycle(s), 1 unstable depended-on project(s).

Layer violation: Application → Infrastructure · ×5
Off the main sequence: Tools.Generators.Common · ×28
Unstable project TestingStubApiHost

✓ On the Gold path — maintain.

Detailed fixes: d5_recommendation.md · top locations in Appendix A, every location in findings.md.

D6 · Cohesion (LCOM4)9.8 / 10Exemplary✓ Tool-verified

What it measures: Whether a class's methods are focused on a single responsibility.

Method: LCOM4 cohesion per production class with at least two methods: connected components of methods sharing state or calls, computed syntactically. Deterministic, not a proxy.

Coverage: Exhaustive · type-level: LCOM4 cohesion computed over every production class — the population is all types, not a name convention.

Maturity: DocumentedVerifiedPrevented · effective 9.8 / 10 · rule-coverage 100% · ceiling Verified

4 of 222 classes have LCOM4 above 3.

Low cohesion: TestingWebApi (LCOM4 34) · ×4src/Hosts/ApiHost1/Api/TestingOnly/TestingWebApi.cs:16

✓ On the Gold path — maintain.

Detailed fixes: d6_recommendation.md · top locations in Appendix A, every location in findings.md.

D7 · Architectural Integrity10.0 / 10Exemplary✓ Tool-verified

What it measures: Whether the code respects its intended layering / architecture rules.

Method: Enforcement rung (Prevented/Verified/Documented) per checkable ADR via Roslyn, plus dependency cycles via the engine shared with D5/AX3. Deterministic, exact.

Maturity: DocumentedVerifiedPrevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Prevented

Of 23 mechanizable ADRs, 20 are prevented by analyzers, 3 by tests, 0 exist only in prose. Coverage: 100 %. Cycles found: 0.

✓ On the Gold path — maintain.

Detailed fixes: d7_recommendation.md.

D9 · Test Distribution10.0 / 10Exemplary✓ Tool-verified

What it measures: Whether the test suite has a healthy mix of unit / integration / end-to-end tests.

Method: Test projects classified (Unit/Integration/BDD/E2E) from compiled metadata; test methods counted exhaustively across projects with placement-agnostic disk fallback. Deterministic.

Maturity: DocumentedVerifiedPrevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Documented

4559 test methods: 4104 unit, 455 integration, 0 BDD, 0 e2e.

✓ On the Gold path — maintain.

Detailed fixes: d9_recommendation.md.

D10 · Test Quality9.4 / 10Exemplary✓ Tool-verified

What it measures: Whether the tests truly assert behaviour rather than just running the code.

Method: Per-test assertions, skips, and mock references analyzed via Roslyn; structured skip-reason tags (BUG:/ENV:) separate documented deferrals from debt. Deterministic.

Maturity: DocumentedVerifiedPrevented · effective 9.4 / 10 · rule-coverage 100% · ceiling Prevented

0 skipped, 199 zero-assertion, 2 mock references across 4559 tests (2 harness-style project(s) excluded from the assertion penalty).

No assertions: WhenAllProperties_ThenSucceeds · ×170src/Framework/Infrastructure/Infrastructure.Web.Api.Common.UnitTests/Validation/AdditionalValidatorSpec.cs:22
No direct assertions: WhenAllProperties_ThenSucceeds · ×29src/Subdomains/Generic/AncillaryInfrastructure.UnitTests/Api/Audits/DeliverAuditRequestValidatorSpec.cs:25
Mock framework: Moq · ×2

✓ On the Gold path — maintain.

Detailed fixes: d10_recommendation.md · top locations in Appendix A, every location in findings.md.

D11 · Test Reliability10.0 / 10Exemplary✓ Tool-verified

What it measures: Whether the tests pass reliably, with no flakiness.

Method: Suite re-run N times within tiered wall-clock budgets (unit to e2e); tests failing non-deterministically across runs flagged; guarded tests retried when #if guards detected.

Maturity: DocumentedVerifiedPrevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Verified

0 flaky across 2 measured tier(s). unit: measured (0 flaky); integration: not included — too large to re-run within its budget; other: measured (0 flaky).

✓ On the Gold path — maintain.

Detailed fixes: d11_recommendation.md.

D12 · Dependency Hygiene10.0 / 10Exemplary✓ Tool-verified

What it measures: Whether dependencies are current, secure, and not bloated.

Method: Manifest scan via dotnet list package across all projects; worst-signal-per-package deduction (saturating for vulnerabilities, capped-linear for deprecation/outdated) per KLoC. Exhaustive, deterministic.

Maturity: DocumentedVerifiedPrevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Verified

0 outdated, 0 vulnerable, 0 deprecated packages.

✓ On the Gold path — maintain.

Detailed fixes: d12_recommendation.md.

D13 · Secret Scanning0.0 / 10Critical✓ Tool-verified

What it measures: Whether any secrets (keys, tokens, passwords) have leaked into the code.

Method: In-process native secret scanner (entropy plus signature patterns) across all tracked files; no external tool. A clean result is a measured 10, not no-data zero. Deterministic.

Maturity: DocumentedVerifiedPrevented · effective 0.0 / 10 · rule-coverage 100% · ceiling Prevented

2 secret(s) detected.

Leaked secret: high-entropy-secret · ×2src/Subdomains/Generic/EndUsersDomain/EndUserRoot.cs:24

What to do

  1. Resolve the 2 Leaked secret finding(s) in Secret Scanning — start with EndUserRoot.cs, WebsiteTestingExtensions.cs. — One of this dimension's main actionable groups (2 issue-level).
  2. Enforce Secret Scanning in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.

Detailed fixes: d13_recommendation.md · top locations in Appendix A, every location in findings.md.

D14 · License Compliance10.0 / 10Exemplary○ Nothing flagged

What it measures: Whether the licenses of third-party packages are compatible with your policy.

Method: Third-party package licenses resolved from declared package metadata and checked against the configured policy (allow/deny/copyleft). Deterministic; clean = no incompatible license found at metadata depth.

Maturity: DocumentedVerifiedPrevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Verified

0 of 42 packages use a banned license.

✓ On the Gold path — maintain.

Detailed fixes: d14_recommendation.md.

D15 · Churn × Complexity Hotspots9.9 / 10Exemplary✓ Tool-verified

What it measures: Files that change often and are also complex — the riskiest hotspots.

Method: Per production file churn times cyclomatic complexity over a rolling window, computed from git and Roslyn/JS/Razor analysis. Exhaustive, deterministic per commit date.

Maturity: DocumentedVerifiedPrevented · effective 9.9 / 10 · rule-coverage 100% · ceiling Documented

Top hotspots: src/Subdomains/Generic/SubscriptionsDomain/SubscriptionRoot.cs (3×45=135); src/Subdomains/Generic/EndUsersDomain/EndUserRoot.cs (3×45=135); src/Subdomains/Generic/IdentityDomain/PersonCredentialRoot.cs (3×41=123)

Hotspot: src/Subdomains/Generic/SubscriptionsDomain/SubscriptionRoot.cs · ×10src/Subdomains/Generic/SubscriptionsDomain/SubscriptionRoot.cs

✓ On the Gold path — maintain.

Detailed fixes: d15_recommendation.md · top locations in Appendix A, every location in findings.md.

D16 · Bus Factor3.5 / 10Weak✓ Tool-verified

What it measures: Whether knowledge is concentrated in too few people (the "bus factor").

Method: Living knowledge per author via time-decayed commit attribution (6-month half-life, focus weighting) across largest source files. Deterministic, avoids blame's mechanical-refactor false positives.

Maturity: DocumentedVerifiedPrevented · effective 3.5 / 10 · rule-coverage 100% · ceiling Documented

234 source file(s) have their living knowledge concentrated in one author (≥90% of recent, decayed contribution). The largest is src/Subdomains/Generic/SubscriptionsDomain/SubscriptionRoot.cs.

Off-boarding risk: anonymized user #1

What to do

  1. Resolve the 1 Off-boarding risk finding(s) in Bus Factor. — One of this dimension's main actionable groups (1 recommendation-level).

Detailed fixes: d16_recommendation.md · top locations in Appendix A, every location in findings.md.

D17 · Explicit Debt9.6 / 10Exemplary✓ Tool-verified

What it measures: Acknowledged debt left in the code — TODOs, dead code, suppressed warnings.

Method: Roslyn syntactic debt markers (suppressions/TODO/FIXME/HACK/empty-catch/commented-code/Obsolete) plus SymbolFinder dead-code analysis; weighted-debt-per-KLoC density deducted 2.0x per unit. Deterministic, exhaustive.

Maturity: DocumentedVerifiedPrevented · effective 9.6 / 10 · rule-coverage 100% · ceiling Prevented

50 deducted debt markers + 0 dead symbols across 88544 LoC (0.2/KLoC) → score 9.6.

BarePragmaDisable · ×31src/Framework/Common.UnitTests/Extensions/EnumExtensionsSpec.cs:91
HackComment · ×15src/ExternalAdapters/Infrastructure.External.Persistence.TestingOnly/ApplicationServices/InProcessInMemStore.IEventStore.cs:88
BareSuppressMessagesrc/Subdomains/Generic/IdentityInfrastructure.IntegrationTests/SingleSignOnApiSpec.cs:198
TodoCommentsrc/Subdomains/Generic/SubscriptionsDomain/SubscriptionQuotaUsageRoot.cs:107
ObsoleteWithCallerssrc/Subdomains/Shared/Domain.Events.Shared/TestingOnly/Happened.cs:9

+ 1 more group(s) — more in Appendix A; the complete list is findings.md.

✓ On the Gold path — maintain.

Detailed fixes: d17_recommendation.md · top locations in Appendix A, every location in findings.md.

D18 · Solution Shape9.8 / 10Exemplary✓ Tool-verified

What it measures: Whether the solution is laid out in a sensible, conventional structure.

Method: Solution structure: project count, decomposition, shell-project detection, build success (confirmed failures cap the score); traced to actual .sln files and binaries. Deterministic.

Maturity: DocumentedVerifiedPrevented · effective 9.8 / 10 · rule-coverage 100% · ceiling Documented

142 projects, 2086 .cs files, 176334 hand-written lines of code (88544 production / 87790 test), plus 9551 generated (EF migrations / designer / snapshots, excluded from quality), 2850 inter-project edges.

Shell project: UnitTesting.CodeAnalysis.Common · ×2src/Framework/Testing/UnitTesting.CodeAnalysis.Common/UnitTesting.CodeAnalysis.Common.csproj
Thin analysable surface across projects

✓ On the Gold path — maintain.

Detailed fixes: d18_recommendation.md · top locations in Appendix A, every location in findings.md.

D20 · ADR Quality / 10Strong◐ Sampled · advisory

What it measures: Whether architecture decisions are recorded well (context, decision, consequences).

Method: Per-ADR judgment by language model at low temperature with two-pass stability; confidence is share of ADRs evaluated; enforcement-field presence detected deterministically. Advisory.

Maturity: DocumentedVerifiedPrevented · effective Strong / 10 · rule-coverage 100% · ceiling Documented

Evaluated 50 ADR(s) individually; mean quality 7.9/10 (mixed — many ADRs miss context or consequences). 3 flagged with a specific gap.

Context/problem and consequences/trade-offs are absent from the visible textdocs/design-principles/0020-api-framework.md
Decision is a thin implementation heading with no context/problem and no consequences; the title 'Dependency Injection' names only the subjectdocs/design-principles/0060-dependency-injection.md
Context/problem and consequences/trade-offs are absent; only how-to sections with no rationaledocs/design-principles/0210-javascript-forms.md

What to do

  1. Resolve the 1 Context/problem and consequences/trade-offs are absent from the visible… finding(s) in ADR Quality — start with 0020-api-framework.md. — One of this dimension's main actionable groups (1 warning-level).
  2. Resolve the 1 Decision is a thin implementation heading with no context/problem and no… finding(s) in ADR Quality — start with 0060-dependency-injection.md. — One of this dimension's main actionable groups (1 warning-level).
  3. Resolve the 1 Context/problem and consequences/trade-offs are absent; only how-to… finding(s) in ADR Quality — start with 0210-javascript-forms.md. — One of this dimension's main actionable groups (1 warning-level).

Detailed fixes: d20_recommendation.md · top locations in Appendix A, every location in findings.md.

D21 · Naming Consistency / 10Exemplary◐ Sampled · advisory

What it measures: Whether names — types, methods, variables — are clear and consistent.

Method: Judged by language model at low temperature (0.0-0.1) on a deterministic random symbol sample (fixed size, not exhaustive), with disclosed confidence band. Advisory, sampled.

Maturity: DocumentedVerifiedPrevented · effective Exemplary / 10 · rule-coverage 100% · ceiling Verified

0 naming inconsistencies across 200 sampled symbols.

✓ On the Gold path — maintain.

Detailed fixes: d21_recommendation.md.

D24 · Comment Value / 10Adequate◐ Sampled · advisory

What it measures: Whether comments are worth it — explaining WHY (valuable) rather than WHAT (redundant).

Method: Judged by language model at low temperature (0.0-0.1) on deterministically sampled inline comments with surrounding code; findings verified back to sampled comments by substring match. Advisory, sampled.

Maturity: DocumentedVerifiedPrevented · effective Adequate / 10 · rule-coverage 100% · ceiling Documented

14 valuable / 0 redundant across 200 sampled comments.

What to do

  1. Improve Comment Value — currently 5.5/10. — 14 valuable / 0 redundant across 200 sampled comments.

Detailed fixes: d24_recommendation.md.

D25 · ADR Conformance / 10Exemplary◐ Sampled · advisory

What it measures: Whether the code actually follows the decisions recorded in the project's ADRs.

Method: Judged by language model at low temperature against ADRs plus a deterministic structural code summary; findings linked to repo-rooted ADR paths for traceability. Advisory.

Maturity: DocumentedVerifiedPrevented · effective Exemplary / 10 · rule-coverage 100% · ceiling Verified

50 conform / 0 violate across 50 ADRs.

✓ On the Gold path — maintain.

Detailed fixes: d25_recommendation.md.

D26 · Project Cohesion9.5 / 10Exemplary✓ Tool-verified

What it measures: Whether each project is a focused, coherent unit rather than an oversized grab-bag.

Method: Project size overshoot penalties (LoC / public-type count / namespace count, 2-of-3 flag) weighted by log magnitude. Exhaustive across projects, deterministic, LLM-independent.

Maturity: DocumentedVerifiedPrevented · effective 9.5 / 10 · rule-coverage 100% · ceiling Documented

4 of 142 projects flagged as possibly oversized/incoherent.

Split Common
Split Infrastructure.Web.Api.Operations.Shared
Split Domain.Events.Shared

✓ On the Gold path — maintain.

Detailed fixes: d26_recommendation.md · top locations in Appendix A, every location in findings.md.

D27 · Navigability8.5 / 10Strong✓ Tool-verified

What it measures: How far you must trace to follow a call — low indirection and co-located slices read easier.

Method: Call indirection (interface hops, cross-namespace calls, slice-locality scaled) over a sampled set of method invocations, size-aware baseline. Sampled; confidence discounted by symbol-resolution gaps.

Coverage: Slice locality from the first namespace segments, SAMPLED (≤400 methods) — not exhaustive.

Maturity: DocumentedVerifiedPrevented · effective 8.5 / 10 · rule-coverage 100% · ceiling Documented

79 % of calls cross a namespace and 1 % go through an interface, but 89 % of collaborators are co-located — so a call's collaborators sit together and tracing stays easy. Baseline: large — vertical-slice locality expected.

What to do

  1. Improve Navigability — currently 8.5/10. — 79 % of calls cross a namespace and 1 % go through an interface, but 89 % of collaborators are co-located — so a call's collaborators sit together and tracing stays easy. Baseline: large — vertical-slice locality expected.

Detailed fixes: d27_recommendation.md.

D28 · Secrets (history)4.0 / 10Weak✓ Tool-verified

What it measures: Whether any secrets were ever committed — scanned across the full git history, not just now.

Method: Git-history secret scan via gitleaks detect over full history in an isolated checkout; each match flagged High. Exhaustive; degrades cleanly when tool absent.

Maturity: DocumentedVerifiedPrevented · effective 4.0 / 10 · rule-coverage 100% · ceiling Documented

6 finding(s): 0 critical, 6 high, 0 medium, 0 low. Remediation for historically-committed secrets is credential rotation — they remain in history regardless of later deletion.

Secret: private-key · ×4src/ApiHost1/appsettings.json:104detected by gitleaks finding
Rotate the exposed credentials — git history can't be un-committed

What to do

  1. Resolve the 4 Secret finding(s) in Secrets (history) — start with EndUserRoot.cs (2), appsettings.json (2). — One of this dimension's main actionable groups (4 issue-level).
  2. Resolve the 1 Rotate the exposed credentials finding(s) in Secrets (history). — One of this dimension's main actionable groups (1 recommendation-level).

Detailed fixes: d28_recommendation.md · top locations in Appendix A, every location in findings.md.

D29 · Static Analysis (SAST)10.0 / 10Exemplary○ Nothing flagged

What it measures: Real static-analysis (SAST) findings — likely security bugs in the code, any language.

Method: Polyglot static analysis via semgrep --config auto across the repo; severity rules (ERROR/WARNING/INFO) map to a 0-10 wide normalizer. Exhaustive, deterministic; degrades on parse failure.

Coverage: semgrep pattern rules over all files — exhaustive for the rule set, blind to classes of bug without a rule (clean = no rule matched).

Maturity: DocumentedVerifiedPrevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Documented

semgrep found no security issues.

✓ On the Gold path — maintain.

Detailed fixes: d29_recommendation.md.

D30 · Dependency Vulnerabilities4.4 / 10Weak✓ Tool-verified

What it measures: Whether any dependencies have known published vulnerabilities (CVEs), direct or transitive.

Method: NuGet CVE scan via dotnet list package --vulnerable including transitive; severity tally (Critical/High/Medium/Low) to 0-10 tight normalizer. Exhaustive, deterministic; degrades when absent.

Maturity: DocumentedVerifiedPrevented · effective 4.4 / 10 · rule-coverage 100% · ceiling Documented

8 vulnerable package(s): 1 critical, 7 high, 0 medium, 0 low.

High CVE: Newtonsoft.Json 12.0.2 · ×7detected by dotnet list package --vulnerable
Critical CVE: NuGet.Packaging 5.6.0detected by dotnet list package --vulnerable

What to do

  1. Resolve the 7 High CVE finding(s) in Dependency Vulnerabilities. — One of this dimension's main actionable groups (7 issue-level).
  2. Resolve the 1 Critical CVE finding(s) in Dependency Vulnerabilities. — One of this dimension's main actionable groups (1 issue-level).

Detailed fixes: d30_recommendation.md · top locations in Appendix A, every location in findings.md.

D33 · JS/npm Dependency Vulnerabilities10.0 / 10Exemplary○ Nothing flagged

What it measures: Whether JavaScript/npm dependencies have known published vulnerabilities (CVEs) — the npm ecosystem's biggest risk.

Method: JS/npm CVE scan via trivy fs --scanners vuln over JS manifests (package.json/yarn.lock/pnpm-lock/bun.lockb); 0-10 tight normalizer. NotApplicable without JS manifests. Exhaustive, deterministic.

Maturity: DocumentedVerifiedPrevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Documented

No known-vulnerable JS/npm dependencies.

✓ On the Gold path — maintain.

Detailed fixes: d33_recommendation.md.

D34 · Knowledge Freshness2.3 / 10Critical✓ Tool-verified

What it measures: Whether anyone still has living knowledge of each file, or it has been orphaned — last understood long ago by someone now gone quiet. The sibling of the bus factor: D16 asks who owns it, D34 asks whether anyone still knows it.

Method: File orphaning as total living-knowledge decay below one focused-commit's worth within a year, computed per-file from the D16 decay model. Exhaustive, deterministic over fixed history.

Maturity: DocumentedVerifiedPrevented · effective 2.3 / 10 · rule-coverage 100% · ceiling Documented

279 of 361 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is src/Framework/Common/Annotations.cs.

Dormant codebase

What to do

  1. Resolve the 1 Dormant codebase finding(s) in Knowledge Freshness. — One of this dimension's main actionable groups (1 recommendation-level).

Detailed fixes: d34_recommendation.md · top locations in Appendix A, every location in findings.md.

D35 · Change Coupling10.0 / 10Exemplary✓ Tool-verified

What it measures: Whether files that change together actually belong together — pairs that repeatedly co-change in git history despite having no explicit code dependency, surfacing the hidden/logical coupling (and boundaries in the wrong place) a static scan can't see.

Method: Pairwise co-occurrence over the per-commit file sets in git history (production source only — tests and generated dropped): Degree-of-Coupling = shared ÷ min individual revisions, reported above noise floors (each file ≥10 revisions, ≥5 shared commits, ≥50% strength); sweeping commits excluded. Deterministic over fixed history.

Coverage: Population: PRODUCTION source files only — test and generated files are dropped before pairing, so a class co-changing with its own test (trivially ~100%) can't drown the real production↔production coupling. Pairs ranked by Degree-of-Coupling; coupling through a build step, config, or non-source file isn't seen.

Maturity: DocumentedVerifiedPrevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Documented

No strong hidden change-coupling between production files.

✓ On the Gold path — maintain.

Detailed fixes: d35_recommendation.md.

D38 · OSV Dependency Vulnerabilities0.0 / 10Critical✓ Tool-verified

What it measures: Whether dependencies have known published vulnerabilities (CVEs) per the OSV database — npm and other lockfile ecosystems, parsed natively. Complements D33 (npm via trivy) and D30 (.NET via dotnet).

Method: npm/multi-ecosystem CVE scan via osv-scanner (queries the osv.dev database + parses lockfiles natively: package-lock/yarn/pnpm/bun); severity tally (Critical/High/Medium/Low) to 0-10 tight normalizer (8.0). NotApplicable without a JS lockfile. Additive to D33 (trivy fs); exhaustive + deterministic, DB kept fresh.

Maturity: DocumentedVerifiedPrevented · effective 0.0 / 10 · rule-coverage 100% · ceiling Documented

36 finding(s): 1 critical, 20 high, 12 medium, 3 low.

High CVE: [GHSA redacted] · ×20src/Hosts/WebsiteHost/ClientApp/package-lock.jsondetected by osv-scanner finding
Critical CVE: [GHSA redacted]src/Hosts/WebsiteHost/ClientApp/package-lock.jsondetected by osv-scanner finding
Medium CVE: [GHSA redacted] · ×12src/Hosts/WebsiteHost/ClientApp/package-lock.jsondetected by osv-scanner finding
Low CVE: [GHSA redacted] · ×3src/Hosts/WebsiteHost/ClientApp/package-lock.jsondetected by osv-scanner finding

What to do

  1. Resolve the 20 High CVE finding(s) in OSV Dependency Vulnerabilities — start with package-lock.json (20). — One of this dimension's main actionable groups (20 issue-level).
  2. Resolve the 12 Medium CVE finding(s) in OSV Dependency Vulnerabilities — start with package-lock.json (12). — One of this dimension's main actionable groups (12 warning-level).
  3. 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).

Detailed fixes: d38_recommendation.md · top locations in Appendix A, every location in findings.md.

Frontend & cross-cutting dimensions

R = React/JS · M = Maturity · P = Readiness.

AC1 · Text alternatives10.0 / 10Exemplary○ Nothing flagged

Other · Accessibility — Whether non-text content carries a text alternative — img/area/input[type=image] have alt, a meaningful svg has a title or aria-label, video has a captions track, and object/embed/canvas have a name or fallback content. Static markup readiness, not a WCAG conformance claim.

Method: Static markup-model scan: every img/area/input[type=image] checked for alt, svg[role=img] for a title/aria-label, video for a captions <track>. Components skipped, spreads suppressed. Deterministic, hard fact per element.

AC2 · Forms & labels5.7 / 10Adequate✓ Tool-verified

Other · Accessibility — Whether form controls have a programmatic label (an associated label, aria-label or aria-labelledby), buttons have text, links have an accessible name, fieldsets have a non-empty legend, known UI-library field components carry a label prop, and a placeholder isn't used as the only label. Static markup readiness, not a WCAG conformance claim.

Method: Static markup-model scan: inputs/selects/textareas checked for an associated label[for]/wrapping label/aria-label/aria-labelledby (per document), buttons for accessible text, fieldsets for a legend; placeholder-only labelling flagged. Deterministic, hard fact per control.

  • A fieldset groups related controls but has no <legend> to name the group. Add a <legend> as its first child. — FormAction.tsx:85

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 structure6.6 / 10Strong✓ Tool-verified

Other · Accessibility — Whether pages declare a language (well-formed BCP-47) and a non-empty title, expose exactly one main landmark and a sane heading order with non-empty headings, keep zoom enabled, title their iframes, give data tables header cells, and avoid meta-refresh. Static markup readiness, not a WCAG conformance claim.

Method: Static markup-model scan: html lang, document <title>, a main landmark and heading order on full documents only, plus zoom-disabling viewports, untitled iframes and meta-refresh anywhere. Deterministic, per structural checkpoint.

  • Skipping heading levels breaks the document outline assistive tech relies on. Don't jump levels — increase by at most one. — UnhandledError.tsx:81
  • A page with no <title> gives no name in the tab, history or screen-reader page list. Add a descriptive <title> in <head>. — Index.cshtml:0
  • No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>. — Index.cshtml:0

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 semantics10.0 / 10Exemplary○ Nothing flagged

Other · Accessibility — Whether interactive behaviour is keyboard-reachable — no click handler on a non-interactive element lacking a role, tabindex and key handler, no positive tabindex, no href-less anchor, no placeholder-href (#/javascript) link acting as a button. Static markup readiness, not a WCAG conformance claim.

Method: Static markup-model scan: click handlers on non-interactive elements lacking role+tabindex+key handler, positive tabindex values, and href-less anchors. Components skipped, spreads suppressed. Deterministic, hard fact per element.

AC5 · ARIA correctness10.0 / 10Exemplary○ Nothing flagged

Other · Accessibility — Whether ARIA is used correctly — valid non-abstract roles, the ARIA state a role requires, valid (non-misspelled) aria-* attribute names, in-enum values for token-typed aria-* attributes, and no aria-hidden on (or wrapping) a focusable element. Static markup readiness, not a WCAG conformance claim.

Method: Static markup-model scan: role values checked against the WAI-ARIA role set (abstract/invalid flagged), required ARIA state for a role, and aria-hidden on a focusable element. Deterministic, role/attribute level.

AC6 · Visual & motion safety5.7 / 10Adequate✓ Tool-verified

Other · Accessibility — Whether focus outlines aren't removed without a replacement, motion respects prefers-reduced-motion, and literal CSS colour pairs meet contrast — PARTIAL: inline styles, in-repo <style> blocks, in-repo .css files, var() tokens, Tailwind neutral utilities and CSS-in-JS literals are read (hex/rgb/hsl/named), never computed/runtime/external-CDN colour. Static markup readiness, not a WCAG conformance claim.

Method: Static markup/CSS scan: inline outline:none/0, literal inline colour/background contrast against the 4.5:1 AA floor, and <style>-block animation without a prefers-reduced-motion guard. Deterministic but PARTIAL — only inline styles and in-repo CSS literals are visible.

  • 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. — ThemeToggle.tsx:8

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 enforcement4.0 / 10Adequate✓ Tool-verified

Other · Accessibility — Whether accessibility is ENFORCED in the toolchain — an a11y linter (eslint-plugin-jsx-a11y / vuejs-accessibility) configured, and axe/pa11y/Lighthouse wired into tests or CI — on the Documented→Verified→Prevented ladder.

Method: Repo config/CI scan: an a11y linter (eslint-plugin-jsx-a11y / vuejs-accessibility) configured, and axe/pa11y/Lighthouse in tests or CI, graded on the Documented→Verified→Prevented rungs. Deterministic, presence/rung detection.

  • 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 dependencies10.0 / 10Exemplary✓ Tool-verified

Other · Architecture — Whether any singleton service captures a scoped/transient dependency — a silent lifetime/threading bug.

Method: Roslyn scan: DI registrations parsed from AddSingleton/Scoped/Transient; each singleton checked for captured shorter-lifetime dependencies. Exhaustive, deterministic.

AX10 · Code composition6.2 / 10Adequate✓ Tool-verified

Other · Architecture — How the codebase splits by code ROLE — domain, application, infrastructure, test, generated. The significance map behind the knowledge/coupling weighting, and a DDD signal in its own right: a thin domain core under fat infrastructure is the anemic-domain smell, quantified.

Method: Roslyn line-count by code ROLE: every source file classified Domain/Application/Infrastructure/Test/Generated by namespace + path convention (the shared CodeRoleClassifier), then significant lines summed per role. Deterministic; the advisory score is the business-logic (domain+application) share of production code.

Coverage: Population: ALL source files, each bucketed into ONE of five roles (Domain/Application/Infrastructure/Test/Generated) by namespace + path convention — a file whose layer isn't named in the convention falls to Application (the neutral default), and the split is line-count, not semantic depth or business value.

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 singletons10.0 / 10Exemplary✓ Tool-verified

Other · Architecture — Whether singleton services avoid mutable shared instance state that concurrent callers would race on.

Method: Roslyn scan: singleton field mutations unguarded by lock or Interlocked, per type; syntax-based guard detection. Deterministic, traceable per field.

AX3 · Project dependency cycles10.0 / 10Exemplary✓ Tool-verified

Other · Architecture — Whether the project-reference graph is acyclic (cycles block independent build/deploy and signal eroding boundaries).

Method: Project reference cycles via elementary-DFS over real .csproj references, using the engine shared with D5/D7; cyclic versus acyclic. Exhaustive, deterministic.

AX4 · Dependency direction7.3 / 10Strong✓ Tool-verified

Other · Architecture — Whether dependencies point inward (Domain ← Application ← Infrastructure/Web) — the clean-architecture dependency rule, checked across the project graph.

Method: Layer violations by name-segment inference (Domain/Core to Application to Infrastructure/Web) over the project-reference graph. Exhaustive over all projects, deterministic.

  • `SubscriptionsDomain.UnitTests` is a Domain project but references `Application.Interfaces`, a Application project. The clean-architecture rule is that dependencies point INWARD — the domain/application core must not depend on outer layers (infrastructure/web). Invert it: define the abstraction in the inner layer and implement it in the outer one.
  • `ImagesDomain.UnitTests` is a Domain project but references `Application.Interfaces`, a Application project. The clean-architecture rule is that dependencies point INWARD — the domain/application core must not depend on outer layers (infrastructure/web). Invert it: define the abstraction in the inner layer and implement it in the outer one.
  • `EventNotificationsApplication` is a Application project but references `Infrastructure.Eventing.Interfaces`, a Infrastructure project. The clean-architecture rule is that dependencies point INWARD — the domain/application core must not depend on outer layers (infrastructure/web). Invert it: define the abstraction in the inner layer and implement it in the outer one.

What to do

  • Keep dependencies pointing inward: domain/application define interfaces, infrastructure/web implement them (Dependency Inversion).
AX5 · Architecture & structure10.0 / 10Exemplary✓ Tool-verified

Other · Architecture — Whether the codebase has a recognisable, scale-appropriate structure (a named architectural style, or modular enough for its size) rather than being an ad-hoc ball of mud.

Method: Roslyn plus csproj analysis: architecture style detection (DDD, clean, vertical-slice, CQRS) and structure fitness for repo size. Deterministic.

AX6 · Interface segregation9.9 / 10Exemplary✓ Tool-verified

Other · Architecture — Whether interfaces stay focused rather than fat — the Interface-Segregation principle (SOLID 'I').

Method: Roslyn scan: public interface member counts; fat-interface threshold (over 15 members) flagged per type. Deterministic, type-level.

  • `IRecorder` 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. — IRecorder.cs:9
  • `ICallerContext` declares 18 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. — ICallerContext.cs:8
  • `IIdentityServerCredentialsService` declares 18 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. — IIdentityServerCredentialsService.cs:10
  • `IAncillaryApplication` 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. — IAncillaryApplication.Auditing.cs:7
  • `IPersonCredentialsApplication` 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. — IPersonCredentialsApplication.cs:7
  • `IOrganizationsApplication` declares 29 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. — IOrganizationsApplication.cs:8
  • `ISubscriptionsApplication` declares 29 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. — ISubscriptionsApplication.cs:7

What to do

  • Split fat interfaces into focused role-interfaces so clients depend only on what they use.
AX8 · Test isolation7.5 / 10Strong✓ Tool-verified

Other · Architecture — Whether production projects stay free of references to test projects — tests may depend on production, never the reverse.

Method: Csproj graph: each production project checked for references to test projects (identified by test-framework presence, not name). Zero violations is clean. Deterministic.

  • `IntegrationTesting.WebApi.Common` (production) references the test project `UnitTesting.Common`. 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.
C1 · Data Protection6.5 / 10Adequate✓ Tool-verified

Other · Security — Whether sensitive data is encrypted at rest and in transit and keys are vaulted.

Method: Roslyn plus filesystem scan: encryption presence (EF ColumnEncryption, key-vault references, HTTPS enforcement) and key-derivation KDF detection. Deterministic.

What to do

  • Strengthen data-at-rest protection: vault your keys (Azure Key Vault / AWS KMS / IDataProtector key ring) and encrypt the most sensitive columns (EF HasConversion encryption or provider-native column encryption) — partial coverage still leaves gaps.
C2 · Access Controls10.0 / 10Exemplary○ Nothing flagged

Other · Security — Whether access is authorized by default — [Authorize]/policies or imperative guard methods (throw-on-violation) called from handlers.

Method: Roslyn scan: [Authorize] usage and authorization policies, plus imperative throw-on-violation guard methods detected via syntax. Deterministic.

DM1 · Aggregate boundaries10.0 / 10Exemplary✓ Tool-verified

Other · Domain Modelling — Whether aggregates reference each other by identity (id) rather than by direct object reference — the core DDD consistency-boundary rule.

Method: Roslyn (DDD-gated): aggregate roots identified by convention; each aggregate field checked for direct references to other aggregates versus id-only. Deterministic, DDD-native.

Coverage: Population: aggregate roots identified by AggregateRoot/IAggregateRoot base/interface NAME convention; reference-by-identity then checked exhaustively within that set — a root not using those names is invisible.

DM2 · Strongly-typed ids3.0 / 10Weak✓ Tool-verified

Other · Domain Modelling — How much of the domain uses strongly-typed ids vs raw Guid/string/int — adoption curve, not all-or-nothing.

Method: Roslyn (DDD-gated): strongly-typed id adoption on domain entities/events; raw Guid/int/string ids counted versus wrapped types. Deterministic, adoption percentage.

Coverage: Population: id-like members by *Id/*Key NAME suffix; strongly-typed-ID shape then checked semantically — non-suffixed identifiers are not seen.

  • `ITombstoneEvent.DeletedById` is a raw `String` — give it a strongly-typed id (`readonly record struct DeletedById { String Value }`). — ITombstoneEvent.cs:8
  • `DomainEvent.RootId` is a raw `String` — give it a strongly-typed id (`readonly record struct RootId { String Value }`). — DomainEvent.cs:30
  • `TombstoneDomainEvent.DeletedById` is a raw `String` — give it a strongly-typed id (`readonly record struct DeletedById { String Value }`). — TombstoneDomainEvent.cs:29
  • `Created.AgainstId` is a raw `String` — give it a strongly-typed id (`readonly record struct AgainstId { String Value }`). — Created.cs:19
  • `Created.OrganizationId` is a raw `String` — give it a strongly-typed id (`readonly record struct OrganizationId { String Value }`). (×5) — Created.cs:27, Created.cs:23, Created.cs:23, …
  • `Created.MessageId` is a raw `String` — give it a strongly-typed id (`readonly record struct MessageId { String Value }`). (×2) — Created.cs:21, Created.cs:21
  • `DeliveryConfirmed.ReceiptId` is a raw `String` — give it a strongly-typed id (`readonly record struct ReceiptId { String Value }`). (×2) — DeliveryConfirmed.cs:18, DeliveryConfirmed.cs:18
  • `DeliveryFailureConfirmed.ReceiptId` is a raw `String` — give it a strongly-typed id (`readonly record struct ReceiptId { String Value }`). (×2) — DeliveryFailureConfirmed.cs:20, DeliveryFailureConfirmed.cs:20
  • `EmailDetailsChanged.TemplateId` is a raw `String` — give it a strongly-typed id (`readonly record struct TemplateId { String Value }`). — EmailDetailsChanged.cs:29
  • `SendingSucceeded.ReceiptId` is a raw `String` — give it a strongly-typed id (`readonly record struct ReceiptId { String Value }`). (×2) — SendingSucceeded.cs:18, SendingSucceeded.cs:18
  • `CarChanged.CarId` is a raw `String` — give it a strongly-typed id (`readonly record struct CarId { String Value }`). — CarChanged.cs:18
  • `CarChanged.OrganizationId` is a raw `String` — give it a strongly-typed id (`readonly record struct OrganizationId { String Value }`). — CarChanged.cs:20
  • `ReservationMade.BorrowerId` is a raw `String` — give it a strongly-typed id (`readonly record struct BorrowerId { String Value }`). — ReservationMade.cs:20
  • `ReservationMade.OrganizationId` is a raw `String` — give it a strongly-typed id (`readonly record struct OrganizationId { String Value }`). — ReservationMade.cs:24
  • `TripAdded.OrganizationId` is a raw `String` — give it a strongly-typed id (`readonly record struct OrganizationId { String Value }`). — TripAdded.cs:18
  • `TripAdded.TripId` is a raw `String` — give it a strongly-typed id (`readonly record struct TripId { String Value }`). — TripAdded.cs:20
  • `TripBegan.OrganizationId` is a raw `String` — give it a strongly-typed id (`readonly record struct OrganizationId { String Value }`). — TripBegan.cs:24
  • `TripBegan.TripId` is a raw `String` — give it a strongly-typed id (`readonly record struct TripId { String Value }`). — TripBegan.cs:26
  • `TripEnded.OrganizationId` is a raw `String` — give it a strongly-typed id (`readonly record struct OrganizationId { String Value }`). — TripEnded.cs:26
  • `TripEnded.TripId` is a raw `String` — give it a strongly-typed id (`readonly record struct TripId { String Value }`). — TripEnded.cs:28
  • `Deleted.OrganizationId` is a raw `String` — give it a strongly-typed id (`readonly record struct OrganizationId { String Value }`). — Deleted.cs:18
  • `ManufacturerChanged.OrganizationId` is a raw `String` — give it a strongly-typed id (`readonly record struct OrganizationId { String Value }`). — ManufacturerChanged.cs:22
  • `OwnershipChanged.OrganizationId` is a raw `String` — give it a strongly-typed id (`readonly record struct OrganizationId { String Value }`). — OwnershipChanged.cs:20
  • `RegistrationChanged.OrganizationId` is a raw `String` — give it a strongly-typed id (`readonly record struct OrganizationId { String Value }`). — RegistrationChanged.cs:23
  • `UnavailabilitySlotAdded.OrganizationId` is a raw `String` — give it a strongly-typed id (`readonly record struct OrganizationId { String Value }`). — UnavailabilitySlotAdded.cs:25
  • `UnavailabilitySlotAdded.UnavailabilityId` is a raw `String` — give it a strongly-typed id (`readonly record struct UnavailabilityId { String Value }`). — UnavailabilitySlotAdded.cs:29
  • `UnavailabilitySlotRemoved.OrganizationId` is a raw `String` — give it a strongly-typed id (`readonly record struct OrganizationId { String Value }`). — UnavailabilitySlotRemoved.cs:18
  • `UnavailabilitySlotRemoved.UnavailabilityId` is a raw `String` — give it a strongly-typed id (`readonly record struct UnavailabilityId { String Value }`). — UnavailabilitySlotRemoved.cs:20
  • `DefaultMembershipChanged.FromMembershipId` is a raw `String` — give it a strongly-typed id (`readonly record struct FromMembershipId { String Value }`). — DefaultMembershipChanged.cs:20
  • `DefaultMembershipChanged.ToMembershipId` is a raw `String` — give it a strongly-typed id (`readonly record struct ToMembershipId { String Value }`). — DefaultMembershipChanged.cs:24
  • `DefaultMembershipChanged.ToOrganizationId` is a raw `String` — give it a strongly-typed id (`readonly record struct ToOrganizationId { String Value }`). — DefaultMembershipChanged.cs:26
  • `GuestInvitationCreated.InvitedById` is a raw `String` — give it a strongly-typed id (`readonly record struct InvitedById { String Value }`). — GuestInvitationCreated.cs:20
  • 136 further occurrence(s) are not listed individually; the score already reflects all 176.

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 coupling10.0 / 10Exemplary✓ Tool-verified

Other · Domain Modelling — Whether cross-context integration events stay loosely coupled — no producer-owned enums/domain types leaking to consumers. Shared-kernel/contracts types are allowed.

Method: Roslyn (DDD-gated): integration-event properties scanned for producer-domain type/enum leaks versus primitives and shared-kernel types. Deterministic, hard fact.

DM4 · Rich vs anemic model7.5 / 10Strong✓ Tool-verified

Other · Domain Modelling — Whether aggregates/entities carry the behaviour that protects their invariants, rather than being data bags driven by external services.

Method: Roslyn (DDD-gated): entity method BODIES classified mutator-vs-query — only methods that mutate the entity's own declared state count as invariant-protecting behaviour, so a getter/passthrough doesn't rescue an anemic class. Deterministic, exhaustive over domain-layer entities.

Coverage: Population: entities by name/base convention; rich-vs-anemic judged by classifying each method body mutator-vs-query — logic-bearing domain types outside the convention are invisible.

  • `BookingRoot` is an aggregate/entity with 6 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — BookingRoot.cs:17
  • `AuditRoot` is an aggregate/entity with 6 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — AuditRoot.cs:14
  • `AuthTokensRoot` is an aggregate/entity with 10 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — AuthTokensRoot.cs:28
  • `OAuth2ClientConsentRoot` 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. — OAuth2ClientConsentRoot.cs:15
  • `OAuth2ClientRoot` 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. — OAuth2ClientRoot.cs:17
  • `ProviderAuthTokensRoot` 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. — ProviderAuthTokensRoot.cs:23
  • `SSOUserRoot` is an aggregate/entity with 8 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — SSOUserRoot.cs:20
  • `OrganizationOnboardingRoot` 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. — OrganizationOnboardingRoot.cs:52
  • `SubscriptionQuotaUsageRoot` is an aggregate/entity with 9 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — SubscriptionQuotaUsageRoot.cs:23

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 state10.0 / 10Exemplary✓ Tool-verified

Other · Domain Modelling — Whether entities protect their state (private/init-only setters) instead of exposing public setters that bypass invariants. Softened when a rehydration framework (Marten/EF) is present.

Method: Roslyn (DDD-gated): public setters on entities detected; score softened when Marten/EF rehydration frameworks present. Deterministic, framework-aware.

Coverage: Population: entities by convention; encapsulation (setter shape) checked exhaustively within the set.

DM6 · Domain ↔ infrastructure boundary10.0 / 10Exemplary✓ Tool-verified

Other · Domain Modelling — Whether the domain layer stays free of infrastructure dependencies (EF/Marten/HTTP/ASP.NET) — the clean-architecture dependency rule.

Method: Roslyn (DDD-gated): domain-layer types scanned for infrastructure usage in member SIGNATURES and inside method/accessor BODIES — resolved calls and object-creations into EF/Marten/HTTP/Mongo/Redis/message-bus types (not just a namespace allowlist). Deterministic, symbol-resolved, exhaustive over domain-layer bodies, DDD-native.

Coverage: Domain layer identified by NAMESPACE heuristic; infrastructure then resolved by symbol in member SIGNATURES and method/accessor BODIES — rename the layer and the check evaporates.

DM8 · Value-object opportunities10.0 / 10Exemplary✓ Tool-verified

Other · Domain Modelling — Whether clusters of primitives that travel together (a missing value object) are extracted — a low-weight suggestion, LLM-confirmed when configured.

Method: Roslyn (DDD-gated): primitive parameter clusters recurring three or more times across signatures extracted, then confirmed by language model when configured. Advisory, low-weight.

GD1 · Unfinished & placeholder code10.0 / 10Exemplary○ Nothing flagged

Other · Code Health — Unreviewed-generation residue: shipped members still throwing NotImplementedException, and placeholder string literals left in non-test, non-generated code. Scored as a quality signature, never as a claim about authorship.

Method: Roslyn syntax scan: NotImplementedException throws and placeholder string literals in non-test, non-generated shipped code. Deterministic, code-shape signature.

  • A shipped member still throws NotImplementedException — generated scaffolding that was never completed. Implement it or remove the dead surface. — BeffeIdentifierFactory.cs:21

What to do

  • Finish or delete NotImplementedException stubs and replace placeholder literals before shipping.
IC1 · Incompleteness & stubs8.2 / 10Strong✓ Tool-verified

Other · Code Health — Unfinished work detected by code SHAPE, not keywords: members that only throw a "not implemented" exception, methods that take inputs and return a constant, async methods that never await, dead `if (false)` / `#if false` branches, and skeleton types most of whose members are holes. A real, objective slice of technical debt.

Method: Roslyn syntax scan: incompleteness by code shape (constant-returning methods, async-never-await, #if false branches, skeleton types), not keyword-gated. Deterministic, code-shape heuristic.

  • `Create` looks like it should compute a result but its body just returns a constant — a placeholder return that was never filled in. — EmptyIdentifierFactory.cs:12
  • `GetAllFlagsAsync` looks like it should compute a result but its body just returns a constant — a placeholder return that was never filled in. — EmptyFeatureFlags.cs:11
  • `Create` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. — BeffeIdentifierFactory.cs:19

What to do

  • Finish or delete the unfinished stubs (NotImplementedException / empty / constant-returning bodies) — they are dead surface that looks live.
M1 · Documentation (README)6.7 / 10Strong✓ Tool-verified

Maturity · Maturity — Whether the repo and its projects have a README, and whether it's substantive and current.

Method: Filesystem scan: README presence, word count, and headings for depth; git history for staleness. Exhaustive across root and project dirs, deterministic.

What to do

  • Add a build/run (quick start) section to the root README — the first thing a newcomer needs.
  • Add a 'Testing' section to the root README — how to run the test suite.
  • Add a README to the 137 of 142 project(s) that lack one — worth up to 1.9 pts.
M2 · Architecture documentation10.0 / 10Exemplary✓ Tool-verified

Maturity · Maturity — Whether key decisions (ADRs) and the high-level shape (C4/diagrams) are written down.

Method: Filesystem scan: ADR folder/naming conventions or content, plus Mermaid/PlantUML/C4/architecture.md discovery. Exhaustive, deterministic.

M3 · Folder & project structure6.0 / 10Strong✓ Tool-verified

Maturity · Maturity — Whether the repo is organised deliberately — src/test separation and consistent project naming.

Method: Filesystem scan: src/test folder separation and namespace-prefix consistency (majority RootNamespace agreement). Exhaustive across projects, deterministic.

  • Test projects aren't grouped under a tests/ folder — the test surface isn't separable from production code at a glance.
  • Only 31/142 projects share a common root namespace — the code's module identity is inconsistent.

What to do

  • Group test projects under tests/ (or test/, spec/) so the test surface is discoverable and CI can scope it.
  • 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 accuracy6.0 / 10Strong◐ Sampled · advisory

Maturity · Maturity — Whether the README actually describes the code that exists (LLM-judged, advisory).

Method: Judged by language model at low temperature: README accuracy versus actual projects, within a disclosed tolerance. Advisory, not a measured number.

  • README advertises Docker containerisation, but no Dockerfile/compose file exists
  • README advertises a microservices architecture, but the repo is a single project with no service manifests

What to do

  • Reconcile the README with reality: README advertises Docker containerisation, but no Dockerfile/compose file exists; README advertises a microservices architecture, but the repo is a single project with no service manifests.
P1 · CI/CD gates10.0 / 10Exemplary○ Nothing flagged

Readiness · Readiness — Whether an automated pipeline builds and tests every change.

Method: Filesystem scan: CI workflow files (.github/workflows, .gitlab-ci.yml, etc.) for build and test stages. Exhaustive, deterministic.

P2 · Observability4.3 / 10Adequate✓ Tool-verified

Readiness · Readiness — Whether the code is diagnosable in production — structured logging, tracing/metrics, health checks.

Method: Filesystem/Roslyn scan: structured-logging frameworks (Serilog, NLog), OpenTelemetry, and health-check endpoint patterns. Exhaustive, deterministic.

  • Only 4/47 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.
  • Consider OpenTelemetry tracing/metrics and a health-check endpoint for operability.
P4 · Deployment & Rollback5.0 / 10Adequate✓ Tool-verified

Readiness · Readiness — Whether releases are automated and safely reversible (probes, rolling updates, approval gates) — from manifests/pipeline files, not the live environment.

Method: Filesystem scan: deployment manifests/IaC (K8s YAML, Helm, Terraform) for rolling updates, probes, approval gates, migration hooks. Exhaustive, deterministic.

  • 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.
  • Add an approval/environment gate (required reviewers / protection rules) before production promotion.
P5 · DR & Backup3.0 / 10Weak✓ Tool-verified

Readiness · Readiness — Whether disaster recovery is planned and codified — backups, geo-recovery, RTO/RPO, persistence guarantees — from IaC + container manifests + docs, never the live cloud.

Method: Filesystem scan: disaster recovery, backup, geo-recovery, RTO/RPO, persistence guarantees from IaC, manifests, and docs. Exhaustive, deterministic, never a live environment.

What to do

  • Codify backups + geo-recovery in IaC (snapshot/replication/geo-redundant) to back the DR plan.
PF1 · Benchmark discipline6.0 / 10Strong✓ Tool-verified

Readiness · Performance — Whether the library protects its performance with benchmarks — a BenchmarkDotNet suite, an allocation MemoryDiagnoser, and (ideally) a CI gate. Presence is credited as a bonus, never a deduction.

Method: Repo + source scan: BenchmarkDotNet referenced (csproj/source), [Benchmark]/[MemoryDiagnoser] attribute counts, and a benchmark step in CI — scored as a bonus ladder (absence is neutral, never a deduction). Deterministic, presence detection.

  • 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 hygiene6.1 / 10Strong✓ Tool-verified

Readiness · Performance — Whether the code is written to minimise allocations so it doesn't pressure its host's GC — Span/Memory, pooling (ArrayPool/ObjectPool), stackalloc, ValueTask, value-type structs and buffer writers. Reward-only: credited where present, never penalised where a simpler style is fine.

Method: Production-source scan: density (per 1k LoC) of allocation-aware APIs — Span/Memory, ArrayPool/ObjectPool, stackalloc, ValueTask, value-type structs, IBufferWriter, string.Create, SkipLocalsInit. Reward-only. Deterministic, syntax/text detection.

What to do

  • Raise allocation-aware density on the hot paths — currently 16 use(s) across 113,728 production line(s) (~0.1/1k). More Span/Memory, pooling (ArrayPool/ObjectPool), stackalloc and ValueTask on the allocation-heavy paths climbs this toward 10.
PF3 · Async & latency hygiene6.0 / 10Strong✓ Tool-verified

Readiness · Performance — Whether asynchronous code keeps its host responsive — a library awaits with ConfigureAwait(false) (so it never captures and stalls the host's context) and avoids sync-over-async blocking (.Wait()/.GetAwaiter().GetResult()) that wastes threads and risks deadlock.

Method: Production-source scan: sync-over-async blocking (.Wait()/.GetAwaiter().GetResult()) counted everywhere, and — for a library with ≥5 awaits — the share of awaits using ConfigureAwait(false). Deterministic, syntax/text detection.

  • 7 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.
R1 · Type Safety9.9 / 10Exemplary✓ Tool-verified

React / JS · Code Health — How much of the frontend is typed TypeScript vs untyped JavaScript.

Method: Frontend file inventory: the share of typed TypeScript vs untyped JavaScript across the source tree. Deterministic, exhaustive over frontend files.

What to do

  • Migrate the remaining .js/.jsx files to TypeScript.
R10 · Code Duplication5.4 / 10Adequate✓ Tool-verified

React / JS · Code Health — Copy-pasted token-identical blocks across the frontend (the D4 clone algorithm over JS/TS tokens, D-386).

Method: Copy-pasted token-identical blocks across the frontend (the D4 clone algorithm run over JS/TS tokens). Deterministic.

  • src/Hosts/WebsiteHost/ClientApp/src/framework/api/apiHost1/client/types.gen.ts:17 · src/Hosts/WebsiteHost/ClientApp/src/framework/api/websiteHost/client/types.gen.ts:17 — types.gen.ts:17
  • src/Hosts/WebsiteHost/ClientApp/src/framework/api/apiHost1/core/serverSentEvents.gen.ts:20 · src/Hosts/WebsiteHost/ClientApp/src/framework/api/websiteHost/core/serverSentEvents.gen.ts:20 — serverSentEvents.gen.ts:20
  • src/Hosts/WebsiteHost/ClientApp/src/framework/api/apiHost1/types.gen.ts:12154 · src/Hosts/WebsiteHost/ClientApp/src/framework/api/apiHost1/types.gen.ts:12220 · src/Hosts/WebsiteHost/ClientApp/src/framework/api/apiHost1/types.gen.ts:12286 — types.gen.ts:12154
  • src/Hosts/WebsiteHost/ClientApp/src/framework/api/apiHost1/types.gen.ts:1715 · src/Hosts/WebsiteHost/ClientApp/src/framework/api/apiHost1/types.gen.ts:1772 · src/Hosts/WebsiteHost/ClientApp/src/framework/api/apiHost1/types.gen.ts:1831 · src/Hosts/WebsiteHost/ClientApp/src/framework/api/apiHost1/types.gen.ts:1890 — types.gen.ts:1715
  • src/Hosts/WebsiteHost/ClientApp/src/framework/api/apiHost1/types.gen.ts:2454 · src/Hosts/WebsiteHost/ClientApp/src/framework/api/apiHost1/types.gen.ts:2659 · src/Hosts/WebsiteHost/ClientApp/src/framework/api/apiHost1/types.gen.ts:2723 · src/Hosts/WebsiteHost/ClientApp/src/framework/api/apiHost1/types.gen.ts:5434 — types.gen.ts:2454
  • src/Hosts/WebsiteHost/ClientApp/src/framework/api/apiHost1/types.gen.ts:4001 · src/Hosts/WebsiteHost/ClientApp/src/framework/api/apiHost1/types.gen.ts:4294 · src/Hosts/WebsiteHost/ClientApp/src/framework/api/apiHost1/types.gen.ts:12089 · src/Hosts/WebsiteHost/ClientApp/src/framework/api/apiHost1/types.gen.ts:13100 — types.gen.ts:4001
  • src/Hosts/WebsiteHost/ClientApp/src/framework/api/apiHost1/types.gen.ts:12081 · src/Hosts/WebsiteHost/ClientApp/src/framework/api/apiHost1/types.gen.ts:13098 — types.gen.ts:12081
  • src/Hosts/WebsiteHost/ClientApp/src/framework/api/apiHost1/types.gen.ts:6501 · src/Hosts/WebsiteHost/ClientApp/src/framework/api/apiHost1/types.gen.ts:10080 · src/Hosts/WebsiteHost/ClientApp/src/framework/api/apiHost1/types.gen.ts:11037 · src/Hosts/WebsiteHost/ClientApp/src/framework/api/apiHost1/types.gen.ts:11381 — types.gen.ts:6501

What to do

  • Extract the duplicated blocks into shared functions/components.
R2 · Cyclomatic Complexity9.5 / 10Exemplary✓ Tool-verified

React / JS · Code Health — Per-function cyclomatic/cognitive complexity from the token-level function scanner (D-386) — real branching, not a regex heuristic.

Method: Per-function cyclomatic/cognitive complexity from a token-level function scanner (real branching, not a regex heuristic), computed over every frontend function. Deterministic.

  • Branch-heavy code is where defects cluster — extract decisions into smaller functions. (×8) — client.gen.ts:78, client.gen.ts:78, serverSentEvents.gen.ts:108, …

What to do

  • Break down the listed branch-heavy functions; aim P95 cyclomatic ≤ 5.
R3 · Large Files8.5 / 10Exemplary✓ Tool-verified

React / JS · Code Health — How many components/modules exceed the large-file threshold.

Method: Components/modules exceeding the large-file threshold, counted exhaustively across the frontend source tree. Deterministic.

What to do

  • Split the oversized components into smaller, focused ones.
R4 · Test Coverage6.8 / 10Strong✓ Tool-verified

React / JS · Readiness — Static test reachability (D-386): the share of production files reachable from any test via the import graph — measured without running anything.

Method: Static test reachability: the share of production files reachable from any test via the import graph — measured without running anything. Deterministic.

  • No test imports this module directly or transitively — its behavior is unverified. (×8) — schemas.gen.ts, schemas.gen.ts, mockServiceWorker.js, …

What to do

  • Add tests that import the unreached modules (directly or through their public entry).
R5 · Dependency Freshness8.6 / 10Exemplary✓ Tool-verified

React / JS · Readiness — How outdated the npm dependencies are (a maturity signal). JS/npm CVEs are scored separately in D33 (JS/npm Dependency Vulnerabilities).

Method: npm dependency staleness from manifest/registry metadata (a maturity signal; JS/npm CVEs are scored separately in D33). Deterministic.

What to do

  • Bump outdated dependencies to current versions to limit upgrade debt.
R6 · Tooling3.4 / 10Adequate✓ Tool-verified

React / JS · Readiness — Whether the project wires up test, lint and typecheck — detected from each package.json script's COMMAND (eslint / tsc / vitest / jest / playwright), not just its name, and corroborated against CI-workflow invocations so a tool run only in CI still counts.

Method: package.json scanned for test/lint/typecheck script wiring. Deterministic presence check.

  • test ✓ · lint ✗ · typecheck ✗

What to do

  • Add the missing tooling (eslint, tsc) as package.json scripts and run them in CI.
R7 · Dead Code7.6 / 10Strong✓ Tool-verified

React / JS · Code Health — Files unreachable from every application/tooling/test entry point, and exports nothing imports (module-graph reachability, D-386).

Method: Dead code: files unreachable from every application/tooling/test entry point plus exports nothing imports, via module-graph reachability. Deterministic, exhaustive over the import graph.

  • Unreachable from the 3 application, 6 tooling and 50 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 (3 application, 6 tooling, 50 test roots considered) (×7) — mockServiceWorker.js, setup.ts, getFeatureFlag.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 Hygiene9.5 / 10Exemplary✓ Tool-verified

React / JS · Readiness — npm dependency truthfulness (D-386): unused dependencies, imports not declared anywhere, and type-/test-only packages shipped as production deps.

Method: npm dependency truthfulness: unused dependencies, imports declared nowhere, and type-/test-only packages shipped as production deps — from the manifest + import graph. Deterministic.

  • Declared in src/Hosts/WebsiteHost/ClientApp/package.json but never imported anywhere in that package or its workspace members — dead weight and attack surface. Verify against build tooling before removing.

What to do

  • Remove unused dependencies, declare unlisted imports explicitly, and demote type-/test-only packages to devDependencies.
R9 · Circular Imports3.6 / 10Weak✓ Tool-verified

React / JS · Architecture — Import cycles in the module graph (D-386) — files that can only be understood and changed together.

Method: Import cycles in the module graph, detected exhaustively over JS/TS imports (the same cycle detection as the .NET coupling dimension). Deterministic.

  • src/Hosts/WebsiteHost/ClientApp/src/App.tsx → src/Hosts/WebsiteHost/ClientApp/src/framework/components/layout/Layout.tsx → src/Hosts/WebsiteHost/ClientApp/src/App.tsx — App.tsx
  • src/Hosts/WebsiteHost/ClientApp/src/framework/actions/ActionCommand.ts → src/Hosts/WebsiteHost/ClientApp/src/framework/actions/ActionQuery.ts → src/Hosts/WebsiteHost/ClientApp/src/framework/actions/Actions.ts → src/Hosts/WebsiteHost/ClientApp/src/framework/actions/ApiErrorState.ts → src/Hosts/WebsiteHost/ClientApp/src/framework/providers/AppProviders.tsx → src/Hosts/WebsiteHost/ClientApp/src/framework/providers/CurrentUserContext.tsx → src/Hosts/WebsiteHost/ClientApp/src/subDomains/endUsers/actions/responseCache.ts → src/Hosts/WebsiteHost/ClientApp/src/subDomains/identity/actions/logout.ts → src/Hosts/WebsiteHost/ClientApp/src/subDomains/organizations/actions/getOrganization.ts → src/Hosts/WebsiteHost/ClientApp/src/subDomains/organizations/actions/responseCache.ts → src/Hosts/WebsiteHost/ClientApp/src/subDomains/userProfiles/actions/getProfileForCaller.ts → src/Hosts/WebsiteHost/ClientApp/src/subDomains/userProfiles/actions/responseCache.ts → src/Hosts/WebsiteHost/ClientApp/src/framework/actions/ActionCommand.ts — ActionCommand.ts
  • src/Hosts/WebsiteHost/ClientApp/src/framework/recorder.ts → src/Hosts/WebsiteHost/ClientApp/src/framework/recorders/awsRecorder.ts → src/Hosts/WebsiteHost/ClientApp/src/framework/recorders/azureRecorder.ts → src/Hosts/WebsiteHost/ClientApp/src/framework/recorders/browserRecorder.ts → src/Hosts/WebsiteHost/ClientApp/src/framework/recorders/noOpRecorder.ts → src/Hosts/WebsiteHost/ClientApp/src/framework/recorder.ts — recorder.ts

What to do

  • Break each cycle by extracting the shared piece into a module both sides can import.
S1 · Web-Security Posture8.0 / 10Strong✓ Tool-verified

Other · Security — Transport security, security headers, secure cookies, input validation, middleware order and crypto hygiene (presence, not runtime).

Method: Roslyn plus filesystem scan: HSTS/security headers, secure cookies, input validation, middleware order, weak crypto (MD5/SHA1/DES); HTTPS-metadata context-aware. Deterministic.

  • 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.)

What to do

  • 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.
X1 · Async correctness7.8 / 10Strong✓ Tool-verified

Other · Code Health — Whether the code avoids sync-over-async (deadlock-prone blocking on tasks) and async void.

Method: Roslyn syntax scan: async methods scanned for .Wait()/.GetAwaiter().GetResult() and async-void outside event handlers. Deterministic, hard fact per invocation.

  • Blocking on a Task with `.Wait()`/`.GetAwaiter().GetResult()` can deadlock (and wastes a thread). Make the caller `async` and `await` instead. (×8) — JsonClient.cs:542, QueuedAuditReporter.cs:54, WebApplicationExtensions.cs:129, …

What to do

  • Sync-over-async (deadlock risk)
X2 · Cancellation propagation9.6 / 10Exemplary✓ Tool-verified

Other · Code Health — Whether async methods accept a CancellationToken so work can be cancelled (adoption curve).

Method: Roslyn scan: every async method (excluding framework-fixed overrides/Blazor handlers) checked for CancellationToken parameter presence. Deterministic, adoption percentage.

  • Only 883/953 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) — Tasks.cs:8, Repeat.cs:28, Repeat.cs:37, …

What to do

  • Thread a CancellationToken through async methods so work stops promptly on cancellation.
X3 · Exception handling10.0 / 10Exemplary○ Nothing flagged

Other · Code Health — Whether exceptions are handled rather than silently swallowed or rethrown with lost stack traces.

Method: Roslyn syntax scan: every catch clause counted; empty catches and bare rethrows flagged. Population is all catch clauses, not estimated. Deterministic, hard fact.

X4 · Structured logging6.0 / 10Adequate✓ Tool-verified

Other · Code Health — Whether log calls use message templates (queryable) rather than interpolated strings.

Method: Roslyn syntax scan: every log call-site counted; interpolated-string first-argument violations flagged. Population is all log calls, not estimated. Deterministic.

  • 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)`. (×2) — StubCloudWorkerService.cs:80, StubCloudWorkerService.cs:87

What to do

  • Interpolated log message defeats structured logging
X5 · Nullable reference types9.0 / 10Exemplary✓ Tool-verified

Other · Code Health — Whether nullable reference types are enabled and not undermined by heavy `!` suppression.

Method: Roslyn compiler-options scan: NullableContextOptions per project; null-forgiving (!) suppression density per 1k syntax nodes. Deterministic, adoption plus suppression penalty.

  • ~1.3 `!` 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

Statically assessed 15 of 55 WCAG 2.2 Level A/AA success criteria (27%; ≈30% of the 50 WCAG 2.1 AA criteria for EN 301 549). The other 40 require runtime or manual evaluation. Partial signal only (a clean result is necessary, not sufficient; static analysis fully verifies none). This is accessibility readiness, not a conformance claim — a WCAG conformance claim requires manual evaluation (WCAG-EM 1.0).

DimensionWCAG 2.2 A/AA criteriaCoverage
AC1 · Text alternatives1.1.1, 1.2.2, 1.2.5Partial signal
AC2 · Forms & labels1.3.1, 3.3.2, 4.1.2Partial signal
AC3 · Page structure1.4.4, 2.2.1, 2.4.1, 2.4.2, 3.1.1, 4.1.2Partial signal
AC4 · Keyboard semantics2.1.1, 2.4.3Partial signal
AC5 · ARIA correctness4.1.2Partial signal
AC6 · Visual & motion safety1.4.3, 2.4.7Partial — literal CSS only
AC7 · A11y enforcementenforcement — no page criterionEnforcement posture (process)

Not statically assessed — these 40 Level A/AA criteria need runtime or manual evaluation (WCAG-EM): 1.2.1, 1.2.3, 1.2.4, 1.3.2, 1.3.3, 1.3.4, 1.3.5, 1.4.1, 1.4.2, 1.4.5, 1.4.10, 1.4.11, 1.4.12, 1.4.13, 2.1.2, 2.1.4, 2.2.2, 2.3.1, 2.4.4, 2.4.5, 2.4.6, 2.4.11, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.5.7, 2.5.8, 3.1.2, 3.2.1, 3.2.2, 3.2.3, 3.2.4, 3.2.6, 3.3.1, 3.3.3, 3.3.4, 3.3.7, 3.3.8, 4.1.3.

Reference — by lens

The score is the rank-weighted fold of these lenses (worst-heaviest), each including its meta-dimensions; a lens with a Critical contributor is capped at Fair (its band reads "gated by …") and is never the strongest area however high its average.

LensScoreRatingImpact
Code Health71%StrongStrongest area.
Architecture68%Adequate — gated by R9Capped at Fair by a Critical contributor — resolve it before relying on this lens.
Maturity63%Adequate — gated by D16, D34Capped at Fair by a Critical contributor — resolve it before relying on this lens.
Readiness48%Adequate — gated by D13, R6, P5Capped at Fair by a Critical contributor — resolve it before relying on this lens.
Security70%Adequate — gated by D38Capped at Fair by a Critical contributor — resolve it before relying on this lens.
Domain Modelling73%Adequate — gated by DM2Capped at Fair by a Critical contributor — resolve it before relying on this lens.
Accessibility62%StrongSolid.
Performance60%StrongSolid.
Not included — 29 check(s) not relevant to this codebase

These checks had nothing to measure here (no tests, no git history, the codebase is small, or the architecture style doesn't apply), so they're omitted above rather than scored low.

  • AX7 Slice cohesion — not applicable — not a vertical-slice architecture
  • AX9 CQS / query purity — no CQRS query handlers detected — query purity is not applicable to this codebase
  • AXB2 Runtime readiness — no data
  • C3 Audit Trail — Repo shows no audit-logging mechanism (IAuditable, an immutable audit log, an EF SaveChanges interceptor) for sensitive changes — absence of evidence is not evidence of a working control. Record an audit trail in code (or document where it lives) so this dimension can be scored.
  • C4 Data Retention — Repo shows no data-retention / TTL / cleanup mechanism for personal data (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.
  • D19 Documentation Quality — LLM evaluation failed
  • D22 Internal API Consistency — No exposed public API
  • D23 Boundary Type-Coupling — Bounded contexts not declared
  • D31 IaC & Container Security — No Infrastructure-as-Code or container manifests found (Dockerfile, Terraform, Kubernetes/Helm, CloudFormation); nothing to scan.
  • D32 Data Compliance (PII/GDPR) — No PII/GDPR-handling patterns detected (p/gdpr ruleset) — no data-compliance surface to assess.
  • D36 Supply-chain Provenance & Signing — The CI pipeline builds and tests but publishes no released artifact — no package publish, container push, GitHub release or deployment step. Supply-chain provenance, signing and SBOM attest RELEASED artifacts, so there is nothing to attest here. Add them to the release pipeline when this repo starts shipping artifacts (a NuGet package, a container image, a GitHub release).
  • 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.
  • D8 Code Coverage — Coverage not measured — test suite did not build
  • DM7 Repository granularity — no repository abstraction detected (e.g. uses a document session)
  • ED1 Event-Driven — applicable but skipped (2/3 markers — below the conservative bar): 2 integration event(s); 1 event handler(s)
  • ED5 Idempotency — no mutating command handlers or message consumers detected — idempotency check not applicable
  • ES1 Event Sourcing — not run — only 1/3 markers (an append-only event-store seam (IEventStore/Append-of-events))
  • P12 CI test-gate honesty — no data
  • P3 Security & performance tooling — This repo declares itself a template / kata / sample / demo — code meant to be read or copied, not operated. SAST, secret/dependency scanning and performance benchmarks are deferred to the application you build from it, so their absence is not a defect here. The dimension reactivates once the repo becomes a real app.
  • P6 Release Hygiene — not evidenced — no changelog, version stamp or semver release tag in the repo
  • P7 Outbound HTTP resilience — no outbound HTTP usage detected
  • P8 Schema migrations — no EF Core usage detected
  • 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
  • R11 Import Boundaries — No recognizable feature-sliced/layered src layout — boundary rules not applicable.
  • SC1 Supply-chain hygiene — no data
  • X6 Hand-rolled structured-format parsing — no data
  • X7 Silent fallback defaults — no data

Appendix A — Findings (grouped)

The findings behind the scores, grouped by severity, then by dimension and kind. The high-severity issues are enumerated in full below; items per group are capped at 25 with any overflow stated explicitly per group, never silently truncated. The complete machine-readable list of every finding (all severities) is the companion findings.md in this report's bundle.

Issue — 40 finding(s)
D38 · OSV Dependency Vulnerabilities · High CVE · ×20
  • High CVE: [GHSA redacted] src/Hosts/WebsiteHost/ClientApp/package-lock.json — @nevware21/ts-utils: [GHSA redacted]
  • High CVE: [GHSA redacted] src/Hosts/WebsiteHost/ClientApp/package-lock.json — defu: [GHSA redacted]
  • High CVE: [GHSA redacted] src/Hosts/WebsiteHost/ClientApp/package-lock.json — lodash: [GHSA redacted]
  • High CVE: [GHSA redacted] src/Hosts/WebsiteHost/ClientApp/package-lock.json — minimatch: [GHSA redacted]
  • High CVE: [GHSA redacted] src/Hosts/WebsiteHost/ClientApp/package-lock.json — minimatch: [GHSA redacted]
  • High CVE: [GHSA redacted] src/Hosts/WebsiteHost/ClientApp/package-lock.json — minimatch: [GHSA redacted]
  • High CVE: [GHSA redacted] src/Hosts/WebsiteHost/ClientApp/package-lock.json — picomatch: [GHSA redacted]
  • High CVE: [GHSA redacted] src/Hosts/WebsiteHost/ClientApp/package-lock.json — react-router: [GHSA redacted]
  • High CVE: [GHSA redacted] src/Hosts/WebsiteHost/ClientApp/package-lock.json — react-router: [GHSA redacted]
  • High CVE: [GHSA redacted] src/Hosts/WebsiteHost/ClientApp/package-lock.json — react-router: [GHSA redacted]
  • High CVE: [GHSA redacted] src/Hosts/WebsiteHost/ClientApp/package-lock.json — react-router: [GHSA redacted]
  • High CVE: [GHSA redacted] src/Hosts/WebsiteHost/ClientApp/package-lock.json — rollup: [GHSA redacted]
  • High CVE: [GHSA redacted] src/Hosts/WebsiteHost/ClientApp/package-lock.json — storybook: [GHSA redacted]
  • High CVE: [GHSA redacted] src/Hosts/WebsiteHost/ClientApp/package-lock.json — tar: [GHSA redacted]
  • High CVE: [GHSA redacted] src/Hosts/WebsiteHost/ClientApp/package-lock.json — tar: [GHSA redacted]
  • High CVE: [GHSA redacted] src/Hosts/WebsiteHost/ClientApp/package-lock.json — tar: [GHSA redacted]
  • High CVE: [GHSA redacted] src/Hosts/WebsiteHost/ClientApp/package-lock.json — vite: [GHSA redacted]
  • High CVE: [GHSA redacted] src/Hosts/WebsiteHost/ClientApp/package-lock.json — vite: [GHSA redacted]
  • High CVE: [GHSA redacted] src/Hosts/WebsiteHost/ClientApp/package-lock.json — vite: [GHSA redacted]
  • High CVE: [GHSA redacted] src/Hosts/WebsiteHost/ClientApp/package-lock.json — ws: [GHSA redacted]
D30 · Dependency Vulnerabilities · High CVE · ×7
  • High CVE: Newtonsoft.Json 12.0.2 — Newtonsoft.Json 12.0.2 (transitive) has a High advisory; affects 64 projects — one upgrade fixes all. https://github.com/advisories/[GHSA redacted]
  • High CVE: System.Net.Http 4.3.0 — System.Net.Http 4.3.0 (transitive) has a High advisory; affects 71 projects — one upgrade fixes all. https://github.com/advisories/[GHSA redacted]
  • High CVE: System.Text.RegularExpressions 4.3.0 — System.Text.RegularExpressions 4.3.0 (transitive) has a High advisory; affects 71 projects — one upgrade fixes all. https://github.com/advisories/[GHSA redacted]
  • High CVE: System.Linq.Dynamic.Core 1.5.1 — System.Linq.Dynamic.Core 1.5.1 (transitive) has a High advisory; affects 116 projects — one upgrade fixes all. https://github.com/advisories/[GHSA redacted]
  • High CVE: NuGet.Common 5.6.0 — NuGet.Common 5.6.0 (transitive) has a High advisory; affects 5 projects — one upgrade fixes all. https://github.com/advisories/[GHSA redacted]
  • High CVE: NuGet.Protocol 5.6.0 — NuGet.Protocol 5.6.0 (transitive) has a High advisory; affects 5 projects — one upgrade fixes all. https://github.com/advisories/[GHSA redacted]
  • High CVE: NuGet.Protocol 5.6.0 — NuGet.Protocol 5.6.0 (transitive) has a High advisory; affects 5 projects — one upgrade fixes all. https://github.com/advisories/[GHSA redacted]
D5 · Coupling · Layer violation · ×5
  • Layer violation: Application → Infrastructure — Application.Services.Shared (Application) references Application.Persistence.Interfaces (Infrastructure) — dependencies must point inward (Web → Application → Domain; Infrastructure implements inner interfaces, nothing depends outward on it).
  • Layer violation: Application → Infrastructure — Application.Services.Shared (Application) references Application.Persistence.Shared (Infrastructure) — dependencies must point inward (Web → Application → Domain; Infrastructure implements inner interfaces, nothing depends outward on it).
  • Layer violation: Domain → Application — Domain.Events.Shared (Domain) references Application.Resources.Shared (Application) — dependencies must point inward (Web → Application → Domain; Infrastructure implements inner interfaces, nothing depends outward on it).
  • Layer violation: Infrastructure → Web — Infrastructure.Hosting.Common (Infrastructure) references Infrastructure.Web.Api.Common (Web) — dependencies must point inward (Web → Application → Domain; Infrastructure implements inner interfaces, nothing depends outward on it).
  • Layer violation: Infrastructure → Web — Infrastructure.Hosting.Common (Infrastructure) references Infrastructure.Web.Api.Operations.Shared (Web) — dependencies must point inward (Web → Application → Domain; Infrastructure implements inner interfaces, nothing depends outward on it).
D28 · Secrets (history) · Secret · ×4
  • Secret: private-key src/ApiHost1/appsettings.json:104 — matched rule 'private-key'
  • Secret: generic-api-key src/EndUsersDomain/EndUserRoot.cs:24 — matched rule 'generic-api-key'
  • Secret: private-key src/Hosts/ApiHost1/appsettings.json:58 — matched rule 'private-key'
  • Secret: generic-api-key src/Subdomains/Generic/EndUsersDomain/EndUserRoot.cs:24 — matched rule 'generic-api-key'
D13 · Secret Scanning · Leaked secret · ×2
  • Leaked secret: high-entropy-secret src/Subdomains/Generic/EndUsersDomain/EndUserRoot.cs:24 — high-entropy-secret detected.
  • Leaked secret: hardcoded-credential src/Framework/Testing/IntegrationTesting.Website.Common/WebsiteTestingExtensions.cs:211 — hardcoded-credential detected.
D30 · Dependency Vulnerabilities · Critical CVE · ×1
  • Critical CVE: NuGet.Packaging 5.6.0 — NuGet.Packaging 5.6.0 (transitive) has a Critical advisory; affects 5 projects — one upgrade fixes all. https://github.com/advisories/[GHSA redacted]
D38 · OSV Dependency Vulnerabilities · Critical CVE · ×1
  • Critical CVE: [GHSA redacted] src/Hosts/WebsiteHost/ClientApp/package-lock.json — vitest: [GHSA redacted]
Warning — 462 finding(s)
D10 · Test Quality · No assertions · ×170
  • No assertions: WhenAllProperties_ThenSucceeds src/Framework/Infrastructure/Infrastructure.Web.Api.Common.UnitTests/Validation/AdditionalValidatorSpec.cs:22 — Test method exercises code but verifies nothing — add an assertion.
  • No assertions: WhenAnyValueIsNull_ThenSucceeds src/Framework/Infrastructure/Infrastructure.Web.Api.Common.UnitTests/Validation/AdditionalValidatorSpec.cs:43 — Test method exercises code but verifies nothing — add an assertion.
  • No assertions: WhenAnyStringValueIsValid_ThenSucceeds src/Framework/Infrastructure/Infrastructure.Web.Api.Common.UnitTests/Validation/AdditionalValidatorSpec.cs:56 — Test method exercises code but verifies nothing — add an assertion.
  • No assertions: WhenAllPropertiesValid_ThenSucceeds src/Framework/Infrastructure/Infrastructure.Web.Api.Common.UnitTests/Validation/HasGetOptionsValidatorSpec.cs:22 — Test method exercises code but verifies nothing — add an assertion.
  • No assertions: WhenEmbedIsNull_ThenSucceeds src/Framework/Infrastructure/Infrastructure.Web.Api.Common.UnitTests/Validation/HasGetOptionsValidatorSpec.cs:28 — Test method exercises code but verifies nothing — add an assertion.
  • No assertions: WhenEmbedIsOff_ThenSucceeds src/Framework/Infrastructure/Infrastructure.Web.Api.Common.UnitTests/Validation/HasGetOptionsValidatorSpec.cs:36 — Test method exercises code but verifies nothing — add an assertion.
  • No assertions: WhenEmbedIsTopLevelField_ThenSucceeds src/Framework/Infrastructure/Infrastructure.Web.Api.Common.UnitTests/Validation/HasGetOptionsValidatorSpec.cs:44 — Test method exercises code but verifies nothing — add an assertion.
  • No assertions: WhenEmbedIsChildLevelField_ThenSucceeds src/Framework/Infrastructure/Infrastructure.Web.Api.Common.UnitTests/Validation/HasGetOptionsValidatorSpec.cs:52 — Test method exercises code but verifies nothing — add an assertion.
  • No assertions: WhenEmbedIsGrandChildLevelField_ThenSucceeds src/Framework/Infrastructure/Infrastructure.Web.Api.Common.UnitTests/Validation/HasGetOptionsValidatorSpec.cs:60 — Test method exercises code but verifies nothing — add an assertion.
  • No assertions: WhenAllPropertiesValid_ThenSucceeds src/Framework/Infrastructure/Infrastructure.Web.Api.Common.UnitTests/Validation/HasSearchOptionsValidatorSpec.cs:29 — Test method exercises code but verifies nothing — add an assertion.
  • No assertions: WhenLimitIsNull_ThenSucceeds src/Framework/Infrastructure/Infrastructure.Web.Api.Common.UnitTests/Validation/HasSearchOptionsValidatorSpec.cs:35 — Test method exercises code but verifies nothing — add an assertion.
  • No assertions: WhenLimitIsMin_ThenSucceeds src/Framework/Infrastructure/Infrastructure.Web.Api.Common.UnitTests/Validation/HasSearchOptionsValidatorSpec.cs:43 — Test method exercises code but verifies nothing — add an assertion.
  • No assertions: WhenLimitIsLessThanMax_ThenSucceeds src/Framework/Infrastructure/Infrastructure.Web.Api.Common.UnitTests/Validation/HasSearchOptionsValidatorSpec.cs:51 — Test method exercises code but verifies nothing — add an assertion.
  • No assertions: WhenOffsetIsNull_ThenSucceeds src/Framework/Infrastructure/Infrastructure.Web.Api.Common.UnitTests/Validation/HasSearchOptionsValidatorSpec.cs:79 — Test method exercises code but verifies nothing — add an assertion.
  • No assertions: WhenOffsetIsMin_ThenSucceeds src/Framework/Infrastructure/Infrastructure.Web.Api.Common.UnitTests/Validation/HasSearchOptionsValidatorSpec.cs:87 — Test method exercises code but verifies nothing — add an assertion.
  • No assertions: WhenOffsetIsLessThanMax_ThenSucceeds src/Framework/Infrastructure/Infrastructure.Web.Api.Common.UnitTests/Validation/HasSearchOptionsValidatorSpec.cs:95 — Test method exercises code but verifies nothing — add an assertion.
  • No assertions: WhenSortIsNull_ThenSucceeds src/Framework/Infrastructure/Infrastructure.Web.Api.Common.UnitTests/Validation/HasSearchOptionsValidatorSpec.cs:123 — Test method exercises code but verifies nothing — add an assertion.
  • No assertions: WhenFilterIsNull_ThenSucceeds src/Framework/Infrastructure/Infrastructure.Web.Api.Common.UnitTests/Validation/HasSearchOptionsValidatorSpec.cs:141 — Test method exercises code but verifies nothing — add an assertion.
  • No assertions: WhenAllProperties_ThenSucceeds src/Subdomains/Core/CarsInfrastructure.UnitTests/Api/Cars/DeleteCarRequestValidatorSpec.cs:29 — Test method exercises code but verifies nothing — add an assertion.
  • No assertions: WhenAllProperties_ThenSucceeds src/Subdomains/Core/CarsInfrastructure.UnitTests/Api/Cars/GetCarRequestValidatorSpec.cs:29 — Test method exercises code but verifies nothing — add an assertion.
  • No assertions: WhenAllProperties_ThenSuccess src/Subdomains/Core/CarsInfrastructure.UnitTests/Api/Cars/RegisterCarRequestValidatorSpec.cs:30 — Test method exercises code but verifies nothing — add an assertion.
  • No assertions: WhenAllProperties_ThenSucceeds src/Subdomains/Core/CarsInfrastructure.UnitTests/Api/Cars/ReleaseCarAvailabilityRequestValidatorSpec.cs:34 — Test method exercises code but verifies nothing — add an assertion.
  • No assertions: WhenAllProperties_ThenSucceeds src/Subdomains/Core/CarsInfrastructure.UnitTests/Api/Cars/ReserveIfAvailableCarRequestValidatorSpec.cs:35 — Test method exercises code but verifies nothing — add an assertion.
  • No assertions: WhenAllProperties_ThenSucceeds src/Subdomains/Core/CarsInfrastructure.UnitTests/Api/Cars/ScheduleMaintenanceCarRequestValidatorSpec.cs:34 — Test method exercises code but verifies nothing — add an assertion.
  • No assertions: WhenAllProperties_ThenSuccess src/Subdomains/Core/CarsInfrastructure.UnitTests/Api/Cars/SearchAllAvailableCarsRequestValidatorSpec.cs:25 — Test method exercises code but verifies nothing — add an assertion.
  • + 145 more in this group — see findings.md.
D17 · Explicit Debt · BarePragmaDisable · ×31
  • BarePragmaDisable src/Framework/Common.UnitTests/Extensions/EnumExtensionsSpec.cs:91 — #pragma warning disable S2344
  • BarePragmaDisable src/Framework/Common.UnitTests/Extensions/EnumExtensionsSpec.cs:99 — #pragma warning disable S2344
  • BarePragmaDisable src/Framework/Domain/Domain.Common.UnitTests/ValueObjects/ValueObjectSpec.cs:460 — #pragma warning disable S2344
  • BarePragmaDisable src/Framework/Common/Annotations.cs:29 — #pragma warning disable 1591
  • BarePragmaDisable src/Framework/Domain/Domain.Common/DomainEvent.cs:8 — #pragma warning disable SAASDDD043
  • BarePragmaDisable src/Framework/Domain/Domain.Common/TombstoneDomainEvent.cs:9 — #pragma warning disable SAASDDD043
  • BarePragmaDisable src/Subdomains/Shared/Domain.Events.Shared/Bookings/ReservationMade.cs:7 — #pragma warning disable SAASDDD043
  • BarePragmaDisable src/Subdomains/Shared/Domain.Events.Shared/Bookings/TripBegan.cs:7 — #pragma warning disable SAASDDD043
  • BarePragmaDisable src/Subdomains/Shared/Domain.Events.Shared/EndUsers/MembershipFeaturesReset.cs:7 — #pragma warning disable SAASDDD043
  • BarePragmaDisable src/Subdomains/Shared/Domain.Events.Shared/EndUsers/PlatformFeaturesReset.cs:7 — #pragma warning disable SAASDDD043
  • BarePragmaDisable src/Subdomains/Shared/Domain.Events.Shared/Identities/PersonCredentials/MfaStateReset.cs:7 — #pragma warning disable SAASDDD043
  • BarePragmaDisable src/Subdomains/Shared/Domain.Events.Shared/Organizations/OnboardingReset.cs:8 — #pragma warning disable SAASDDD043
  • BarePragmaDisable src/Framework/Domain/Domain.Common/DomainEvent.cs:9 — #pragma warning disable SAASDDD041
  • BarePragmaDisable src/Framework/Domain/Domain.Common/TombstoneDomainEvent.cs:10 — #pragma warning disable SAASDDD041
  • BarePragmaDisable src/Framework/Domain/Domain.Common/DomainEvent.cs:10 — #pragma warning disable SAASDDD042
  • BarePragmaDisable src/Framework/Domain/Domain.Common/TombstoneDomainEvent.cs:11 — #pragma warning disable SAASDDD042
  • BarePragmaDisable src/Subdomains/Generic/EndUsersDomain/EndUserRoot.RolesAndFeatures.cs:31 — #pragma warning disable SAASDDD018
  • BarePragmaDisable src/Subdomains/Generic/SubscriptionsDomain/SubscriptionRoot.Quotas.cs:13 — #pragma warning disable SAASDDD018
  • BarePragmaDisable src/Subdomains/Generic/SubscriptionsDomain/SubscriptionRoot.Trials.cs:23 — #pragma warning disable SAASDDD018
  • BarePragmaDisable src/Subdomains/Generic/EndUsersDomain/EndUserRoot.RolesAndFeatures.cs:32 — #pragma warning disable SAASDDD010
  • BarePragmaDisable src/Subdomains/Generic/SubscriptionsDomain/SubscriptionRoot.Quotas.cs:12 — #pragma warning disable SAASDDD010
  • BarePragmaDisable src/Subdomains/Generic/SubscriptionsDomain/SubscriptionRoot.Trials.cs:22 — #pragma warning disable SAASDDD010
  • BarePragmaDisable src/Subdomains/Generic/EndUsersDomain/EndUserRoot.RolesAndFeatures.cs:33 — #pragma warning disable SAASDDD014
  • BarePragmaDisable src/Subdomains/Generic/SubscriptionsDomain/SubscriptionRoot.Quotas.cs:11 — #pragma warning disable SAASDDD014
  • BarePragmaDisable src/Subdomains/Generic/SubscriptionsDomain/SubscriptionRoot.Trials.cs:21 — #pragma warning disable SAASDDD014
  • + 6 more in this group — see findings.md.
D5 · Coupling · Off the main sequence · ×28
  • Off the main sequence: Tools.Generators.Common — Tools.Generators.Common: abstractness 0.00, instability 0.00, distance 1.00 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: Tools.Analyzers.Common — Tools.Analyzers.Common: abstractness 0.00, instability 0.00, distance 1.00 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: Infrastructure.External.Common — Infrastructure.External.Common: abstractness 0.00, instability 0.00, distance 1.00 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: Tools.Generators.Web.Api.Authorization — Tools.Generators.Web.Api.Authorization: abstractness 0.01, instability 0.00, distance 0.99 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: Tools.Generators.Workers — Tools.Generators.Workers: abstractness 0.02, instability 0.00, distance 0.98 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: Infrastructure.Web.Interfaces — Infrastructure.Web.Interfaces: abstractness 0.00, instability 0.02, distance 0.98 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: Domain.Shared — Domain.Shared: abstractness 0.00, instability 0.03, distance 0.97 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: Application.Common — Application.Common: abstractness 0.00, instability 0.05, distance 0.95 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: Application.Resources.Shared — Application.Resources.Shared: abstractness 0.00, instability 0.05, distance 0.95 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: Application.Persistence.Common — Application.Persistence.Common: abstractness 0.00, instability 0.05, distance 0.95 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: Common — Common: abstractness 0.06, instability 0.00, distance 0.94 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: Domain.Events.Shared — Domain.Events.Shared: abstractness 0.00, instability 0.08, distance 0.92 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: Application.Interfaces — Application.Interfaces: abstractness 0.09, instability 0.02, distance 0.90 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: Infrastructure.Web.Common — Infrastructure.Web.Common: abstractness 0.00, instability 0.11, distance 0.89 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: Infrastructure.Persistence.Common — Infrastructure.Persistence.Common: abstractness 0.00, instability 0.17, distance 0.83 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: Infrastructure.Web.Api.Operations.Shared — Infrastructure.Web.Api.Operations.Shared: abstractness 0.00, instability 0.18, distance 0.82 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: Infrastructure.Persistence.Shared — Infrastructure.Persistence.Shared: abstractness 0.00, instability 0.20, distance 0.80 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: Infrastructure.Shared — Infrastructure.Shared: abstractness 0.00, instability 0.24, distance 0.76 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: Infrastructure.External.Persistence.Common — Infrastructure.External.Persistence.Common: abstractness 0.00, instability 0.24, distance 0.76 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: Infrastructure.Common — Infrastructure.Common: abstractness 0.00, instability 0.24, distance 0.76 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: Infrastructure.External.Persistence.TestingOnly — Infrastructure.External.Persistence.TestingOnly: abstractness 0.00, instability 0.26, distance 0.74 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: EndUsersDomain — EndUsersDomain: abstractness 0.00, instability 0.28, distance 0.72 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: Infrastructure.Eventing.Common — Infrastructure.Eventing.Common: abstractness 0.00, instability 0.28, distance 0.72 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: UserProfilesDomain — UserProfilesDomain: abstractness 0.00, instability 0.29, distance 0.71 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: CarsDomain — CarsDomain: abstractness 0.00, instability 0.30, distance 0.70 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • + 3 more in this group — see findings.md.
D17 · Explicit Debt · HackComment · ×15
  • HackComment src/ExternalAdapters/Infrastructure.External.Persistence.TestingOnly/ApplicationServices/InProcessInMemStore.IEventStore.cs:88 — //HACK: we use QueryEntity.ToDto() here, since EventSourcedChangeEvent can be rehydrated without a IDomainFactory — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • HackComment src/ExternalAdapters/Infrastructure.External.Persistence.TestingOnly/ApplicationServices/LocalMachineJsonFileStore.IEventStore.cs:95 — //HACK: we use QueryEntity.ToDto() here, since EventSourcedChangeEvent can be rehydrated without a IDomainFactory — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • HackComment src/Framework/Infrastructure/Infrastructure.Web.Api.Common/Extensions/HttpRequestExtensions.cs:48 — //HACK: we assume that an empty JSON request was signed — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • HackComment src/Framework/Tools/Tools.Generators.Common.UnitTests/FeatureFlagGeneratorSpec.cs:19 — //HACK: required to analyze custom attributes — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • HackComment src/Framework/Tools/Tools.Generators.Web.Api.Authorization.UnitTests/AuthorizationAttributeGeneratorSpec.cs:18 — //HACK: required to analyze custom attributes — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • HackComment src/Framework/Tools/Tools.Generators.Web.Api.UnitTests/MinimalApiGeneratorSpec.cs:23 — //HACK: required to analyze custom attributes — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • HackComment src/Framework/Tools/Tools.Generators.Web.Api.UnitTests/WebApiAssemblyVisitorSpec.cs:25 — //HACK: required to analyze use custom attributes — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • HackComment src/Hosts/ApiHost1.IntegrationTests/GeneralApiSpec.cs:76 — //HACK: notice that all enum values in the route or query must be case sensitive! — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • HackComment src/Hosts/ApiHost1.IntegrationTests/GeneralApiSpec.cs:144 — //HACK: notice that all enum values in the route or query must be case sensitive! — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • HackComment src/Hosts/ApiHost1.IntegrationTests/GeneralApiSpec.cs:211 — //HACK: notice that all enum values in the route or query must be case sensitive! — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • HackComment src/Hosts/WebsiteHost.IntegrationTests/AuthNApiSpec.cs:40 — //HACK: to ensure that the new token is not the same (in time) as the old token — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • HackComment src/Subdomains/Generic/IdentityInfrastructure.IntegrationTests/AuthTokensApiSpec.cs:56 — //HACK: to ensure that the new token is not the same (in time) as the old token — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • HackComment src/Subdomains/Generic/IdentityInfrastructure.IntegrationTests/AuthTokensApiSpec.cs:73 — //HACK: to ensure that the new token is not the same (in time) as the old token — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • HackComment src/Subdomains/Generic/ImagesApplication/ImagesApplication.cs:72 — //HACK: possibly a better way to buffer this data in memory? — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • HackComment src/Subdomains/Generic/SubscriptionsApplication/SubscriptionApplication_ProviderNotifications.cs:273 — // HACK: what to do if we don't have a subscription? — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
D3 · God Classes · TooManyMethods · ×14
  • TooManyMethods: InProcessInMemStore src/ExternalAdapters/Infrastructure.External.Persistence.TestingOnly/ApplicationServices/InProcessInMemStore.IBlobStore.cs:0 — TooManyMethods — 398 lines, 34 methods.
  • TooManyMethods: LocalMachineJsonFileStore src/ExternalAdapters/Infrastructure.External.Persistence.TestingOnly/ApplicationServices/LocalMachineJsonFileStore.IBlobStore.cs:0 — TooManyMethods — 702 lines, 52 methods.
  • TooManyMethods: DateTimeExtensions src/Framework/Common/Extensions/DateTimeExtensions.cs:0 — TooManyMethods — 154 lines, 32 methods.
  • TooManyMethods: MappingExtensions src/Framework/Common/Extensions/MappingExtensions.cs:0 — TooManyMethods — 460 lines, 31 methods.
  • TooManyMethods: StringExtensions src/Framework/Common/Extensions/StringExtensions.cs:0 — TooManyMethods — 184 lines, 32 methods.
  • TooManyMethods: Optional src/Framework/Common/Optional.cs:0 — TooManyMethods — 195 lines, 36 methods.
  • TooManyMethods: JsonClient src/Framework/Infrastructure/Infrastructure.Web.Api.Common/Clients/JsonClient.cs:0 — TooManyMethods — 404 lines, 33 methods.
  • TooManyMethods: TestingWebApi src/Hosts/ApiHost1/Api/TestingOnly/TestingWebApi.cs:0 — TooManyMethods — 332 lines, 44 methods.
  • TooManyMethods: EndUserRoot src/Subdomains/Generic/EndUsersDomain/EndUserRoot.RolesAndFeatures.cs:0 — TooManyMethods — 619 lines, 36 methods.
  • TooManyMethods: PersonCredentialRoot src/Subdomains/Generic/IdentityDomain/PersonCredentialRoot.cs:0 — TooManyMethods — 584 lines, 34 methods.
  • TooManyMethods: OrganizationsApplication src/Subdomains/Generic/OrganizationsApplication/OrganizationsApplication.DomainEventHandlers.cs:0 — TooManyMethods — 629 lines, 39 methods.
  • TooManyMethods: OrganizationRoot src/Subdomains/Generic/OrganizationsDomain/OrganizationRoot.cs:0 — TooManyMethods — 415 lines, 38 methods.
  • TooManyMethods: SubscriptionsApplication src/Subdomains/Generic/SubscriptionsApplication/SubscriptionApplication_ProviderNotifications.cs:0 — TooManyMethods — 1182 lines, 47 methods.
  • TooManyMethods: SubscriptionRoot src/Subdomains/Generic/SubscriptionsDomain/SubscriptionRoot.Quotas.cs:0 — TooManyMethods — 956 lines, 55 methods.
D4 · Code Duplication · Duplicated block (16 lines × 2) · ×13
  • Duplicated block (16 lines × 2) src/Subdomains/Generic/AncillaryInfrastructure/Persistence/ReadModels/EmailDeliveryProjection.cs:60 — src/Subdomains/Generic/AncillaryInfrastructure/Persistence/ReadModels/EmailDeliveryProjection.cs:60-75 | src/Subdomains/Generic/AncillaryInfrastructure/Persistence/ReadModels/SmsDeliveryProjection.cs:55-70
  • Duplicated block (16 lines × 2) src/Framework/Infrastructure/Infrastructure.Hosting.Common/Recording/HostRecorder.cs:78 — src/Framework/Infrastructure/Infrastructure.Hosting.Common/Recording/HostRecorder.cs:78-93 | src/Framework/Infrastructure/Infrastructure.Hosting.Common/Recording/TracingOnlyRecorder.cs:29-44
  • Duplicated block (16 lines × 2) src/Framework/Infrastructure/Infrastructure.Hosting.Common/Recording/HostRecorder.cs:246 — src/Framework/Infrastructure/Infrastructure.Hosting.Common/Recording/HostRecorder.cs:246-261 | src/Framework/Infrastructure/Infrastructure.Hosting.Common/Recording/TracingOnlyRecorder.cs:187-202
  • Duplicated block (16 lines × 2) src/Subdomains/Generic/IdentityApplication/AuthTokensApplication.cs:110 — src/Subdomains/Generic/IdentityApplication/AuthTokensApplication.cs:110-125 | src/Subdomains/Generic/IdentityApplication/AuthTokensApplication.cs:215-230
  • Duplicated block (16 lines × 2) src/Subdomains/Generic/IdentityDomain/OpenIdConnectAuthorizationRoot.cs:213 — src/Subdomains/Generic/IdentityDomain/OpenIdConnectAuthorizationRoot.cs:213-228 | src/Subdomains/Generic/IdentityDomain/OpenIdConnectAuthorizationRoot.cs:238-253
  • Duplicated block (16 lines × 2) src/Subdomains/Generic/OrganizationsDomain/OrganizationRoot.cs:352 — src/Subdomains/Generic/OrganizationsDomain/OrganizationRoot.cs:352-367 | src/Subdomains/Generic/OrganizationsDomain/OrganizationRoot.cs:719-734
  • Duplicated block (16 lines × 2) src/Subdomains/Generic/OrganizationsApplication/OnboardingApplication.cs:251 — src/Subdomains/Generic/OrganizationsApplication/OnboardingApplication.cs:251-265 | src/Subdomains/Generic/OrganizationsApplication/OnboardingApplication.cs:387-402
  • Duplicated block (16 lines × 2) src/Subdomains/Generic/OrganizationsApplication/OrganizationsApplication.cs:62 — src/Subdomains/Generic/OrganizationsApplication/OrganizationsApplication.cs:62-77 | src/Subdomains/Generic/OrganizationsApplication/OrganizationsApplication.cs:596-611
  • Duplicated block (16 lines × 2) src/Subdomains/Generic/OrganizationsApplication/OrganizationsApplication.cs:502 — src/Subdomains/Generic/OrganizationsApplication/OrganizationsApplication.cs:502-517 | src/Subdomains/Generic/OrganizationsApplication/OrganizationsApplication.cs:524-539
  • Duplicated block (16 lines × 2) src/Subdomains/Generic/OrganizationsApplication/OrganizationsApplication.DomainEventHandlers.cs:190 — src/Subdomains/Generic/OrganizationsApplication/OrganizationsApplication.DomainEventHandlers.cs:190-204 | src/Subdomains/Generic/OrganizationsApplication/OrganizationsApplication.DomainEventHandlers.cs:218-233
  • Duplicated block (16 lines × 2) src/Subdomains/Generic/SubscriptionsApplication/SubscriptionsApplication_DomainEventHandlers.cs:70 — src/Subdomains/Generic/SubscriptionsApplication/SubscriptionsApplication_DomainEventHandlers.cs:70-85 | src/Subdomains/Generic/SubscriptionsApplication/SubscriptionsApplication_DomainEventHandlers.cs:112-127
  • Duplicated block (16 lines × 2) src/Subdomains/Generic/SubscriptionsApplication/SubscriptionsApplication_TrialEvents.cs:96 — src/Subdomains/Generic/SubscriptionsApplication/SubscriptionsApplication_TrialEvents.cs:96-111 | src/Subdomains/Generic/SubscriptionsApplication/SubscriptionsApplication_TrialEvents.cs:128-143
  • Duplicated block (16 lines × 2) src/Subdomains/Generic/SubscriptionsDomain/SubscriptionRoot.cs:341 — src/Subdomains/Generic/SubscriptionsDomain/SubscriptionRoot.cs:341-356 | src/Subdomains/Generic/SubscriptionsDomain/SubscriptionRoot.cs:363-378
D38 · OSV Dependency Vulnerabilities · Medium CVE · ×12
  • Medium CVE: [GHSA redacted] src/Hosts/WebsiteHost/ClientApp/package-lock.json — brace-expansion: [GHSA redacted]
  • Medium CVE: [GHSA redacted] src/Hosts/WebsiteHost/ClientApp/package-lock.json — i18next-http-backend: [GHSA redacted]
  • Medium CVE: [GHSA redacted] src/Hosts/WebsiteHost/ClientApp/package-lock.json — js-yaml: [GHSA redacted]
  • Medium CVE: [GHSA redacted] src/Hosts/WebsiteHost/ClientApp/package-lock.json — lodash: [GHSA redacted]
  • Medium CVE: [GHSA redacted] src/Hosts/WebsiteHost/ClientApp/package-lock.json — picomatch: [GHSA redacted]
  • Medium CVE: [GHSA redacted] src/Hosts/WebsiteHost/ClientApp/package-lock.json — postcss: [GHSA redacted]
  • Medium CVE: [GHSA redacted] src/Hosts/WebsiteHost/ClientApp/package-lock.json — react-router: [GHSA redacted]
  • Medium CVE: [GHSA redacted] src/Hosts/WebsiteHost/ClientApp/package-lock.json — react-router: [GHSA redacted]
  • Medium CVE: [GHSA redacted] src/Hosts/WebsiteHost/ClientApp/package-lock.json — tar: [GHSA redacted]
  • Medium CVE: [GHSA redacted] src/Hosts/WebsiteHost/ClientApp/package-lock.json — vite: [GHSA redacted]
  • Medium CVE: [GHSA redacted] src/Hosts/WebsiteHost/ClientApp/package-lock.json — vite: [GHSA redacted]
  • Medium CVE: [GHSA redacted] src/Hosts/WebsiteHost/ClientApp/package-lock.json — ws: [GHSA redacted]
D15 · Churn × Complexity Hotspots · Hotspot · ×10
  • Hotspot: src/Subdomains/Generic/SubscriptionsDomain/SubscriptionRoot.cs src/Subdomains/Generic/SubscriptionsDomain/SubscriptionRoot.cs — src/Subdomains/Generic/SubscriptionsDomain/SubscriptionRoot.cs changed 3 times in last 90 days, max complexity 45. 1 of those changes were fix/bug commits — a defect-dense hotspot worth prioritising.
  • Hotspot: src/Subdomains/Generic/EndUsersDomain/EndUserRoot.cs src/Subdomains/Generic/EndUsersDomain/EndUserRoot.cs — src/Subdomains/Generic/EndUsersDomain/EndUserRoot.cs changed 3 times in last 90 days, max complexity 45. 1 of those changes were fix/bug commits — a defect-dense hotspot worth prioritising.
  • Hotspot: src/Subdomains/Generic/IdentityDomain/PersonCredentialRoot.cs src/Subdomains/Generic/IdentityDomain/PersonCredentialRoot.cs — src/Subdomains/Generic/IdentityDomain/PersonCredentialRoot.cs changed 3 times in last 90 days, max complexity 41. 3 of those changes were fix/bug commits — a defect-dense hotspot worth prioritising.
  • Hotspot: src/Subdomains/Generic/AncillaryApplication/AncillaryApplication.Emailing.cs src/Subdomains/Generic/AncillaryApplication/AncillaryApplication.Emailing.cs — src/Subdomains/Generic/AncillaryApplication/AncillaryApplication.Emailing.cs changed 2 times in last 90 days, max complexity 32. 2 of those changes were fix/bug commits — a defect-dense hotspot worth prioritising.
  • Hotspot: src/Subdomains/Generic/SubscriptionsApplication/SubscriptionsApplication_DomainEventHandlers.cs src/Subdomains/Generic/SubscriptionsApplication/SubscriptionsApplication_DomainEventHandlers.cs — src/Subdomains/Generic/SubscriptionsApplication/SubscriptionsApplication_DomainEventHandlers.cs changed 2 times in last 90 days, max complexity 24.
  • Hotspot: src/ExternalAdapters/Infrastructure.External.Persistence.TestingOnly/ApplicationServices/LocalMachineJsonFileStore.cs src/ExternalAdapters/Infrastructure.External.Persistence.TestingOnly/ApplicationServices/LocalMachineJsonFileStore.cs — src/ExternalAdapters/Infrastructure.External.Persistence.TestingOnly/ApplicationServices/LocalMachineJsonFileStore.cs changed 1 times in last 90 days, max complexity 46. 1 of those changes were fix/bug commits — a defect-dense hotspot worth prioritising.
  • Hotspot: src/Subdomains/Generic/SubscriptionsDomain/SubscriptionRoot.Trials.cs src/Subdomains/Generic/SubscriptionsDomain/SubscriptionRoot.Trials.cs — src/Subdomains/Generic/SubscriptionsDomain/SubscriptionRoot.Trials.cs changed 2 times in last 90 days, max complexity 21.
  • Hotspot: src/Subdomains/Generic/EndUsersInfrastructure/Persistence/ReadModels/EndUserProjection.cs src/Subdomains/Generic/EndUsersInfrastructure/Persistence/ReadModels/EndUserProjection.cs — src/Subdomains/Generic/EndUsersInfrastructure/Persistence/ReadModels/EndUserProjection.cs changed 1 times in last 90 days, max complexity 40.
  • Hotspot: src/Framework/Infrastructure/Infrastructure.Web.Hosting.Common/Extensions/HostExtensions.cs src/Framework/Infrastructure/Infrastructure.Web.Hosting.Common/Extensions/HostExtensions.cs — src/Framework/Infrastructure/Infrastructure.Web.Hosting.Common/Extensions/HostExtensions.cs changed 1 times in last 90 days, max complexity 39. 1 of those changes were fix/bug commits — a defect-dense hotspot worth prioritising.
  • Hotspot: src/Subdomains/Generic/SubscriptionsApplication/SubscriptionsApplication_Quotas.cs src/Subdomains/Generic/SubscriptionsApplication/SubscriptionsApplication_Quotas.cs — src/Subdomains/Generic/SubscriptionsApplication/SubscriptionsApplication_Quotas.cs changed 1 times in last 90 days, max complexity 38.
D4 · Code Duplication · Duplicated block (17 lines × 2) · ×6
  • Duplicated block (17 lines × 2) src/Subdomains/Generic/IdentityApplication/AuthTokensApplication.cs:73 — src/Subdomains/Generic/IdentityApplication/AuthTokensApplication.cs:73-88 | src/Subdomains/Generic/IdentityApplication/AuthTokensApplication.cs:199-215
  • Duplicated block (17 lines × 2) src/Subdomains/Generic/IdentityDomain/APIKeyKeep.cs:16 — src/Subdomains/Generic/IdentityDomain/APIKeyKeep.cs:16-32 | src/Subdomains/Generic/IdentityDomain/APIKeyKeep.cs:64-80
  • Duplicated block (17 lines × 2) src/Subdomains/Shared/Infrastructure.Shared/ApplicationServices/SimpleBillingProvider.cs:63 — src/Subdomains/Shared/Infrastructure.Shared/ApplicationServices/SimpleBillingProvider.cs:63-79 | src/Subdomains/Shared/Infrastructure.Shared/ApplicationServices/SimpleBillingProvider.cs:92-107
  • Duplicated block (17 lines × 2) src/Subdomains/Generic/OrganizationsApplication/OnboardingApplication.cs:49 — src/Subdomains/Generic/OrganizationsApplication/OnboardingApplication.cs:49-65 | src/Subdomains/Generic/OrganizationsApplication/OnboardingApplication.cs:229-244
  • Duplicated block (17 lines × 2) src/Subdomains/Generic/SubscriptionsApplication/SubscriptionApplication_ProviderNotifications.cs:155 — src/Subdomains/Generic/SubscriptionsApplication/SubscriptionApplication_ProviderNotifications.cs:155-171 | src/Subdomains/Generic/SubscriptionsApplication/SubscriptionApplication_ProviderNotifications.cs:324-340
  • Duplicated block (17 lines × 2) src/ExternalAdapters/Infrastructure.External.TestingOnly/ApplicationServices/FakeOAuth2Service.cs:86 — src/ExternalAdapters/Infrastructure.External.TestingOnly/ApplicationServices/FakeOAuth2Service.cs:86-102 | src/ExternalAdapters/Infrastructure.External.TestingOnly/ApplicationServices/FakeOAuth2Service.cs:106-122
D3 · God Classes · FileTooLong · ×5
  • FileTooLong: Common/Annotations.cs src/Framework/Common/Annotations.cs:0 — FileTooLong — 534 lines.
  • FileTooLong: IdentityDomain/PersonCredentialRoot.cs src/Subdomains/Generic/IdentityDomain/PersonCredentialRoot.cs:0 — FileTooLong — 602 lines.
  • FileTooLong: OrganizationsApplication/OrganizationsApplication.cs src/Subdomains/Generic/OrganizationsApplication/OrganizationsApplication.cs:0 — FileTooLong — 530 lines.
  • FileTooLong: SubscriptionsApplication/SubscriptionsApplication.cs src/Subdomains/Generic/SubscriptionsApplication/SubscriptionsApplication.cs:0 — FileTooLong — 525 lines.
  • FileTooLong: SubscriptionsDomain/SubscriptionRoot.cs src/Subdomains/Generic/SubscriptionsDomain/SubscriptionRoot.cs:0 — FileTooLong — 789 lines.
D4 · Code Duplication · Duplicated block (14 lines × 2) · ×5
  • Duplicated block (14 lines × 2) src/Framework/Infrastructure/Infrastructure.Web.Api.Common/RequestTenantDetective.cs:84 — src/Framework/Infrastructure/Infrastructure.Web.Api.Common/RequestTenantDetective.cs:84-97 | src/Framework/Infrastructure/Infrastructure.Web.Api.Common/RequestTenantDetective.cs:128-141
  • Duplicated block (14 lines × 2) src/Subdomains/Core/CarsApplication/CarsApplication.cs:166 — src/Subdomains/Core/CarsApplication/CarsApplication.cs:166-179 | src/Subdomains/Core/CarsApplication/CarsApplication.cs:235-248
  • Duplicated block (14 lines × 2) src/Subdomains/Core/BookingsDomain/BookingRoot.cs:141 — src/Subdomains/Core/BookingsDomain/BookingRoot.cs:141-154 | src/Subdomains/Core/BookingsDomain/BookingRoot.cs:163-176
  • Duplicated block (14 lines × 2) src/Subdomains/Generic/IdentityApplication/ApplicationServices/NativeIdentityServerApiKeyService.cs:158 — src/Subdomains/Generic/IdentityApplication/ApplicationServices/NativeIdentityServerApiKeyService.cs:158-171 | src/Subdomains/Generic/IdentityApplication/ApplicationServices/NativeIdentityServerCredentialsService.PasswordReset.cs:26-39
  • Duplicated block (14 lines × 2) src/Subdomains/Generic/SubscriptionsDomain/SubscriptionRoot.cs:258 — src/Subdomains/Generic/SubscriptionsDomain/SubscriptionRoot.cs:258-271 | src/Subdomains/Generic/SubscriptionsDomain/SubscriptionRoot.cs:288-301
D4 · Code Duplication · Duplicated block (11 lines × 2) · ×5
  • Duplicated block (11 lines × 2) src/Hosts/ApiHost1/Api/TestingOnly/ValidationsValidatedGetTestingOnlyRequestValidator.cs:14 — src/Hosts/ApiHost1/Api/TestingOnly/ValidationsValidatedGetTestingOnlyRequestValidator.cs:14-24 | src/Hosts/ApiHost1/Api/TestingOnly/ValidationsValidatedPostTestingOnlyRequestValidator.cs:14-24
  • Duplicated block (11 lines × 2) src/Subdomains/Generic/AncillaryInfrastructure/Persistence/ReadModels/EmailDeliveryProjection.cs:26 — src/Subdomains/Generic/AncillaryInfrastructure/Persistence/ReadModels/EmailDeliveryProjection.cs:26-36 | src/Subdomains/Generic/AncillaryInfrastructure/Persistence/ReadModels/SmsDeliveryProjection.cs:26-36
  • Duplicated block (11 lines × 2) src/Subdomains/Generic/IdentityInfrastructure/Api/MFA/AssociatePasswordMfaAuthenticatorForCallerRequestValidator.cs:16 — src/Subdomains/Generic/IdentityInfrastructure/Api/MFA/AssociatePasswordMfaAuthenticatorForCallerRequestValidator.cs:16-26 | src/Subdomains/Generic/IdentityInfrastructure/Api/MFA/ConfirmPasswordMfaAuthenticatorForCallerRequestValidator.cs:16-26
  • Duplicated block (11 lines × 2) src/Subdomains/Generic/IdentityInfrastructure/Api/MFA/ConfirmPasswordMfaAuthenticatorForCallerRequestValidator.cs:27 — src/Subdomains/Generic/IdentityInfrastructure/Api/MFA/ConfirmPasswordMfaAuthenticatorForCallerRequestValidator.cs:27-37 | src/Subdomains/Generic/IdentityInfrastructure/Api/MFA/VerifyPasswordMfaAuthenticatorForCallerRequestValidator.cs:22-32
  • Duplicated block (11 lines × 2) src/ExternalAdapters/Infrastructure.External.Persistence.TestingOnly/ApplicationServices/InProcessInMemStore.IEventStore.cs:81 — src/ExternalAdapters/Infrastructure.External.Persistence.TestingOnly/ApplicationServices/InProcessInMemStore.IEventStore.cs:81-89 | src/ExternalAdapters/Infrastructure.External.Persistence.TestingOnly/ApplicationServices/LocalMachineJsonFileStore.IEventStore.cs:87-97
D3 · God Classes · ClassTooLong · ×4
  • ClassTooLong: AncillaryApplication src/Subdomains/Generic/AncillaryApplication/AncillaryApplication.Auditing.cs:0 — ClassTooLong — 477 lines, 23 methods.
  • ClassTooLong: EndUsersApplication src/Subdomains/Generic/EndUsersApplication/EndUsersApplication.DomainEventHandlers.cs:0 — ClassTooLong — 594 lines, 30 methods.
  • ClassTooLong: NativeIdentityServerCredentialsService src/Subdomains/Generic/IdentityApplication/ApplicationServices/NativeIdentityServerCredentialsService.Mfa.cs:0 — ClassTooLong — 726 lines, 24 methods.
  • ClassTooLong: NativeIdentityServerOpenIdConnectService src/Subdomains/Generic/IdentityApplication/ApplicationServices/NativeIdentityServerOpenIdConnectService.cs:0 — ClassTooLong — 420 lines, 9 methods.
D4 · Code Duplication · Duplicated block (15 lines × 2) · ×4
  • Duplicated block (15 lines × 2) src/Subdomains/Generic/AncillaryInfrastructure/Api/Emails/SearchAllEmailDeliveriesRequestValidator.cs:14 — src/Subdomains/Generic/AncillaryInfrastructure/Api/Emails/SearchAllEmailDeliveriesRequestValidator.cs:14-28 | src/Subdomains/Generic/AncillaryInfrastructure/Api/Smses/SearchAllSmsDeliveriesRequestValidator.cs:14-28
  • Duplicated block (15 lines × 2) src/Subdomains/Generic/AncillaryDomain/EmailDeliveryRoot.cs:85 — src/Subdomains/Generic/AncillaryDomain/EmailDeliveryRoot.cs:85-99 | src/Subdomains/Generic/AncillaryDomain/SmsDeliveryRoot.cs:81-95
  • Duplicated block (15 lines × 2) src/Subdomains/Generic/IdentityApplication/AuthTokensApplication.cs:289 — src/Subdomains/Generic/IdentityApplication/AuthTokensApplication.cs:289-303 | src/Subdomains/Generic/ImagesApplication/ImagesApplication.cs:42-56
  • Duplicated block (15 lines × 2) src/Subdomains/Generic/OrganizationsApplication/OrganizationsApplication.DomainEventHandlers.cs:87 — src/Subdomains/Generic/OrganizationsApplication/OrganizationsApplication.DomainEventHandlers.cs:87-101 | src/Subdomains/Generic/OrganizationsApplication/OrganizationsApplication.DomainEventHandlers.cs:117-131
D6 · Cohesion (LCOM4) · Low cohesion · ×4
  • Low cohesion: TestingWebApi (LCOM4 34) src/Hosts/ApiHost1/Api/TestingOnly/TestingWebApi.cs:16 — TestingWebApi's methods form 34 groups that share no state and don't call each other — a sign it may have several responsibilities. Review whether it splits into focused classes.
  • Low cohesion: EmailDeliveryRoot (LCOM4 5) src/Subdomains/Generic/AncillaryDomain/EmailDeliveryRoot.cs:16 — EmailDeliveryRoot's methods form 5 groups that share no state and don't call each other — a sign it may have several responsibilities. Review whether it splits into focused classes.
  • Low cohesion: SmsDeliveryRoot (LCOM4 4) src/Subdomains/Generic/AncillaryDomain/SmsDeliveryRoot.cs:15 — SmsDeliveryRoot's methods form 4 groups that share no state and don't call each other — a sign it may have several responsibilities. Review whether it splits into focused classes.
  • Low cohesion: MfaService (LCOM4 4) src/Subdomains/Generic/IdentityInfrastructure/ApplicationServices/MfaService.cs:17 — MfaService's methods form 4 groups that share no state and don't call each other — a sign it may have several responsibilities. Review whether it splits into focused classes.
D4 · Code Duplication · Duplicated block (18 lines × 2) · ×3
  • Duplicated block (18 lines × 2) src/Subdomains/Generic/IdentityDomain/PersonCredentialRoot.cs:693 — src/Subdomains/Generic/IdentityDomain/PersonCredentialRoot.cs:693-710 | src/Subdomains/Generic/IdentityDomain/PersonCredentialRoot.cs:967-984
  • Duplicated block (18 lines × 2) src/Subdomains/Generic/SubscriptionsApplication/SubscriptionApplication_ProviderNotifications.cs:19 — src/Subdomains/Generic/SubscriptionsApplication/SubscriptionApplication_ProviderNotifications.cs:19-36 | src/Subdomains/Generic/SubscriptionsApplication/SubscriptionApplication_ProviderNotifications.cs:47-64
  • Duplicated block (18 lines × 2) src/ExternalAdapters/Infrastructure.External.Persistence.TestingOnly/ApplicationServices/LocalMachineJsonFileStore.IMessageBusStore.cs:249 — src/ExternalAdapters/Infrastructure.External.Persistence.TestingOnly/ApplicationServices/LocalMachineJsonFileStore.IMessageBusStore.cs:249-266 | src/ExternalAdapters/Infrastructure.External.Persistence.TestingOnly/ApplicationServices/LocalMachineJsonFileStore.IQueueStore.cs:171-188
D4 · Code Duplication · Duplicated block (10 lines × 2) · ×3
  • Duplicated block (10 lines × 2) src/Framework/Infrastructure/Infrastructure.Persistence.Common/MessageBusTopicStore.cs:83 — src/Framework/Infrastructure/Infrastructure.Persistence.Common/MessageBusTopicStore.cs:83-92 | src/Framework/Infrastructure/Infrastructure.Persistence.Common/MessageQueueStore.cs:87-96
  • Duplicated block (10 lines × 2) src/Subdomains/Generic/IdentityDomain/AuthTokensRoot.cs:132 — src/Subdomains/Generic/IdentityDomain/AuthTokensRoot.cs:132-141 | src/Subdomains/Generic/IdentityDomain/AuthTokensRoot.cs:145-154
  • Duplicated block (10 lines × 2) src/Subdomains/Generic/OrganizationsInfrastructure/Api/Organizations/AssignRolesToOrganizationRequestValidator.cs:13 — src/Subdomains/Generic/OrganizationsInfrastructure/Api/Organizations/AssignRolesToOrganizationRequestValidator.cs:13-22 | src/Subdomains/Generic/OrganizationsInfrastructure/Api/Organizations/UnassignRolesFromOrganizationRequestValidator.cs:13-22
D4 · Code Duplication · Duplicated block (20 lines × 2) · ×2
  • Duplicated block (20 lines × 2) src/Subdomains/Generic/IdentityDomain/MfaAuthenticator.cs:298 — src/Subdomains/Generic/IdentityDomain/MfaAuthenticator.cs:298-317 | src/Subdomains/Generic/IdentityDomain/MfaAuthenticator.cs:368-387
  • Duplicated block (20 lines × 2) src/Framework/Tools/Tools.Analyzers.Common/Extensions/SyntaxFilterExtensions.cs:38 — src/Framework/Tools/Tools.Analyzers.Common/Extensions/SyntaxFilterExtensions.cs:38-57 | src/Framework/Tools/Tools.Analyzers.Common/Extensions/SyntaxFilterExtensions.cs:91-110
D4 · Code Duplication · Duplicated block (14 lines × 3) · ×2
  • Duplicated block (14 lines × 3) src/Subdomains/Generic/IdentityApplication/ApplicationServices/NativeIdentityServerApiKeyService.cs:251 — src/Subdomains/Generic/IdentityApplication/ApplicationServices/NativeIdentityServerApiKeyService.cs:251-264 | src/Subdomains/Generic/OrganizationsApplication/OrganizationsApplication.DomainEventHandlers.cs:189-202 | src/Subdomains/Generic/OrganizationsApplication/OrganizationsApplication.DomainEventHandlers.cs:217-230
  • Duplicated block (14 lines × 3) src/Subdomains/Generic/OrganizationsApplication/OrganizationsApplication.SubscriptionOwningEntity.cs:16 — src/Subdomains/Generic/OrganizationsApplication/OrganizationsApplication.SubscriptionOwningEntity.cs:16-29 | src/Subdomains/Generic/OrganizationsApplication/OrganizationsApplication.SubscriptionOwningEntity.cs:35-48 | src/Subdomains/Generic/OrganizationsApplication/OrganizationsApplication.SubscriptionOwningEntity.cs:88-101
D4 · Code Duplication · Duplicated block (8 lines × 2) · ×2
  • Duplicated block (8 lines × 2) src/Subdomains/Generic/AncillaryApplication/RecordingApplication.cs:22 — src/Subdomains/Generic/AncillaryApplication/RecordingApplication.cs:22-29 | src/Subdomains/Generic/AncillaryApplication/RecordingApplication.cs:35-42
  • Duplicated block (8 lines × 2) src/Framework/Infrastructure/Infrastructure.Hosting.Common/Recording/HostRecorder.cs:123 — src/Framework/Infrastructure/Infrastructure.Hosting.Common/Recording/HostRecorder.cs:123-130 | src/Framework/Infrastructure/Infrastructure.Hosting.Common/Recording/TracingOnlyRecorder.cs:69-76
D1 · Cyclomatic Complexity · LocalMachineFileStoreExtensions.FromFileProperty (cyclomatic 46) · ×1
  • LocalMachineFileStoreExtensions.FromFileProperty (cyclomatic 46) src/ExternalAdapters/Infrastructure.External.Persistence.TestingOnly/ApplicationServices/LocalMachineJsonFileStore.cs:552 — LocalMachineFileStoreExtensions.FromFileProperty has cyclomatic complexity 46 (threshold 15).
D1 · Cyclomatic Complexity · EndUserRoot.OnStateChanged (cyclomatic 45) · ×1
  • EndUserRoot.OnStateChanged (cyclomatic 45) src/Subdomains/Generic/EndUsersDomain/EndUserRoot.cs:117 — EndUserRoot.OnStateChanged has cyclomatic complexity 45 (threshold 15).
D1 · Cyclomatic Complexity · SubscriptionRoot.OnStateChanged (cyclomatic 45) · ×1
  • SubscriptionRoot.OnStateChanged (cyclomatic 45) src/Subdomains/Generic/SubscriptionsDomain/SubscriptionRoot.cs:118 — SubscriptionRoot.OnStateChanged has cyclomatic complexity 45 (threshold 15).
D1 · Cyclomatic Complexity · PersonCredentialRoot.OnStateChanged (cyclomatic 41) · ×1
  • PersonCredentialRoot.OnStateChanged (cyclomatic 41) src/Subdomains/Generic/IdentityDomain/PersonCredentialRoot.cs:150 — PersonCredentialRoot.OnStateChanged has cyclomatic complexity 41 (threshold 15).
D1 · Cyclomatic Complexity · EndUserProjection.ProjectEventAsync (cyclomatic 40) · ×1
  • EndUserProjection.ProjectEventAsync (cyclomatic 40) src/Subdomains/Generic/EndUsersInfrastructure/Persistence/ReadModels/EndUserProjection.cs:34 — EndUserProjection.ProjectEventAsync has cyclomatic complexity 40 (threshold 15).
D1 · Cyclomatic Complexity · HostExtensions.ConfigureApiHost (cyclomatic 39) · ×1
  • HostExtensions.ConfigureApiHost (cyclomatic 39) src/Framework/Infrastructure/Infrastructure.Web.Hosting.Common/Extensions/HostExtensions.cs:65 — HostExtensions.ConfigureApiHost has cyclomatic complexity 39 (threshold 15).
D1 · Cyclomatic Complexity · SubscriptionsApplication.ResyncSubscriptionTierQuotasInternalAsync (cyclomatic 38) · ×1
  • SubscriptionsApplication.ResyncSubscriptionTierQuotasInternalAsync (cyclomatic 38) src/Subdomains/Generic/SubscriptionsApplication/SubscriptionsApplication_Quotas.cs:170 — SubscriptionsApplication.ResyncSubscriptionTierQuotasInternalAsync has cyclomatic complexity 38 (threshold 15).
D1 · Cyclomatic Complexity · AncillaryApplication.SendEmailInternalAsync (cyclomatic 32) · ×1
  • AncillaryApplication.SendEmailInternalAsync (cyclomatic 32) src/Subdomains/Generic/AncillaryApplication/AncillaryApplication.Emailing.cs:148 — AncillaryApplication.SendEmailInternalAsync has cyclomatic complexity 32 (threshold 15).
D1 · Cyclomatic Complexity · MappingExtensions.ConvertValue (cyclomatic 29) · ×1
  • MappingExtensions.ConvertValue (cyclomatic 29) src/Framework/Common/Extensions/MappingExtensions.cs:471 — MappingExtensions.ConvertValue has cyclomatic complexity 29 (threshold 15).
D1 · Cyclomatic Complexity · WebApiAssemblyVisitor.AddRegistration (cyclomatic 29) · ×1
  • WebApiAssemblyVisitor.AddRegistration (cyclomatic 29) src/Framework/Tools/Tools.Generators.Web.Api/WebApiAssemblyVisitor.cs:166 — WebApiAssemblyVisitor.AddRegistration has cyclomatic complexity 29 (threshold 15).
D1 · Cyclomatic Complexity · OrganizationRoot.OnStateChanged (cyclomatic 29) · ×1
  • OrganizationRoot.OnStateChanged (cyclomatic 29) src/Subdomains/Generic/OrganizationsDomain/OrganizationRoot.cs:136 — OrganizationRoot.OnStateChanged has cyclomatic complexity 29 (threshold 15).
D1 · Cyclomatic Complexity · UserProfilesApplication.CreateProfileAsync (cyclomatic 28) · ×1
  • UserProfilesApplication.CreateProfileAsync (cyclomatic 28) src/Subdomains/Generic/UserProfilesApplication/UserProfilesApplication.DomainEventHandlers.cs:90 — UserProfilesApplication.CreateProfileAsync has cyclomatic complexity 28 (threshold 15).
D1 · Cyclomatic Complexity · OrganizationProjection.ProjectEventAsync (cyclomatic 25) · ×1
  • OrganizationProjection.ProjectEventAsync (cyclomatic 25) src/Subdomains/Generic/OrganizationsInfrastructure/Persistence/ReadModels/OrganizationProjection.cs:24 — OrganizationProjection.ProjectEventAsync has cyclomatic complexity 25 (threshold 15).
D1 · Cyclomatic Complexity · RequestTenantDetective.ParseTenantIdFromRequestAsync (cyclomatic 24) · ×1
  • RequestTenantDetective.ParseTenantIdFromRequestAsync (cyclomatic 24) src/Framework/Infrastructure/Infrastructure.Web.Api.Common/RequestTenantDetective.cs:65 — RequestTenantDetective.ParseTenantIdFromRequestAsync has cyclomatic complexity 24 (threshold 15).
D1 · Cyclomatic Complexity · RequestTenantDetective.ParseTenantIdFromRequestBodyAsync (cyclomatic 24) · ×1
  • RequestTenantDetective.ParseTenantIdFromRequestBodyAsync (cyclomatic 24) src/Framework/Infrastructure/Infrastructure.Web.Api.Common/RequestTenantDetective.cs:177 — RequestTenantDetective.ParseTenantIdFromRequestBodyAsync has cyclomatic complexity 24 (threshold 15).
D1 · Cyclomatic Complexity · NativeIdentityServerOpenIdConnectService.GetUserInfoAsync (cyclomatic 24) · ×1
  • NativeIdentityServerOpenIdConnectService.GetUserInfoAsync (cyclomatic 24) src/Subdomains/Generic/IdentityApplication/ApplicationServices/NativeIdentityServerOpenIdConnectService.cs:424 — NativeIdentityServerOpenIdConnectService.GetUserInfoAsync has cyclomatic complexity 24 (threshold 15).
D1 · Cyclomatic Complexity · UserProfileRoot.OnStateChanged (cyclomatic 24) · ×1
  • UserProfileRoot.OnStateChanged (cyclomatic 24) src/Subdomains/Generic/UserProfilesDomain/UserProfileRoot.cs:92 — UserProfileRoot.OnStateChanged has cyclomatic complexity 24 (threshold 15).
D1 · Cyclomatic Complexity · SubscriptionsApplication.CreateSubscriptionInternalAsync (cyclomatic 24) · ×1
  • SubscriptionsApplication.CreateSubscriptionInternalAsync (cyclomatic 24) src/Subdomains/Generic/SubscriptionsApplication/SubscriptionsApplication_DomainEventHandlers.cs:56 — SubscriptionsApplication.CreateSubscriptionInternalAsync has cyclomatic complexity 24 (threshold 15).
D1 · Cyclomatic Complexity · EndUsersApplication.RegisterPersonAsync (cyclomatic 21) · ×1
  • EndUsersApplication.RegisterPersonAsync (cyclomatic 21) src/Subdomains/Generic/EndUsersApplication/EndUsersApplication.cs:301 — EndUsersApplication.RegisterPersonAsync has cyclomatic complexity 21 (threshold 15).
D1 · Cyclomatic Complexity · CurrentStepState.NavigateToStep (cyclomatic 21) · ×1
  • CurrentStepState.NavigateToStep (cyclomatic 21) src/Subdomains/Generic/OrganizationsDomain/CurrentStepState.cs:194 — CurrentStepState.NavigateToStep has cyclomatic complexity 21 (threshold 15).
D1 · Cyclomatic Complexity · OnboardingWorkflowGraphService.ValidateWorkflow (cyclomatic 21) · ×1
  • OnboardingWorkflowGraphService.ValidateWorkflow (cyclomatic 21) src/Subdomains/Generic/OrganizationsInfrastructure/DomainServices/OnboardingWorkflowGraphService.cs:74 — OnboardingWorkflowGraphService.ValidateWorkflow has cyclomatic complexity 21 (threshold 15).
D1 · Cyclomatic Complexity · SubscriptionRoot.DeliverManagedTrialScheduledEventAsync (cyclomatic 21) · ×1
  • SubscriptionRoot.DeliverManagedTrialScheduledEventAsync (cyclomatic 21) src/Subdomains/Generic/SubscriptionsDomain/SubscriptionRoot.Trials.cs:49 — SubscriptionRoot.DeliverManagedTrialScheduledEventAsync has cyclomatic complexity 21 (threshold 15).
D1 · Cyclomatic Complexity · NativeIdentityServerSingleSignOnService.AuthenticateAsync (cyclomatic 20) · ×1
  • NativeIdentityServerSingleSignOnService.AuthenticateAsync (cyclomatic 20) src/Subdomains/Generic/IdentityApplication/ApplicationServices/NativeIdentityServerSingleSignOnService.cs:105 — NativeIdentityServerSingleSignOnService.AuthenticateAsync has cyclomatic complexity 20 (threshold 15).
D1 · Cyclomatic Complexity · UserProfilesApplication.ChangeProfileAsync (cyclomatic 20) · ×1
  • UserProfilesApplication.ChangeProfileAsync (cyclomatic 20) src/Subdomains/Generic/UserProfilesApplication/UserProfilesApplication.cs:92 — UserProfilesApplication.ChangeProfileAsync has cyclomatic complexity 20 (threshold 15).
D1 · Cyclomatic Complexity · FileUploadService.GetUploadedFile (cyclomatic 18) · ×1
  • FileUploadService.GetUploadedFile (cyclomatic 18) src/Framework/Infrastructure/Infrastructure.Web.Api.Common/FileUploadService.cs:27 — FileUploadService.GetUploadedFile has cyclomatic complexity 18 (threshold 15).
D1 · Cyclomatic Complexity · MinimalApiGenerator.BuildEndpointRegistrations (cyclomatic 18) · ×1
  • MinimalApiGenerator.BuildEndpointRegistrations (cyclomatic 18) src/Framework/Tools/Tools.Generators.Web.Api/MinimalApiGenerator.cs:100 — MinimalApiGenerator.BuildEndpointRegistrations has cyclomatic complexity 18 (threshold 15).
D1 · Cyclomatic Complexity · ClaimExtensions.ToClaims (cyclomatic 18) · ×1
  • ClaimExtensions.ToClaims (cyclomatic 18) src/Framework/Infrastructure/Infrastructure.Common/Extensions/ClaimExtensions.cs:162 — ClaimExtensions.ToClaims has cyclomatic complexity 18 (threshold 15).
D1 · Cyclomatic Complexity · NativeIdentityServerOpenIdConnectService.AuthorizeAsync (cyclomatic 18) · ×1
  • NativeIdentityServerOpenIdConnectService.AuthorizeAsync (cyclomatic 18) src/Subdomains/Generic/IdentityApplication/ApplicationServices/NativeIdentityServerOpenIdConnectService.cs:67 — NativeIdentityServerOpenIdConnectService.AuthorizeAsync has cyclomatic complexity 18 (threshold 15).
D1 · Cyclomatic Complexity · PersonCredentialRoot.AssociateMfaAuthenticatorAsync (cyclomatic 18) · ×1
  • PersonCredentialRoot.AssociateMfaAuthenticatorAsync (cyclomatic 18) src/Subdomains/Generic/IdentityDomain/PersonCredentialRoot.cs:432 — PersonCredentialRoot.AssociateMfaAuthenticatorAsync has cyclomatic complexity 18 (threshold 15).
D1 · Cyclomatic Complexity · OrganizationsApplication.CreateOrganizationInternalAsync (cyclomatic 18) · ×1
  • OrganizationsApplication.CreateOrganizationInternalAsync (cyclomatic 18) src/Subdomains/Generic/OrganizationsApplication/OrganizationsApplication.cs:666 — OrganizationsApplication.CreateOrganizationInternalAsync has cyclomatic complexity 18 (threshold 15).
D1 · Cyclomatic Complexity · SubscriptionsApplication.TryCheckQuotaUsageAsync (cyclomatic 18) · ×1
  • SubscriptionsApplication.TryCheckQuotaUsageAsync (cyclomatic 18) src/Subdomains/Generic/SubscriptionsApplication/SubscriptionsApplication_Quotas.cs:28 — SubscriptionsApplication.TryCheckQuotaUsageAsync has cyclomatic complexity 18 (threshold 15).
D1 · Cyclomatic Complexity · JsonClient.TryParseNonStandardErrors (cyclomatic 17) · ×1
  • JsonClient.TryParseNonStandardErrors (cyclomatic 17) src/Framework/Infrastructure/Infrastructure.Web.Api.Common/Clients/JsonClient.cs:652 — JsonClient.TryParseNonStandardErrors has cyclomatic complexity 17 (threshold 15).
D1 · Cyclomatic Complexity · AncillaryApplication.SendSmsInternalAsync (cyclomatic 17) · ×1
  • AncillaryApplication.SendSmsInternalAsync (cyclomatic 17) src/Subdomains/Generic/AncillaryApplication/AncillaryApplication.Smsing.cs:147 — AncillaryApplication.SendSmsInternalAsync has cyclomatic complexity 17 (threshold 15).
D1 · Cyclomatic Complexity · MfaAuthenticator.Verify (cyclomatic 17) · ×1
  • MfaAuthenticator.Verify (cyclomatic 17) src/Subdomains/Generic/IdentityDomain/MfaAuthenticator.cs:355 — MfaAuthenticator.Verify has cyclomatic complexity 17 (threshold 15).
D1 · Cyclomatic Complexity · ValueObjectBase.DehydrateInternal (cyclomatic 16) · ×1
  • ValueObjectBase.DehydrateInternal (cyclomatic 16) src/Framework/Domain/Domain.Common/ValueObjects/ValueObjectBase.cs:166 — ValueObjectBase.DehydrateInternal has cyclomatic complexity 16 (threshold 15).
D1 · Cyclomatic Complexity · NativeIdentityServerCredentialsService.AuthenticateAsync (cyclomatic 16) · ×1
  • NativeIdentityServerCredentialsService.AuthenticateAsync (cyclomatic 16) src/Subdomains/Generic/IdentityApplication/ApplicationServices/NativeIdentityServerCredentialsService.cs:92 — NativeIdentityServerCredentialsService.AuthenticateAsync has cyclomatic complexity 16 (threshold 15).
D1 · Cyclomatic Complexity · AuthTokensApplication.IssueTokensAsync (cyclomatic 16) · ×1
  • AuthTokensApplication.IssueTokensAsync (cyclomatic 16) src/Subdomains/Generic/IdentityApplication/AuthTokensApplication.cs:43 — AuthTokensApplication.IssueTokensAsync has cyclomatic complexity 16 (threshold 15).
D1 · Cyclomatic Complexity · StepSchema.Create (cyclomatic 16) · ×1
  • StepSchema.Create (cyclomatic 16) src/Subdomains/Generic/OrganizationsDomain/StepSchema.cs:14 — StepSchema.Create has cyclomatic complexity 16 (threshold 15).
D17 · Explicit Debt · BareSuppressMessage · ×1
  • BareSuppressMessage src/Subdomains/Generic/IdentityInfrastructure.IntegrationTests/SingleSignOnApiSpec.cs:198 — SuppressMessage
D17 · Explicit Debt · TodoComment · ×1
  • TodoComment src/Subdomains/Generic/SubscriptionsDomain/SubscriptionQuotaUsageRoot.cs:107 — //TODO: add your other invariant rules here — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
D17 · Explicit Debt · ObsoleteWithCallers · ×1
  • ObsoleteWithCallers src/Subdomains/Shared/Domain.Events.Shared/TestingOnly/Happened.cs:9 — [Obsolete] Happened
D19 · Documentation Quality · LLM evaluation failed · ×1
  • LLM evaluation failed — JSON parse error: Expected end of string, but instead reached end of data. Path: $.findings[0].suggestion | LineNumber: 0 | BytePositionInLine: 1076.
D2 · Cognitive Complexity · RequestTenantDetective.ParseTenantIdFromRequestBodyAsync (cognitive 66) · ×1
  • RequestTenantDetective.ParseTenantIdFromRequestBodyAsync (cognitive 66) src/Framework/Infrastructure/Infrastructure.Web.Api.Common/RequestTenantDetective.cs:177 — RequestTenantDetective.ParseTenantIdFromRequestBodyAsync has cognitive complexity 66 (threshold 15).
D2 · Cognitive Complexity · SubscriptionRoot.OnStateChanged (cognitive 65) · ×1
  • SubscriptionRoot.OnStateChanged (cognitive 65) src/Subdomains/Generic/SubscriptionsDomain/SubscriptionRoot.cs:118 — SubscriptionRoot.OnStateChanged has cognitive complexity 65 (threshold 15).
D2 · Cognitive Complexity · SubscriptionsApplication.ResyncSubscriptionTierQuotasInternalAsync (cognitive 63) · ×1
  • SubscriptionsApplication.ResyncSubscriptionTierQuotasInternalAsync (cognitive 63) src/Subdomains/Generic/SubscriptionsApplication/SubscriptionsApplication_Quotas.cs:170 — SubscriptionsApplication.ResyncSubscriptionTierQuotasInternalAsync has cognitive complexity 63 (threshold 15).
D2 · Cognitive Complexity · EndUserRoot.OnStateChanged (cognitive 57) · ×1
  • EndUserRoot.OnStateChanged (cognitive 57) src/Subdomains/Generic/EndUsersDomain/EndUserRoot.cs:117 — EndUserRoot.OnStateChanged has cognitive complexity 57 (threshold 15).
D2 · Cognitive Complexity · HostExtensions.ConfigureApiHost (cognitive 50) · ×1
  • HostExtensions.ConfigureApiHost (cognitive 50) src/Framework/Infrastructure/Infrastructure.Web.Hosting.Common/Extensions/HostExtensions.cs:65 — HostExtensions.ConfigureApiHost has cognitive complexity 50 (threshold 15).
D2 · Cognitive Complexity · RequestTenantDetective.ParseTenantIdFromRequestAsync (cognitive 49) · ×1
  • RequestTenantDetective.ParseTenantIdFromRequestAsync (cognitive 49) src/Framework/Infrastructure/Infrastructure.Web.Api.Common/RequestTenantDetective.cs:65 — RequestTenantDetective.ParseTenantIdFromRequestAsync has cognitive complexity 49 (threshold 15).
D2 · Cognitive Complexity · EndUserProjection.ProjectEventAsync (cognitive 46) · ×1
  • EndUserProjection.ProjectEventAsync (cognitive 46) src/Subdomains/Generic/EndUsersInfrastructure/Persistence/ReadModels/EndUserProjection.cs:34 — EndUserProjection.ProjectEventAsync has cognitive complexity 46 (threshold 15).
D2 · Cognitive Complexity · AncillaryApplication.SendEmailInternalAsync (cognitive 44) · ×1
  • AncillaryApplication.SendEmailInternalAsync (cognitive 44) src/Subdomains/Generic/AncillaryApplication/AncillaryApplication.Emailing.cs:148 — AncillaryApplication.SendEmailInternalAsync has cognitive complexity 44 (threshold 15).
D2 · Cognitive Complexity · PersonCredentialRoot.OnStateChanged (cognitive 44) · ×1
  • PersonCredentialRoot.OnStateChanged (cognitive 44) src/Subdomains/Generic/IdentityDomain/PersonCredentialRoot.cs:150 — PersonCredentialRoot.OnStateChanged has cognitive complexity 44 (threshold 15).
D2 · Cognitive Complexity · WebApiAssemblyVisitor.AddRegistration (cognitive 41) · ×1
  • WebApiAssemblyVisitor.AddRegistration (cognitive 41) src/Framework/Tools/Tools.Generators.Web.Api/WebApiAssemblyVisitor.cs:166 — WebApiAssemblyVisitor.AddRegistration has cognitive complexity 41 (threshold 15).
D2 · Cognitive Complexity · UserProfilesApplication.CreateProfileAsync (cognitive 38) · ×1
  • UserProfilesApplication.CreateProfileAsync (cognitive 38) src/Subdomains/Generic/UserProfilesApplication/UserProfilesApplication.DomainEventHandlers.cs:90 — UserProfilesApplication.CreateProfileAsync has cognitive complexity 38 (threshold 15).
D2 · Cognitive Complexity · SubscriptionsApplication.CreateSubscriptionInternalAsync (cognitive 37) · ×1
  • SubscriptionsApplication.CreateSubscriptionInternalAsync (cognitive 37) src/Subdomains/Generic/SubscriptionsApplication/SubscriptionsApplication_DomainEventHandlers.cs:56 — SubscriptionsApplication.CreateSubscriptionInternalAsync has cognitive complexity 37 (threshold 15).
D2 · Cognitive Complexity · MappingExtensions.ConvertValue (cognitive 32) · ×1
  • MappingExtensions.ConvertValue (cognitive 32) src/Framework/Common/Extensions/MappingExtensions.cs:471 — MappingExtensions.ConvertValue has cognitive complexity 32 (threshold 15).
D2 · Cognitive Complexity · EndUsersApplication.RegisterPersonAsync (cognitive 32) · ×1
  • EndUsersApplication.RegisterPersonAsync (cognitive 32) src/Subdomains/Generic/EndUsersApplication/EndUsersApplication.cs:301 — EndUsersApplication.RegisterPersonAsync has cognitive complexity 32 (threshold 15).
D2 · Cognitive Complexity · MinimalApiGenerator.BuildEndpointRegistrations (cognitive 29) · ×1
  • MinimalApiGenerator.BuildEndpointRegistrations (cognitive 29) src/Framework/Tools/Tools.Generators.Web.Api/MinimalApiGenerator.cs:100 — MinimalApiGenerator.BuildEndpointRegistrations has cognitive complexity 29 (threshold 15).
D2 · Cognitive Complexity · UserProfilesApplication.ChangeProfileAsync (cognitive 29) · ×1
  • UserProfilesApplication.ChangeProfileAsync (cognitive 29) src/Subdomains/Generic/UserProfilesApplication/UserProfilesApplication.cs:92 — UserProfilesApplication.ChangeProfileAsync has cognitive complexity 29 (threshold 15).
D2 · Cognitive Complexity · LocalMachineFileStoreExtensions.FromFileProperty (cognitive 29) · ×1
  • LocalMachineFileStoreExtensions.FromFileProperty (cognitive 29) src/ExternalAdapters/Infrastructure.External.Persistence.TestingOnly/ApplicationServices/LocalMachineJsonFileStore.cs:552 — LocalMachineFileStoreExtensions.FromFileProperty has cognitive complexity 29 (threshold 15).
D2 · Cognitive Complexity · AuthorizeAttribute.ParseRoleOrFeatureName (cognitive 27) · ×1
  • AuthorizeAttribute.ParseRoleOrFeatureName (cognitive 27) src/Framework/Infrastructure/Infrastructure.Web.Api.Interfaces/AuthorizeAttribute.cs:181 — AuthorizeAttribute.ParseRoleOrFeatureName has cognitive complexity 27 (threshold 15).
D2 · Cognitive Complexity · OnboardingWorkflowGraphService.ValidateWorkflow (cognitive 27) · ×1
  • OnboardingWorkflowGraphService.ValidateWorkflow (cognitive 27) src/Subdomains/Generic/OrganizationsInfrastructure/DomainServices/OnboardingWorkflowGraphService.cs:74 — OnboardingWorkflowGraphService.ValidateWorkflow has cognitive complexity 27 (threshold 15).
D2 · Cognitive Complexity · OrganizationsApplication.CreateOrganizationInternalAsync (cognitive 27) · ×1
  • OrganizationsApplication.CreateOrganizationInternalAsync (cognitive 27) src/Subdomains/Generic/OrganizationsApplication/OrganizationsApplication.cs:666 — OrganizationsApplication.CreateOrganizationInternalAsync has cognitive complexity 27 (threshold 15).
D2 · Cognitive Complexity · ClaimExtensions.ToClaims (cognitive 26) · ×1
  • ClaimExtensions.ToClaims (cognitive 26) src/Framework/Infrastructure/Infrastructure.Common/Extensions/ClaimExtensions.cs:162 — ClaimExtensions.ToClaims has cognitive complexity 26 (threshold 15).
D2 · Cognitive Complexity · NativeIdentityServerSingleSignOnService.AuthenticateAsync (cognitive 26) · ×1
  • NativeIdentityServerSingleSignOnService.AuthenticateAsync (cognitive 26) src/Subdomains/Generic/IdentityApplication/ApplicationServices/NativeIdentityServerSingleSignOnService.cs:105 — NativeIdentityServerSingleSignOnService.AuthenticateAsync has cognitive complexity 26 (threshold 15).
D2 · Cognitive Complexity · DefaultBodyFilter.Apply (cognitive 25) · ×1
  • DefaultBodyFilter.Apply (cognitive 25) src/Framework/Infrastructure/Infrastructure.Web.Hosting.Common/Documentation/DefaultBodyFilter.cs:21 — DefaultBodyFilter.Apply has cognitive complexity 25 (threshold 15).
D2 · Cognitive Complexity · NativeIdentityServerOpenIdConnectService.GetUserInfoAsync (cognitive 24) · ×1
  • NativeIdentityServerOpenIdConnectService.GetUserInfoAsync (cognitive 24) src/Subdomains/Generic/IdentityApplication/ApplicationServices/NativeIdentityServerOpenIdConnectService.cs:424 — NativeIdentityServerOpenIdConnectService.GetUserInfoAsync has cognitive complexity 24 (threshold 15).
D2 · Cognitive Complexity · JsonClient.ToMultiPartContent (cognitive 23) · ×1
  • JsonClient.ToMultiPartContent (cognitive 23) src/Framework/Infrastructure/Infrastructure.Web.Api.Common/Clients/JsonClient.cs:449 — JsonClient.ToMultiPartContent has cognitive complexity 23 (threshold 15).
D2 · Cognitive Complexity · MfaAuthenticator.Verify (cognitive 23) · ×1
  • MfaAuthenticator.Verify (cognitive 23) src/Subdomains/Generic/IdentityDomain/MfaAuthenticator.cs:355 — MfaAuthenticator.Verify has cognitive complexity 23 (threshold 15).
D2 · Cognitive Complexity · OrganizationRoot.OnStateChanged (cognitive 23) · ×1
  • OrganizationRoot.OnStateChanged (cognitive 23) src/Subdomains/Generic/OrganizationsDomain/OrganizationRoot.cs:136 — OrganizationRoot.OnStateChanged has cognitive complexity 23 (threshold 15).
D2 · Cognitive Complexity · UserProfileRoot.OnStateChanged (cognitive 23) · ×1
  • UserProfileRoot.OnStateChanged (cognitive 23) src/Subdomains/Generic/UserProfilesDomain/UserProfileRoot.cs:92 — UserProfileRoot.OnStateChanged has cognitive complexity 23 (threshold 15).
D2 · Cognitive Complexity · AncillaryApplication.SendSmsInternalAsync (cognitive 22) · ×1
  • AncillaryApplication.SendSmsInternalAsync (cognitive 22) src/Subdomains/Generic/AncillaryApplication/AncillaryApplication.Smsing.cs:147 — AncillaryApplication.SendSmsInternalAsync has cognitive complexity 22 (threshold 15).
D2 · Cognitive Complexity · CurrentStepState.NavigateToStep (cognitive 21) · ×1
  • CurrentStepState.NavigateToStep (cognitive 21) src/Subdomains/Generic/OrganizationsDomain/CurrentStepState.cs:194 — CurrentStepState.NavigateToStep has cognitive complexity 21 (threshold 15).
D2 · Cognitive Complexity · JsonClient.TryParseNonStandardErrors (cognitive 20) · ×1
  • JsonClient.TryParseNonStandardErrors (cognitive 20) src/Framework/Infrastructure/Infrastructure.Web.Api.Common/Clients/JsonClient.cs:652 — JsonClient.TryParseNonStandardErrors has cognitive complexity 20 (threshold 15).
D2 · Cognitive Complexity · ContentNegotiationFilter.InvokeAsync (cognitive 20) · ×1
  • ContentNegotiationFilter.InvokeAsync (cognitive 20) src/Framework/Infrastructure/Infrastructure.Web.Api.Common/Endpoints/ContentNegotiationFilter.cs:22 — ContentNegotiationFilter.InvokeAsync has cognitive complexity 20 (threshold 15).
D2 · Cognitive Complexity · ContentNegotiationFilter.GetRequestedContentAsync (cognitive 20) · ×1
  • ContentNegotiationFilter.GetRequestedContentAsync (cognitive 20) src/Framework/Infrastructure/Infrastructure.Web.Api.Common/Endpoints/ContentNegotiationFilter.cs:100 — ContentNegotiationFilter.GetRequestedContentAsync has cognitive complexity 20 (threshold 15).
D2 · Cognitive Complexity · FileUploadService.GetUploadedFile (cognitive 20) · ×1
  • FileUploadService.GetUploadedFile (cognitive 20) src/Framework/Infrastructure/Infrastructure.Web.Api.Common/FileUploadService.cs:27 — FileUploadService.GetUploadedFile has cognitive complexity 20 (threshold 15).
D2 · Cognitive Complexity · ValueObjectBase.Equals (cognitive 20) · ×1
  • ValueObjectBase.Equals (cognitive 20) src/Framework/Domain/Domain.Common/ValueObjects/ValueObjectBase.Equality.cs:71 — ValueObjectBase.Equals has cognitive complexity 20 (threshold 15).
D2 · Cognitive Complexity · PersonCredentialRoot.AssociateMfaAuthenticatorAsync (cognitive 20) · ×1
  • PersonCredentialRoot.AssociateMfaAuthenticatorAsync (cognitive 20) src/Subdomains/Generic/IdentityDomain/PersonCredentialRoot.cs:432 — PersonCredentialRoot.AssociateMfaAuthenticatorAsync has cognitive complexity 20 (threshold 15).
D2 · Cognitive Complexity · SubscriptionsApplication.TryCheckQuotaUsageAsync (cognitive 20) · ×1
  • SubscriptionsApplication.TryCheckQuotaUsageAsync (cognitive 20) src/Subdomains/Generic/SubscriptionsApplication/SubscriptionsApplication_Quotas.cs:28 — SubscriptionsApplication.TryCheckQuotaUsageAsync has cognitive complexity 20 (threshold 15).
D2 · Cognitive Complexity · SubscriptionsApplication.DeliverSubscriptionTrialEventInternalAsync (cognitive 20) · ×1
  • SubscriptionsApplication.DeliverSubscriptionTrialEventInternalAsync (cognitive 20) src/Subdomains/Generic/SubscriptionsApplication/SubscriptionsApplication_TrialEvents.cs:55 — SubscriptionsApplication.DeliverSubscriptionTrialEventInternalAsync has cognitive complexity 20 (threshold 15).
D2 · Cognitive Complexity · RequestExtensions.ExpandRouteTemplate (cognitive 19) · ×1
  • RequestExtensions.ExpandRouteTemplate (cognitive 19) src/Framework/Infrastructure/Infrastructure.Web.Api.Common/Extensions/RequestExtensions.cs:331 — RequestExtensions.ExpandRouteTemplate has cognitive complexity 19 (threshold 15).
D2 · Cognitive Complexity · BookingRoot.OnStateChanged (cognitive 19) · ×1
  • BookingRoot.OnStateChanged (cognitive 19) src/Subdomains/Core/BookingsDomain/BookingRoot.cs:99 — BookingRoot.OnStateChanged has cognitive complexity 19 (threshold 15).
D2 · Cognitive Complexity · NativeIdentityServerOpenIdConnectService.AuthorizeAsync (cognitive 19) · ×1
  • NativeIdentityServerOpenIdConnectService.AuthorizeAsync (cognitive 19) src/Subdomains/Generic/IdentityApplication/ApplicationServices/NativeIdentityServerOpenIdConnectService.cs:67 — NativeIdentityServerOpenIdConnectService.AuthorizeAsync has cognitive complexity 19 (threshold 15).
D2 · Cognitive Complexity · AuthTokensApplication.IssueTokensAsync (cognitive 19) · ×1
  • AuthTokensApplication.IssueTokensAsync (cognitive 19) src/Subdomains/Generic/IdentityApplication/AuthTokensApplication.cs:43 — AuthTokensApplication.IssueTokensAsync has cognitive complexity 19 (threshold 15).
D2 · Cognitive Complexity · SubscriptionRoot.DeliverManagedTrialScheduledEventAsync (cognitive 19) · ×1
  • SubscriptionRoot.DeliverManagedTrialScheduledEventAsync (cognitive 19) src/Subdomains/Generic/SubscriptionsDomain/SubscriptionRoot.Trials.cs:49 — SubscriptionRoot.DeliverManagedTrialScheduledEventAsync has cognitive complexity 19 (threshold 15).
D2 · Cognitive Complexity · JsonClient.GetTypedResponseAsync (cognitive 18) · ×1
  • JsonClient.GetTypedResponseAsync (cognitive 18) src/Framework/Infrastructure/Infrastructure.Web.Api.Common/Clients/JsonClient.cs:257 — JsonClient.GetTypedResponseAsync has cognitive complexity 18 (threshold 15).
D2 · Cognitive Complexity · JsonClient.ToUrlEncodedContent (cognitive 18) · ×1
  • JsonClient.ToUrlEncodedContent (cognitive 18) src/Framework/Infrastructure/Infrastructure.Web.Api.Common/Clients/JsonClient.cs:395 — JsonClient.ToUrlEncodedContent has cognitive complexity 18 (threshold 15).
D2 · Cognitive Complexity · DataAnnotationsSchemaFilterExtensions.CollateRequiredProperties (cognitive 18) · ×1
  • DataAnnotationsSchemaFilterExtensions.CollateRequiredProperties (cognitive 18) src/Framework/Infrastructure/Infrastructure.Web.Hosting.Common/Documentation/DataAnnotationsSchemaFilterExtensions.cs:20 — DataAnnotationsSchemaFilterExtensions.CollateRequiredProperties has cognitive complexity 18 (threshold 15).
D2 · Cognitive Complexity · StubCloudWorkerService.DrainMessageBusTopicsAsync (cognitive 18) · ×1
  • StubCloudWorkerService.DrainMessageBusTopicsAsync (cognitive 18) src/Hosts/TestingStubApiHost/Workers/StubCloudWorkerService.cs:145 — StubCloudWorkerService.DrainMessageBusTopicsAsync has cognitive complexity 18 (threshold 15).
D2 · Cognitive Complexity · EndUsersApplication.AddMembershipAsync (cognitive 18) · ×1
  • EndUsersApplication.AddMembershipAsync (cognitive 18) src/Subdomains/Generic/EndUsersApplication/EndUsersApplication.DomainEventHandlers.cs:95 — EndUsersApplication.AddMembershipAsync has cognitive complexity 18 (threshold 15).
D2 · Cognitive Complexity · NativeIdentityServerCredentialsService.AuthenticateAsync (cognitive 17) · ×1
  • NativeIdentityServerCredentialsService.AuthenticateAsync (cognitive 17) src/Subdomains/Generic/IdentityApplication/ApplicationServices/NativeIdentityServerCredentialsService.cs:92 — NativeIdentityServerCredentialsService.AuthenticateAsync has cognitive complexity 17 (threshold 15).
D2 · Cognitive Complexity · NativeIdentityServerCredentialsService.RegisterPersonAsync (cognitive 17) · ×1
  • NativeIdentityServerCredentialsService.RegisterPersonAsync (cognitive 17) src/Subdomains/Generic/IdentityApplication/ApplicationServices/NativeIdentityServerCredentialsService.cs:214 — NativeIdentityServerCredentialsService.RegisterPersonAsync has cognitive complexity 17 (threshold 15).
D2 · Cognitive Complexity · NativeIdentityServerOAuth2ClientService.ConsentToClientAsync (cognitive 17) · ×1
  • NativeIdentityServerOAuth2ClientService.ConsentToClientAsync (cognitive 17) src/Subdomains/Generic/IdentityApplication/ApplicationServices/NativeIdentityServerOAuth2ClientService.cs:90 — NativeIdentityServerOAuth2ClientService.ConsentToClientAsync has cognitive complexity 17 (threshold 15).
D2 · Cognitive Complexity · InvitationsApplication.InviteGuestByEmailInternalAsync (cognitive 17) · ×1
  • InvitationsApplication.InviteGuestByEmailInternalAsync (cognitive 17) src/Subdomains/Generic/EndUsersApplication/InvitationsApplication.cs:141 — InvitationsApplication.InviteGuestByEmailInternalAsync has cognitive complexity 17 (threshold 15).
D2 · Cognitive Complexity · MappingExtensions.GetMembers (cognitive 16) · ×1
  • MappingExtensions.GetMembers (cognitive 16) src/Framework/Common/Extensions/MappingExtensions.cs:219 — MappingExtensions.GetMembers has cognitive complexity 16 (threshold 15).
D2 · Cognitive Complexity · StringExtensions.ToSnakeCase (cognitive 16) · ×1
  • StringExtensions.ToSnakeCase (cognitive 16) src/Framework/Common/Extensions/StringExtensions.cs:531 — StringExtensions.ToSnakeCase has cognitive complexity 16 (threshold 15).
D2 · Cognitive Complexity · RequestExtensions.PopulateQueryString (cognitive 16) · ×1
  • RequestExtensions.PopulateQueryString (cognitive 16) src/Framework/Infrastructure/Infrastructure.Web.Api.Common/Extensions/RequestExtensions.cs:433 — RequestExtensions.PopulateQueryString has cognitive complexity 16 (threshold 15).
D2 · Cognitive Complexity · RolesAndFeaturesAuthorizationHandler.HandleRequirementAsync (cognitive 16) · ×1
  • RolesAndFeaturesAuthorizationHandler.HandleRequirementAsync (cognitive 16) src/Framework/Infrastructure/Infrastructure.Web.Hosting.Common/Auth/RolesAndFeaturesAuthorizationHandler.cs:20 — RolesAndFeaturesAuthorizationHandler.HandleRequirementAsync has cognitive complexity 16 (threshold 15).
D2 · Cognitive Complexity · NativeIdentityServerCredentialsService.AssociateMfaAuthenticatorForUserAsync (cognitive 16) · ×1
  • NativeIdentityServerCredentialsService.AssociateMfaAuthenticatorForUserAsync (cognitive 16) src/Subdomains/Generic/IdentityApplication/ApplicationServices/NativeIdentityServerCredentialsService.Mfa.cs:20 — NativeIdentityServerCredentialsService.AssociateMfaAuthenticatorForUserAsync has cognitive complexity 16 (threshold 15).
D2 · Cognitive Complexity · AuthTokensApplication.RefreshTokenAsync (cognitive 16) · ×1
  • AuthTokensApplication.RefreshTokenAsync (cognitive 16) src/Subdomains/Generic/IdentityApplication/AuthTokensApplication.cs:156 — AuthTokensApplication.RefreshTokenAsync has cognitive complexity 16 (threshold 15).
D2 · Cognitive Complexity · EndUserRoot.UnassignPlatformRoles (cognitive 16) · ×1
  • EndUserRoot.UnassignPlatformRoles (cognitive 16) src/Subdomains/Generic/EndUsersDomain/EndUserRoot.RolesAndFeatures.cs:424 — EndUserRoot.UnassignPlatformRoles has cognitive complexity 16 (threshold 15).
D2 · Cognitive Complexity · StepSchema.Create (cognitive 16) · ×1
  • StepSchema.Create (cognitive 16) src/Subdomains/Generic/OrganizationsDomain/StepSchema.cs:14 — StepSchema.Create has cognitive complexity 16 (threshold 15).
D20 · ADR Quality · Context/problem and consequences/trade-offs are absent from the visible text · ×1
  • Context/problem and consequences/trade-offs are absent from the visible text docs/design-principles/0020-api-framework.md — Add a Context section explaining why ASP.NET Minimal API was chosen over controllers (e.g. testability, pluggable modules) and a Consequences section covering trade-offs such as loss of routing flexibility or boilerplate for source generators
D20 · ADR Quality · Decision is a thin implementation heading with no context/problem and no consequences; the title 'Dependency Injection' names only the subject · ×1
  • Decision is a thin implementation heading with no context/problem and no consequences; the title 'Dependency Injection' names only the subject docs/design-principles/0060-dependency-injection.md — Add Context: why dependency injection was chosen over alternatives (e.g. coupling vs testability), and Consequences: trade-offs like boilerplate or breaking existing code
D20 · ADR Quality · Context/problem and consequences/trade-offs are absent; only how-to sections with no rationale · ×1
  • Context/problem and consequences/trade-offs are absent; only how-to sections with no rationale docs/design-principles/0210-javascript-forms.md — Add a Context section explaining why forms need this ID-based testing/styling system (e.g. accessibility, component reuse) and a Consequences section on trade-offs such as requiring id attributes on every HTML element
D4 · Code Duplication · Duplicated block (45 lines × 2) · ×1
  • Duplicated block (45 lines × 2) src/Framework/Tools/Tools.Generators.Web.Api.Authorization/AuthorizationAttributeGenerator.cs:163 — src/Framework/Tools/Tools.Generators.Web.Api.Authorization/AuthorizationAttributeGenerator.cs:163-196 | src/Framework/Tools/Tools.Generators.Web.Api.Authorization/AuthorizationAttributeGenerator.cs:202-246
D4 · Code Duplication · Duplicated block (41 lines × 3) · ×1
  • Duplicated block (41 lines × 3) src/Subdomains/Generic/SubscriptionsApplication/SubscriptionApplication_ProviderNotifications.cs:91 — src/Subdomains/Generic/SubscriptionsApplication/SubscriptionApplication_ProviderNotifications.cs:91-106 | src/Subdomains/Generic/SubscriptionsApplication/SubscriptionApplication_ProviderNotifications.cs:132-147 | src/Subdomains/Generic/SubscriptionsApplication/SubscriptionApplication_ProviderNotifications.cs:342-382
D4 · Code Duplication · Duplicated block (34 lines × 3) · ×1
  • Duplicated block (34 lines × 3) src/Subdomains/Generic/SubscriptionsApplication/SubscriptionApplication_ProviderNotifications.cs:283 — src/Subdomains/Generic/SubscriptionsApplication/SubscriptionApplication_ProviderNotifications.cs:283-316 | src/Subdomains/Generic/SubscriptionsApplication/SubscriptionApplication_ProviderNotifications.cs:411-425 | src/Subdomains/Generic/SubscriptionsApplication/SubscriptionApplication_ProviderNotifications.cs:454-480
D4 · Code Duplication · Duplicated block (33 lines × 2) · ×1
  • Duplicated block (33 lines × 2) src/Framework/Domain/Domain.Common/Entities/AggregateRootBase.cs:325 — src/Framework/Domain/Domain.Common/Entities/AggregateRootBase.cs:325-357 | src/Framework/Domain/Domain.Common/Entities/EntityBase.cs:229-261
D4 · Code Duplication · Duplicated block (24 lines × 2) · ×1
  • Duplicated block (24 lines × 2) src/Subdomains/Generic/EndUsersApplication/EndUsersApplication.DomainEventHandlers.cs:208 — src/Subdomains/Generic/EndUsersApplication/EndUsersApplication.DomainEventHandlers.cs:208-231 | src/Subdomains/Generic/EndUsersApplication/EndUsersApplication.DomainEventHandlers.cs:263-286
D4 · Code Duplication · Duplicated block (22 lines × 2) · ×1
  • Duplicated block (22 lines × 2) src/Subdomains/Generic/EndUsersApplication/EndUsersApplication.cs:82 — src/Subdomains/Generic/EndUsersApplication/EndUsersApplication.cs:82-103 | src/Subdomains/Generic/EndUsersApplication/EndUsersApplication.cs:467-488
D4 · Code Duplication · Duplicated block (20 lines × 4) · ×1
  • Duplicated block (20 lines × 4) src/Subdomains/Generic/SubscriptionsApplication/SubscriptionApplication_ProviderNotifications.cs:212 — src/Subdomains/Generic/SubscriptionsApplication/SubscriptionApplication_ProviderNotifications.cs:212-230 | src/Subdomains/Generic/SubscriptionsApplication/SubscriptionApplication_ProviderNotifications.cs:258-277 | src/Subdomains/Generic/SubscriptionsApplication/SubscriptionApplication_ProviderNotifications.cs:387-405 | src/Subdomains/Generic/SubscriptionsApplication/SubscriptionApplication_ProviderNotifications.cs:430-448
D4 · Code Duplication · Duplicated block (19 lines × 4) · ×1
  • Duplicated block (19 lines × 4) src/Framework/Infrastructure/Infrastructure.Web.Hosting.Common/Auth/AnonymousAuthenticationHandler.cs:82 — src/Framework/Infrastructure/Infrastructure.Web.Hosting.Common/Auth/AnonymousAuthenticationHandler.cs:82-100 | src/Framework/Infrastructure/Infrastructure.Web.Hosting.Common/Auth/AnonymousAuthenticationHandler.cs:114-132 | src/Framework/Infrastructure/Infrastructure.Web.Hosting.Common/Auth/AnonymousAuthenticationHandler.cs:145-163 | src/Framework/Infrastructure/Infrastructure.Web.Hosting.Common/Auth/AnonymousAuthenticationHandler.cs:177-195
D4 · Code Duplication · Duplicated block (19 lines × 2) · ×1
  • Duplicated block (19 lines × 2) src/Subdomains/Generic/AncillaryDomain/EmailDeliveryRoot.cs:128 — src/Subdomains/Generic/AncillaryDomain/EmailDeliveryRoot.cs:128-146 | src/Subdomains/Generic/AncillaryDomain/SmsDeliveryRoot.cs:117-135
D4 · Code Duplication · Duplicated block (14 lines × 5) · ×1
  • Duplicated block (14 lines × 5) src/Subdomains/Generic/IdentityApplication/ApplicationServices/NativeIdentityServerApiKeyService.cs:192 — src/Subdomains/Generic/IdentityApplication/ApplicationServices/NativeIdentityServerApiKeyService.cs:192-205 | src/Subdomains/Generic/IdentityApplication/ApplicationServices/NativeIdentityServerCredentialsService.PasswordReset.cs:153-166 | src/Subdomains/Generic/IdentityApplication/AuthTokensApplication.cs:288-301 | src/Subdomains/Generic/UserProfilesApplication/UserProfilesApplication.DomainEventHandlers.cs:69-82 | src/Subdomains/Generic/ImagesApplication/ImagesApplication.cs:41-54
D4 · Code Duplication · Duplicated block (12 lines × 2) · ×1
  • Duplicated block (12 lines × 2) src/ExternalAdapters/Infrastructure.External.Persistence.TestingOnly/ApplicationServices/InProcessInMemStore.IEventStore.cs:27 — src/ExternalAdapters/Infrastructure.External.Persistence.TestingOnly/ApplicationServices/InProcessInMemStore.IEventStore.cs:27-38 | src/ExternalAdapters/Infrastructure.External.Persistence.TestingOnly/ApplicationServices/LocalMachineJsonFileStore.IEventStore.cs:30-41
D4 · Code Duplication · Duplicated block (9 lines × 3) · ×1
  • Duplicated block (9 lines × 3) src/Framework/Infrastructure/Infrastructure.Hosting.Common/Extensions/ServiceCollectionExtensions.cs:45 — src/Framework/Infrastructure/Infrastructure.Hosting.Common/Extensions/ServiceCollectionExtensions.cs:45-53 | src/Framework/Infrastructure/Infrastructure.Hosting.Common/Extensions/ServiceCollectionExtensions.cs:70-78 | src/Framework/Infrastructure/Infrastructure.Hosting.Common/Extensions/ServiceCollectionExtensions.cs:102-110
D4 · Code Duplication · Duplicated block (9 lines × 2) · ×1
  • Duplicated block (9 lines × 2) src/Subdomains/Generic/EndUsersInfrastructure/Api/EndUsers/AssignPlatformRolesRequestValidator.cs:13 — src/Subdomains/Generic/EndUsersInfrastructure/Api/EndUsers/AssignPlatformRolesRequestValidator.cs:13-21 | src/Subdomains/Generic/EndUsersInfrastructure/Api/EndUsers/UnassignPlatformRolesRequestValidator.cs:13-21
D4 · Code Duplication · Duplicated block (7 lines × 4) · ×1
  • Duplicated block (7 lines × 4) src/Framework/Infrastructure/Infrastructure.Hosting.Common/Extensions/ServiceCollectionExtensions.cs:226 — src/Framework/Infrastructure/Infrastructure.Hosting.Common/Extensions/ServiceCollectionExtensions.cs:226-232 | src/Framework/Infrastructure/Infrastructure.Hosting.Common/Extensions/ServiceCollectionExtensions.cs:244-250 | src/Framework/Infrastructure/Infrastructure.Hosting.Common/Extensions/ServiceCollectionExtensions.cs:263-269 | src/Framework/Infrastructure/Infrastructure.Hosting.Common/Extensions/ServiceCollectionExtensions.cs:285-291
D4 · Code Duplication · Duplicated block (7 lines × 3) · ×1
  • Duplicated block (7 lines × 3) src/Framework/Infrastructure/Infrastructure.Hosting.Common/Extensions/ServiceCollectionExtensions.cs:164 — src/Framework/Infrastructure/Infrastructure.Hosting.Common/Extensions/ServiceCollectionExtensions.cs:164-170 | src/Framework/Infrastructure/Infrastructure.Hosting.Common/Extensions/ServiceCollectionExtensions.cs:183-189 | src/Framework/Infrastructure/Infrastructure.Hosting.Common/Extensions/ServiceCollectionExtensions.cs:205-211
D4 · Code Duplication · Duplicated block (6 lines × 2) · ×1
  • Duplicated block (6 lines × 2) src/Hosts/WebsiteHost/Application/RecordingApplication.cs:32 — src/Hosts/WebsiteHost/Application/RecordingApplication.cs:32-37 | src/Hosts/WebsiteHost/Application/RecordingApplication.cs:83-87
D4 · Code Duplication · Duplicated block (5 lines × 2) · ×1
  • Duplicated block (5 lines × 2) src/Framework/Domain/Domain.Common/Entities/AggregateRootBase.cs:64 — src/Framework/Domain/Domain.Common/Entities/AggregateRootBase.cs:64-68 | src/Framework/Domain/Domain.Common/Entities/EntityBase.cs:61-65
D5 · Coupling · Unstable project TestingStubApiHost · ×1
  • Unstable project TestingStubApiHost — TestingStubApiHost has instability 0.97 with 1 dependents.
D8 · Code Coverage · Coverage not measured · ×1
  • Coverage not measured — test suite did not build — Coverage NOT MEASURED: the repo's own test suite did not build (a C#/MSBuild compiler error in the test code), so no coverage could be collected. It is excluded from the score rather than counted as a near-zero defect. Fix the test build, or commit the Cobertura/OpenCover/lcov report your CI already produces, and real coverage will be measured.
Recommendation — 43 finding(s)
D10 · Test Quality · No direct assertions · ×29
  • No direct assertions: WhenAllProperties_ThenSucceeds src/Subdomains/Generic/AncillaryInfrastructure.UnitTests/Api/Audits/DeliverAuditRequestValidatorSpec.cs:25 — In a harness-style test project (most tests assert via a verifier/approval harness or step indirection) — no conventional assertion call was detected.
  • No direct assertions: WhenAllProperties_ThenSucceeds src/Subdomains/Generic/AncillaryInfrastructure.UnitTests/Api/Audits/SearchAuditsRequestValidatorSpec.cs:21 — In a harness-style test project (most tests assert via a verifier/approval harness or step indirection) — no conventional assertion call was detected.
  • No direct assertions: WhenOrganizationIdExists_ThenSucceeds src/Subdomains/Generic/AncillaryInfrastructure.UnitTests/Api/Audits/SearchAuditsRequestValidatorSpec.cs:27 — In a harness-style test project (most tests assert via a verifier/approval harness or step indirection) — no conventional assertion call was detected.
  • No direct assertions: WhenAllProperties_ThenSucceeds src/Subdomains/Generic/AncillaryInfrastructure.UnitTests/Api/Emails/SearchAllEmailDeliveriesRequestValidatorSpec.cs:24 — In a harness-style test project (most tests assert via a verifier/approval harness or step indirection) — no conventional assertion call was detected.
  • No direct assertions: WhenOrganizationIdExists_ThenSucceeds src/Subdomains/Generic/AncillaryInfrastructure.UnitTests/Api/Emails/SearchAllEmailDeliveriesRequestValidatorSpec.cs:30 — In a harness-style test project (most tests assert via a verifier/approval harness or step indirection) — no conventional assertion call was detected.
  • No direct assertions: WhenSinceUtcIsPast_ThenSucceeds src/Subdomains/Generic/AncillaryInfrastructure.UnitTests/Api/Emails/SearchAllEmailDeliveriesRequestValidatorSpec.cs:47 — In a harness-style test project (most tests assert via a verifier/approval harness or step indirection) — no conventional assertion call was detected.
  • No direct assertions: WhenTagIsValid_ThenSucceeds src/Subdomains/Generic/AncillaryInfrastructure.UnitTests/Api/Emails/SearchAllEmailDeliveriesRequestValidatorSpec.cs:65 — In a harness-style test project (most tests assert via a verifier/approval harness or step indirection) — no conventional assertion call was detected.
  • No direct assertions: WhenAllProperties_ThenSucceeds src/Subdomains/Generic/AncillaryInfrastructure.UnitTests/Api/Emails/SendEmailRequestValidatorSpec.cs:25 — In a harness-style test project (most tests assert via a verifier/approval harness or step indirection) — no conventional assertion call was detected.
  • No direct assertions: WhenAllProperties_ThenSucceeds src/Subdomains/Generic/AncillaryInfrastructure.UnitTests/Api/FeatureFlags/GetFeatureFlagForCallerRequestValidatorSpec.cs:25 — In a harness-style test project (most tests assert via a verifier/approval harness or step indirection) — no conventional assertion call was detected.
  • No direct assertions: WhenAllProperties_ThenSucceeds src/Subdomains/Generic/AncillaryInfrastructure.UnitTests/Api/FeatureFlags/GetFeatureFlagRequestValidatorSpec.cs:33 — In a harness-style test project (most tests assert via a verifier/approval harness or step indirection) — no conventional assertion call was detected.
  • No direct assertions: WhenTenantIdIsEmpty_ThenSucceeds src/Subdomains/Generic/AncillaryInfrastructure.UnitTests/Api/FeatureFlags/GetFeatureFlagRequestValidatorSpec.cs:49 — In a harness-style test project (most tests assert via a verifier/approval harness or step indirection) — no conventional assertion call was detected.
  • No direct assertions: WhenAllProperties_ThenSucceeds src/Subdomains/Generic/AncillaryInfrastructure.UnitTests/Api/Provisionings/NotifyProvisioningRequestValidatorSpec.cs:25 — In a harness-style test project (most tests assert via a verifier/approval harness or step indirection) — no conventional assertion call was detected.
  • No direct assertions: WhenAllProperties_ThenSucceeds src/Subdomains/Generic/AncillaryInfrastructure.UnitTests/Api/Recording/RecordMeasureRequestValidatorSpec.cs:25 — In a harness-style test project (most tests assert via a verifier/approval harness or step indirection) — no conventional assertion call was detected.
  • No direct assertions: WhenAdditionalIsNull_ThenSucceeds src/Subdomains/Generic/AncillaryInfrastructure.UnitTests/Api/Recording/RecordMeasureRequestValidatorSpec.cs:41 — In a harness-style test project (most tests assert via a verifier/approval harness or step indirection) — no conventional assertion call was detected.
  • No direct assertions: WhenAllProperties_ThenSucceeds src/Subdomains/Generic/AncillaryInfrastructure.UnitTests/Api/Recording/RecordUsageRequestValidatorSpec.cs:25 — In a harness-style test project (most tests assert via a verifier/approval harness or step indirection) — no conventional assertion call was detected.
  • No direct assertions: WhenAdditionalIsNull_ThenSucceeds src/Subdomains/Generic/AncillaryInfrastructure.UnitTests/Api/Recording/RecordUsageRequestValidatorSpec.cs:41 — In a harness-style test project (most tests assert via a verifier/approval harness or step indirection) — no conventional assertion call was detected.
  • No direct assertions: WhenAllProperties_ThenSucceeds src/Subdomains/Generic/AncillaryInfrastructure.UnitTests/Api/Smses/SearchAllSmsDeliveriesRequestValidatorSpec.cs:24 — In a harness-style test project (most tests assert via a verifier/approval harness or step indirection) — no conventional assertion call was detected.
  • No direct assertions: WhenOrganizationIdExists_ThenSucceeds src/Subdomains/Generic/AncillaryInfrastructure.UnitTests/Api/Smses/SearchAllSmsDeliveriesRequestValidatorSpec.cs:30 — In a harness-style test project (most tests assert via a verifier/approval harness or step indirection) — no conventional assertion call was detected.
  • No direct assertions: WhenSinceUtcIsPast_ThenSucceeds src/Subdomains/Generic/AncillaryInfrastructure.UnitTests/Api/Smses/SearchAllSmsDeliveriesRequestValidatorSpec.cs:47 — In a harness-style test project (most tests assert via a verifier/approval harness or step indirection) — no conventional assertion call was detected.
  • No direct assertions: WhenTagIsValid_ThenSucceeds src/Subdomains/Generic/AncillaryInfrastructure.UnitTests/Api/Smses/SearchAllSmsDeliveriesRequestValidatorSpec.cs:65 — In a harness-style test project (most tests assert via a verifier/approval harness or step indirection) — no conventional assertion call was detected.
  • No direct assertions: WhenAllProperties_ThenSucceeds src/Subdomains/Generic/AncillaryInfrastructure.UnitTests/Api/Smses/SendSmsRequestValidatorSpec.cs:25 — In a harness-style test project (most tests assert via a verifier/approval harness or step indirection) — no conventional assertion call was detected.
  • No direct assertions: WhenAllProperties_ThenSucceeds src/Subdomains/Generic/AncillaryInfrastructure.UnitTests/Api/Usages/DeliverUsageRequestValidatorSpec.cs:25 — In a harness-style test project (most tests assert via a verifier/approval harness or step indirection) — no conventional assertion call was detected.
  • No direct assertions: WhenAllProperties_ThenSucceeds src/Subdomains/Generic/ImagesInfrastructure.UnitTests/Api/Images/DeleteImageRequestValidatorSpec.cs:24 — In a harness-style test project (most tests assert via a verifier/approval harness or step indirection) — no conventional assertion call was detected.
  • No direct assertions: WhenAllProperties_ThenSucceeds src/Subdomains/Generic/ImagesInfrastructure.UnitTests/Api/Images/DownloadImageRequestValidatorSpec.cs:24 — In a harness-style test project (most tests assert via a verifier/approval harness or step indirection) — no conventional assertion call was detected.
  • No direct assertions: WhenAllProperties_ThenSucceeds src/Subdomains/Generic/ImagesInfrastructure.UnitTests/Api/Images/GetImageRequestValidatorSpec.cs:24 — In a harness-style test project (most tests assert via a verifier/approval harness or step indirection) — no conventional assertion call was detected.
  • + 4 more in this group — see findings.md.
D38 · OSV Dependency Vulnerabilities · Low CVE · ×3
  • Low CVE: [GHSA redacted] src/Hosts/WebsiteHost/ClientApp/package-lock.json — @babel/core: [GHSA redacted]
  • Low CVE: [GHSA redacted] src/Hosts/WebsiteHost/ClientApp/package-lock.json — esbuild: [GHSA redacted]
  • Low CVE: [GHSA redacted] src/Hosts/WebsiteHost/ClientApp/package-lock.json — react-router: [GHSA redacted]
D18 · Solution Shape · Shell project · ×2
  • Shell project: UnitTesting.CodeAnalysis.Common src/Framework/Testing/UnitTesting.CodeAnalysis.Common/UnitTesting.CodeAnalysis.Common.csproj — `UnitTesting.CodeAnalysis.Common` contributes only 9 significant line(s) — an empty/placeholder project is structural noise. Remove it or fold its contents into a real project.
  • Shell project: Infrastructure.External.Common src/Framework/Infrastructure/Infrastructure.External.Common/Infrastructure.External.Common.csproj — `Infrastructure.External.Common` contributes only 0 significant line(s) — an empty/placeholder project is structural noise. Remove it or fold its contents into a real project.
D16 · Bus Factor · Off-boarding risk · ×1
  • Off-boarding risk: anonymized user #1 — If anonymized user #1 becomes unavailable, 234 significant file(s) lose their only recent owner (largest: src/Subdomains/Generic/SubscriptionsDomain/SubscriptionRoot.cs). Pair on, review, or document these before any departure.
D17 · Explicit Debt · ObsoleteWithoutCallers · ×1
  • ObsoleteWithoutCallers src/Framework/Common/Annotations.cs:995 — [Obsolete] TerminatesProgramAttribute
D18 · Solution Shape · Thin analysable surface across projects · ×1
  • Thin analysable surface across projects — 3 project(s) carry only a thin slice of real code (e.g. `Tools.Generators.Web.Api.UnitTests.TestData` with 12 significant line(s)). The mean analysable-surface weight is 97 %, lowering Solution Shape by about 0.2 point(s). Consolidate thin projects or grow them into substantial, well-scoped assemblies.
D23 · Boundary Type-Coupling · Bounded contexts not declared · ×1
  • Bounded contexts not declared — At 88k LoC across 142 projects the codebase is both large and multi-module, so explicit bounded contexts are needed. Declare architecture.contexts (≥2) in config to assess cross-boundary type coupling.
D26 · Project Cohesion · Split Common · ×1
  • Split Common — Generic catch-all name at 6906 LoC and 167 types across 6 namespaces is a sprawling grab-bag. Suggested: by namespace: split the 6 namespaces into focused shared libraries
D26 · Project Cohesion · Split Infrastructure.Web.Api.Operations.Shared · ×1
  • Split Infrastructure.Web.Api.Operations.Shared — Generic Infrastructure name at 3384 LoC and 286 types across 18 namespaces is a large sprawling grab-bag. Suggested: by namespace: split the 18 namespaces into focused shared libraries
D26 · Project Cohesion · Split Domain.Events.Shared · ×1
  • Split Domain.Events.Shared — Generic Domain name at 2788 LoC and 157 types across 22 namespaces is a large grab-bag. Suggested: by namespace: split the 22 namespaces into focused shared libraries
D28 · Secrets (history) · Rotate the exposed credentials · ×1
  • Rotate the exposed credentials — git history can't be un-committed — Some of these secrets are in git HISTORY: deleting the file does not remove them (the commit persists on every clone, fork and backup). The remediation is to ROTATE each historically-exposed credential and treat it as compromised — not to delete the file. Rewriting history is disruptive and unreliable across existing forks. (Working-tree-only secrets — no commit — can instead be removed from the file and moved to a secret store.)
D34 · Knowledge Freshness · Dormant codebase · ×1
  • Dormant codebase — 279 of 361 significant files have no living knowledge — the codebase as a whole is dormant, not 279 separate risks. Re-engage owners or document before change.
Info — 3 finding(s)
D10 · Test Quality · Mock framework · ×2
  • Mock framework: Moq — UnitTesting.Common references Moq.
  • Mock framework: Moq — UnitTesting.CodeAnalysis.Common references Moq.
D22 · Internal API Consistency · No exposed public API · ×1
  • No exposed public API — No intentionally-exposed types (IsPackable or .Contracts) to evaluate.

Appendix B — Reproduction & audit trail

Every external tool invocation behind a deep-scan dimension — the tool, its captured version, the exact command, how many findings it yielded, and a link to the retained raw output. To reproduce any finding: check out the same commit and run the command shown (repo-relative — never an absolute scratch path). The complete raw scanner output is retained verbatim under artifacts/raw/ (indexed in artifacts/raw/index.json); per-invocation exit codes and wall-clock durations are in sidecar.json — kept out of this table so the rendered report stays byte-identical across runs of the same commit.

DimensionToolVersionCommandFindingsRaw output
D28 · Secrets (history)gitleaksgitleaks detect --no-banner --report-format json --report-path /dev/stdout --exit-code 0 --source .6artifacts/raw/gitleaks-history.json
D29 · Static Analysis (SAST)semgrepsemgrep --config auto --json --quiet --timeout 0 --metrics off .0
D30 · Dependency Vulnerabilitiesdotnetdotnet list src/SaaStack.sln package --vulnerable --include-transitive --format json8artifacts/raw/dotnet-vulnerable.json
D31 · IaC & Container Securitytrivytrivy: not applicable — No Infrastructure-as-Code or container manifests found (Dockerfile, Terraform, Kubernetes/Helm, CloudFormation); nothing to scan.0
D32 · Data Compliance (PII/GDPR)semgrepsemgrep: not applicable — No PII/GDPR-handling patterns detected (p/gdpr ruleset) — no data-compliance surface to assess.0
D33 · JS/npm Dependency Vulnerabilitiestrivytrivy fs --scanners vuln --format json --quiet --severity CRITICAL,HIGH,MEDIUM,LOW --skip-dirs **/bin/** --skip-dirs **/obj/** . --skip-db-update0
D36 · Supply-chain Provenance & Signingprovenanceprovenance: not applicable — The CI pipeline builds and tests but publishes no released artifact — no package publish, container push, GitHub release or deployment step. Supply-chain provenance, signing and SBOM attest RELEASED artifacts, so there is nothing to attest here. Add them to the release pipeline when this repo starts shipping artifacts (a NuGet package, a container image, a GitHub release).0
D37 · Vulnerability-disclosure Policydisclosuredisclosure: 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 Vulnerabilitiesosv-scannerosv-scanner --format json --recursive .36artifacts/raw/osv-scanner.json

Run 019f1546-8266-7faf-8d80-b8ec9f5da038 · every finding is also locatable in findings.md, and the complete scoring record (with exit codes + durations) in sidecar.json.

Appendix C — Personal-data map

Every field, property and record parameter whose name is conventional personal data — 131 field(s) across 4 categories, each with an exact repo-relative file:line. This is the data inventory a compliance review starts from — right-to-erasure, retention, minimisation. Detected by name with a deliberately specific classifier (the same one the GDPR dimensions use, so CardDefinition or FileName don't trip); informational — it feeds no score.

Email — 66 field(s)
  • Claims.ForEmail src/Framework/Application/Application.Interfaces/AuthenticationConstants.cs:15
  • Claims.ForEmailVerified src/Framework/Application/Application.Interfaces/AuthenticationConstants.cs:16
  • Properties.EmailAddress src/Framework/Application/Application.Interfaces/UsageConstants.cs:32
  • Properties.EmailClassification src/Framework/Application/Application.Interfaces/UsageConstants.cs:61
  • Queues.Emails src/Framework/Application/Application.Interfaces/WorkerConstants.cs:11
  • Scopes.Email src/Framework/Domain/Domain.Interfaces/OAuth2Constants.cs:17
  • StandardClaims.Email src/Framework/Domain/Domain.Interfaces/OAuth2Constants.cs:75
  • StandardClaims.EmailVerified src/Framework/Domain/Domain.Interfaces/OAuth2Constants.cs:76
  • CommonValidations.EmailAddress src/Framework/Domain/Domain.Interfaces/Validations/CommonValidations.cs:12
  • CommonValidations.EmailDomain src/Framework/Domain/Domain.Interfaces/Validations/CommonValidations.cs:14
  • AncillaryApplication._emailDeliveryRepository src/Subdomains/Generic/AncillaryApplication/AncillaryApplication.cs:11
  • AncillaryApplication._emailDeliveryService src/Subdomains/Generic/AncillaryApplication/AncillaryApplication.cs:13
  • AncillaryApplication._emailMessageRepository src/Subdomains/Generic/AncillaryApplication/AncillaryApplication.cs:21
  • EmailDelivery.ToEmailAddress src/Subdomains/Generic/AncillaryApplication/Persistence/ReadModels/EmailDelivery.cs:50
  • EmailRecipient.EmailAddress src/Subdomains/Generic/AncillaryDomain/EmailRecipient.cs:30
  • Invitation.AcceptedEmailAddress src/Subdomains/Generic/EndUsersApplication/Persistence/ReadModels/Invitation.cs:13
  • Invitation.InvitedEmailAddress src/Subdomains/Generic/EndUsersApplication/Persistence/ReadModels/Invitation.cs:17
  • MembershipJoinInvitation.InvitedEmailAddress src/Subdomains/Generic/EndUsersApplication/Persistence/ReadModels/MembershipJoinInvitation.cs:15
  • GuestInvitation.AcceptedEmailAddress src/Subdomains/Generic/EndUsersDomain/GuestInvitation.cs:48
  • GuestInvitation.InviteeEmailAddress src/Subdomains/Generic/EndUsersDomain/GuestInvitation.cs:58
  • NativeIdentityServerCredentialsService._emailAddressService src/Subdomains/Generic/IdentityApplication/ApplicationServices/NativeIdentityServerCredentialsService.cs:36
  • PersonCredentialAuth.UserEmailAddress src/Subdomains/Generic/IdentityApplication/Persistence/ReadModels/PersonCredentialAuth.cs:30
  • SSOUser.EmailAddress src/Subdomains/Generic/IdentityApplication/Persistence/ReadModels/SSOUser.cs:12
  • PersonCredentialRoot._emailAddressService src/Subdomains/Generic/IdentityDomain/PersonCredentialRoot.cs:28
  • Registration.EmailAddress src/Subdomains/Generic/IdentityDomain/Registration.cs:40
  • SSOUserRoot.EmailAddress src/Subdomains/Generic/IdentityDomain/SSOUserRoot.cs:42
  • OrganizationsApplication._emailDomainService src/Subdomains/Generic/OrganizationsApplication/OrganizationsApplication.cs:27
  • Organization.EmailDomain src/Subdomains/Generic/OrganizationsApplication/Persistence/ReadModels/Organization.cs:22
  • OrganizationRoot._emailDomainService src/Subdomains/Generic/OrganizationsDomain/OrganizationRoot.cs:25
  • OrganizationRoot.EmailDomain src/Subdomains/Generic/OrganizationsDomain/OrganizationRoot.cs:76
  • UserProfile.EmailAddress src/Subdomains/Generic/UserProfilesApplication/Persistence/ReadModels/UserProfile.cs:20
  • UserProfileRoot.EmailAddress src/Subdomains/Generic/UserProfilesDomain/UserProfileRoot.cs:45
  • QueuedEmailHtmlMessage.FromEmailAddress src/Subdomains/Shared/Application.Persistence.Shared/ReadModels/EmailMessage.cs:20
  • QueuedEmailHtmlMessage.ToEmailAddress src/Subdomains/Shared/Application.Persistence.Shared/ReadModels/EmailMessage.cs:28
  • QueuedEmailTemplatedMessage.FromEmailAddress src/Subdomains/Shared/Application.Persistence.Shared/ReadModels/EmailMessage.cs:35
  • QueuedEmailTemplatedMessage.ToEmailAddress src/Subdomains/Shared/Application.Persistence.Shared/ReadModels/EmailMessage.cs:47
  • DeliveredEmail.ToEmailAddress src/Subdomains/Shared/Application.Resources.Shared/Ancillary.cs:52
  • Invitation.EmailAddress src/Subdomains/Shared/Application.Resources.Shared/EndUser.cs:74
  • OpenIdConnectUserInfo.Email src/Subdomains/Shared/Application.Resources.Shared/Identity.cs:244
  • OpenIdConnectUserInfo.EmailVerified src/Subdomains/Shared/Application.Resources.Shared/Identity.cs:246
  • + 26 more field(s) in this category.
Name — 43 field(s)
  • Claims.ForFamilyName src/Framework/Application/Application.Interfaces/AuthenticationConstants.cs:17
  • Claims.ForFullName src/Framework/Application/Application.Interfaces/AuthenticationConstants.cs:19
  • Claims.ForGivenName src/Framework/Application/Application.Interfaces/AuthenticationConstants.cs:20
  • StandardClaims.FamilyName src/Framework/Domain/Domain.Interfaces/OAuth2Constants.cs:77
  • StandardClaims.GivenName src/Framework/Domain/Domain.Interfaces/OAuth2Constants.cs:79
  • EventStoreEntity.AggregateTypeFullName src/Framework/Infrastructure/Infrastructure.Persistence.Common/ApplicationServices/EventStoreEntity.cs:13
  • EventStoreEntity.EventTypeFullName src/Framework/Infrastructure/Infrastructure.Persistence.Common/ApplicationServices/EventStoreEntity.cs:17
  • TypeName.FullName src/Framework/Tools/Tools.Generators.Web.Api/WebApiAssemblyVisitor.cs:539
  • EventNotification.AggregateTypeFullName src/Subdomains/Generic/EventNotificationsApplication/Persistence/ReadModels/EventNotification.cs:10
  • EventNotification.EventTypeFullName src/Subdomains/Generic/EventNotificationsApplication/Persistence/ReadModels/EventNotification.cs:14
  • SSOUser.FirstName src/Subdomains/Generic/IdentityApplication/Persistence/ReadModels/SSOUser.cs:14
  • SSOUser.LastName src/Subdomains/Generic/IdentityApplication/Persistence/ReadModels/SSOUser.cs:16
  • UserProfile.FirstName src/Subdomains/Generic/UserProfilesApplication/Persistence/ReadModels/UserProfile.cs:22
  • UserProfile.LastName src/Subdomains/Generic/UserProfilesApplication/Persistence/ReadModels/UserProfile.cs:24
  • Validations.FirstName src/Subdomains/Generic/UserProfilesDomain/Validations.cs:8
  • Validations.LastName src/Subdomains/Generic/UserProfilesDomain/Validations.cs:9
  • Invitation.FirstName src/Subdomains/Shared/Application.Resources.Shared/EndUser.cs:76
  • Invitation.LastName src/Subdomains/Shared/Application.Resources.Shared/EndUser.cs:78
  • DomainEventNotification.AggregateTypeFullName src/Subdomains/Shared/Application.Resources.Shared/EventNotifications.cs:12
  • DomainEventNotification.EventTypeFullName src/Subdomains/Shared/Application.Resources.Shared/EventNotifications.cs:16
  • OpenIdConnectUserInfo.FamilyName src/Subdomains/Shared/Application.Resources.Shared/Identity.cs:248
  • OpenIdConnectUserInfo.GivenName src/Subdomains/Shared/Application.Resources.Shared/Identity.cs:250
  • PersonName.FirstName src/Subdomains/Shared/Application.Resources.Shared/UserProfile.cs:63
  • PersonName.LastName src/Subdomains/Shared/Application.Resources.Shared/UserProfile.cs:65
  • SSOAuthUserInfo.FirstName src/Subdomains/Shared/Application.Services.Shared/ISSOAuthenticationProvider.cs:51
  • SSOAuthUserInfo.FullName src/Subdomains/Shared/Application.Services.Shared/ISSOAuthenticationProvider.cs:53
  • SSOAuthUserInfo.LastName src/Subdomains/Shared/Application.Services.Shared/ISSOAuthenticationProvider.cs:57
  • DetailsChanged.FirstName src/Subdomains/Shared/Domain.Events.Shared/Identities/SSOUsers/DetailsChanged.cs:23
  • DetailsChanged.LastName src/Subdomains/Shared/Domain.Events.Shared/Identities/SSOUsers/DetailsChanged.cs:25
  • Created.FirstName src/Subdomains/Shared/Domain.Events.Shared/UserProfiles/Created.cs:20
  • Created.LastName src/Subdomains/Shared/Domain.Events.Shared/UserProfiles/Created.cs:22
  • NameChanged.FirstName src/Subdomains/Shared/Domain.Events.Shared/UserProfiles/NameChanged.cs:18
  • NameChanged.LastName src/Subdomains/Shared/Domain.Events.Shared/UserProfiles/NameChanged.cs:20
  • RegisteredUserProfile.FirstName src/Subdomains/Shared/Domain.Shared/EndUsers/RegisteredUserProfile.cs:9
  • RegisteredUserProfile.LastName src/Subdomains/Shared/Domain.Shared/EndUsers/RegisteredUserProfile.cs:11
  • PersonName.FirstName src/Subdomains/Shared/Domain.Shared/PersonName.cs:44
  • PersonName.FullName src/Subdomains/Shared/Domain.Shared/PersonName.cs:46
  • PersonName.LastName src/Subdomains/Shared/Domain.Shared/PersonName.cs:50
  • TrialInfo.PersonFirstName src/Subdomains/Shared/Infrastructure.Shared/ApplicationServices/MessageUserNotificationsService.Content.cs:210
  • RegisterPersonCredentialRequest.FirstName src/Subdomains/Shared/Infrastructure.Web.Api.Operations.Shared/Identities/RegisterPersonCredentialRequest.cs:18
  • + 3 more field(s) in this category.
Phone — 21 field(s)
  • Claims.ForPhoneNumber src/Framework/Application/Application.Interfaces/AuthenticationConstants.cs:26
  • Claims.ForPhoneNumberVerified src/Framework/Application/Application.Interfaces/AuthenticationConstants.cs:27
  • Components.MobileClient src/Framework/Application/Application.Interfaces/UsageConstants.cs:12
  • Scopes.Phone src/Framework/Domain/Domain.Interfaces/OAuth2Constants.cs:19
  • StandardClaims.PhoneNumber src/Framework/Domain/Domain.Interfaces/OAuth2Constants.cs:84
  • StandardClaims.PhoneNumberVerified src/Framework/Domain/Domain.Interfaces/OAuth2Constants.cs:85
  • CommonValidations.PhoneNumber src/Framework/Domain/Domain.Interfaces/Validations/CommonValidations.cs:26
  • SmsDelivery.ToPhoneNumber src/Subdomains/Generic/AncillaryApplication/Persistence/ReadModels/SmsDelivery.cs:39
  • Password.MfaPhoneNumber src/Subdomains/Generic/IdentityDomain/Validations.cs:47
  • UserProfile.PhoneNumber src/Subdomains/Generic/UserProfilesApplication/Persistence/ReadModels/UserProfile.cs:28
  • UserProfileRoot.PhoneNumber src/Subdomains/Generic/UserProfilesDomain/UserProfileRoot.cs:51
  • Validations.PhoneNumber src/Subdomains/Generic/UserProfilesDomain/Validations.cs:10
  • QueuedSmsMessage.ToPhoneNumber src/Subdomains/Shared/Application.Persistence.Shared/ReadModels/SmsMessage.cs:18
  • DeliveredSms.ToPhoneNumber src/Subdomains/Shared/Application.Resources.Shared/Ancillary.cs:83
  • OpenIdConnectUserInfo.PhoneNumber src/Subdomains/Shared/Application.Resources.Shared/Identity.cs:256
  • OpenIdConnectUserInfo.PhoneNumberVerified src/Subdomains/Shared/Application.Resources.Shared/Identity.cs:259
  • UserProfile.PhoneNumber src/Subdomains/Shared/Application.Resources.Shared/UserProfile.cs:22
  • SubscriptionBuyer.PhoneNumber src/Subdomains/Shared/Application.Services.Shared/IBillingGatewayService.cs:197
  • SmsDetailsChanged.ToPhoneNumber src/Subdomains/Shared/Domain.Events.Shared/Ancillary/SmsDelivery/SmsDetailsChanged.cs:22
  • AssociateCredentialMfaAuthenticatorForCallerRequest.PhoneNumber src/Subdomains/Shared/Infrastructure.Web.Api.Operations.Shared/Identities/AssociateCredentialMfaAuthenticatorForCallerRequest.cs:26
  • ChangeProfileRequest.PhoneNumber src/Subdomains/Shared/Infrastructure.Web.Api.Operations.Shared/UserProfiles/ChangeProfileRequest.cs:21
Date of birth — 1 field(s)
  • StandardClaims.Birthdate src/Framework/Domain/Domain.Interfaces/OAuth2Constants.cs:74

Downloadable artifacts

Machine-readable and reproducible from this commit + frozen rubric — drop them straight into a contract appendix, a CRA dossier, or a downstream SCA / VEX tool.

⬇ Findings, MITRE CWE-tagged .sarif⬇ Health changelog .md