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.
niwrA/Software-Management-Core carries serious risk (43%). Several issues below can materially affect reliability, security, or the cost of change and warrant near-term attention.
It is strongest in Architecture (91%) — the structure is clean and changes stay contained.
The area that most needs attention is Readiness (34%) — operating, monitoring and recovering the system safely is harder. Security (44%) is the next concern — exposure to security and compliance incidents is elevated.
Leadership focus, highest impact first: CI workflow that builds and runs the test suite on every push/PR (CI/CD gates); `AddStandardResilienceHandler()` (or Polly policies) to your… (Outbound HTTP resilience); Extend structured logging to the remaining service-like… (Observability).
For scale: Small (~11,870 production lines); rebuilding it from scratch would take roughly ~0.1 person-years (~1 engineer). Approximate, ±~30%.
It builds on a genuinely strong Architecture foundation (91%); the priorities above are the highest-leverage way to bring the rest up to that level.
Raise Readiness 34 → 70 (the Healthy floor) ⇒ headline 43 → ~51.
Rebuild cost & value ~ Modeled — €4,400–€22,000
| Cost to rebuild | €4,400–€22,000 |
| Domain complexity | Low |
| Quality factor | 0.7× (at 43% quality) |
| Size & shape | Small · 40% boilerplate · 50% straight-line · 10% branching logic |
This codebase represents roughly ~0.1 person-years of build effort (about ~€13,000 to rebuild). Its weakest lens is Readiness at 34% — the part of that asset most exposed by the findings below.
Top priorities
Diagnosis — what's actually going on
Trajectory
Architecture — module dependency graph
At a glance — Code Health
At a glance — Architecture
At a glance — Maturity
At a glance — Readiness
At a glance — Security
Roadmap
First, establish a continuous integration workflow to automatically build and test every change. Next, implement HTTP client resilience to prevent external service failures from crashing the application. Then, extend structured logging across all service-like projects to ensure full production observability. After that, encrypt sensitive data at rest and manage keys securely. Finally, harden the web security posture by adding essential security headers and enforcing strict cookie policies.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Add a CI workflow that builds and runs the test suite on every push/PR. | +9.9 pts | Medium | CI/CD gates |
| Add `AddStandardResilienceHandler()` (or Polly policies) to your HttpClient registrations so a flaky dependency can't take the app down. | +9.9 pts | Medium | Outbound HTTP resilience |
| Extend structured logging to the remaining service-like projects so the whole executable surface is diagnosable in production. | +9.1 pts | Medium | Observability |
| Resolve the 1 No ADRs found finding(s) in ADR Quality. | +3.6 pts | Low | ADR Quality |
| Resolve the 1 No assertions (empty test) finding(s) in Test Quality — start with ProductDtoTests.cs. | +3.2 pts | Low | Test Quality |
| Encrypt sensitive data at rest (ASP.NET Core Data Protection / column encryption) and manage keys in a vault. Skip if delegated to infra (Postgres TDE, KMS, etc.). | +5.2 pts | Medium | Data Protection |
| 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. | +5.1 pts | Medium | Web-Security Posture |
| Start an ADR log (docs/adr/) recording significant decisions and their rationale. | +5.0 pts | Medium | Architecture documentation |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| LinksShared/LinkDetailsParser.cs | 3.2 | Slop | Explicit Debt: EmptyCatchBlock |
| LinksShared/UrlImageHeaderParser.cs | 5.8 | Mixed | Explicit Debt: EmptyCatchBlock |
| CodeGenCSharpUpdaterCore/CSharpUpdater.cs | 6.0 | Mixed | Explicit Debt: TodoComment |
| SoftwareManagementEFCoreRepository/MainRepository.cs | 6.0 | Mixed | Explicit Debt: CommentedOutCode |
| SoftwareManagementEventSourcedRepository/MainEventSourceRepository.cs | 6.0 | Mixed | Explicit Debt: TodoComment |
| SoftwareManagementMongoDbCoreRepositoryTests/CompanyStateRepositoryTests.cs | 6.0 | Mixed | Explicit Debt: TodoComment |
| CompaniesShared/Companies.cs | 6.4 | Mixed | Explicit Debt: TodoComment |
| SoftwareManagementMongoDbCoreRepository/CompanyStateRepository.cs | 6.4 | Mixed | Explicit Debt: TodoComment |
| CodeGenShared/CodeGen.cs | 6.4 | Mixed | Explicit Debt: TodoComment |
| ProductsShared/Products.cs | 6.4 | Mixed | Explicit Debt: TodoComment |
| DesignsShared/Designs.cs | 6.5 | Mixed | Explicit Debt: TodoComment |
| SoftwareManagementCoreApi/Controllers/Query/FileUploadController.cs | 6.5 | Mixed | Explicit Debt: TodoComment |
| SoftwareManagementCoreApi/Startup.cs | 6.6 | Mixed | Explicit Debt: CommentedOutCode |
| SoftwareManagementMongoDbCoreRepository/ProjectRoleAssignmentStateRepository.cs | 6.7 | Mixed | Explicit Debt: TodoComment |
| SoftwareManagementMongoDbCoreRepositoryTests/CommandStateRepositoryTests.cs | 6.7 | Mixed | Explicit Debt: TodoComment |
| SoftwareManagementMongoDbCoreRepositoryTests/CompanyDesignStateRepositoryTests.cs | 6.7 | Mixed | Explicit Debt: TodoComment |
| ContactsShared/Contacts.cs | 6.9 | Mixed | Explicit Debt: TodoComment |
| LinksShared/Links.cs | 6.9 | Mixed | Explicit Debt: TodoComment |
| ProjectsShared/Projects.cs | 6.9 | Mixed | Explicit Debt: TodoComment |
| SoftwareManagementMongoDbCoreRepository/ProjectStateRepository.cs | 6.9 | Mixed | 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. 47 of 50 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 3 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.7 — the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.
What we checked — 50 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, 168 of 182 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line.
- Is there a tool behind the number? Every score below names the method that produced it — Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled · advisory — not a narrative.
- Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.
Tools & methods
| Method | Backs | Version | Evaluator |
|---|---|---|---|
| Roslyn static analysis | Complexity, cohesion, coupling, dead code, API surface, layering | 5.3.0 | ✓ deterministic |
| Native secret scanner | Hardcoded secrets / credentials | 1.0.0 | ✓ deterministic |
| jscpd | Code duplication | — | ✓ deterministic |
| Coverage (coverlet / dotnet-coverage) | Line & branch coverage | 10.0.301 | ✓ deterministic |
| NuGet / dotnet | Outdated, vulnerable & deprecated dependencies | 10.0.301 | ✓ deterministic |
| git / LibGit2Sharp | Churn hotspots, knowledge concentration, history | 2.43.0 · 0.31.0 | ✓ deterministic |
| gitleaks · semgrep · trivy · checkov | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 | ✓ deterministic |
| LLM (sampled · advisory) | Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurement | Local LLM | ◐ LLM · sampled · advisory |
Run transparency — what happened this run
- D24 Comment Value — LLM provider failed — The model provider returned an unusable result, so this LLM-assisted dimension fell back to a measurement gap (confidence 0) rather than a penalty. Re-run with a reachable provider to score it.
- D30 Dependency Vulnerabilities — scanner not present in this environment — The backing tool was not installed where this scan ran, so this dimension was not scored. Install the tool (or run in the hosted environment, where it is always present) for a graded result.
- 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.
- 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.
- 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").
- 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.
- 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.
The LLM boundary
Dimensions
D1 · Cyclomatic Complexity
0 method(s) exceeded the cyclomatic complexity threshold of 15.
D2 · Cognitive Complexity
4 method(s) exceeded the cognitive complexity threshold of 15; the worst was LinkDetailsProcessor.GuessImage at 23.
D3 · God Classes
2 god class(es) detected.
D4 · Code Duplication
2 duplicated block group(s) detected.
D5 · Coupling
11 projects, 0 dependency cycle(s), 0 unstable depended-on project(s).
What to do
- Resolve the 2 Off the main sequence finding(s) in Coupling. — One of this dimension's main actionable groups (2 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)
0 of 53 classes have LCOM4 above 3.
D9 · Test Distribution
251 test methods: 251 unit, 0 integration, 0 BDD, 0 e2e.
D10 · Test Quality
9 skipped (5 with a documented reason), 5 zero-assertion, 5 mock references across 251 tests.
D11 · Test Reliability
0 flaky across 1 measured tier(s). unit: 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 39 packages use a banned license.
D15 · Churn × Complexity Hotspots
No churn × complexity hotspots in the window.
D16 · Bus Factor
No source file's living knowledge is concentrated in a single author.
D17 · Explicit Debt
136 deducted debt markers + 0 dead symbols across 9894 LoC (1.4/KLoC) → score 7.2.
What to do
- Resolve the 125 TodoComment finding(s) in Explicit Debt — start with CompanyStateRepository.cs (13), Companies.cs (11), MainRepository.cs (10). — One of this dimension's main actionable groups (125 warning-level).
- Resolve the 2 EmptyCatchBlock finding(s) in Explicit Debt — start with LinkDetailsParser.cs, UrlImageHeaderParser.cs. — One of this dimension's main actionable groups (2 issue-level).
- Resolve the 9 CommentedOutCode finding(s) in Explicit Debt — start with CSharpUpdater.cs, CommandsController.cs, Designs.cs. — One of this dimension's main actionable groups (9 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
11 projects, 161 .cs files, 15761 hand-written lines of code (9894 production / 5867 test), plus 11768 generated (EF migrations / designer / snapshots, excluded from quality), 23 inter-project edges.
D19 · Documentation Quality
The single README for Software-Management-Core is a thin setup guide that describes the project's purpose and sets up one database technology (SQL Server) with steps but gives no guidance on how to build or test the API, event sourcing, command/aggregate routing, or hooking into clients. It also omits any architecture overview, design principles, or migration notes for the CQRS/eventsourcing stack it claims to manage.
What to do
- Improve Documentation Quality — currently 3.0/10. — The single README for Software-Management-Core is a thin setup guide that describes the project's purpose and sets up one database technology (SQL Server) with steps but gives no guidance on how to build or test the API, event sourcing, command/aggregate routing, or hooking into clients. It also omits any architecture overview, design principles, or migration notes for the CQRS/eventsourcing stack it claims to manage.
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.
D26 · Project Cohesion
1 of 11 projects flagged as possibly oversized/incoherent.
What to do
- Resolve the 1 Split SoftwareManagementCore finding(s) in Project Cohesion. — One of this dimension's main actionable groups (1 recommendation-level).
D27 · Navigability
19 % of calls cross a namespace and 60 % go through an interface, but 94 % of collaborators are co-located — so following a call takes several hops. Baseline: small — navigation cost is tolerated.
What to do
- Resolve the 1 High interface indirection finding(s) in Navigability. — One of this dimension's main actionable groups (1 recommendation-level).
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.
D34 · Knowledge Freshness
Every significant source file has living knowledge — recently and meaningfully worked.
D35 · Change Coupling
Strongest change-coupling: ProductCommands.cs↔MainRepository.cs 61%; ProjectCommands.cs↔MainRepository.cs 50%
D39 · IL Efficiency
1 of 1701 first-party methods have an oversized IL body.
Frontend & cross-cutting dimensions
AX1 · Captive dependencies
AX10 · Code composition
What to do
- The domain core is a small share of production code — check that business logic isn't leaking into the application/infrastructure layers (a thin domain is the anemic-domain smell).
AX3 · Project dependency cycles
AX5 · Architecture & structure
AX6 · Interface segregation
- `IProductState` 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. — Products.cs:11
- `IProductConfigOptionState` declares 24 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. — Products.cs:43
- `IProductConfigOption` declares 20 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. — Products.cs:86
- `IProduct` declares 21 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. — Products.cs:111
- `ICompanyStateRepository` 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. — Companies.cs:52
- `IProjectRoleAssignmentState` 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. — ProjectRoleAssignments.cs:10
- `ILinkDetails` declares 39 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. — ILinkDetails.cs:5
- `ILinkState` 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. — Links.cs:18
- `IEntityElementState` 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. — Designs.cs:24
- `IFileState` declares 26 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. — Files.cs:14
- `IProductInstallationState` declares 21 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. — ProductInstallations.cs:10
- `IProductInstallation` declares 19 members. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces. — ProductInstallations.cs:32
- `ICustomDocument` declares 33 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. — CodeGen.cs:173
What to do
- Split fat interfaces into focused role-interfaces so clients depend only on what they use.
AX8 · Test isolation
C1 · Data Protection
- No data-protection or encryption usage (ASP.NET Data Protection, AES, column encryption, PBKDF2) was found — sensitive data at rest may be unprotected. If TDE/KMS/vault is delegated to infrastructure, ignore.
What to do
- Encrypt sensitive data at rest (ASP.NET Core Data Protection / column encryption) and manage keys in a vault. Skip if delegated to infra (Postgres TDE, KMS, etc.).
- Enforce HTTPS (UseHttpsRedirection / RequireHttpsMetadata) so data in transit is always encrypted.
C2 · Access Controls
- [AllowAnonymous] (5) outweighs [Authorize] (1) — review whether the open surface is intended.
What to do
- Review the [AllowAnonymous] surface — keep anonymous endpoints deliberate and documented so the open surface stays intentional.
GD1 · Unfinished & placeholder code
- A shipped member still throws NotImplementedException — generated scaffolding that was never completed. Implement it or remove the dead surface. (×25) — Designs.cs:157, MainRepository.cs:702, MainEventSourceRepository.cs:151, …
What to do
- Finish or delete NotImplementedException stubs and replace placeholder literals before shipping.
IC1 · Incompleteness & stubs
- `DeleteEpicElement` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. — Designs.cs:155
- `GetContactsByCompanyRoleGuid` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. — MainRepository.cs:700
- `EventSourcedMainRepository` has 28 unfinished members out of 50 — a scaffolded type that was never implemented. — MainEventSourceRepository.cs:83
- `CreateProductFeatureState` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. — MainEventSourceRepository.cs:149
- `CreateProductVersionState` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. (×2) — MainEventSourceRepository.cs:168, MainEventSourceRepository.cs:173
- `GetCompanyStates` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. — MainEventSourceRepository.cs:232
- `GetContactStates` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. — MainEventSourceRepository.cs:248
- `GetEnvironmentState` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. — MainEventSourceRepository.cs:254
- `GetProductStates` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. — MainEventSourceRepository.cs:270
- `GetProjectStates` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. — MainEventSourceRepository.cs:286
- `RemoveEnvironmentFromCompanyState` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. — MainEventSourceRepository.cs:302
- `CreateProductIssueState` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. — MainEventSourceRepository.cs:321
- `AddHardwareToEnvironmentState` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. — MainEventSourceRepository.cs:331
- `RemoveHardwareFromEnvironmentState` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. — MainEventSourceRepository.cs:336
- `GetHardwareForEnvironmentState` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. — MainEventSourceRepository.cs:341
- `AddAccountToEnvironmentState` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. — MainEventSourceRepository.cs:346
- `RemoveAccountFromEnvironmentState` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. — MainEventSourceRepository.cs:351
- `GetAccountForEnvironmentState` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. — MainEventSourceRepository.cs:356
- `AddDatabaseToEnvironmentState` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. — MainEventSourceRepository.cs:361
- `RemoveDatabaseFromEnvironmentState` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. — MainEventSourceRepository.cs:366
- `GetDatabaseForEnvironmentState` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. — MainEventSourceRepository.cs:371
- `CreateProductFeatureConfigOptionState` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. — MainEventSourceRepository.cs:376
- `GetProductFeatureConfigOptionState` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. — MainEventSourceRepository.cs:381
- `DeleteProductConfigOptionState` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. (×2) — MainEventSourceRepository.cs:386, MainEventSourceRepository.cs:411
- `MoveProductFeatureConfigOption` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. — MainEventSourceRepository.cs:391
- `MakeDefaultConfigOptionState` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. — MainEventSourceRepository.cs:396
- `CreateProductConfigOptionState` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. — MainEventSourceRepository.cs:401
- `GetProductConfigOptionState` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. — MainEventSourceRepository.cs:406
What to do
- Finish or delete the unfinished stubs (NotImplementedException / empty / constant-returning bodies) — they are dead surface that looks live.
- Clear the softer debt: remove commented-out code and dead branches, re-enable or delete skipped tests, and replace blanket warning suppressions with targeted ones.
M1 · Documentation (README)
What to do
- Add a build/run (quick start) section to the root README — the first thing a newcomer needs.
- Add a README to the 11 of 11 project(s) that lack one — worth up to 2 pts.
M2 · Architecture documentation
- No Architecture Decision Records found — decisions aren't captured for future maintainers.
- No C4/PlantUML/Mermaid diagram or architecture.md — the high-level shape isn't documented.
What to do
- Start an ADR log (docs/adr/) recording significant decisions and their rationale.
- Add a C4 context/container diagram (Structurizr, PlantUML or Mermaid) or an architecture.md overview.
M3 · Folder & project structure
- 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.
- Only 1/11 projects share a common root namespace — the code's module identity is inconsistent.
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.
- Adopt a consistent root-namespace convention (a shared prefix, e.g. Acme.*); short project-file/directory names are fine as long as the RootNamespace is uniform.
M4 · Documentation accuracy
- README advertises Docker containerisation, but no Dockerfile/compose file exists
What to do
- Reconcile the README with reality: README advertises Docker containerisation, but no Dockerfile/compose file exists.
P1 · CI/CD gates
- No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, …) — changes aren't gated by an automated build/test.
What to do
- Add a CI workflow that builds and runs the test suite on every push/PR.
P2 · Observability
- Only 1/4 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.
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.
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.)
- No UseHttpsRedirection/UseHsts and no reverse-proxy signal — transport security is unverified at the app layer. (−2.0 on this card.)
- No CookieSecurePolicy/HttpOnly/SameSite configuration found. (−1.5 on this card; skip if the app sets no cookies.)
What to do
- Add security response headers (Content-Security-Policy, X-Frame-Options, X-Content-Type-Options) — defense in depth, even when a reverse proxy could set them.
- Enforce HTTPS at the app layer (UseHttpsRedirection / UseHsts) — only skip this if a reverse proxy demonstrably terminates TLS.
- Set secure cookie flags — CookieSecurePolicy.Always, HttpOnly, and SameSite (Strict/Lax) on auth/session cookies. Skip only if the app sets no cookies.
X1 · Async correctness
X2 · Cancellation propagation
- Only 1/2 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. — FileUploadController.cs:81
What to do
- Thread a CancellationToken through async methods so work stops promptly on cancellation.
X3 · Exception handling
- An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it. (×2) — LinkDetailsParser.cs:276, UrlImageHeaderParser.cs:64
What to do
- Swallowed exception (empty catch)
X4 · Structured logging
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 60% | Adequate — gated by IC1 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Architecture | 91% | Exemplary | Strongest area. |
| Maturity | 45% | Weak — gated by M2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 34% | Weak — gated by P1, P3, P7 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 44% | Weak — gated by C1 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
Not included — 45 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 transaction-script/CRUD architecture (the inward-dependency rule is for layered/clean styles)
- 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
- AXB1 Runtime evidence locked — no reproducible boot — no data
- 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 — 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.
- D22 Internal API Consistency — No exposed public API
- D23 Boundary Type-Coupling — Bounded contexts not declared
- D24 Comment Value — LLM evaluation failed
- D25 ADR Conformance — no ADRs to check
- D30 Dependency Vulnerabilities — the solution did not restore on the analyzer's .NET SDK (an SDK/target-framework/restore mismatch, common for an older codebase), so there was no restored dependency graph to scan for NuGet CVEs — excluded rather than scored; re-run on an SDK that can restore this solution
- 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.
- D33 JS/npm Dependency Vulnerabilities — No JS/npm manifest or lockfile found outside bin/obj (package.json, package-lock.json, yarn.lock, pnpm-lock.yaml, bun.lockb); no JS dependencies to scan.
- D36 Supply-chain Provenance & Signing — No CI/build pipeline found (.github/workflows, .gitlab-ci.yml, azure-pipelines.yml, Jenkinsfile, .circleci); there is no build to attest provenance for.
- D37 Vulnerability-disclosure Policy — No vulnerability-disclosure policy file found (SECURITY.md, .github/SECURITY.md, docs/SECURITY.md, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
- D38 OSV Dependency Vulnerabilities — No JS/npm lockfile found outside bin/obj (package-lock.json, yarn.lock, pnpm-lock.yaml, bun.lockb); nothing for OSV to scan.
- D7 Architectural Integrity — no checkable ADRs and no dependency cycles — architectural integrity not assessed
- D8 Code Coverage — Coverage not measured
- DM1 Domain Modelling — not run — 0/3 markers found
- ED1 Event-Driven — not run — 0/3 markers found
- ED5 Idempotency — no mutating command handlers or message consumers detected — idempotency check not applicable
- ES1 Event Sourcing — not run — 0/3 markers found
- P12 CI test-gate honesty — no CI workflow found
- P4 Deployment & Rollback — not evidenced — no deploy/rollback/approval signal in the repo; absence of evidence is not evidence of a manual release
- P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
- 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.
- SC1 Supply-chain hygiene — no data
- X5 Nullable reference types — no NRT-eligible projects
- X6 Hand-rolled structured-format parsing — no data
- X7 Silent fallback defaults — no data
Appendix A — Findings (grouped)
Issue — 5 finding(s)
- EmptyCatchBlock LinksShared/LinkDetailsParser.cs:276
- EmptyCatchBlock LinksShared/UrlImageHeaderParser.cs:64
- Boundary-crossing change coupling: ProductCommands.cs ↔ MainRepository.cs ProductsShared/ProductCommands.cs
- Boundary-crossing change coupling: ProjectCommands.cs ↔ MainRepository.cs ProjectsShared/ProjectCommands.cs
- No assertions (empty test): ProductDtoMapsProductState SoftwareManagementCoreApiTests/Products/ProductDtoTests.cs:12
Warning — 155 finding(s)
- TodoComment CodeGenCSharpUpdaterCore/CSharpUpdater.cs:18
- TodoComment CodeGenCSharpUpdaterCore/CSharpUpdater.cs:41
- TodoComment CodeGenCSharpUpdaterCore/CSharpUpdater.cs:132
- TodoComment CodeGenCSharpUpdaterCore/CSharpUpdater.cs:148
- TodoComment CodeGenCSharpUpdaterCore/CSharpUpdater.cs:165
- TodoComment CodeGenCSharpUpdaterCore/CSharpUpdater.cs:263
- TodoComment CodeGenCSharpUpdaterCore/CSharpUpdater.cs:295
- TodoComment CodeGenShared/CodeGen.cs:14
- TodoComment CodeGenShared/CodeGen.cs:63
- TodoComment CodeGenShared/CodeGen.cs:66
- TodoComment CodeGenShared/CodeGen.cs:231
- TodoComment CodeGenShared/CodeGen.cs:244
- TodoComment CodeGenShared/CodeGen.cs:260
- TodoComment CodeGenShared/CodeGen.cs:273
- TodoComment CodeGenShared/CodeGen.cs:291
- TodoComment CodeGenShared/CodeGen.cs:295
- TodoComment CodeGenShared/CodeGenCommands.cs:29
- TodoComment CompaniesShared/Companies.cs:156
- TodoComment CompaniesShared/Companies.cs:167
- TodoComment CompaniesShared/Companies.cs:178
- TodoComment CompaniesShared/Companies.cs:261
- TodoComment CompaniesShared/Companies.cs:306
- TodoComment CompaniesShared/Companies.cs:318
- TodoComment CompaniesShared/Companies.cs:347
- TodoComment CompaniesShared/Companies.cs:359
- CommentedOutCode CodeGenCSharpUpdaterCore/CSharpUpdater.cs:133
- CommentedOutCode DesignsShared/Designs.cs:54
- CommentedOutCode SoftwareManagementCoreTests/Companies/HardwareCommandsTests.cs:45
- CommentedOutCode FilesShared/Files.cs:63
- CommentedOutCode LinksShared/Links.cs:62
- CommentedOutCode SoftwareManagementCoreApi/Startup.cs:65
- CommentedOutCode SoftwareManagementEFCoreRepository/MainRepository.cs:445
- CommentedOutCode SoftwareManagementCoreApi/Controllers/Command/CommandsController.cs:197
- CommentedOutCode SoftwareManagementCoreApi/Controllers/Query/HomeController.cs:37
- Skipped test: CanDeleteCompanyEnvironmentState SoftwareManagementMongoDbCoreRepositoryTests/CompanyStateRepositoryTests.cs:38
- Skipped test: CanGetEnvironmentState SoftwareManagementMongoDbCoreRepositoryTests/CompanyStateRepositoryTests.cs:51
- Skipped test: CanDeleteProductVersionState SoftwareManagementMongoDbCoreRepositoryTests/ProductStateRepositoryTests.cs:38
- Skipped test: CanDeleteProductFeatureState SoftwareManagementMongoDbCoreRepositoryTests/ProductStateRepositoryTests.cs:73
- No assertions: CanPersistChanges_WhenNoChanges SoftwareManagementMongoDbCoreRepositoryTests/CommandStateRepositoryTests.cs:18
- No assertions: CanDeleteDesignState SoftwareManagementMongoDbCoreRepositoryTests/CompanyDesignStateRepositoryTests.cs:31
- No assertions: CanDeleteEmploymentState SoftwareManagementMongoDbCoreRepositoryTests/EmploymentStateRepositoryTests.cs:32
- No assertions: CanDeleteProjectRoleAssignmentState SoftwareManagementMongoDbCoreRepositoryTests/ProjectRoleAssignmentStateRepositoryTests.cs:34
- TooManyMethods: MainRepository SoftwareManagementEFCoreRepository/MainRepository.cs:0
- TooManyMethods: EventSourcedMainRepository SoftwareManagementEventSourcedRepository/MainEventSourceRepository.cs:0
- Off the main sequence: SoftwareManagementEventSourcedRepository
- Off the main sequence: SoftwareManagementMongoDbCoreRepository
- LinkDetailsProcessor.GuessImage (cognitive 23) LinksShared/LinkDetailsParser.cs:149
- LinkDetailsProcessor.GetStandardInfo (cognitive 21) LinksShared/LinkDetailsParser.cs:55
- CSharpUpdater.UpdateInterfaces (cognitive 16) CodeGenCSharpUpdaterCore/CSharpUpdater.cs:261
- CSharpUpdater.UpdateClasses (cognitive 16) CodeGenCSharpUpdaterCore/CSharpUpdater.cs:293
- LLM evaluation failed
- FileTooLong: SoftwareManagementEFCoreRepository/MainRepository.cs SoftwareManagementEFCoreRepository/MainRepository.cs:0
- Duplicated block (8 lines × 2) SoftwareManagementMongoDbCoreRepository/ProjectRoleAssignmentStateRepository.cs:135
- Duplicated block (5 lines × 2) LinksShared/LinkDetailsParser.cs:80
- Coverage not measured
Recommendation — 5 finding(s)
- No ADRs found
- Bounded contexts not declared
- Split SoftwareManagementCore
- High interface indirection
- IL efficiency: 1 authored method(s) exceed the IL budget SoftwareManagementEFCoreRepository/MainRepository.cs:59
Info — 17 finding(s)
- XML-doc coverage: SoftwareManagementCore SoftwareManagementCore/SoftwareManagementCore.csproj
- XML-doc coverage: SoftwareManagementEFCoreRepository SoftwareManagementEFCoreRepository/SoftwareManagementEFCoreRepository.csproj
- XML-doc coverage: SoftwareManagementCoreApi SoftwareManagementCoreApi/SoftwareManagementCoreApi.csproj
- XML-doc coverage: SoftwareManagementEventSourcedRepository SoftwareManagementEventSourcedRepository/SoftwareManagementEventSourcedRepository.csproj
- XML-doc coverage: SoftwareManagementMongoDbCoreRepository SoftwareManagementMongoDbCoreRepository/SoftwareManagementMongoDbCoreRepository.csproj
- XML-doc coverage: CodeGenCSharpUpdaterCore CodeGenCSharpUpdaterCore/CodeGenCSharpUpdaterCore.csproj
- Skipped (documented): CreatePostReturnsCreatedCommandAsync SoftwareManagementCoreApiTests/Commands/CommandControllerTests.cs:79
- Skipped (documented): GetCompanies_Succeeds SoftwareManagementCoreApiTests/Companies/CompaniesControllerTests.cs:49
- Skipped (documented): GetContacts_Succeeds SoftwareManagementCoreApiTests/Contacts/ContactsControllerTests.cs:87
- Skipped (documented): GetProjects_Succeeds SoftwareManagementCoreApiTests/Projects/ProjectsControllerTests.cs:49
- Skipped (documented): CanDeleteEpicElementState SoftwareManagementMongoDbCoreRepositoryTests/CompanyDesignStateRepositoryTests.cs:104
- Mock framework: Moq
- Mock framework: Moq
- Mock framework: Moq
- Mock framework: Moq
- Mock framework: Moq
- No exposed public API
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: not applicable — the solution did not restore on the analyzer's .NET SDK (an SDK/target-framework/restore mismatch, common for an older codebase), so there was no restored dependency graph to scan for NuGet CVEs — excluded rather than scored; re-run on an SDK that can restore this solution | 0 | — |
| D31 · IaC & Container Security | trivy | — | trivy: not applicable — No Infrastructure-as-Code or container manifests found (Dockerfile, Terraform, Kubernetes/Helm, CloudFormation); nothing to scan. | 0 | — |
| 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 — No CI/build pipeline found (.github/workflows, .gitlab-ci.yml, azure-pipelines.yml, Jenkinsfile, .circleci); there is no build to attest provenance for. | 0 | — |
| D37 · Vulnerability-disclosure Policy | disclosure | — | disclosure: not applicable — No vulnerability-disclosure policy file found (SECURITY.md, .github/SECURITY.md, docs/SECURITY.md, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed. | 0 | — |
| D38 · OSV Dependency Vulnerabilities | osv-scanner | — | osv-scanner: not applicable — No JS/npm lockfile found outside bin/obj (package-lock.json, yarn.lock, pnpm-lock.yaml, bun.lockb); nothing for OSV to scan. | 0 | — |
Appendix C — Personal-data map
Email — 13 field(s)
- ChangeEmailForContactCommand.OriginalEmail ContactsShared/ContactCommands.cs:52
- ChangeEmailForContactCommand.Email ContactsShared/ContactCommands.cs:53
- IContactState.Email ContactsShared/Contacts.cs:20
- IContact.Email ContactsShared/Contacts.cs:46
- Contact.Email ContactsShared/Contacts.cs:67
- ContactBuilder._email ContactsShared/Contacts.cs:149
- ILinkDetails.Email LinksShared/ILinkDetails.cs:9
- LinkDetails.Email LinksShared/LinkDetailsParser.cs:230
- ContactDto.Email SoftwareManagementCoreApi/Controllers/Query/ContactsController.cs:21
- UserInfoDto.Email SoftwareManagementCoreApi/Controllers/Query/HomeController.cs:25
- ContactState.Email SoftwareManagementEFCoreRepository/MainRepository.cs:209
- ContactState.Email SoftwareManagementEventSourcedRepository/MainEventSourceRepository.cs:15
- ContactState.Email SoftwareManagementMongoDbCoreRepository/ContactStateRepository.cs:17
Date of birth — 8 field(s)
- ChangeBirthDateOfContactCommand.OriginalBirthDate ContactsShared/ContactCommands.cs:76
- ChangeBirthDateOfContactCommand.BirthDate ContactsShared/ContactCommands.cs:77
- IContactState.BirthDate ContactsShared/Contacts.cs:19
- ContactDto.BirthDate SoftwareManagementCoreApi/Controllers/Query/ContactsController.cs:22
- ContactState.BirthDate SoftwareManagementEFCoreRepository/MainRepository.cs:208
- ContactState.BirthDate SoftwareManagementEventSourcedRepository/MainEventSourceRepository.cs:14
- ContactState.BirthDate SoftwareManagementMongoDbCoreRepository/ContactStateRepository.cs:16
- LinkState.BirthDate SoftwareManagementMongoDbCoreRepository/LinkStateRepository.cs:16
Phone — 2 field(s)
- ILinkDetails.PhoneNumber LinksShared/ILinkDetails.cs:15
- LinkDetails.PhoneNumber LinksShared/LinkDetailsParser.cs:231
Name — 1 field(s)
- UserInfoDto.GivenName SoftwareManagementCoreApi/Controllers/Query/HomeController.cs:23