Executive summary
Read through the Production lens — the standard calibration. *Green* means good enough to run in production. The score is absolute and comparable across repos.
peaklims/PeakLimsApi is in a workable but fragile state (51%). It is not in crisis, but it carries material risk that makes change slower and incidents harder to contain if left unaddressed.
It is strongest in Event-Driven (100%) — its messaging keeps components properly decoupled. Architecture (88%) is solid too.
Most urgent: a critical security exposure was detected (see the Security & Compliance lens). Treat it as a priority regardless of the overall grade.
The area that most needs attention is Readiness (37%) — operating, monitoring and recovering the system safely is harder. Maturity (53%) is the next concern — onboarding is slow — key decisions and the architecture aren't written down, so contributors have to reverse-engineer the intent.
Leadership focus, highest impact first: Start an ADR log (docs/adr/) recording significant decisions… (Architecture documentation); Encrypt sensitive data at rest (ASP.NET Core Data Protection /… (Data Protection); strongly-typed ids across the domain (Strongly-typed ids).
For scale: Medium (~20,200 production lines); rebuilding it from scratch would take roughly ~0.3 person-years (~1 engineer). Approximate, ±~30%.
It builds on a genuinely strong Event-Driven foundation (100%); the priorities above are the highest-leverage way to bring the rest up to that level.
New since the last scan (6+)
- D19 · Low XML-doc coverage: PeakLims PeakLims/src/PeakLims/PeakLims.csproj
- D19 · Low XML-doc coverage: PeakLimsIdp PeakLimsIdp/PeakLimsIdp.csproj
- D19 · Low XML-doc coverage: PeakLimsSpa.Bff PeakLimsSpa.Bff/PeakLimsSpa.Bff.csproj
- ED5 · Non-idempotent mutation: Features.AuditPatientCreation.Handle PeakLims/src/PeakLims/Domain/HipaaAuditLogs/Features/AuditPatientCreation.cs
- ED5 · Non-idempotent mutation: Features.AuditPatientDeleted.Handle PeakLims/src/PeakLims/Domain/HipaaAuditLogs/Features/AuditPatientDeleted.cs
- ED5 · Non-idempotent mutation: Features.AuditPatientUpdate.Handle PeakLims/src/PeakLims/Domain/HipaaAuditLogs/Features/AuditPatientUpdate.cs
Rebuild cost & value ~ Modeled — €14,000–€70,000
| Cost to rebuild | €14,000–€70,000 |
| Domain complexity | High |
| Quality factor | 0.7× (at 51% quality) |
| Size & shape | Medium · 47% boilerplate · 46% straight-line · 8% branching logic |
This codebase represents roughly ~0.3 person-years of build effort (about ~€42,000 to rebuild). Its weakest lens is Readiness at 37% — the part of that asset most exposed by the findings below.
Top priorities
Diagnosis — what's actually going on
Architecture — module dependency graph
At a glance — Code Health
At a glance — Architecture
At a glance — Maturity
At a glance — Readiness
At a glance — Security
At a glance — Domain Modelling
At a glance — Event-Driven
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A06:2021 — Vulnerable & Outdated Components | 8 | High / Critical |
| A05:2021 — Security Misconfiguration | 2 | High / Critical |
Roadmap
Begin by establishing an ADR log to record significant architectural decisions and their rationale. Next, encrypt sensitive data at rest and manage keys in a vault, or confirm if this is handled by infrastructure services. Simultaneously, migrate to strongly-typed IDs across the domain to prevent argument errors. Finally, codify backup and disaster recovery procedures in IaC, and restructure the repository to separate production code from tooling.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Start an ADR log (docs/adr/) recording significant decisions and their rationale. | +2.3 pts | Medium | Architecture documentation |
| Encrypt sensitive data at rest (ASP.NET Core Data Protection / column encryption) and manage keys in a vault. Skip if delegated to infra (Postgres TDE, KMS, etc.). | +2.0 pts | Medium | Data Protection |
| Adopt strongly-typed ids across the domain — finish the migration or document the boundary; primitive ids invite transposed-argument bugs. | +1.7 pts | Medium | Strongly-typed ids |
| Resolve the 1 Dormant codebase finding(s) in Knowledge Freshness. | +0.8 pts | Low | Knowledge Freshness |
| Resolve the 1 No ADRs found finding(s) in ADR Quality. | +0.7 pts | Low | ADR Quality |
| Codify backups + geo-recovery in IaC and document RTO/RPO and the restore procedure — a persistence guard alone is not disaster recovery. | +1.3 pts | Medium | DR & Backup |
| Group production code under src/ (or split deliberately, e.g. backend/ + frontend/) so production and tooling code aren't mixed at the root. | +1.1 pts | Medium | Folder & project structure |
| Invert domain→infrastructure dependencies: declare interfaces in the domain, implement them in infrastructure (Dependency Inversion). | +1.0 pts | Medium | Domain ↔ infrastructure boundary |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| PeakLims/src/PeakLims/PeakLims.csproj | 2.6 | Slop | Explicit Debt: NoWarnInCsproj |
| PeakLims/tests/PeakLims.UnitTests/ServiceTests/UserPolicyHandlerTests.cs | 6.4 | Mixed | Explicit Debt: TodoComment |
| PeakLims/src/PeakLims/Domain/Accessions/Accession.cs | 6.5 | Mixed | Explicit Debt: TodoComment |
| PeakLims/src/PeakLims/Dockerfile | 6.5 | Mixed | IaC & Container Security: High IaC: DS-0002 |
| PeakLims/src/PeakLims/Utilities/PeakLimsUtils.cs | 6.7 | Mixed | Explicit Debt: CommentedOutCode |
| PeakLims/src/PeakLims/Domain/Lifespans/Lifespan.cs | 6.9 | Mixed | Explicit Debt: TodoComment |
| PeakLims/src/PeakLims/Domain/RelationshipTypes/RelationshipType.cs | 7.0 | Mixed | God Classes: TooManyMethods: RelationshipType |
| PeakLims/src/PeakLims/Domain/Gaia/Features/Generators/PanelTestGenerator.cs | 7.2 | Mixed | God Classes: ClassTooLong: PanelTestGenerator |
| PeakLims/tests/PeakLims.SharedTestHelpers/Fakes/AccessionContact/FakeAccessionContactBuilder.cs | 7.3 | Mixed | Explicit Debt: CommentedOutCode |
| PeakLims/src/PeakLims/Databases/PeakLimsDbContext.cs | 7.8 | Mixed | Cyclomatic Complexity: PeakLimsDbContext.OnModelCreating (cyclomatic 35) |
| PeakLims/src/PeakLims/Domain/Addresses/Address.cs | 8.2 | Near-clean | Explicit Debt: TodoComment |
| PeakLims/src/PeakLims/Domain/Gaia/Features/Generators/PatientGenerator.cs | 8.2 | Near-clean | Explicit Debt: TodoComment |
| PeakLims/src/PeakLims/Domain/Gaia/Features/Generators/UserInfoGenerator.cs | 8.2 | Near-clean | Explicit Debt: TodoComment |
| PeakLims/src/PeakLims/Domain/HealthcareOrganizations/HealthcareOrganization.cs | 8.2 | Near-clean | Explicit Debt: TodoComment |
| PeakLims/src/PeakLims/Domain/Panels/Panel.cs | 8.2 | Near-clean | Explicit Debt: TodoComment |
| PeakLims/src/PeakLims/Domain/TestOrders/TestOrder.cs | 8.2 | Near-clean | Explicit Debt: TodoComment |
| PeakLims/src/PeakLims/Domain/Tests/Test.cs | 8.2 | Near-clean | Explicit Debt: TodoComment |
| PeakLims/src/PeakLims/Extensions/Services/CorsServiceExtension.cs | 8.2 | Near-clean | Explicit Debt: TodoComment |
| PeakLims/src/PeakLims/Extensions/Services/OpenTelemetryServiceExtension.cs | 8.2 | Near-clean | Explicit Debt: TodoComment |
| PeakLims/src/PeakLims/Extensions/Services/WebAppServiceConfiguration.cs | 8.2 | Near-clean | Explicit Debt: TodoComment |
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. 66 of 70 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 4 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.8 — the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.
What we checked — 70 dimensions across the health lenses
- Can you open the finding? Real findings cite a repo-relative file and line you can open at the cited line — never an absolute scratch path. Here, 172 of 207 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line.
- Is there a tool behind the number? Every score below names the method that produced it — Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled · advisory — not a narrative.
- Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.
Tools & methods
| Method | Backs | Version | Evaluator |
|---|---|---|---|
| Roslyn static analysis | Complexity, cohesion, coupling, dead code, API surface, layering | 5.3.0 | ✓ deterministic |
| Native secret scanner | Hardcoded secrets / credentials | 1.0.0 | ✓ deterministic |
| jscpd | Code duplication | — | ✓ deterministic |
| Coverage (coverlet / dotnet-coverage) | Line & branch coverage | 10.0.301 | ✓ deterministic |
| NuGet / dotnet | Outdated, vulnerable & deprecated dependencies | 10.0.301 | ✓ deterministic |
| git / LibGit2Sharp | Churn hotspots, knowledge concentration, history | 2.43.0 · 0.31.0 | ✓ deterministic |
| gitleaks · semgrep · trivy · checkov | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 | ✓ deterministic |
| LLM (sampled · advisory) | Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurement | Qwen/Qwen3.5-35B-A3B | ◐ LLM · sampled · advisory |
Run transparency — what happened this run
- D32 Data Compliance (PII/GDPR) — scanner not present in this environment — The backing tool was not installed where this scan ran, so this dimension was not scored. Install the tool (or run in the hosted environment, where it is always present) for a graded result.
- D33 JS/npm Dependency Vulnerabilities — scanner not present in this environment — The backing tool was not installed where this scan ran, so this dimension was not scored. Install the tool (or run in the hosted environment, where it is always present) for a graded result.
- 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.
- D38 OSV Dependency Vulnerabilities — scanner not present in this environment — The backing tool was not installed where this scan ran, so this dimension was not scored. Install the tool (or run in the hosted environment, where it is always present) for a graded result.
Limitations & what we did not check
Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.
Per-dimension blind spots
- D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically — it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
- D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
- D3 God Classes: "God class" is sized by members and responsibilities visible in the type — a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module — one class/IIFE — earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
- D4 Code Duplication: Duplication is token-similarity (jscpd) — it finds copy-paste, not semantic duplication expressed differently. Committed machine-written code (EF migration scaffolds, *.Designer.cs, model snapshots) is EXCLUDED — its repetition is the tool's, not the team's — so the score reflects hand-written duplication only; the generated footprint is reported separately under Solution Shape.
- D5 Coupling: Coupling is measured between projects/assemblies — runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
- D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic — it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
- D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals — a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
- D10 Test Quality: Assertion density is structural — it cannot tell a meaningful behavioural assertion from a trivial one, only that an assertion is present.
- 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.
- D19 Documentation Quality: Documentation quality is judged by an LLM over a bounded sample of docs — it reads what is written, not whether the docs match the running system, and it is advisory, not a measurement.
- D20 ADR Quality: ADR quality is an LLM read of the decision records present — it cannot know about decisions made and never recorded, and its verdict is sampled and advisory.
- D21 Naming Consistency: Naming quality is an LLM judgement over a bounded sample — it assesses clarity/consistency of the names it sees, not domain-correctness, and is advisory.
- D22 Internal API Consistency: API-surface coherence is an LLM judgement over a sample of the public surface — consistency of intent across the whole API is approximated, not exhaustively verified.
- D24 Comment Value: Comment value (WHY vs WHAT) is an LLM judgement over a bounded sample — it is advisory and cannot weigh a comment against the precise code change it was written to explain.
- D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
- D27 Navigability: Indirection/navigability is structural — it measures hops to follow a call, not whether that indirection buys real flexibility or just ceremony.
- D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
- D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
- 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.
- D31 IaC & Container Security: IaC scanning checks Dockerfiles/Terraform/Kubernetes against best-practice rules — it cannot see the live cloud account, runtime configuration, or drift between the committed config and what is actually deployed.
- D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension — code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
- D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
- AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
- AX9 CQS / query purity: Handlers are found by interface/name convention — a query handler using neither is not seen. Mutation is a resolved write/publish invocation (SaveChanges/repository/bus), so a write hidden behind a hand-rolled wrapper, reflection, or a string-keyed service locator resolves to a non-persistence type and isn't flagged; it detects that a query writes state, not whether the write is a legitimate read-side cache update. Clean means "no resolved write/publish in a query body", not a proof of CQS purity.
- C3 Audit Trail: This control is scored from in-repo evidence only — a working control configured outside the repository leaves no signal a static scan can credit.
- DM4 Rich vs anemic model: Behaviour is detected as state mutation inside a method body — a method that enforces an invariant by validating-and-throwing without mutating reads as a query, and mutation delegated through an interface the scan can't resolve isn't credited; entities with zero public properties still drop out of the population. It detects that state changes, not whether the rule is correct.
- DM6 Domain ↔ infrastructure boundary: Infrastructure reached through a hand-rolled wrapper, a domain-named facade, reflection, or a string-keyed service locator resolves to a non-infra type and isn't seen; the body scan is symbol resolution over syntax, not full dataflow. A clean result means "no resolved infra reference in a domain body", not a proof of purity.
- ED5 Idempotency: Idempotency is judged from the handler body's visible writes and guards — a guard enforced by a database unique constraint, a broker's exactly-once delivery, or a domain method whose no-op-when-applied logic the scan can't follow may read as at-risk; the at-risk candidates are confirmed by a SAMPLED LLM verdict (advisory, not exhaustive) and degrade to heuristic-only when no model is configured. It flags the at-least-once double-apply SHAPE, not a runtime proof of a duplicate effect.
- M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present — it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.
- P4 Deployment & Rollback: Approval/branch-protection rules live in repository settings the scan cannot see — only their in-repo evidence (config files, workflows) is checked, so a control enforced purely in the host's settings reads as "not evidenced".
- P5 DR & Backup: Backup/restore and disaster-recovery readiness is judged from in-repo evidence — a config that exists is not a tested restore, so the absence of positive evidence is reported as "not evidenced", never scored as present.
The LLM boundary
Dimensions
D1 · Cyclomatic Complexity
1 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was PeakLimsDbContext.OnModelCreating at 35.
D2 · Cognitive Complexity
1 method(s) exceeded the cognitive complexity threshold of 15; the worst was PeakLimsDbContext.OnModelCreating at 34.
D3 · God Classes
2 god class(es) detected.
D4 · Code Duplication
7 duplicated block group(s) detected.
D5 · Coupling
8 projects, 0 dependency cycle(s), 0 unstable depended-on project(s).
What to do
- Resolve the 3 Off the main sequence finding(s) in Coupling. — One of this dimension's main actionable groups (3 warning-level).
- Enforce Coupling in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D6 · Cohesion (LCOM4)
23 of 71 classes have LCOM4 above 3.
What to do
- Resolve the 23 Low cohesion finding(s) in Cohesion (LCOM4) — start with AccessionAttachmentType.cs, AccessionStatus.cs, AuditLogAction.cs. — One of this dimension's main actionable groups (23 warning-level).
- Enforce Cohesion (LCOM4) in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D9 · Test Distribution
370 test methods: 140 unit, 230 integration, 0 BDD, 0 e2e.
D10 · Test Quality
67 skipped (67 with a documented reason), 0 zero-assertion, 4 mock references across 370 tests.
D11 · Test Reliability
0 flaky across 3 measured tier(s). unit: measured (0 flaky); integration: measured (0 flaky); other: measured (0 flaky).
D12 · Dependency Hygiene
0 outdated, 0 vulnerable, 0 deprecated packages.
D13 · Secret Scanning
Secret scan ran and found no leaked secrets.
D14 · License Compliance
0 of 62 packages use a banned license.
D15 · Churn × Complexity Hotspots
No churn × complexity hotspots in the window.
D16 · Bus Factor
70 source file(s) have their living knowledge concentrated in one author (≥90% of recent, decayed contribution). The largest is PeakLims/src/PeakLims/Domain/Gaia/Features/Generators/PanelTestGenerator.cs, held by pdevito3@gmail.com.
What to do
- Resolve the 1 Small-team knowledge concentration finding(s) in Bus Factor. — One of this dimension's main actionable groups (1 recommendation-level).
- Resolve the 1 Off-boarding risk finding(s) in Bus Factor. — One of this dimension's main actionable groups (1 recommendation-level).
D17 · Explicit Debt
50 deducted debt markers + 5 dead symbols across 17218 LoC (0.8/KLoC) → score 8.4.
What to do
- Resolve the 8 NoWarnInCsproj finding(s) in Explicit Debt — start with PeakLims.csproj (8). — One of this dimension's main actionable groups (8 issue-level).
- Resolve the 22 TodoComment finding(s) in Explicit Debt — start with Accession.cs (6), Lifespan.cs (2), Address.cs. — One of this dimension's main actionable groups (22 warning-level).
- Resolve the 16 CommentedOutCode finding(s) in Explicit Debt — start with UserPolicyHandlerTests.cs (11), FakeAccessionContactBuilder.cs (2), PeakLimsOptions.cs. — One of this dimension's main actionable groups (16 warning-level).
- Enforce Explicit Debt in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D18 · Solution Shape
8 projects, 762 .cs files, 28405 hand-written lines of code (17218 production / 11187 test), plus 15972 generated (EF migrations / designer / snapshots, excluded from quality), 12 inter-project edges.
D19 · Documentation Quality
The project contains a functional README and a detailed architecture guide, but suffers from incomplete content and low code documentation. The README provides basic setup steps but is truncated and lacks critical context. The architecture document is well-structured but cuts off before completing key sections. Additionally, the majority of the codebase (PeakLims, PeakLimsIdp, PeakLimsSpa.Bff) lacks XML documentation, indicating a significant gap in inline code documentation.
What to do
- Resolve the 3 Low XML-doc coverage finding(s) in Documentation Quality — start with PeakLims.csproj, PeakLimsIdp.csproj, PeakLimsSpa.Bff.csproj. — One of this dimension's main actionable groups (3 warning-level).
D20 · ADR Quality
No architecture decision records were found.
What to do
- Resolve the 1 No ADRs found finding(s) in ADR Quality. — One of this dimension's main actionable groups (1 recommendation-level).
D21 · Naming Consistency
0 naming inconsistencies across 200 sampled symbols.
D22 · Internal API Consistency
No public API surface exposed; nothing to be inconsistent.
D24 · Comment Value
12 valuable / 45 redundant across 200 sampled comments; 5 shown with locations.
What to do
- Resolve the 4 redundant comment finding(s) in Comment Value — start with AccessionCommentConfiguration.cs, ContainersController.cs, DeleteAccessionAttachmentCommandTests.cs. — One of this dimension's main actionable groups (4 recommendation-level).
D26 · Project Cohesion
1 of 8 projects flagged as possibly oversized/incoherent.
What to do
- Resolve the 1 Split PeakLims finding(s) in Project Cohesion. — One of this dimension's main actionable groups (1 recommendation-level).
D27 · Navigability
95 % of calls cross a namespace and 17 % go through an interface, but 90 % of collaborators are co-located — so a call's collaborators sit together and tracing stays easy. Baseline: medium — clean/modular boundaries expected.
What to do
- Improve Navigability — currently 7.4/10. — 95 % of calls cross a namespace and 17 % go through an interface, but 90 % of collaborators are co-located — so a call's collaborators sit together and tracing stays easy. Baseline: medium — clean/modular boundaries expected.
D28 · Secrets (history)
gitleaks scanned the full history AND the current working tree and found no secrets.
D29 · Static Analysis (SAST)
semgrep found no security issues.
D30 · Dependency Vulnerabilities
8 vulnerable package(s): 2 critical, 2 high, 4 medium, 0 low.
What to do
- Resolve the 4 Medium CVE finding(s) in Dependency Vulnerabilities. — One of this dimension's main actionable groups (4 warning-level).
- Resolve the 2 Critical CVE finding(s) in Dependency Vulnerabilities. — One of this dimension's main actionable groups (2 issue-level).
- Resolve the 2 High CVE finding(s) in Dependency Vulnerabilities. — One of this dimension's main actionable groups (2 issue-level).
D31 · IaC & Container Security
2 finding(s): 0 critical, 1 high, 0 medium, 1 low.
D34 · Knowledge Freshness
66 of 80 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is PeakLims/src/PeakLims/Domain/RelationshipTypes/RelationshipType.cs.
What to do
- Resolve the 1 Dormant codebase finding(s) in Knowledge Freshness. — One of this dimension's main actionable groups (1 recommendation-level).
D35 · Change Coupling
Strongest change-coupling: EditableAccessionDto.cs↔AccessionMapper.cs 90%; GetEditableAccessionAggregate.cs↔AccessionMapper.cs 73%; EditableAccessionDto.cs↔GetEditableAccessionAggregate.cs 60%
Frontend & cross-cutting dimensions
AX1 · Captive dependencies
AX10 · Code composition
AX3 · Project dependency cycles
AX5 · Architecture & structure
AX6 · Interface segregation
- `ICurrentUserService` declares 23 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. — CurrentUserService.cs:7
What to do
- Split fat interfaces into focused role-interfaces so clients depend only on what they use.
AX7 · Slice cohesion
AX8 · Test isolation
AX9 · CQS / query purity
C1 · Data Protection
- No data-protection or encryption usage (ASP.NET Data Protection, AES, column encryption, PBKDF2) was found — sensitive data at rest may be unprotected. If TDE/KMS/vault is delegated to infrastructure, ignore.
What to do
- Encrypt sensitive data at rest (ASP.NET Core Data Protection / column encryption) and manage keys in a vault. Skip if delegated to infra (Postgres TDE, KMS, etc.).
C2 · Access Controls
C3 · Audit Trail
DM2 · Strongly-typed ids
- `PanelTestAssignment.TestId` is a raw `Guid` — give it a strongly-typed id (`readonly record struct TestId { Guid Value }`). — PanelTestAssignment.cs:8
- `PanelTestAssignment.PanelId` is a raw `Guid` — give it a strongly-typed id (`readonly record struct PanelId { Guid Value }`). — PanelTestAssignment.cs:10
- `Accession.OrganizationId` is a raw `Guid` — give it a strongly-typed id (`readonly record struct OrganizationId { Guid Value }`). — Accession.cs:31
- `Container.OrganizationId` is a raw `Guid` — give it a strongly-typed id (`readonly record struct OrganizationId { Guid Value }`). — Container.cs:15
- `HealthcareOrganization.OrganizationId` is a raw `Guid` — give it a strongly-typed id (`readonly record struct OrganizationId { Guid Value }`). — HealthcareOrganization.cs:25
- `HipaaAuditLog.OrganizationId` is a raw `Guid` — give it a strongly-typed id (`readonly record struct OrganizationId { Guid Value }`). — HippaAuditLog.cs:27
- `Panel.OrganizationId` is a raw `Guid` — give it a strongly-typed id (`readonly record struct OrganizationId { Guid Value }`). — Panel.cs:29
- `PatientRelationship.FromPatientId` is a raw `Guid` — give it a strongly-typed id (`readonly record struct FromPatientId { Guid Value }`). — PatientRelationship.cs:9
- `PatientRelationship.ToPatientId` is a raw `Guid` — give it a strongly-typed id (`readonly record struct ToPatientId { Guid Value }`). — PatientRelationship.cs:11
- `Patient.InternalId` is a raw `String` — give it a strongly-typed id (`readonly record struct InternalId { String Value }`). — Patient.cs:37
- `Patient.OrganizationId` is a raw `Guid` — give it a strongly-typed id (`readonly record struct OrganizationId { Guid Value }`). — Patient.cs:40
- `Sample.ExternalId` is a raw `String` — give it a strongly-typed id (`readonly record struct ExternalId { String Value }`). — Sample.cs:20
- `Test.OrganizationId` is a raw `Guid` — give it a strongly-typed id (`readonly record struct OrganizationId { Guid Value }`). — Test.cs:27
- `User.OrganizationId` is a raw `Guid` — give it a strongly-typed id (`readonly record struct OrganizationId { Guid Value }`). — User.cs:24
What to do
- Adopt strongly-typed ids across the domain — finish the migration or document the boundary; primitive ids invite transposed-argument bugs.
DM4 · Rich vs anemic model
DM5 · Encapsulated state
- `AccessionAttachment` exposes public setter(s) (Type). — AccessionAttachment.cs:13
- `HealthcareOrganization` exposes public setter(s) (KnownDomain). — HealthcareOrganization.cs:15
What to do
- Make entity setters private/init-only; change state only through methods that enforce the invariants (Marten/EF can bind via constructor or private setters).
DM6 · Domain ↔ infrastructure boundary
- `AccessionAttachment` (domain layer) references `Microsoft.AspNetCore.Http` — an infrastructure concern (persistence/HTTP/web). — AccessionAttachment.cs:13
- `UploadAccessionAttachmentDto` (domain layer) references `Microsoft.AspNetCore.Http` — an infrastructure concern (persistence/HTTP/web). — UploadAccessionAttachmentDto.cs:3
- `Handler` (domain layer) uses `EF Core` inside a method body — infrastructure reached without it appearing in any signature. (×28) — GetAccessionAttachmentList.cs:20, GetAccessionCommentView.cs:20, GetAccessionContactList.cs:19, …
- `Command` (domain layer) references `Microsoft.AspNetCore.Http` — an infrastructure concern (persistence/HTTP/web). — UploadAccessionAttachmentFile.cs:13
- `AccessionCommentRepository` (domain layer) uses `EF Core` inside a method body — infrastructure reached without it appearing in any signature. — AccessionCommentRepository.cs:12
- `AccessionGenerator` (domain layer) uses `EF Core` inside a method body — infrastructure reached without it appearing in any signature. — AccessionGenerator.cs:29
- `HealthcareOrganizationContactGenerator` (domain layer) uses `EF Core` inside a method body — infrastructure reached without it appearing in any signature. — HealthcareOrganizationContactGenerator.cs:17
- `HealthcareOrganizationGenerator` (domain layer) uses `EF Core` inside a method body — infrastructure reached without it appearing in any signature. — HealthcareOrganizationGenerator.cs:21
- `OrganizationGenerator` (domain layer) uses `EF Core` inside a method body — infrastructure reached without it appearing in any signature. — OrganizationGenerator.cs:20
- `PanelTestGenerator` (domain layer) uses `EF Core` inside a method body — infrastructure reached without it appearing in any signature. — PanelTestGenerator.cs:17
- `PatientGenerator` (domain layer) uses `EF Core` inside a method body — infrastructure reached without it appearing in any signature. — PatientGenerator.cs:25
- `UserInfoGenerator` (domain layer) uses `EF Core` inside a method body — infrastructure reached without it appearing in any signature. — UserInfoGenerator.cs:19
- `PanelRepository` (domain layer) uses `EF Core` inside a method body — infrastructure reached without it appearing in any signature. — PanelRepository.cs:13
- 37 further occurrence(s) are not listed individually; the score already reflects all 77.
What to do
- Invert domain→infrastructure dependencies: declare interfaces in the domain, implement them in infrastructure (Dependency Inversion).
DM7 · Repository granularity
DM8 · Value-object opportunities
ED1 · Handler temporal coupling
ED2 · Event/command shape
ED3 · Event naming
- `DomainEvent` reads as an instruction, not a fact that happened. Events describe something that already occurred — name them in the past tense (e.g. `OrderPlaced`, `PaymentCaptured`) so the ubiquitous language stays clear. — DomainEvent.cs:6
What to do
- Name events in the past tense — they record facts that already happened.
ED4 · Outbox / dual-write
ED5 · Idempotency
- `Features.AuditPatientCreation.Handle` mutates persistent state (a repository write) with no idempotency guard, and the model confirms a re-run would double-apply it. A retry or at-least-once redelivery means it can run twice — add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write. — AuditPatientCreation.cs:24
- `Features.AuditPatientDeleted.Handle` mutates persistent state (a repository write) with no idempotency guard, and the model confirms a re-run would double-apply it. A retry or at-least-once redelivery means it can run twice — add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write. — AuditPatientDeleted.cs:23
- `Features.AuditPatientUpdate.Handle` mutates persistent state (a repository write) with no idempotency guard, and the model confirms a re-run would double-apply it. A retry or at-least-once redelivery means it can run twice — add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write. — AuditPatientUpdate.cs:24
What to do
- Make retry-prone mutations idempotent — guard each write with an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write, so a re-run doesn't double-apply.
GD1 · Unfinished & placeholder code
- A shipped member still throws NotImplementedException — generated scaffolding that was never completed. Implement it or remove the dead surface. — InfrastructureServiceExtension.cs:80
What to do
- Finish or delete NotImplementedException stubs and replace placeholder literals before shipping.
IC1 · Incompleteness & stubs
- `GetCancellationReasons` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. (×2) — PanelOrdersController.cs:98, TestOrdersController.cs:139
- `StopAsync` looks like it should compute a result but its body just returns a constant — a placeholder return that was never filled in. — MigrationHostedService.cs:48
- `AddWholeGenomeSequencing` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — PanelTestGenerator.cs:102
- `AddOpticalGenomeMapping` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — PanelTestGenerator.cs:189
- `AddTranscriptomeSequencing` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — PanelTestGenerator.cs:256
- `AddCombinedSequencing` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — PanelTestGenerator.cs:324
- `AddCombinedOgmWgsSequencing` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — PanelTestGenerator.cs:392
- `AddCombinedOgmExternalDataAnalysis` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — PanelTestGenerator.cs:460
- `AddBasicExomeSequencing` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — PanelTestGenerator.cs:528
- `AddExpandedExomeSequencing` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — PanelTestGenerator.cs:602
- `GetSuggestedMatchingRole` looks like it should compute a result but its body just returns a constant — a placeholder return that was never filled in. (×6) — RelationshipType.cs:271, RelationshipType.cs:277, RelationshipType.cs:283, …
- `OnCreated` takes parameters but its body is empty — it accepts inputs and does nothing. Either implement it or remove it. (×2) — CurrentUserFilterAttribute.cs:23, JobUserFilterAttribute.cs:14
- `ConvertToListAsync` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — IAsyncEnumerableExtensions.cs:5
- A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers). (×10) — AccessionAttachmentConfiguration.cs:31, AccessionAttachmentConfiguration.cs:32, AccessionAttachmentConfiguration.cs:33, …
What to do
- Finish or delete the unfinished stubs (NotImplementedException / empty / constant-returning bodies) — they are dead surface that looks live.
- Clear the softer debt: remove commented-out code and dead branches, re-enable or delete skipped tests, and replace blanket warning suppressions with targeted ones.
M1 · Documentation (README)
What to do
- Add an 'Architecture' / 'How it works' section to the root README — the high-level shape.
- Add a README to the 8 of 8 project(s) that lack one — worth up to 2 pts.
M2 · Architecture documentation
- No Architecture Decision Records found — decisions aren't captured for future maintainers.
What to do
- Start an ADR log (docs/adr/) recording significant decisions and their rationale.
M3 · Folder & project structure
- Projects aren't grouped under a src/ folder — production and tooling code are mixed at the root.
- Test projects aren't grouped under a tests/ folder — the test surface isn't separable from production code at a glance.
What to do
- Group production code under src/ (or split deliberately, e.g. backend/ + frontend/) so production and tooling code aren't mixed at the root.
- Group test projects under tests/ (or test/, spec/) so the test surface is discoverable and CI can scope it.
M4 · Documentation accuracy
- The README mentions running migrations in the 'boundary' project.
What to do
- Reconcile the README with reality: The README mentions running migrations in the 'boundary' project..
P1 · CI/CD gates
P2 · Observability
- Only 2/3 service-like projects use logging (pure contract/DTO projects are excluded — they have nothing to log).
What to do
- Extend structured logging to the remaining service-like projects so the whole executable surface is diagnosable in production.
P3 · Security & performance tooling
- No static application security testing (CodeQL / security analyzers / codehealth) detected.
What to do
- Add a SAST step (e.g. CodeQL) or a security analyzer package.
- Enable Dependabot/Renovate or a dependency-review gate.
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P4 · Deployment & Rollback
- Deployment automation exists but no readiness/liveness probes, rolling-update strategy, lifecycle hooks or migration job were evidenced — a bad release is harder to detect and reverse.
What to do
- Add readiness/liveness probes and a rolling-update (or blue/green) strategy so a bad release is caught and rolled back automatically.
- Add an approval/environment gate (required reviewers / protection rules) before production promotion.
P5 · DR & Backup
- A persistence guard (data volume / purge-protection) was found, but no backup, geo-recovery or RTO/RPO controls were evidenced — a volume that survives a container recreate is not a tested restore from catastrophic loss.
What to do
- Codify backups + geo-recovery in IaC and document RTO/RPO and the restore procedure — a persistence guard alone is not disaster recovery.
P7 · Outbound HTTP resilience
- The app makes outbound HTTP calls but no resilience handler was detected (Polly / AddStandardResilienceHandler / circuit-breaker). A slow or failing dependency will cascade — add timeouts, retries with back-off, and a circuit breaker.
What to do
- Add `AddStandardResilienceHandler()` (or Polly policies) to your HttpClient registrations so a flaky dependency can't take the app down.
P8 · Schema migrations
S1 · Web-Security Posture
- 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 correctness
- Blocking on a Task with `.Wait()`/`.GetAwaiter().GetResult()` can deadlock (and wastes a thread). Make the caller `async` and `await` instead. — PeakLimsDbContext.cs:173
What to do
- Sync-over-async (deadlock risk)
X2 · Cancellation propagation
- Only 148/308 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) — AccessionAttachmentsController.cs:23, AccessionAttachmentsController.cs:53, AccessionAttachmentsController.cs:66, …
What to do
- Thread a CancellationToken through async methods so work stops promptly on cancellation.
X3 · Exception handling
X4 · Structured logging
X5 · Nullable reference types
- 1/4 projects enable <Nullable>enable</Nullable>. NRTs catch a whole class of null-deref bugs at compile time.
- ~0.1 `!` suppressions per 1k syntax nodes — each one tells the compiler to trust you about null, suppressing the very safety NRTs provide.
What to do
- Enable <Nullable>enable</Nullable> across all projects and resolve warnings rather than suppressing with `!`.
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 66% | Fair — gated by X5 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Architecture | 88% | Healthy | Solid. |
| Maturity | 53% | Fair — gated by D34, M2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 37% | Poor — gated by P3, P5, P7 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 70% | Fair — gated by C1 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Domain Modelling | 66% | Fair — gated by DM2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Event-Driven | 100% | Exemplary | Strongest area. |
Not included — 31 check(s) not relevant to this codebase
- AC1 Text alternatives — No web markup found — accessibility is not applicable to this repository.
- AC2 Forms & labels — No web markup found — accessibility is not applicable to this repository.
- AC3 Page structure — No web markup found — accessibility is not applicable to this repository.
- AC4 Keyboard semantics — No web markup found — accessibility is not applicable to this repository.
- AC5 ARIA correctness — No web markup found — accessibility is not applicable to this repository.
- AC6 Visual & motion safety — No web markup found — accessibility is not applicable to this repository.
- AC7 A11y enforcement — No web markup found — accessibility is not applicable to this repository.
- AX2 Stateful singletons — no singleton implementations detected
- AX4 Dependency direction — not applicable to a vertical-slice + CQRS architecture (the inward-dependency rule is for layered/clean styles)
- C4 Data Retention — Repo shows no data-retention / TTL / cleanup mechanism for personal data — absence of evidence is not evidence of a working control. Define retention periods and a purge/cleanup job (or TTL) in code, or document where retention is enforced, so this dimension can be scored.
- C5 Data-Subject Rights — Repo shows no corroborated data-subject-rights mechanism (erasure / export-portability / consent) tied to a subject id or GDPR vocabulary — absence of evidence is not evidence of a working control. Implement erasure, data export/portability and consent tracking over the subject's records.
- D23 Boundary Type-Coupling — Bounded contexts not declared
- D25 ADR Conformance — no ADRs to check
- D32 Data Compliance (PII/GDPR) — Not applicable
- D33 JS/npm Dependency Vulnerabilities — Not applicable
- D36 Supply-chain Provenance & Signing — Not applicable
- D37 Vulnerability-disclosure Policy — Not applicable
- D38 OSV Dependency Vulnerabilities — Not applicable
- D7 Architectural Integrity — No checkable ADRs to assess
- D8 Code Coverage — Coverage not measured
- DM1 Aggregate boundaries — no aggregates detected — aggregate-boundary check not applicable
- DM3 Integration-event coupling — no integration events detected — coupling check not applicable
- ES1 Event Sourcing — not run — 0/3 markers found
- P12 CI test-gate honesty — no data
- P6 Release Hygiene — not evidenced — no changelog, version stamp or semver release tag in the repo
- P9 Domain vs controller coverage — no coverage report found on disk — run tests with `--collect:"XPlat Code Coverage"` (or in CI) to enable this cross-layer check
- PF1 Benchmark discipline — Performance is assessed only for perf-relevant repos — a packaged library, one that ships benchmarks, or one already using allocation-aware APIs. This repo isn't one, so the Performance lens is not applicable and is excluded from the score.
- PF2 Allocation hygiene — Performance is assessed only for perf-relevant repos — a packaged library, one that ships benchmarks, or one already using allocation-aware APIs. This repo isn't one, so the Performance lens is not applicable and is excluded from the score.
- PF3 Async & latency hygiene — Performance is assessed only for perf-relevant repos — a packaged library, one that ships benchmarks, or one already using allocation-aware APIs. This repo isn't one, so the Performance lens is not applicable and is excluded from the score.
- X6 Hand-rolled structured-format parsing — no data
- X7 Silent fallback defaults — no data
Appendix A — Findings (grouped)
Issue — 13 finding(s)
- NoWarnInCsproj PeakLims/src/PeakLims/PeakLims.csproj:9
- NoWarnInCsproj PeakLims/src/PeakLims/PeakLims.csproj:9
- NoWarnInCsproj PeakLims/src/PeakLims/PeakLims.csproj:9
- NoWarnInCsproj PeakLims/src/PeakLims/PeakLims.csproj:9
- NoWarnInCsproj PeakLims/src/PeakLims/PeakLims.csproj:13
- NoWarnInCsproj PeakLims/src/PeakLims/PeakLims.csproj:13
- NoWarnInCsproj PeakLims/src/PeakLims/PeakLims.csproj:13
- NoWarnInCsproj PeakLims/src/PeakLims/PeakLims.csproj:13
- Critical CVE: System.Text.Encodings.Web 4.5.0
- Critical CVE: System.Text.Encodings.Web 4.4.0
- High CVE: Newtonsoft.Json 11.0.1
- High CVE: System.Text.RegularExpressions 4.3.0
- High IaC: DS-0002 PeakLims/src/PeakLims/Dockerfile
Warning — 85 finding(s)
- Low cohesion: RelationshipType (LCOM4 33) PeakLims/src/PeakLims/Domain/RelationshipTypes/RelationshipType.cs:7
- Low cohesion: AccessionStatus (LCOM4 12) PeakLims/src/PeakLims/Domain/AccessionStatuses/AccessionStatus.cs:6
- Low cohesion: TestOrderStatus (LCOM4 12) PeakLims/src/PeakLims/Domain/TestOrderStatuses/TestOrderStatus.cs:6
- Low cohesion: WorldBuildingPhaseName (LCOM4 11) PeakLims/src/PeakLims/Domain/WorldBuildingPhaseNames/WorldBuildingPhaseName.cs:16
- Low cohesion: Race (LCOM4 9) PeakLims/src/PeakLims/Domain/Races/Race.cs:5
- Low cohesion: SampleType (LCOM4 9) PeakLims/src/PeakLims/Domain/SampleTypes/SampleType.cs:12
- Low cohesion: PanelOrderStatus (LCOM4 8) PeakLims/src/PeakLims/Domain/PanelOrderStatuses/PanelOrderStatus.cs:6
- Low cohesion: ValidationException (LCOM4 8) PeakLims/src/PeakLims/Exceptions/ValidationException.cs:8
- Low cohesion: AuditLogConcept (LCOM4 7) PeakLims/src/PeakLims/Domain/AuditLogConcepts/AuditLogConcept.cs:7
- Low cohesion: AuditLogAction (LCOM4 6) PeakLims/src/PeakLims/Domain/AuditLogActions/AuditLogAction.cs:6
- Low cohesion: Ethnicity (LCOM4 6) PeakLims/src/PeakLims/Domain/Ethnicities/Ethnicity.cs:5
- Low cohesion: WorldBuildingStatus (LCOM4 6) PeakLims/src/PeakLims/Domain/WorldBuildingStatuses/WorldBuildingStatus.cs:6
- Low cohesion: AccessionAttachmentType (LCOM4 5) PeakLims/src/PeakLims/Domain/AccessionAttachments/AccessionAttachmentType.cs:6
- Low cohesion: BaseEntity (LCOM4 5) PeakLims/src/PeakLims/Domain/BaseEntity.cs:6
- Low cohesion: MonetaryAmount (LCOM4 5) PeakLims/src/PeakLims/Domain/MonetaryAmounts/MonetaryAmount.cs:7
- Low cohesion: PanelStatus (LCOM4 5) PeakLims/src/PeakLims/Domain/PanelStatuses/PanelStatus.cs:6
- Low cohesion: SampleStatus (LCOM4 5) PeakLims/src/PeakLims/Domain/SampleStatuses/SampleStatus.cs:6
- Low cohesion: CancellationReason (LCOM4 5) PeakLims/src/PeakLims/Domain/TestOrderCancellationReasons/CancellationReason.cs:6
- Low cohesion: TestStatus (LCOM4 5) PeakLims/src/PeakLims/Domain/TestStatuses/TestStatus.cs:6
- Low cohesion: HealthcareOrganizationStatus (LCOM4 4) PeakLims/src/PeakLims/Domain/HealthcareOrganizationStatuses/HealthcareOrganizationStatus.cs:6
- Low cohesion: Role (LCOM4 4) PeakLims/src/PeakLims/Domain/Roles/Role.cs:6
- Low cohesion: Sex (LCOM4 4) PeakLims/src/PeakLims/Domain/Sexes/Sex.cs:5
- Low cohesion: WorldBuildingPhase (LCOM4 4) PeakLims/src/PeakLims/Domain/WorldBuildingPhases/WorldBuildingPhase.cs:16
- TodoComment PeakLims/src/PeakLims/Domain/Accessions/Accession.cs:112
- TodoComment PeakLims/src/PeakLims/Domain/Accessions/Accession.cs:143
- TodoComment PeakLims/src/PeakLims/Domain/Accessions/Accession.cs:147
- TodoComment PeakLims/src/PeakLims/Domain/Accessions/Accession.cs:190
- TodoComment PeakLims/src/PeakLims/Domain/Accessions/Accession.cs:275
- TodoComment PeakLims/src/PeakLims/Domain/Accessions/Accession.cs:300
- TodoComment PeakLims/src/PeakLims/Domain/Addresses/Address.cs:44
- TodoComment PeakLims/src/PeakLims/Domain/Gaia/Features/Generators/PatientGenerator.cs:108
- TodoComment PeakLims/src/PeakLims/Domain/Gaia/Features/Generators/UserInfoGenerator.cs:69
- TodoComment PeakLims/src/PeakLims/Domain/HealthcareOrganizations/HealthcareOrganization.cs:35
- TodoComment PeakLims/src/PeakLims/Domain/Lifespans/Lifespan.cs:8
- TodoComment PeakLims/src/PeakLims/Domain/Lifespans/Lifespan.cs:9
- TodoComment PeakLims/src/PeakLims/Domain/Panels/Panel.cs:64
- TodoComment PeakLims/src/PeakLims/Domain/TestOrders/TestOrder.cs:67
- TodoComment PeakLims/src/PeakLims/Domain/Tests/Test.cs:64
- TodoComment PeakLims/src/PeakLims/Extensions/Services/CorsServiceExtension.cs:36
- TodoComment PeakLims/src/PeakLims/Extensions/Services/OpenTelemetryServiceExtension.cs:20
- TodoComment PeakLims/src/PeakLims/Extensions/Services/WebAppServiceConfiguration.cs:36
- TodoComment PeakLims/src/PeakLims/Resources/HangfireUtilities/HangfireAuthorizationFilter.cs:16
- TodoComment PeakLims/src/PeakLims/Services/External/Keycloak/KeycloakClient.cs:53
- TodoComment PeakLims/tests/PeakLims.FunctionalTests/TestingWebApplicationFactory.cs:60
- TodoComment PeakLims/tests/PeakLims.UnitTests/ServiceTests/UserPolicyHandlerTests.cs:1
- CommentedOutCode PeakLims/src/PeakLims/Resources/PeakLimsOptions.cs:31
- CommentedOutCode PeakLims/src/PeakLims/Services/External/Keycloak/Models/UserRepresentation.cs:17
- CommentedOutCode PeakLims/src/PeakLims/Utilities/PeakLimsUtils.cs:89
- CommentedOutCode PeakLims/tests/PeakLims.SharedTestHelpers/Fakes/AccessionContact/FakeAccessionContactBuilder.cs:13
- CommentedOutCode PeakLims/tests/PeakLims.SharedTestHelpers/Fakes/AccessionContact/FakeAccessionContactBuilder.cs:19
- CommentedOutCode PeakLims/tests/PeakLims.UnitTests/ServiceTests/UserPolicyHandlerTests.cs:6
- CommentedOutCode PeakLims/tests/PeakLims.UnitTests/ServiceTests/UserPolicyHandlerTests.cs:27
- CommentedOutCode PeakLims/tests/PeakLims.UnitTests/ServiceTests/UserPolicyHandlerTests.cs:59
- CommentedOutCode PeakLims/tests/PeakLims.UnitTests/ServiceTests/UserPolicyHandlerTests.cs:64
- CommentedOutCode PeakLims/tests/PeakLims.UnitTests/ServiceTests/UserPolicyHandlerTests.cs:80
- CommentedOutCode PeakLims/tests/PeakLims.UnitTests/ServiceTests/UserPolicyHandlerTests.cs:101
- CommentedOutCode PeakLims/tests/PeakLims.UnitTests/ServiceTests/UserPolicyHandlerTests.cs:108
- CommentedOutCode PeakLims/tests/PeakLims.UnitTests/ServiceTests/UserPolicyHandlerTests.cs:113
- CommentedOutCode PeakLims/tests/PeakLims.UnitTests/ServiceTests/UserPolicyHandlerTests.cs:144
- CommentedOutCode PeakLims/tests/PeakLims.UnitTests/ServiceTests/UserPolicyHandlerTests.cs:149
- CommentedOutCode PeakLims/tests/PeakLims.UnitTests/ServiceTests/UserPolicyHandlerTests.cs:184
- Medium CVE: OpenTelemetry.Exporter.Jaeger 1.5.1
- Medium CVE: OpenTelemetry.Api 1.11.2
- Medium CVE: SharpCompress 0.29.0
- Medium CVE: Duende.AccessTokenManagement 3.1.1
- Low XML-doc coverage: PeakLims PeakLims/src/PeakLims/PeakLims.csproj
- Low XML-doc coverage: PeakLimsIdp PeakLimsIdp/PeakLimsIdp.csproj
- Low XML-doc coverage: PeakLimsSpa.Bff PeakLimsSpa.Bff/PeakLimsSpa.Bff.csproj
- Off the main sequence: PeakLimsIdp
- Off the main sequence: PeakLimsSpa.Bff
- Off the main sequence: PeakLims
- Dead code: CreateLifespanFromAge PeakLims/src/PeakLims/Domain/Lifespans/Lifespan.cs:78
- Dead code: Program PeakLimsIdp/Program.cs:6
- Duplicated block (14 lines × 2) PeakLims/src/PeakLims/Controllers/v1/AccessionsController.cs:36
- Duplicated block (14 lines × 2) PeakLims/src/PeakLims/Controllers/v1/PatientsController.cs:30
- PeakLimsDbContext.OnModelCreating (cyclomatic 35) PeakLims/src/PeakLims/Databases/PeakLimsDbContext.cs:68
- PeakLimsDbContext.OnModelCreating (cognitive 34) PeakLims/src/PeakLims/Databases/PeakLimsDbContext.cs:68
- ClassTooLong: PanelTestGenerator PeakLims/src/PeakLims/Domain/Gaia/Features/Generators/PanelTestGenerator.cs:0
- TooManyMethods: RelationshipType PeakLims/src/PeakLims/Domain/RelationshipTypes/RelationshipType.cs:0
- Duplicated block (48 lines × 5) PeakLims/src/PeakLims/Domain/Gaia/Features/Generators/PanelTestGenerator.cs:208
- Duplicated block (32 lines × 6) PeakLims/src/PeakLims/Domain/Gaia/Features/Generators/PanelTestGenerator.cs:104
- Duplicated block (31 lines × 2) PeakLims/src/PeakLims/Domain/Gaia/Features/Generators/PanelTestGenerator.cs:546
- Duplicated block (15 lines × 2) PeakLims/src/PeakLims/Domain/DomainEvent.cs:53
- Duplicated block (12 lines × 2) PeakLims/src/PeakLims/Utilities/PeakLimsUtils.cs:30
- Coverage not measured
Recommendation — 23 finding(s)
- DuplicateNoWarn PeakLims/src/PeakLims/PeakLims.csproj:13
- DuplicateNoWarn PeakLims/src/PeakLims/PeakLims.csproj:13
- DuplicateNoWarn PeakLims/src/PeakLims/PeakLims.csproj:13
- DuplicateNoWarn PeakLims/src/PeakLims/PeakLims.csproj:13
- redundant comment PeakLims/src/PeakLims/Controllers/v1/ContainersController.cs:125
- redundant comment PeakLims/src/PeakLims/Databases/EntityConfigurations/AccessionCommentConfiguration.cs:26
- redundant comment PeakLims/tests/PeakLims.FunctionalTests/FunctionalTests/AccessionAttachments/UploadAccessionAttachmentFileTests.cs:41
- redundant comment PeakLims/tests/PeakLims.IntegrationTests/FeatureTests/AccessionAttachments/DeleteAccessionAttachmentCommandTests.cs:28
- Small-team knowledge concentration
- Off-boarding risk: pdevito3@gmail.com
- Shell project: SharedKernel SharedKernel/SharedKernel.csproj
- No ADRs found
- Bounded contexts not declared
- no ADRs to check
- Split PeakLims
- Low IaC: DS-0026 PeakLims/src/PeakLims/Dockerfile
- Not applicable
- Not applicable
- Dormant codebase
- Not applicable
- Not applicable
- Not applicable
- No checkable ADRs to assess
Info — 86 finding(s)
- Skipped (documented): must_be_permitted PeakLims/tests/PeakLims.IntegrationTests/FeatureTests/AccessionAttachments/AccessionAttachmentListQueryTests.cs:36
- Skipped (documented): must_be_permitted PeakLims/tests/PeakLims.IntegrationTests/FeatureTests/AccessionAttachments/AccessionAttachmentQueryTests.cs:68
- Skipped (documented): must_be_permitted PeakLims/tests/PeakLims.IntegrationTests/FeatureTests/AccessionAttachments/DeleteAccessionAttachmentCommandTests.cs:69
- Skipped (documented): must_be_permitted PeakLims/tests/PeakLims.IntegrationTests/FeatureTests/AccessionAttachments/UpdateAccessionAttachmentCommandTests.cs:36
- Skipped (documented): must_be_permitted PeakLims/tests/PeakLims.IntegrationTests/FeatureTests/AccessionAttachments/UploadAccessionAttachmentFileTests.cs:41
- Skipped (documented): must_be_permitted PeakLims/tests/PeakLims.IntegrationTests/FeatureTests/AccessionComments/AccessionCommentQueryTests.cs:65
- Skipped (documented): must_be_permitted PeakLims/tests/PeakLims.IntegrationTests/FeatureTests/AccessionComments/AddAccessionCommentCommandTests.cs:45
- Skipped (documented): must_be_permitted PeakLims/tests/PeakLims.IntegrationTests/FeatureTests/AccessionComments/DeleteAccessionCommentCommandTests.cs:69
- Skipped (documented): must_be_permitted PeakLims/tests/PeakLims.IntegrationTests/FeatureTests/AccessionComments/UpdateAccessionCommentCommandTests.cs:59
- Skipped (documented): must_be_permitted PeakLims/tests/PeakLims.IntegrationTests/FeatureTests/AccessionContacts/AccessionContactListQueryTests.cs:34
- Skipped (documented): must_be_permitted PeakLims/tests/PeakLims.IntegrationTests/FeatureTests/AccessionContacts/AccessionContactQueryTests.cs:68
- Skipped (documented): must_be_permitted PeakLims/tests/PeakLims.IntegrationTests/FeatureTests/Accessions/AccessionListQueryTests.cs:34
- Skipped (documented): must_be_permitted PeakLims/tests/PeakLims.IntegrationTests/FeatureTests/Accessions/AccessionQueryTests.cs:47
- Skipped (documented): must_be_permitted PeakLims/tests/PeakLims.IntegrationTests/FeatureTests/Accessions/AddAccessionCommandTests.cs:36
- Skipped (documented): must_be_permitted PeakLims/tests/PeakLims.IntegrationTests/FeatureTests/Accessions/DeleteAccessionCommandTests.cs:71
- Skipped (documented): must_be_permitted PeakLims/tests/PeakLims.IntegrationTests/FeatureTests/Containers/AddContainerCommandTests.cs:36
- Skipped (documented): must_be_permitted PeakLims/tests/PeakLims.IntegrationTests/FeatureTests/Containers/ContainerListQueryTests.cs:34
- Skipped (documented): must_be_permitted PeakLims/tests/PeakLims.IntegrationTests/FeatureTests/Containers/ContainerQueryTests.cs:47
- Skipped (documented): must_be_permitted PeakLims/tests/PeakLims.IntegrationTests/FeatureTests/Containers/DeleteContainerCommandTests.cs:69
- Skipped (documented): must_be_permitted PeakLims/tests/PeakLims.IntegrationTests/FeatureTests/Containers/UpdateContainerCommandTests.cs:38
- Skipped (documented): must_be_permitted PeakLims/tests/PeakLims.IntegrationTests/FeatureTests/HealthcareOrganizationContacts/AddHealthcareOrganizationContactCommandTests.cs:48
- Skipped (documented): must_be_permitted PeakLims/tests/PeakLims.IntegrationTests/FeatureTests/HealthcareOrganizationContacts/DeleteHealthcareOrganizationContactCommandTests.cs:70
- Skipped (documented): must_be_permitted PeakLims/tests/PeakLims.IntegrationTests/FeatureTests/HealthcareOrganizationContacts/HealthcareOrganizationContactListQueryTests.cs:37
- Skipped (documented): must_be_permitted PeakLims/tests/PeakLims.IntegrationTests/FeatureTests/HealthcareOrganizationContacts/HealthcareOrganizationContactQueryTests.cs:52
- Skipped (documented): must_be_permitted PeakLims/tests/PeakLims.IntegrationTests/FeatureTests/HealthcareOrganizationContacts/UpdateHealthcareOrganizationContactCommandTests.cs:40
- Mock framework: NSubstitute
- Mock framework: NSubstitute
- Mock framework: NSubstitute
- Mock framework: NSubstitute
- Licenses scanned
- SharedKernel (Production) SharedKernel/SharedKernel.csproj
- PeakLims (Production) PeakLims/src/PeakLims/PeakLims.csproj
- PeakLims.IntegrationTests (Test) PeakLims/tests/PeakLims.IntegrationTests/PeakLims.IntegrationTests.csproj
- PeakLims.FunctionalTests (Test) PeakLims/tests/PeakLims.FunctionalTests/PeakLims.FunctionalTests.csproj
- PeakLims.SharedTestHelpers (Production) PeakLims/tests/PeakLims.SharedTestHelpers/PeakLims.SharedTestHelpers.csproj
- PeakLims.UnitTests (Test) PeakLims/tests/PeakLims.UnitTests/PeakLims.UnitTests.csproj
- PeakLimsIdp (Production) PeakLimsIdp/PeakLimsIdp.csproj
- PeakLimsSpa.Bff (Production) PeakLimsSpa.Bff/PeakLimsSpa.Bff.csproj
- XML-doc coverage: SharedKernel SharedKernel/SharedKernel.csproj
- No exposed public API
- Unit tests
- Integration tests
- BDD tests
- E2E tests
Appendix B — Reproduction & audit trail
| Dimension | Tool | Version | Command | Findings | Raw output |
|---|---|---|---|---|---|
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-banner --report-format json --report-path /dev/stdout --exit-code 0 --source . | 0 | artifacts/raw/gitleaks-history.json |
| D29 · Static Analysis (SAST) | semgrep | — | semgrep --config auto --json --quiet --timeout 0 --metrics off . | 0 | — |
| D30 · Dependency Vulnerabilities | dotnet | — | dotnet list PeakLimsApi.sln package --vulnerable --include-transitive --format json | 8 | artifacts/raw/dotnet-vulnerable.json |
| D31 · IaC & Container Security | trivy | — | trivy config --format json --quiet . | 2 | artifacts/raw/trivy-config.json |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep: not applicable — No PII/GDPR-handling patterns detected (p/gdpr ruleset) — no data-compliance surface to assess. | 0 | — |
| D33 · JS/npm Dependency Vulnerabilities | trivy | — | trivy: not applicable — No JS/npm manifest or lockfile found outside bin/obj (package.json, package-lock.json, yarn.lock, pnpm-lock.yaml, bun.lockb); no JS dependencies to scan. | 0 | — |
| D36 · Supply-chain Provenance & Signing | provenance | — | provenance: 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 Policy | disclosure | — | disclosure: not applicable — No vulnerability-disclosure policy file found (SECURITY.md, .github/SECURITY.md, docs/SECURITY.md, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed. | 0 | — |
| D38 · OSV Dependency Vulnerabilities | osv-scanner | — | osv-scanner: not applicable — No JS/npm lockfile found outside bin/obj (package-lock.json, yarn.lock, pnpm-lock.yaml, bun.lockb); nothing for OSV to scan. | 0 | — |
Appendix C — Personal-data map
Name — 64 field(s)
- AccessionCommentItemDto.CreatedByFirstName PeakLims/src/PeakLims/Domain/AccessionComments/Dtos/AccessionCommentViewDto.cs:12
- AccessionCommentItemDto.CreatedByLastName PeakLims/src/PeakLims/Domain/AccessionComments/Dtos/AccessionCommentViewDto.cs:13
- AccessionCommentHistoryRecordDto.CreatedByFirstName PeakLims/src/PeakLims/Domain/AccessionComments/Dtos/AccessionCommentViewDto.cs:25
- AccessionCommentHistoryRecordDto.CreatedByLastName PeakLims/src/PeakLims/Domain/AccessionComments/Dtos/AccessionCommentViewDto.cs:26
- AccessionContactDto.FirstName PeakLims/src/PeakLims/Domain/AccessionContacts/Dtos/AccessionContactDto.cs:8
- AccessionContactDto.LastName PeakLims/src/PeakLims/Domain/AccessionContacts/Dtos/AccessionContactDto.cs:9
- PatientDto.FirstName PeakLims/src/PeakLims/Domain/Accessions/Dtos/AccessionPageViewDto.cs:23
- PatientDto.LastName PeakLims/src/PeakLims/Domain/Accessions/Dtos/AccessionPageViewDto.cs:26
- AccessionContactDto.FirstName PeakLims/src/PeakLims/Domain/Accessions/Dtos/AccessionPageViewDto.cs:42
- AccessionContactDto.LastName PeakLims/src/PeakLims/Domain/Accessions/Dtos/AccessionPageViewDto.cs:43
- PatientDto.FirstName PeakLims/src/PeakLims/Domain/Accessions/Dtos/AccessionWorklistDto.cs:15
- PatientDto.LastName PeakLims/src/PeakLims/Domain/Accessions/Dtos/AccessionWorklistDto.cs:16
- OrganizationContact.FirstName PeakLims/src/PeakLims/Domain/Gaia/Models/HealthcareOrganizationContactsResponse.cs:13
- OrganizationContact.LastName PeakLims/src/PeakLims/Domain/Gaia/Models/HealthcareOrganizationContactsResponse.cs:16
- PersonInfo.FirstName PeakLims/src/PeakLims/Domain/Gaia/Models/PersonInfo.cs:7
- PersonInfo.LastName PeakLims/src/PeakLims/Domain/Gaia/Models/PersonInfo.cs:8
- HealthcareOrganizationContactDto.FirstName PeakLims/src/PeakLims/Domain/HealthcareOrganizationContacts/Dtos/HealthcareOrganizationContactDto.cs:6
- HealthcareOrganizationContactDto.LastName PeakLims/src/PeakLims/Domain/HealthcareOrganizationContacts/Dtos/HealthcareOrganizationContactDto.cs:7
- HealthcareOrganizationContactForCreationDto.FirstName PeakLims/src/PeakLims/Domain/HealthcareOrganizationContacts/Dtos/HealthcareOrganizationContactForCreationDto.cs:5
- HealthcareOrganizationContactForCreationDto.LastName PeakLims/src/PeakLims/Domain/HealthcareOrganizationContacts/Dtos/HealthcareOrganizationContactForCreationDto.cs:6
- HealthcareOrganizationContactForUpdateDto.FirstName PeakLims/src/PeakLims/Domain/HealthcareOrganizationContacts/Dtos/HealthcareOrganizationContactForUpdateDto.cs:5
- HealthcareOrganizationContactForUpdateDto.LastName PeakLims/src/PeakLims/Domain/HealthcareOrganizationContacts/Dtos/HealthcareOrganizationContactForUpdateDto.cs:6
- HealthcareOrganizationContact.FirstName PeakLims/src/PeakLims/Domain/HealthcareOrganizationContacts/HealthcareOrganizationContact.cs:20
- HealthcareOrganizationContact.LastName PeakLims/src/PeakLims/Domain/HealthcareOrganizationContacts/HealthcareOrganizationContact.cs:21
- HealthcareOrganizationContactForCreation.FirstName PeakLims/src/PeakLims/Domain/HealthcareOrganizationContacts/Models/HealthcareOrganizationContactForCreation.cs:5
- HealthcareOrganizationContactForCreation.LastName PeakLims/src/PeakLims/Domain/HealthcareOrganizationContacts/Models/HealthcareOrganizationContactForCreation.cs:6
- HealthcareOrganizationContactForUpdate.FirstName PeakLims/src/PeakLims/Domain/HealthcareOrganizationContacts/Models/HealthcareOrganizationContactForUpdate.cs:5
- HealthcareOrganizationContactForUpdate.LastName PeakLims/src/PeakLims/Domain/HealthcareOrganizationContacts/Models/HealthcareOrganizationContactForUpdate.cs:6
- PatientAuditLogEntry.FirstName PeakLims/src/PeakLims/Domain/HipaaAuditLogs/Models/PatientAuditLogEntry.cs:6
- PatientAuditLogEntry.LastName PeakLims/src/PeakLims/Domain/HipaaAuditLogs/Models/PatientAuditLogEntry.cs:7
- PatientData.FirstName PeakLims/src/PeakLims/Domain/PatientRelationships/Dtos/PatientRelationshipDto.cs:16
- PatientData.LastName PeakLims/src/PeakLims/Domain/PatientRelationships/Dtos/PatientRelationshipDto.cs:17
- PatientDto.FirstName PeakLims/src/PeakLims/Domain/Patients/Dtos/PatientDto.cs:6
- PatientDto.LastName PeakLims/src/PeakLims/Domain/Patients/Dtos/PatientDto.cs:7
- PatientForCreationDto.FirstName PeakLims/src/PeakLims/Domain/Patients/Dtos/PatientForCreationDto.cs:5
- PatientForCreationDto.LastName PeakLims/src/PeakLims/Domain/Patients/Dtos/PatientForCreationDto.cs:6
- PatientForUpdateDto.FirstName PeakLims/src/PeakLims/Domain/Patients/Dtos/PatientForUpdateDto.cs:5
- PatientForUpdateDto.LastName PeakLims/src/PeakLims/Domain/Patients/Dtos/PatientForUpdateDto.cs:6
- PatientSearchResultDto.FirstName PeakLims/src/PeakLims/Domain/Patients/Dtos/PatientSearchResultDto.cs:6
- PatientSearchResultDto.LastName PeakLims/src/PeakLims/Domain/Patients/Dtos/PatientSearchResultDto.cs:7
Email — 18 field(s)
- TargetTypeEnum.Email PeakLims/src/PeakLims/Domain/AccessionContacts/TargetTypeEnum.cs:7
- OrganizationContact.Email PeakLims/src/PeakLims/Domain/Gaia/Models/HealthcareOrganizationContactsResponse.cs:19
- HealthcareOrganizationContactDto.Email PeakLims/src/PeakLims/Domain/HealthcareOrganizationContacts/Dtos/HealthcareOrganizationContactDto.cs:9
- HealthcareOrganizationContactForCreationDto.Email PeakLims/src/PeakLims/Domain/HealthcareOrganizationContacts/Dtos/HealthcareOrganizationContactForCreationDto.cs:8
- HealthcareOrganizationContactForUpdateDto.Email PeakLims/src/PeakLims/Domain/HealthcareOrganizationContacts/Dtos/HealthcareOrganizationContactForUpdateDto.cs:8
- HealthcareOrganizationContact.Email PeakLims/src/PeakLims/Domain/HealthcareOrganizationContacts/HealthcareOrganizationContact.cs:19
- HealthcareOrganizationContactForCreation.Email PeakLims/src/PeakLims/Domain/HealthcareOrganizationContacts/Models/HealthcareOrganizationContactForCreation.cs:8
- HealthcareOrganizationContactForUpdate.Email PeakLims/src/PeakLims/Domain/HealthcareOrganizationContacts/Models/HealthcareOrganizationContactForUpdate.cs:8
- UserDto.Email PeakLims/src/PeakLims/Domain/Users/Dtos/UserDto.cs:9
- UserForCreationDto.Email PeakLims/src/PeakLims/Domain/Users/Dtos/UserForCreationDto.cs:8
- UserForUpdateDto.Email PeakLims/src/PeakLims/Domain/Users/Dtos/UserForUpdateDto.cs:8
- UserForCreation.Email PeakLims/src/PeakLims/Domain/Users/Models/UserForCreation.cs:8
- UserForUpdate.Email PeakLims/src/PeakLims/Domain/Users/Models/UserForUpdate.cs:8
- User.Email PeakLims/src/PeakLims/Domain/Users/User.cs:20
- ICurrentUserService.Email PeakLims/src/PeakLims/Services/CurrentUserService.cs:11
- CurrentUserService.Email PeakLims/src/PeakLims/Services/CurrentUserService.cs:28
- UserRepresentation.Email PeakLims/src/PeakLims/Services/External/Keycloak/Models/UserRepresentation.cs:9
- UserRepresentation.EmailVerified PeakLims/src/PeakLims/Services/External/Keycloak/Models/UserRepresentation.cs:13
Date of birth — 12 field(s)
- PatientDto.DateOfBirth PeakLims/src/PeakLims/Domain/Accessions/Dtos/AccessionPageViewDto.cs:31
- PatientAuditLogEntry.DateOfBirth PeakLims/src/PeakLims/Domain/HipaaAuditLogs/Models/PatientAuditLogEntry.cs:8
- LifespanDto.DateOfBirth PeakLims/src/PeakLims/Domain/Lifespans/Dtos/LifespanDto.cs:7
- LifespanForCreationDto.DateOfBirth PeakLims/src/PeakLims/Domain/Lifespans/Dtos/LifespanForCreationDto.cs:6
- LifespanForUpdateDto.DateOfBirth PeakLims/src/PeakLims/Domain/Lifespans/Dtos/LifespanForUpdateDto.cs:6
- Lifespan.DateOfBirth PeakLims/src/PeakLims/Domain/Lifespans/Lifespan.cs:12
- PatientDto.DateOfBirth PeakLims/src/PeakLims/Domain/Patients/Dtos/PatientDto.cs:8
- PatientForCreationDto.DateOfBirth PeakLims/src/PeakLims/Domain/Patients/Dtos/PatientForCreationDto.cs:7
- PatientForUpdateDto.DateOfBirth PeakLims/src/PeakLims/Domain/Patients/Dtos/PatientForUpdateDto.cs:7
- PatientSearchResultDto.DateOfBirth PeakLims/src/PeakLims/Domain/Patients/Dtos/PatientSearchResultDto.cs:8
- PatientForCreation.DateOfBirth PeakLims/src/PeakLims/Domain/Patients/Models/PatientForCreation.cs:7
- PatientForUpdate.DateOfBirth PeakLims/src/PeakLims/Domain/Patients/Models/PatientForUpdate.cs:7
Address — 4 field(s)
- Address.PostalCode PeakLims/src/PeakLims/Domain/Addresses/Address.cs:30
- AddressDto.PostalCode PeakLims/src/PeakLims/Domain/Addresses/Dtos/AddressDto.cs:9
- AddressForCreationDto.PostalCode PeakLims/src/PeakLims/Domain/Addresses/Dtos/AddressForCreationDto.cs:9
- AddressForUpdateDto.PostalCode PeakLims/src/PeakLims/Domain/Addresses/Dtos/AddressForUpdateDto.cs:9