Event-native database for event sourcing and event-driven apps
Public report — KurrentDB, published 20 Jun 2026. Concrete security findings (CVE IDs, secret matches, dependency versions) are hidden in this version; ask the repo owner for the full report.
Watchdog 20-06-2026 @ 07:05 UTC Public
Code Health Audit

Kurrent-Io/KurrentDB

56% Adequate
CriticalWeakAdequateStrongExemplary
lower third — near Weak

Medium · 83,342 LoC · 94 projects · rebuild ~4.2 person-years · weakest lens: Accessibility (47%)

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

65/65dimensions tool-verifieddeterministic · confidence 1.0
1112findings with an exact file:lineof 1681 — the remainder are repo-wide signals (a dimension-level measurement, not a single line); open any file:line and verify
65/99dimensions across the health lenses83342 LoC · 94 projects — wide & deep

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.

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

The area that most needs attention is Accessibility (47%) — it raises ongoing delivery and operational cost. Readiness (58%) is the next concern — operating, monitoring and recovering the system safely is harder.

Leadership focus, highest impact first: Make custom controls keyboard-operable (role + tabindex + key handler) (Keyboard semantics); accessibility in the toolchain (A11y enforcement); Declare <html lang>, a document <title> and a <main> landmark,… (Page structure).

For scale: Medium (~83,342 production lines); rebuilding it from scratch would take roughly ~4.2 person-years (~2–8 engineers). Approximate, ±~30%.

How the score is built — each lens's share of the headline Width is the lens's weight in the worst-heaviest fold (the weakest area pulls hardest); colour is that lens's own band. A lens fixes the score in proportion to its width.
Accessibility 47% · 45% weightReadiness 58% · 25% weightCode Health 61% · 14% weightMaturity 71% · 8% weightSecurity 72% · 4% weightDomain Modelling 74% · 2% weightPerformance 79% · 1% weightArchitecture 83% · 1% weight

Raise Accessibility 47 → 70 (the Healthy floor) ⇒ headline 56 → ~63.

Code composition — where the lines go
Business logic 10%Plumbing 15%Tests 75%Analyzers 0%
New since the last scan (5+)

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

  • D5 · Unstable project KurrentDB
  • D5 · Unstable project KurrentDB.Plugins.Kontext
  • D5 · Off the main sequence: KurrentDB.Core.Testing
  • X1 · Sync-over-async (deadlock risk) src/KurrentDB.MicroBenchmarks/QueueBenchmarks.cs
  • X1 · Sync-over-async (deadlock risk) src/KurrentDB.MicroBenchmarks/QueueBenchmarks.cs

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

Rebuild cost & value ~ Modeled — €200,000–€1,000,000
Cost to rebuild€200,000–€1,000,000 (2.0–6.4 person-years (3,332–10,671 h), ~2–8 engineers)
Domain complexityHigh — harder problems cost more per line
Quality factor0.8× (at 56% quality) — the last 20% of quality is most of the work
Size & shapeMedium · 34% boilerplate · 26% straight-line · 40% branching logic

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

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

Top priorities

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

1
Make custom controls keyboard-operable (role + tabindex + key handler), drop positive tabindex, and give anchors a real href.
+7.7 pts · Medium effort · Keyboard semantics
2
Enforce accessibility in the toolchain: add eslint-plugin-jsx-a11y (or vuejs-accessibility), assert with jest-axe / playwright-axe in tests, then gate axe/pa11y/Lighthouse in CI.
+7.7 pts · Medium effort · A11y enforcement
3
Declare <html lang>, a document <title> and a <main> landmark, keep headings in order, leave zoom enabled, title iframes and drop meta-refresh.
+7.7 pts · Medium effort · Page structure

Diagnosis — what's actually going on

Value concentrated against a weak lens · Medium · Value at risk
This is a Medium asset (~4.2 person-years to rebuild), and its weakest lens is Accessibility at 47%. The operational and business risk on an asset this size concentrates there — that's where remediation buys the most protection.
Evidence: valuation: Medium, ~4.2 person-years rebuild (83,342 LoC) · weakest lens: Accessibility 47%
→ Direct remediation budget at Accessibility first — highest risk-reduction per euro on an asset this size.
Highest-leverage move · Medium · Leverage
Of everything flagged, the best return on effort is: Make custom controls keyboard-operable (role + tabindex + key handler), drop positive tabindex, and give anchors a real href. The rest can wait behind it.
Evidence: priority ranking: top of 5 ranked by impact/effort
→ Make custom controls keyboard-operable (role + tabindex + key handler), drop positive tabindex, and give anchors a real href.
Improving trajectory · Info · Trajectory
The headline is improving steadily (+10.2 pts/run over 5 runs) — whatever you're doing is working; keep the gate.
Evidence: trajectory: +10.2 pts/run over 5 runs

Trajectory

Where this codebase is heading — something a one-shot snapshot cannot show. 56 ▲ 20 over 5 runs.

025507510019 Junnow
OverallCode HealthArchitectureMaturityReadinessSecurityDomain ModellingAccessibilityPerformance

Architecture — bounded-context dependency graph

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

arch KurrentDB KurrentDB ctx:Connectors Connectors Connectors · Connectors · Contracts KurrentDB->ctx:Connectors ctx:AutoScavenge AutoScavenge AutoScavenge KurrentDB->ctx:AutoScavenge ctx:Common Common Common KurrentDB->ctx:Common ctx:POC.ConnectedSubsystemsPlugin POC.ConnectedSubsystemsPlugin ConnectedSubsystemsPlugin KurrentDB->ctx:POC.ConnectedSubsystemsPlugin ctx:PluginHosting PluginHosting PluginHosting KurrentDB->ctx:PluginHosting ctx:Plugins.Kontext Plugins.Kontext Kontext KurrentDB->ctx:Plugins.Kontext ctx:Projections.Management Projections.Management Management KurrentDB->ctx:Projections.Management ctx:SecondaryIndexing SecondaryIndexing SecondaryIndexing KurrentDB->ctx:SecondaryIndexing Ammeter Ammeter Api.V2.Tests Api.V2.Tests Auth.Ldaps.Tests Auth.Ldaps.Tests Auth.LegacyAuthorizationWithStreamAuthorizationDisabled.Tests Auth.LegacyAuthorizationWithStreamAuthorizationDisabled.Tests Auth.OAuth.Tests Auth.OAuth.Tests Auth.StreamPolicyPlugin.Tests Auth.StreamPolicyPlugin.Tests Auth.UserCertificates.Tests Auth.UserCertificates.Tests AutoScavenge.Tests AutoScavenge.Tests BufferManagement.Tests BufferManagement.Tests Common.Tests Common.Tests Connectors.TestServer Connectors.TestServer Connectors.Tests Connectors.Tests Core.TUnit.Tests Core.TUnit.Tests Core.Testing.NUnit Core.Testing.NUnit Core.Tests Core.Tests Core.XUnit.Tests Core.XUnit.Tests Diagnostics.LogsEndpointPlugin.Tests Diagnostics.LogsEndpointPlugin.Tests Licensing.Tests Licensing.Tests MicroBenchmarks MicroBenchmarks OtlpExporterPlugin.Tests OtlpExporterPlugin.Tests Plugins.Tests Plugins.Tests Projections.JavaScript.Tests Projections.JavaScript.Tests Projections.Management.Tests Projections.Management.Tests Projections.Shared.Tests Projections.Shared.Tests Projections.V1.Tests Projections.V1.Tests Projections.V1.XUnit.Tests Projections.V1.XUnit.Tests Projections.V2.Tests Projections.V2.Tests SchemaRegistry.Tests SchemaRegistry.Tests SecondaryIndexing.LoadTesting SecondaryIndexing.LoadTesting SecondaryIndexing.LoadTesting->ctx:SecondaryIndexing SecondaryIndexing.Tests SecondaryIndexing.Tests Security.EncryptionAtRest.Tests Security.EncryptionAtRest.Tests SourceGenerators.Tests SourceGenerators.Tests Surge.Testing Surge.Testing Surge.Tests Surge.Tests SystemRuntime.Tests SystemRuntime.Tests TcpPlugin.Tests TcpPlugin.Tests TestClient TestClient ctx:BufferManagement BufferManagement BufferManagement TestClient->ctx:BufferManagement TestClient->ctx:Common ctx:Transport.Http Transport.Http Http TestClient->ctx:Transport.Http ctx:Transport.Tcp Transport.Tcp Tcp TestClient->ctx:Transport.Tcp UI UI ctx:Connectors->ctx:Common ctx:SystemRuntime SystemRuntime SystemRuntime ctx:Connectors->ctx:SystemRuntime ctx:AutoScavenge->ctx:POC.ConnectedSubsystemsPlugin ctx:Common->ctx:SystemRuntime ctx:Kontext Kontext Kontext ctx:Kontext->ctx:Common ctx:POC.ConnectedSubsystemsPlugin->ctx:PluginHosting ctx:Plugins.Kontext->ctx:Common ctx:Plugins.Kontext->ctx:Kontext ctx:Projections.Management->ctx:Transport.Http ctx:Projections.Shared Projections.Shared Shared ctx:SecondaryIndexing->ctx:Common ctx:Transport.Http->ctx:BufferManagement ctx:Transport.Http->ctx:Common ctx:Transport.Tcp->ctx:BufferManagement ctx:Transport.Tcp->ctx:Common __more__ +32 more contexts

At a glance — Code Health · 61% · Adequate

At a glance — Architecture · 83% · Strong

At a glance — Maturity · 71% · Strong

At a glance — Readiness · 58% · Adequate · gated by P3

At a glance — Security · 72% · Adequate · gated by D36

At a glance — Domain Modelling · 74% · Adequate · gated by DM4

At a glance — Accessibility · 47% · Weak · gated by AC4

At a glance — Performance · 79% · Strong

Security & Compliance — OWASP Top-10 mapping

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

OWASP categoryFindingsSeverity
A02:2021 — Cryptographic Failures3High / Critical
A06:2021 — Vulnerable & Outdated Components1High / Critical
A05:2021 — Security Misconfiguration1High / Critical

Roadmap

Top priorities: Make custom controls keyboard-operable (role + tabindex + key handler), drop positive tabindex, and give anchors a real href; Enforce accessibility in the toolchain: add eslint-plugin-jsx-a11y (or vuejs-accessibility), assert with jest-axe / playwright-axe in tests, then gate axe/pa11y/Lighthouse in CI; Declare <html lang>, a document <title> and a <main> landmark, keep headings in order, leave zoom enabled, title iframes and drop meta-refresh.

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

Do thisHelpsEffortDimension
Make custom controls keyboard-operable (role + tabindex + key handler), drop positive tabindex, and give anchors a real href.+7.7 ptsMediumKeyboard semantics
Enforce accessibility in the toolchain: add eslint-plugin-jsx-a11y (or vuejs-accessibility), assert with jest-axe / playwright-axe in tests, then gate axe/pa11y/Lighthouse in CI.+7.7 ptsMediumA11y enforcement
Declare <html lang>, a document <title> and a <main> landmark, keep headings in order, leave zoom enabled, title iframes and drop meta-refresh.+7.7 ptsMediumPage structure
Resolve the 7 Deprecated finding(s) in Dependency Hygiene.+2.6 ptsLowDependency Hygiene
Resolve the 5 EmptyCatchBlock finding(s) in Explicit Debt — start with Helper.cs (3), CertificateManager.cs, MacOSCertificateManager.cs.+1.7 ptsLowExplicit Debt
Add readiness/liveness probes and a rolling-update (or blue/green) strategy so a bad release is caught and rolled back automatically.+2.6 ptsMediumDeployment & Rollback
Extend structured logging to the remaining service-like projects so the whole executable surface is diagnosable in production.+2.3 ptsMediumObservability
Finish or delete the unfinished stubs (NotImplementedException / empty / constant-returning bodies) — they are dead surface that looks live.+1.8 ptsMediumIncompleteness & stubs

File quality

Per-file score 0–10 — a quality signature. Of 477 files carrying findings, judged against the Production bar: 0% slop · 33% mixed · 67% near-clean.

FileScoreBandWorst signal
src/KurrentDB.Common/DevCertificates/CertificateManager.cs1.5SlopExplicit Debt: EmptyCatchBlock
src/KurrentDB.Core.Tests/ClientAPI/connect.cs3.9SlopTest Quality: No assertions: should_not_throw_exception_when_server_is_down
src/KurrentDB.NETCore.Compatibility/System.UriTemplate/UriTemplate.cs4.8MixedCyclomatic Complexity: UriTemplate.UriTemplate.ctor (cyclomatic 32)
src/KurrentDB.Common/Utils/Helper.cs4.9MixedExplicit Debt: EmptyCatchBlock
src/Connectors/KurrentDB.Connectors/KurrentDB.Connectors.csproj5.3MixedExplicit Debt: NoWarnInCsproj
src/KurrentDB.Core.Testing/TransactionLog/Scavenging/TFChunkDbCreationHelper.cs5.7MixedCyclomatic Complexity: TFChunkDbCreationHelper.CreateDb (cyclomatic 47)
src/KurrentDB.TestClient/KurrentDB.TestClient.csproj5.8MixedExplicit Debt: NoWarnInCsproj
src/KurrentDB.Projections.V1/Services/Processing/CoreProjection.cs6.0MixedExplicit Debt: TodoComment
src/KurrentDB.Projections.Shared/Services/Processing/Checkpointing/CheckpointTag.cs6.0MixedExplicit Debt: TodoComment
src/KurrentDB.Projections.Shared/Services/Processing/ResolvedEvent.cs6.0MixedExplicit Debt: TodoComment
src/KurrentDB.Projections.V1/Services/Processing/Strategies/ReaderStrategy.cs6.0MixedExplicit Debt: TodoComment
src/KurrentDB.Projections.V2/Services/Processing/V2/ProjectionEngineV2.cs6.0MixedExplicit Debt: TodoComment
src/KurrentDB.Projections.V1/Services/Processing/Emitting/EmittedStream.cs6.0MixedExplicit Debt: TodoComment
src/KurrentDB.Projections.V1/Services/Processing/MultiStream/MultiStreamEventReader.cs6.0MixedExplicit Debt: TodoComment
src/KurrentDB.NETCore.Compatibility/System.UriTemplate/stubs/UrlUtility.cs6.0MixedExplicit Debt: CommentedOutCode
src/KurrentDB.Projections.Management/Services/Management/ManagedProjection.cs6.0MixedExplicit Debt: TodoComment
src/KurrentDB.Projections.V1/Services/Processing/SingleStream/StreamEventReader.cs6.0MixedExplicit Debt: TodoComment
src/KurrentDB.Projections.V1/Services/Processing/EventByType/EventByTypeIndexEventReader.TfBased.cs6.0MixedExplicit Debt: TodoComment
src/KurrentDB.Projections.V1/Services/Processing/EventByType/EventByTypeIndexEventReader.IndexBased.cs6.0MixedExplicit Debt: TodoComment
src/KurrentDB.Transport.Tcp/TcpConnection.cs6.0MixedExplicit 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. 65 of 65 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); none rely on LLM judgement. 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.

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

What we checked — 65 dimensions across the health lenses
D1D2D3D4D5D6D9D10D12D13D14D15D17D18D26D27D28D29D30D31D33D36D37D38AC1AC3AC4AC6AC7AX1AX10AX2AX3AX4AX5AX6C1C2C4DM1DM4DM5DM6DM8GD1IC1M1M2M3P1P2P3P4P5P6P7PF1PF2PF3S1X1X2X3X4X5

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

How to trust any code-health report — three questions
  1. Can you open the finding? Real findings cite a repo-relative file and line you can open at the cited line — never an absolute scratch path. Here, 1112 of 1681 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line. (Every path in this report is repo-relative by construction: paths are normalized at the producer and the report is rejected if any rooted path leaks through.)
  2. Is there a tool behind the number? Every score below names the method that produced it — Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled · advisory — not a narrative.
  3. Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.

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

Tools & methods

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

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

Every finding is locatable in findings.md. Run 019ee3d8-eea5-756f-81a3-27a8f6360075.

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

Run transparency — what happened this run

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

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

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

Limitations & what we did not check

Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.

Per-dimension blind spots

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

  • D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically — it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
  • D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
  • D3 God Classes: "God class" is sized by members and responsibilities visible in the type — a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module — one class/IIFE — earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
  • D4 Code Duplication: Duplication is token-similarity (jscpd) — it finds copy-paste, not semantic duplication expressed differently. Committed machine-written code (EF migration scaffolds, *.Designer.cs, model snapshots) is EXCLUDED — its repetition is the tool's, not the team's — so the score reflects hand-written duplication only; the generated footprint is reported separately under Solution Shape.
  • D5 Coupling: Coupling is measured between projects/assemblies — runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
  • D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic — it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
  • D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals — a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
  • D10 Test Quality: Assertion density is structural — it cannot tell a meaningful behavioural assertion from a trivial one, only that an assertion is present.
  • D12 Dependency Hygiene: Dependency health reads manifests and lockfiles — a vulnerability in a vendored/copied dependency, or risk from how a dependency is actually used, is outside this view.
  • D13 Secret Scanning: Secret detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
  • D14 License Compliance: License compatibility is checked against declared package metadata and a policy — mislabelled or missing license metadata, and obligations that depend on how you distribute, are not resolved here.
  • D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
  • 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.
  • 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.
  • D33 JS/npm Dependency Vulnerabilities: JS/npm CVE matching reads package manifests and lockfiles — risk from how a dependency is used, and advisories not yet published, fall outside this scan.
  • AC1 Text alternatives: Alt-text is detected structurally — the scan sees that an alternative EXISTS, not whether it meaningfully describes the image, and decorative-vs-missing is judged by attribute shape; runtime-injected images and a non-role=img decorative svg are out of scope. This is accessibility readiness, never a WCAG conformance claim.
  • AC3 Page structure: Page structure is read from the static markup tree — landmarks, headings and lang injected at runtime aren't seen, heading ORDER is checked structurally (not against the rendered visual hierarchy), and lang/title/main fire only on full documents, never partials. Static readiness, not conformance.
  • AC4 Keyboard semantics: Keyboard semantics are inferred from markup attributes — interactivity wired purely in script, focus managed at runtime, and component-level handlers are invisible. A clean result means "no static keyboard-trap shape", not a keyboard-operability proof.
  • AC6 Visual & motion safety: Contrast and motion safety are PARTIAL by construction — only literal inline colours and in-repo <style>-block CSS are read; external stylesheets, CSS-in-JS, computed/runtime/theme colour, and image contrast are all out of reach, so a clean result is bounded by what the markup itself shows.
  • AC7 A11y enforcement: Enforcement is scored from in-repo config/CI evidence only — an a11y gate enforced in external tooling with no in-repo trace can't be credited, and a configured linter is presence, not proof the rules actually run or block a merge.
  • AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
  • C4 Data Retention: This control is scored from in-repo evidence only — its real-world effectiveness, exercised only at runtime, is outside a static scan.
  • DM4 Rich vs anemic model: Behaviour is detected as state mutation inside a method body — a method that enforces an invariant by validating-and-throwing without mutating reads as a query, and mutation delegated through an interface the scan can't resolve isn't credited; entities with zero public properties still drop out of the population. It detects that state changes, not whether the rule is correct.
  • DM6 Domain ↔ infrastructure boundary: Infrastructure reached through a hand-rolled wrapper, a domain-named facade, reflection, or a string-keyed service locator resolves to a non-infra type and isn't seen; the body scan is symbol resolution over syntax, not full dataflow. A clean result means "no resolved infra reference in a domain body", not a proof of purity.
  • P4 Deployment & Rollback: Approval/branch-protection rules live in repository settings the scan cannot see — only their in-repo evidence (config files, workflows) is checked, so a control enforced purely in the host's settings reads as "not evidenced".
  • P5 DR & Backup: Backup/restore and disaster-recovery readiness is judged from in-repo evidence — a config that exists is not a tested restore, so the absence of positive evidence is reported as "not evidenced", never scored as present.
  • P6 Release Hygiene: Rollback/observability controls are inferred from repo artefacts (pipelines, dashboards-as-code) — controls configured in external tooling, with no in-repo trace, cannot be credited.

Dimensions

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

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

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

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

49 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was CoreProjection.GoToState at 50.

CheckpointTag.OperatorDeclaration (cyclomatic 23) · ×2src/KurrentDB.Projections.Shared/Services/Processing/Checkpointing/CheckpointTag.cs:135
CoreProjection.GoToState (cyclomatic 50)src/KurrentDB.Projections.V1/Services/Processing/CoreProjection.cs:345
SchemaApplication.SchemaApplication.ctor (cyclomatic 47)src/SchemaRegistry/KurrentDB.SchemaRegistry/Modules/Schemas/Domain/SchemaApplication.cs:55
TFChunkDbCreationHelper.CreateDb (cyclomatic 47)src/KurrentDB.Core.Testing/TransactionLog/Scavenging/TFChunkDbCreationHelper.cs:78
UriTemplateTrieNode.TryMatch (cyclomatic 33)src/KurrentDB.NETCore.Compatibility/System.UriTemplate/UriTemplateTrieNode.cs:159

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

What to do

  1. Resolve the 2 CheckpointTag.OperatorDeclaration (cyclomatic 23) finding(s) in Cyclomatic Complexity — start with CheckpointTag.cs (2). — One of this dimension's main actionable groups (2 warning-level).
  2. Resolve the 1 CoreProjection.GoToState (cyclomatic 50) finding(s) in Cyclomatic Complexity — start with CoreProjection.cs. — One of this dimension's main actionable groups (1 warning-level).
  3. Resolve the 1 SchemaApplication.SchemaApplication.ctor (cyclomatic 47) finding(s) in Cyclomatic Complexity — start with SchemaApplication.cs. — One of this dimension's main actionable groups (1 warning-level).
  4. Enforce Cyclomatic Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.

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

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

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

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

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

97 method(s) exceeded the cognitive complexity threshold of 15; the worst was TFChunkDbCreationHelper.CreateDb at 106.

CheckpointTag.OperatorDeclaration (cognitive 18) · ×2src/KurrentDB.Projections.Shared/Services/Processing/Checkpointing/CheckpointTag.cs:135
TFChunkDbCreationHelper.CreateDb (cognitive 106)src/KurrentDB.Core.Testing/TransactionLog/Scavenging/TFChunkDbCreationHelper.cs:78
SchemaApplication.SchemaApplication.ctor (cognitive 80)src/SchemaRegistry/KurrentDB.SchemaRegistry/Modules/Schemas/Domain/SchemaApplication.cs:55
UriTemplate.UriTemplate.ctor (cognitive 76)src/KurrentDB.NETCore.Compatibility/System.UriTemplate/UriTemplate.cs:49
CertificateManager.EnsureDevelopmentCertificate (cognitive 70)src/KurrentDB.Common/DevCertificates/CertificateManager.cs:159

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

What to do

  1. Resolve the 2 CheckpointTag.OperatorDeclaration (cognitive 18) finding(s) in Cognitive Complexity — start with CheckpointTag.cs (2). — One of this dimension's main actionable groups (2 warning-level).
  2. Resolve the 1 TFChunkDbCreationHelper.CreateDb (cognitive 106) finding(s) in Cognitive Complexity — start with TFChunkDbCreationHelper.cs. — One of this dimension's main actionable groups (1 warning-level).
  3. Resolve the 1 SchemaApplication.SchemaApplication.ctor (cognitive 80) finding(s) in Cognitive Complexity — start with SchemaApplication.cs. — One of this dimension's main actionable groups (1 warning-level).
  4. Enforce Cognitive Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.

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

D3 · God Classes9.1 / 10Exemplary✓ Tool-verified

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

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

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

16 god class(es) detected.

TooManyMethods: CertificateManagerEventSource · ×10src/KurrentDB.Common/DevCertificates/CertificateManager.cs:0
FileTooLong: DevCertificates/CertificateManager.cs · ×8src/KurrentDB.Common/DevCertificates/CertificateManager.cs:0
ClassTooLong: CertificateManager · ×7src/KurrentDB.Common/DevCertificates/CertificateManager.cs:0

✓ On the Gold path — maintain.

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

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

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

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

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

43 duplicated block group(s) detected.

Duplicated block (12 lines × 2) · ×7src/KurrentDB.Common/Utils/CertificateExtensions.cs:304
Duplicated block (10 lines × 2) · ×5src/KurrentDB.Projections.Shared/Services/Processing/Checkpointing/CheckpointTag.cs:166
Duplicated block (17 lines × 2) · ×4src/KurrentDB.Common/Utils/CertificateExtensions.cs:205
Duplicated block (9 lines × 2) · ×4src/KurrentDB.Projections.JavaScript/Services/Interpreted/JintProjectionStateHandler.cs:308
Duplicated block (7 lines × 2) · ×4src/KurrentDB.TestClient/Commands/DeleteProcessor.cs:57

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

✓ On the Gold path — maintain.

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

D5 · Coupling8.9 / 10Strong✓ Tool-verified

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

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

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

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

92 projects, 0 dependency cycle(s), 2 unstable depended-on project(s).

Off the main sequence: KurrentDB.BufferManagement · ×12
Unstable project KurrentDB
Unstable project KurrentDB.Plugins.Kontext

What to do

  1. Resolve the 12 Off the main sequence finding(s) in Coupling. — One of this dimension's main actionable groups (12 warning-level).
  2. Resolve the 1 Unstable project KurrentDB finding(s) in Coupling. — One of this dimension's main actionable groups (1 warning-level).
  3. Resolve the 1 Unstable project KurrentDB.Plugins.Kontext finding(s) in Coupling. — One of this dimension's main actionable groups (1 warning-level).
  4. Enforce Coupling in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.

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

D6 · Cohesion (LCOM4)8.3 / 10Strong✓ Tool-verified

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

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

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

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

61 of 428 classes have LCOM4 above 3.

Low cohesion: FakeReadIndex (LCOM4 27) · ×61src/KurrentDB.Core.Testing/TransactionLog/FakeReadIndex.cs:18

What to do

  1. Resolve the 61 Low cohesion finding(s) in Cohesion (LCOM4) — start with DiagnosticsListeners.cs (2), Feed.cs (2), UriTemplate.cs (2). — One of this dimension's main actionable groups (61 warning-level).
  2. Enforce Cohesion (LCOM4) in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.

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

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

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

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

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

6937 test methods: 6937 unit, 0 integration, 0 BDD, 0 e2e.

Unit tests
Integration tests
BDD tests
E2E tests

✓ On the Gold path — maintain.

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

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

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

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

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

41 skipped (24 with a documented reason), 169 zero-assertion, 1 mock references across 7465 tests.

No assertions: can_create_a_connector_with_settings · ×169src/KurrentDB.Ammeter/ConnectorsTests.cs:17
Skipped test: exports_from_type · ×17src/SchemaRegistry/KurrentDB.SchemaRegistry.Tests/Modules/Schemas/Validation/SchemaExportTests.cs:14
Skipped (documented): append_session_throws_when_user_is_not_authenticated · ×24src/KurrentDB.Api.V2.Tests/Modules/Streams/StreamsServiceTests.cs:305
Mock framework: NSubstitute

✓ On the Gold path — maintain.

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

D12 · Dependency Hygiene6.0 / 10Adequate✓ Tool-verified

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

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

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

518 outdated, 0 vulnerable, 7 deprecated packages.

Deprecated: Azure.Identity · ×7
Outdated: JetBrains.Annotations · ×518

What to do

  1. Resolve the 7 Deprecated finding(s) in Dependency Hygiene. — One of this dimension's main actionable groups (7 warning-level).

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

D13 · Secret Scanning10.0 / 10Exemplary○ Nothing flagged

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

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

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

Secret scan ran and found no leaked secrets.

✓ On the Gold path — maintain.

Detailed fixes: d13_recommendation.md.

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

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

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

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

0 of 169 packages use a banned license.

Licenses scanned

✓ On the Gold path — maintain.

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

D15 · Churn × Complexity Hotspots10.0 / 10Exemplary✓ Tool-verified

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

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

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

No churn × complexity hotspots in the window.

git history depth insufficient

✓ On the Gold path — maintain.

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

D17 · Explicit Debt8.0 / 10Strong✓ Tool-verified

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

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

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

364 deducted debt markers + 0 dead symbols across 82743 LoC (1.0/KLoC) → score 8.0.

NoWarnInCsproj · ×19src/KurrentDB.TestClient/KurrentDB.TestClient.csproj:8
EmptyCatchBlock · ×5src/KurrentDB.Common/DevCertificates/CertificateManager.cs:653
TodoComment · ×240src/KurrentDB.Common/DevCertificates/CertificateManager.cs:434
CommentedOutCode · ×43src/KurrentDB.Common/Utils/FileStreamExtensions.cs:23
BarePragmaDisable · ×39src/KurrentDB.Common/Properties/JetbrainsAnnotations.cs:4

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

What to do

  1. Resolve the 19 NoWarnInCsproj finding(s) in Explicit Debt — start with KurrentDB.Connectors.csproj (6), KurrentDB.TestClient.csproj (3), KurrentDB.Connectors.Tests.csproj (2). — One of this dimension's main actionable groups (19 issue-level).
  2. Resolve the 5 EmptyCatchBlock finding(s) in Explicit Debt — start with Helper.cs (3), CertificateManager.cs, MacOSCertificateManager.cs. — One of this dimension's main actionable groups (5 issue-level).
  3. Resolve the 240 TodoComment finding(s) in Explicit Debt — start with soft_delete.cs (10), EventProcessingProjectionProcessingPhase.cs (7), EventByTypeIndexEventReader.IndexBased.cs (5). — One of this dimension's main actionable groups (240 warning-level).
  4. Enforce Explicit Debt in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.

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

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

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

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

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

94 projects, 3869 .cs files, 334134 hand-written lines of code (82176 production / 251958 test), 1337 inter-project edges (build status unknown — did not finish).

Shell project: KurrentDB.ClusterNode.Web · ×5src/KurrentDB.ClusterNode.Web/KurrentDB.ClusterNode.Web.csproj
Build status unknown
KurrentDB.BufferManagement (Production)src/KurrentDB.BufferManagement/KurrentDB.BufferManagement.csproj
KurrentDB.BufferManagement.Tests (Test)src/KurrentDB.BufferManagement.Tests/KurrentDB.BufferManagement.Tests.csproj
KurrentDB.Projections.V1.Tests (Test)src/KurrentDB.Projections.V1.Tests/KurrentDB.Projections.V1.Tests.csproj

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

✓ On the Gold path — maintain.

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

D26 · Project Cohesion8.3 / 10Strong✓ Tool-verified

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

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

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

8 of 92 projects flagged as possibly oversized/incoherent.

Large project: KurrentDB.Core · ×8

What to do

  1. Resolve the 8 Large project finding(s) in Project Cohesion. — One of this dimension's main actionable groups (8 recommendation-level).

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

D27 · Navigability7.4 / 10Strong✓ Tool-verified

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

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

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

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

67 % of calls cross a namespace and 3 % go through an interface, but 80 % of collaborators are co-located — so following a call takes several hops. Baseline: large — vertical-slice locality expected.

What to do

  1. Improve Navigability — currently 7.4/10. — 67 % of calls cross a namespace and 3 % go through an interface, but 80 % of collaborators are co-located — so following a call takes several hops. Baseline: large — vertical-slice locality expected.

Detailed fixes: d27_recommendation.md.

D28 · Secrets (history)8.0 / 10Strong✓ Tool-verified

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

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

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

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

Secret: generic-api-key · ×2src/EventStore.Core/Certificates/CertificateUtils.cs:57detected by gitleaks finding
Rotate the exposed credentials — git history can't be un-committed

What to do

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

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

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

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

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

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

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

semgrep found no security issues.

✓ On the Gold path — maintain.

Detailed fixes: d29_recommendation.md.

D30 · Dependency Vulnerabilities9.4 / 10Exemplary✓ Tool-verified

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

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

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

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

High CVE: SQLitePCLRaw.lib.e_sqlite3 2.1.11detected by dotnet list package --vulnerable

✓ On the Gold path — maintain.

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

D31 · IaC & Container Security9.7 / 10Exemplary✓ Tool-verified

What it measures: Whether Dockerfiles / Terraform / Kubernetes config follow security best practices.

Method: IaC/container misconfiguration scan via trivy config (Dockerfile/Terraform/K8s/Helm/CloudFormation); severity rules to 0-10 moderate normalizer. NotApplicable without manifests. Exhaustive, deterministic.

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

1 finding(s): 0 critical, 1 high, 0 medium, 0 low.

High IaC: DS-0029Dockerfiledetected by trivy finding

✓ On the Gold path — maintain.

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

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

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

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

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

No known-vulnerable JS/npm dependencies.

✓ On the Gold path — maintain.

Detailed fixes: d33_recommendation.md.

D36 · Supply-chain Provenance & Signing0.0 / 10Critical✓ Tool-verified

What it measures: Whether the build pipeline provides supply-chain integrity — generated provenance/attestation, signed artifacts (cosign/sigstore), an SBOM, and pinned build actions. Presence of the configuration, not a runtime guarantee.

Method: Supply-chain provenance/signing read deterministically from CI/build config (.github/workflows, .gitlab-ci.yml, azure-pipelines, Jenkinsfile, .circleci) + the release surface: four signals — generated provenance/attestation (SLSA/in-toto/actions-attest), artifact signing (cosign/sigstore/gitsign), an SBOM (syft/sbom-action/*.spdx.json/*.cdx.json), and SHA-pinned build actions — scored 10·present/denom. NotApplicable without a build pipeline. Detects configuration presence, not runtime enforcement.

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

0/4 supply-chain integrity signals present (provenance, signing, SBOM, pinned actions).

Unpinned build actions
No build provenance
No artifact signing
No SBOM

What to do

  1. Resolve the 1 Unpinned build actions finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 warning-level).
  2. Resolve the 1 No build provenance finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 recommendation-level).
  3. Resolve the 1 No artifact signing finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 recommendation-level).

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

D37 · Vulnerability-disclosure Policy10.0 / 10Exemplary✓ Tool-verified

What it measures: Whether the repository publishes a coordinated-vulnerability-disclosure policy (SECURITY.md or security.txt) with a reporting contact, so finders know how to report a vulnerability. Presence of a policy file with a contact, not whether the policy is adequate or honoured.

Method: Vulnerability-disclosure policy read deterministically from the repo: a SECURITY.md (root/.github/docs) or .well-known/security.txt / security.txt, regex-checked for a reporting contact (email / URL / mailto). Present + contact → 10; present without a contact → 4; NotApplicable when no policy file exists (it may live off-repo). Detects the policy file's presence + contact, not its adequacy.

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

A vulnerability-disclosure policy (SECURITY.md) is published with a reporting contact.

✓ On the Gold path — maintain.

Detailed fixes: d37_recommendation.md.

D38 · OSV Dependency Vulnerabilities10.0 / 10Exemplary○ Nothing flagged

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

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

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

No known-vulnerable dependencies (OSV).

✓ On the Gold path — maintain.

Detailed fixes: d38_recommendation.md.

Frontend & cross-cutting dimensions

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

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

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

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

AC3 · Page structure5.1 / 10Adequate✓ Tool-verified

Other · Accessibility — Whether pages declare a language and title, expose a main landmark and a sane heading order, keep zoom enabled, title their iframes and avoid meta-refresh. Static markup readiness, not a WCAG conformance claim.

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

  • No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>. (×2) — NOTICE.html:2, index.html:1
  • A page with no <title> gives no name in the tab, history or screen-reader page list. Add a descriptive <title> in <head>. — App.razor:0

What to do

  • Declare <html lang>, a document <title> and a <main> landmark, keep headings in order, leave zoom enabled, title iframes and drop meta-refresh.
AC4 · Keyboard semantics1.0 / 10Critical✓ Tool-verified

Other · Accessibility — Whether interactive behaviour is keyboard-reachable — no click handler on a non-interactive element lacking a role, tabindex and key handler, no positive tabindex, no href-less anchor. Static markup readiness, not a WCAG conformance claim.

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

  • An <a> with no href, role or tabindex isn't focusable or keyboard-activatable. Give it a real href, or use a <button> for an action. — MainLayout.razor:40
  • A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabindex="0" + a key handler. (×8) — Query.razor:55, Query.razor:56, Query.razor:87, …

What to do

  • Make custom controls keyboard-operable (role + tabindex + key handler), drop positive tabindex, and give anchors a real href.
AC6 · Visual & motion safety10.0 / 10Exemplary○ Nothing flagged

Other · Accessibility — Whether focus outlines aren't removed without a replacement, motion respects prefers-reduced-motion, and literal CSS colour pairs meet contrast — PARTIAL: only inline styles and in-repo CSS literals are visible, never computed or runtime colour. Static markup readiness, not a WCAG conformance claim.

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

AC7 · A11y enforcement4.0 / 10Weak✓ Tool-verified

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

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

  • No accessibility enforcement found — no a11y linter (eslint-plugin-jsx-a11y / vuejs-accessibility) and no axe/pa11y/Lighthouse in tests or CI. Start with the linter to catch issues at author time.

What to do

  • Enforce accessibility in the toolchain: add eslint-plugin-jsx-a11y (or vuejs-accessibility), assert with jest-axe / playwright-axe in tests, then gate axe/pa11y/Lighthouse in CI.
AX1 · Captive dependencies10.0 / 10Exemplary✓ Tool-verified

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

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

AX10 · Code composition8.7 / 10Strong✓ Tool-verified

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

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

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

What to do

  • The domain core is a small share of production code — check that business logic isn't leaking into the application/infrastructure layers (a thin domain is the anemic-domain smell).
AX2 · Stateful singletons6.3 / 10Adequate✓ Tool-verified

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

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

  • `MonitoringService` is a singleton (one shared instance) but mutates instance state outside any lock (_lastTime, _lastTotalProcessorTime, _curTime, _curTotalProcessorTime; e.g. `_lastTime` at line 19). — MonitoringService.cs:9
  • `UserIndexEngine` is a singleton (one shared instance) but mutates instance state outside any lock (_lastAppendedRecordPosition, _lastAppendedRecordTimestamp; e.g. `_lastAppendedRecordPosition` at line 119). — UserIndexEngine.cs:25
  • `FlightSqlLicense` is a singleton (one shared instance) but mutates instance state outside any lock (_licensed; e.g. `_licensed` at line 12). — FlightSqlLicense.cs:6
  • `DefaultIndexProcessor` is a singleton (one shared instance) but mutates instance state outside any lock (_committing; e.g. `_committing` at line 161). — DefaultIndexProcessor.cs:30

What to do

  • Keep singletons stateless or back their state with thread-safe types (Concurrent*/Immutable*); otherwise concurrent callers race.
AX3 · Project dependency cycles10.0 / 10Exemplary✓ Tool-verified

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

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

AX4 · Dependency direction10.0 / 10Exemplary✓ Tool-verified

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

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

AX5 · Architecture & structure10.0 / 10Exemplary✓ Tool-verified

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

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

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

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

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

  • `IQuerySources` declares 34 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. — IQuerySources.cs:6
  • `IHttpRequest` 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. — IHttpRequest.cs:12
  • `IHttpResponse` declares 16 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. — IHttpResponse.cs:8
  • `IMonitoredTcpConnection` declares 28 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. — IMonitoredTcpConnection.cs:8
  • `ITcpConnection` declares 22 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. — ITcpConnection.cs:11

What to do

  • Split fat interfaces into focused role-interfaces so clients depend only on what they use.
C1 · Data Protection5.5 / 10Adequate✓ Tool-verified

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

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

What to do

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

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

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

C4 · Data Retention10.0 / 10Exemplary✓ Tool-verified

Other · Security — Whether data has a defined lifetime — retention periods, TTLs, cleanup jobs (storage limitation).

Method: Roslyn scan: retention/TTL configuration presence in schema; CascadeDelete detected but not scored as retention control. Deterministic, gated by PII presence.

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

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

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

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

DM4 · Rich vs anemic model3.0 / 10Weak✓ Tool-verified

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

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

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

What to do

  • Some domain entities expose no public data and no behaviour, so they don't count as 'rich' — give each aggregate/entity the state-changing methods that enforce its invariants, or reclassify pure marker/value types out of the entity set.
DM5 · Encapsulated state10.0 / 10Exemplary✓ Tool-verified

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

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

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

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

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

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

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

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

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

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

GD1 · Unfinished & placeholder code9.9 / 10Exemplary✓ Tool-verified

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

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

  • A shipped member still throws NotImplementedException — generated scaffolding that was never completed. Implement it or remove the dead surface. (×25) — IClient.cs:87, IClient.cs:91, IClient.cs:95, …

What to do

  • Finish or delete NotImplementedException stubs and replace placeholder literals before shipping.
IC1 · Incompleteness & stubs4.7 / 10Weak✓ Tool-verified

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

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

  • `DecodeLegacySettings` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — SerilogSink.cs:107
  • `StopAsync` looks like it should compute a result but its body just returns a constant — a placeholder return that was never filled in. (×3) — SchemaRegistryStartupTask.cs:35, PublicTcpApiTestService.cs:101, LicenseTelemetryService.cs:49
  • `OnError` takes parameters but its body is empty — it accepts inputs and does nothing. Either implement it or remove it. (×2) — AnotherGenericListener.cs:48, GenericDiagnosticsListener.cs:79
  • `OnLicenseError` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — ConnectorsLicenseService.cs:78
  • `Read` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. — EventJsonConverter.cs:10
  • `LoadStateAsync` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — AutoScavengeProcessManager.cs:230
  • `GetScavengeStatusFromStream` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — HttpNodeScavenger.cs:121
  • `ReadConfigurationEvent` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — ClientSource.cs:26
  • `ReadAutoScavengeEvents` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — ClientSource.cs:49
  • `IsTrusted` looks like it should compute a result but its body just returns a constant — a placeholder return that was never filled in. — UnixCertificateManager.cs:21
  • `Handle` takes parameters but its body is empty — it accepts inputs and does nothing. Either implement it or remove it. (×2) — FakeCollectingQueuedHandler.cs:15, NoopConsumer.cs:10
  • `Consume` takes parameters but its body is empty — it accepts inputs and does nothing. Either implement it or remove it. — TestHelper.cs:7
  • `PublicTcpApiTestService` has 2 unfinished members out of 4 — a scaffolded type that was never implemented. — PublicTcpApiTestService.cs:22
  • `StartAsync` looks like it should compute a result but its body just returns a constant — a placeholder return that was never filled in. (×2) — PublicTcpApiTestService.cs:99, WorkspaceLifecycleManager.cs:34
  • `Init` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. — FakeReadIndex.cs:44
  • `Commit` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. (×2) — FakeReadIndex.cs:48, FakeReadIndex.cs:52
  • `GetStatistics` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. — FakeReadIndex.cs:56
  • `CheckStreamAccess` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. — FakeReadIndex.cs:126
  • `GetStreamId` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. — FakeReadIndex.cs:133
  • `Close` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. — FakeReadIndex.cs:140
  • `Dispose` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. — FakeReadIndex.cs:144
  • `Streams` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — StreamsTool.cs:19
  • `GetDriveSectorSize` looks like it should compute a result but its body just returns a constant — a placeholder return that was never filled in. — NativeFileUnix.cs:17
  • `None` has 9 unfinished members out of 9 — a scaffolded type that was never implemented. — IClient.cs:85

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)7.5 / 10Strong✓ Tool-verified

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

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

What to do

  • Add an 'Architecture' / 'How it works' section to the root README — the high-level shape.
  • Add a README to the 86 of 92 project(s) that lack one — worth up to 1.9 pts.
M2 · Architecture documentation5.0 / 10Adequate✓ Tool-verified

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

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

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

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

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

  • Test projects aren't grouped under a tests/ folder — the test surface isn't separable from production code at a glance.

What to do

  • Group test projects under tests/ (or test/, spec/) so the test surface is discoverable and CI can scope it.
P1 · CI/CD gates10.0 / 10Exemplary○ Nothing flagged

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

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

P2 · Observability8.2 / 10Strong✓ Tool-verified

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

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

  • Only 35/48 service-like projects use logging (pure contract/DTO projects are excluded — they have nothing to log).

What to do

  • Extend structured logging to the remaining service-like projects so the whole executable surface is diagnosable in production.
  • Add a health-check endpoint (AddHealthChecks/MapHealthChecks) so orchestrators and load balancers can probe liveness/readiness.
P3 · Security & performance tooling1.0 / 10Critical✓ Tool-verified

Readiness · Readiness — Whether SAST, secret/dependency scanning and performance benchmarking are wired in (presence, not runtime).

Method: Filesystem/Roslyn scan: CodeQL, Dependabot, secret-scanning, and BenchmarkDotNet presence in pipelines and projects. Exhaustive, deterministic.

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

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

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

  • Deployment automation exists but no readiness/liveness probes, rolling-update strategy, lifecycle hooks or migration job were evidenced — a bad release is harder to detect and reverse.

What to do

  • Add readiness/liveness probes and a rolling-update (or blue/green) strategy so a bad release is caught and rolled back automatically.
  • Add an approval/environment gate (required reviewers / protection rules) before production promotion.
P5 · DR & Backup10.0 / 10Exemplary✓ Tool-verified

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

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

P6 · Release Hygiene10.0 / 10Exemplary✓ Tool-verified

Readiness · Readiness — Whether releases are traceable — a maintained changelog and explicit version stamping.

Method: Filesystem scan: changelog file presence and version tags in csproj or git tags. Exhaustive, deterministic.

P7 · Outbound HTTP resilience10.0 / 10Exemplary○ Nothing flagged

Readiness · Readiness — Whether outbound HTTP calls are wrapped in resilience (retry/timeout/circuit-breaker) so a failing dependency doesn't cascade.

Method: Roslyn scan: Polly resilience markers (Retry, CircuitBreaker, Timeout) on outbound HTTP invocations. Computed per type, deterministic.

PF1 · Benchmark discipline9.0 / 10Exemplary✓ Tool-verified

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

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

PF2 · Allocation hygiene10.0 / 10Exemplary✓ Tool-verified

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

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

PF3 · Async & latency hygiene6.0 / 10Adequate✓ Tool-verified

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

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

  • 50 blocking call(s) on async work (.Wait()/.GetAwaiter().GetResult()) — these waste a thread and can deadlock in a consumer with a synchronization context.

What to do

  • Make the call chain async end-to-end and await it — never block on a Task with .Wait()/.GetAwaiter().GetResult() in library code.
S1 · Web-Security Posture6.0 / 10Adequate✓ Tool-verified

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

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

  • No Content-Security-Policy / X-Frame-Options / X-Content-Type-Options configuration found — defense in depth, even when a reverse proxy could set them. (−2.0 on this card.)
  • No UseHttpsRedirection/UseHsts and no reverse-proxy signal — transport security is unverified at the app layer. (−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.
  • Enforce HTTPS at the app layer (UseHttpsRedirection / UseHsts) — only skip this if a reverse proxy demonstrably terminates TLS.
X1 · Async correctness5.2 / 10Adequate✓ Tool-verified

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

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

  • Blocking on a Task with `.Wait()`/`.GetAwaiter().GetResult()` can deadlock (and wastes a thread). Make the caller `async` and `await` instead. (×25) — QueueBenchmarks.cs:51, QueueBenchmarks.cs:59, SystemProducer.cs:87, …

What to do

  • Sync-over-async (deadlock risk)
X2 · Cancellation propagation7.5 / 10Strong✓ Tool-verified

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

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

  • Only 188/324 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) — ConnectorsTests.cs:17, ConnectorsTests.cs:40, ConnectorsTests.cs:63, …

What to do

  • Thread a CancellationToken through async methods so work stops promptly on cancellation.
X3 · Exception handling7.7 / 10Strong✓ Tool-verified

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

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

  • 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. (×5) — CertificateManager.cs:653, MacOSCertificateManager.cs:180, Helper.cs:17, …

What to do

  • Swallowed exception (empty catch)
X4 · Structured logging7.8 / 10Strong✓ Tool-verified

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

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

  • Logging an interpolated string (`$"..."`) collapses the event to plain text — you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: `LogInformation("User {UserId} did {Action}", id, action)`. (×2) — OAuthAuthenticationPlugin.cs:305, OAuthAuthenticationPlugin.cs:367

What to do

  • Interpolated log message defeats structured logging
X5 · Nullable reference types5.9 / 10Adequate✓ Tool-verified

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

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

  • 29/55 projects enable <Nullable>enable</Nullable>. NRTs catch a whole class of null-deref bugs at compile time.
  • ~0.6 `!` suppressions per 1k syntax nodes — each one tells the compiler to trust you about null, suppressing the very safety NRTs provide.

What to do

  • Enable <Nullable>enable</Nullable> across all projects and resolve warnings rather than suppressing with `!`.

WCAG coverage — what static analysis assessed

Statically assessed 13 of 55 WCAG 2.2 Level A/AA success criteria — partial signal only (a clean result is necessary, not sufficient; static analysis fully verifies none). This is accessibility readiness, not a conformance claim — a WCAG conformance claim requires manual evaluation (WCAG-EM 1.0).

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

Reference — by lens

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

LensScoreRatingImpact
Code Health61%AdequateAcceptable, with room to improve.
Architecture83%StrongStrongest area.
Maturity71%StrongSolid.
Readiness58%Adequate — gated by P3Capped at Fair by a Critical contributor — resolve it before relying on this lens.
Security72%Adequate — gated by D36Capped at Fair by a Critical contributor — resolve it before relying on this lens.
Domain Modelling74%Adequate — gated by DM4Capped at Fair by a Critical contributor — resolve it before relying on this lens.
Accessibility47%Weak — gated by AC4Capped at Fair by a Critical contributor — resolve it before relying on this lens.
Performance79%StrongSolid.
Not included — 29 check(s) not relevant to this codebase

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

  • AC2 Forms & labels — No form control/button found in the parsed markup — AC2 not applicable here.
  • AC5 ARIA correctness — No ARIA usage found in the parsed markup — AC5 not applicable here.
  • AX7 Slice cohesion — not applicable — not a vertical-slice architecture
  • AX8 Test isolation — no test/production split to check
  • AX9 CQS / query purity — no CQRS query handlers detected — query purity is not applicable to this codebase
  • 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.
  • C5 Data-Subject Rights — Repo shows no corroborated data-subject-rights mechanism (erasure / export-portability / consent) tied to a subject id or GDPR vocabulary — absence of evidence is not evidence of a working control. Implement erasure, data export/portability and consent tracking over the subject's records.
  • D11 Test Reliability — No tests discovered
  • D16 Bus Factor — single-maintainer — knowledge-concentration (bus factor) risk
  • D23 Boundary Type-Coupling — Bounded contexts not declared
  • D32 Data Compliance (PII/GDPR) — Not applicable
  • D34 Knowledge Freshness — early-stage repository — too little history to judge knowledge freshness
  • D35 Change Coupling — no production change history to mine for change-coupling
  • D39 IL Efficiency — IL metrics not applicable
  • D7 Architectural Integrity — No checkable ADRs to assess
  • D8 Code Coverage — Coverage not measured
  • DM2 Strongly-typed ids — no id-bearing domain types detected — strongly-typed-id adoption not assessable
  • DM3 Integration-event coupling — no integration events detected — coupling check not applicable
  • DM7 Repository granularity — no repository abstraction detected (e.g. uses a document session)
  • ED1 Event-Driven — not run — only 1/3 markers (9 event handler(s))
  • ED5 Idempotency — no mutating command handlers or message consumers detected — idempotency check not applicable
  • ES1 Event Sourcing — applicable but skipped (2/3 markers — below the conservative bar): an event-store package (Marten/EventStore); an append-only event-store seam (IEventStore/Append-of-events)
  • M4 Documentation accuracy — LLM not available — accuracy is the Tier-2 layer and needs a reachable model.
  • P12 CI test-gate honesty — no data
  • P8 Schema migrations — no EF Core usage detected
  • P9 Domain vs controller coverage — no coverage report found on disk — run tests with `--collect:"XPlat Code Coverage"` (or in CI) to enable this cross-layer check
  • X6 Hand-rolled structured-format parsing — no data
  • X7 Silent fallback defaults — no data
  • X8 JS interop contract — no data

Appendix A — Findings (grouped)

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

Issue — 197 finding(s)
D10 · Test Quality · No assertions · ×169
  • No assertions: can_create_a_connector_with_settings src/KurrentDB.Ammeter/ConnectorsTests.cs:17 — Test method has no assertions — it may not test anything.
  • No assertions: can_create_a_connector_with_configuration src/KurrentDB.Ammeter/ConnectorsTests.cs:40 — Test method has no assertions — it may not test anything.
  • No assertions: can_delete_a_connector src/KurrentDB.Ammeter/ConnectorsTests.cs:175 — Test method has no assertions — it may not test anything.
  • No assertions: DummyTest src/KurrentDB.Api.V2.Tests/DummyTests.cs:8 — Test method has no assertions — it may not test anything.
  • No assertions: logging_configured src/KurrentDB.Api.V2.Tests/TestEnvironmentWireUpTests.cs:11 — Test method has no assertions — it may not test anything.
  • No assertions: logs_are_scoped_to_test src/KurrentDB.Api.V2.Tests/TestEnvironmentWireUpTests.cs:26 — Test method has no assertions — it may not test anything.
  • No assertions: ShouldAccessConfigureEndpoint src/KurrentDB.AutoScavenge.Tests/PluginTests.cs:114 — Test method has no assertions — it may not test anything.
  • No assertions: ShouldAccessPauseEndpoint src/KurrentDB.AutoScavenge.Tests/PluginTests.cs:137 — Test method has no assertions — it may not test anything.
  • No assertions: ShouldAccessResumeEndpoint src/KurrentDB.AutoScavenge.Tests/PluginTests.cs:157 — Test method has no assertions — it may not test anything.
  • No assertions: empty_grant_types_does_not_throw src/KurrentDB.Auth.OAuth.Tests/DiscoveryDocumentValidatorTests.cs:94 — Test method has no assertions — it may not test anything.
  • No assertions: disable_pkce_validation_skips_code_challenge_check src/KurrentDB.Auth.OAuth.Tests/DiscoveryDocumentValidatorTests.cs:128 — Test method has no assertions — it may not test anything.
  • No assertions: disable_pkce_validation_skips_s256_check src/KurrentDB.Auth.OAuth.Tests/DiscoveryDocumentValidatorTests.cs:137 — Test method has no assertions — it may not test anything.
  • No assertions: when_the_default_policy_write_request_is_not_handled_and_cannot_be_retried src/KurrentDB.Auth.StreamPolicyPlugin.Tests/StreamPolicyWriterTests.cs:79 — Test method has no assertions — it may not test anything.
  • No assertions: when_the_default_policy_write_request_fails_and_cannot_be_retried src/KurrentDB.Auth.StreamPolicyPlugin.Tests/StreamPolicyWriterTests.cs:130 — Test method has no assertions — it may not test anything.
  • No assertions: has_parameterless_constructor src/KurrentDB.Auth.UserCertificates.Tests/UserCertificatesPluginTests.cs:36 — Test method has no assertions — it may not test anything.
  • No assertions: stops_gracefully_when_waiting_for_leadership_and_service_is_stopped src/Connectors/KurrentDB.Connectors.Tests/System/LeaderNodeBackgroundServiceTests.cs:144 — Test method has no assertions — it may not test anything.
  • No assertions: stops_gracefully_when_waiting_for_leadership_and_stopping_token_is_cancelled src/Connectors/KurrentDB.Connectors.Tests/System/LeaderNodeBackgroundServiceTests.cs:201 — Test method has no assertions — it may not test anything.
  • No assertions: should_accept_a_checked_out_buffer src/KurrentDB.BufferManagement.Tests/BufferManagerTests.cs:84 — Test method has no assertions — it may not test anything.
  • No assertions: should_not_throw_exception_when_server_is_down src/KurrentDB.Core.Tests/ClientAPI/connect.cs:26 — Test method has no assertions — it may not test anything.
  • No assertions: should_timeout_connection_after_configured_amount_time_on_conenct src/KurrentDB.Core.Tests/ClientAPI/connect.cs:115 — Test method has no assertions — it may not test anything.
  • No assertions: should_not_throw_when_connect_to_is_set src/KurrentDB.Core.Tests/ClientAPI/connecting_with_connection_string.cs:31 — Test method has no assertions — it may not test anything.
  • No assertions: the_completion_succeeds src/KurrentDB.Core.Tests/ClientAPI/create_persistent_subscription.cs:27 — Test method has no assertions — it may not test anything.
  • No assertions: the_completion_succeeds src/KurrentDB.Core.Tests/ClientAPI/create_persistent_subscription.cs:46 — Test method has no assertions — it may not test anything.
  • No assertions: the_subscription_is_created_without_error src/KurrentDB.Core.Tests/ClientAPI/create_persistent_subscription.cs:113 — Test method has no assertions — it may not test anything.
  • No assertions: the_completion_succeeds src/KurrentDB.Core.Tests/ClientAPI/create_persistent_subscription.cs:156 — Test method has no assertions — it may not test anything.
  • + 144 more in this group — see findings.md.
D17 · Explicit Debt · NoWarnInCsproj · ×19
  • NoWarnInCsproj src/KurrentDB.TestClient/KurrentDB.TestClient.csproj:8 — 1701
  • NoWarnInCsproj src/KurrentDB.TestClient/KurrentDB.TestClient.csproj:8 — 1702
  • NoWarnInCsproj src/KurrentDB.TestClient/KurrentDB.TestClient.csproj:8 — 1591
  • NoWarnInCsproj src/KurrentDB.Surge.Tests/KurrentDB.Surge.Tests.csproj:5 — xUnit1041
  • NoWarnInCsproj src/KurrentDB.Surge.Tests/KurrentDB.Surge.Tests.csproj:5 — xUnit1051
  • NoWarnInCsproj src/KurrentDB.Surge.Testing/KurrentDB.Surge.Testing.csproj:12 — xUnit1041
  • NoWarnInCsproj src/KurrentDB.SecondaryIndexing/KurrentDB.SecondaryIndexing.csproj:8 — DuckDBNET001
  • NoWarnInCsproj src/KurrentDB.SecondaryIndexing.LoadTesting/KurrentDB.SecondaryIndexing.LoadTesting.csproj:8 — CS7022
  • NoWarnInCsproj src/KurrentDB.Plugins.Kontext/KurrentDB.Plugins.Kontext.csproj:7 — NU1904
  • NoWarnInCsproj src/KurrentDB.Plugins.Kontext.Tests/KurrentDB.Plugins.Kontext.Tests.csproj:11 — NU1904
  • NoWarnInCsproj src/KurrentDB.Kontext.Tests/KurrentDB.Kontext.Tests.csproj:11 — NU1904
  • NoWarnInCsproj src/Connectors/KurrentDB.Connectors/KurrentDB.Connectors.csproj:13 — CS1591
  • NoWarnInCsproj src/Connectors/KurrentDB.Connectors/KurrentDB.Connectors.csproj:13 — CS1998
  • NoWarnInCsproj src/Connectors/KurrentDB.Connectors/KurrentDB.Connectors.csproj:13 — CS8618
  • NoWarnInCsproj src/Connectors/KurrentDB.Connectors/KurrentDB.Connectors.csproj:13 — CS8524
  • NoWarnInCsproj src/Connectors/KurrentDB.Connectors/KurrentDB.Connectors.csproj:13 — CS8655
  • NoWarnInCsproj src/Connectors/KurrentDB.Connectors/KurrentDB.Connectors.csproj:13 — RCS1194
  • NoWarnInCsproj src/Connectors/KurrentDB.Connectors.Tests/KurrentDB.Connectors.Tests.csproj:5 — xUnit1041
  • NoWarnInCsproj src/Connectors/KurrentDB.Connectors.Tests/KurrentDB.Connectors.Tests.csproj:5 — xUnit1051
D17 · Explicit Debt · EmptyCatchBlock · ×5
  • EmptyCatchBlock src/KurrentDB.Common/DevCertificates/CertificateManager.cs:653 — empty catch block
  • EmptyCatchBlock src/KurrentDB.Common/DevCertificates/MacOSCertificateManager.cs:180 — empty catch block
  • EmptyCatchBlock src/KurrentDB.Common/Utils/Helper.cs:17 — empty catch block
  • EmptyCatchBlock src/KurrentDB.Common/Utils/Helper.cs:24 — empty catch block
  • EmptyCatchBlock src/KurrentDB.Transport.Tcp/Helper.cs:13 — empty catch block
D28 · Secrets (history) · Secret · ×2
  • Secret: generic-api-key src/EventStore.Core/Certificates/CertificateUtils.cs:57 — matched rule 'generic-api-key'
  • Secret: generic-api-key src/KurrentDB.Core/Certificates/CertificateUtils.cs:55 — matched rule 'generic-api-key'
D30 · Dependency Vulnerabilities · High CVE · ×1
  • High CVE: SQLitePCLRaw.lib.e_sqlite3 2.1.11 — SQLitePCLRaw.lib.e_sqlite3 2.1.11 (transitive) has a High advisory; affects 54 projects — one upgrade fixes all. https://github.com/advisories/[GHSA redacted]
D31 · IaC & Container Security · High IaC · ×1
  • High IaC: DS-0029 Dockerfile — 'apt-get' missing '--no-install-recommends'
Warning — 657 finding(s)
D17 · Explicit Debt · TodoComment · ×240
  • TodoComment src/KurrentDB.Common/DevCertificates/CertificateManager.cs:434 — // TODO: cleanup cast: https://github.com/dotnet/aspnetcore/issues/41455 — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • TodoComment src/KurrentDB.Common/DevCertificates/CertificateManager.cs:444 — // TODO: cleanup cast: https://github.com/dotnet/aspnetcore/issues/41455 — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • TodoComment src/KurrentDB.Common/DevCertificates/CertificateManager.cs:450 — // TODO: cleanup cast: https://github.com/dotnet/aspnetcore/issues/41455 — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • TodoComment src/KurrentDB.Common/Utils/HostName.cs:22 — //TODO: encode??? — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • TodoComment src/KurrentDB.Common/Utils/LowAllocReadOnlyMemory.cs:22 — // todo: consider union — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • TodoComment src/KurrentDB.Core/Authentication/InternalAuthentication/UserManagementService.cs:438 — //TODO: avoid 'is' — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • TodoComment src/KurrentDB.Core/Authorization/AuthorizationPolicies/IPolicySelectorFactory.cs:9 — // TODO: Move this to EventStore.Plugins when we're decoupling the StreamPolicies Plugin — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • TodoComment src/KurrentDB.Core/Bus/Extensions/SystemClient.cs:205 — // todo: support other cases by checking that the expected version is — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • TodoComment src/KurrentDB.Core/Bus/ThreadPoolMessageScheduler.cs:130 — // TODO: We need to respect readiness barrier here and delay messages if the scheduler is not yet started — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • TodoComment src/KurrentDB.Core/Caching/CompositeCacheResizer.cs:85 — // todo: could consider taking into account capacity not used by children because — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • TodoComment src/KurrentDB.Core/Caching/IDynamicCache.cs:17 — // todo: hits and misses — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • TodoComment src/KurrentDB.Core/Cluster/EventStoreClusterClientCache.cs:20 — //TODO: Align with Gossip Dead Member Removal Time once the options is in ClusterNodeOptions — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • TodoComment src/KurrentDB.Core/ClusterVNode.cs:384 — //todo(clc) : promote these to file backed checkpoints re:project-io — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • TodoComment src/KurrentDB.Core/ClusterVNode.cs:1230 — //TODO CC can have multiple threads working on subscription if partition — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • TodoComment src/KurrentDB.Core/Configuration/ClusterVNodeOptions.cs:452 — // TODO SS: not sure if we should do this here — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • TodoComment src/KurrentDB.Core/Configuration/Sources/KurrentDBDefaultValuesConfigurationSource.cs:24 — // todo: something more permanent. exclude GossipSeed default because it overrides gossip seeds specified as arrays — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • TodoComment src/KurrentDB.Core/DataStructures/ProbabilisticFilter/AlignedMemory.cs:22 — // todo probably better to use a safe handle — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • TodoComment src/KurrentDB.Core/DataStructures/ProbabilisticFilter/FileStreamPersistence.cs:245 — // todo later: maybe could be a common implementation across the strategies that reads — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • TodoComment src/KurrentDB.Core/DataStructures/ProbabilisticFilter/MemoryMappedFilePersistence.cs:44 — // todo: OpenOrCreate can be CreateNew if the mininode closed the file before declaring itself 'stopped' — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • TodoComment src/KurrentDB.Core/DataStructures/ProbabilisticFilter/MemoryMappedFilePersistence.cs:91 — // todo later: maybe could be a common implementation across the strategies that reads — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • TodoComment src/KurrentDB.Core/DataStructures/ProbabilisticFilter/PersistentBloomFilter.cs:131 — // todo: confirm is this is true on ARM — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • TodoComment src/KurrentDB.Core/Helpers/ReadStreamEventsBackwardHandlers.cs:62 — // todo: move away from this and towards bespoke implementations (like AuthReadResponseHandler) to avoid having to — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • TodoComment src/KurrentDB.Core/Index/PTable.cs:1027 — // todo: else if the requested start version is less than or equal to what we have in this ptable — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • TodoComment src/KurrentDB.Core/LogAbstraction/INameIndexExtensions.cs:10 — // todo: rename to GetOrReserveStream when we generalise to EventTypes too. — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • TodoComment src/KurrentDB.Core/Messages/ClientMessage.cs:287 — // TODO: use .Span instead of .ToArray() when we move to .NET 10 — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • + 215 more in this group — see findings.md.
D6 · Cohesion (LCOM4) · Low cohesion · ×61
  • Low cohesion: FakeReadIndex (LCOM4 27) src/KurrentDB.Core.Testing/TransactionLog/FakeReadIndex.cs:18 — FakeReadIndex's methods form 27 groups that share no state and don't call each other — a sign it may have several responsibilities. Review whether it splits into focused classes.
  • Low cohesion: ByCorrelationId (LCOM4 12) src/KurrentDB.Projections.V1/Standard/ByCorrelationId.cs:18 — ByCorrelationId's methods form 12 groups that share no state and don't call each other — a sign it may have several responsibilities. Review whether it splits into focused classes.
  • Low cohesion: IndexEventsByEventType (LCOM4 12) src/KurrentDB.Projections.V1/Standard/IndexEventsByEventType.cs:15 — IndexEventsByEventType's methods form 12 groups that share no state and don't call each other — a sign it may have several responsibilities. Review whether it splits into focused classes.
  • Low cohesion: CheckpointTag (LCOM4 11) src/KurrentDB.Projections.Shared/Services/Processing/Checkpointing/CheckpointTag.cs:16 — CheckpointTag's methods form 11 groups that share no state and don't call each other — a sign it may have several responsibilities. Review whether it splits into focused classes.
  • Low cohesion: CategorizeEventsByStreamPath (LCOM4 11) src/KurrentDB.Projections.V1/Standard/CategorizeEventsByStreamPath.cs:15 — CategorizeEventsByStreamPath's methods form 11 groups that share no state and don't call each other — a sign it may have several responsibilities. Review whether it splits into focused classes.
  • Low cohesion: CategorizeStreamByPath (LCOM4 11) src/KurrentDB.Projections.V1/Standard/CategorizeStreamByPath.cs:14 — CategorizeStreamByPath's methods form 11 groups that share no state and don't call each other — a sign it may have several responsibilities. Review whether it splits into focused classes.
  • Low cohesion: SourceDefinitionBuilder (LCOM4 9) src/KurrentDB.Projections.Shared/Services/Processing/SourceDefinitionBuilder.cs:10 — SourceDefinitionBuilder's methods form 9 groups that share no state and don't call each other — a sign it may have several responsibilities. Review whether it splits into focused classes.
  • Low cohesion: ProjectionNamesBuilder (LCOM4 7) src/KurrentDB.Projections.Shared/Services/Processing/ProjectionNamesBuilder.cs:9 — ProjectionNamesBuilder's methods form 7 groups that share no state and don't call each other — a sign it may have several responsibilities. Review whether it splits into focused classes.
  • Low cohesion: WriteQueryResultProjectionProcessingPhaseBase (LCOM4 7) src/KurrentDB.Projections.V1/Services/Processing/Phases/WriteQueryResultProjectionProcessingPhaseBase.cs:16 — WriteQueryResultProjectionProcessingPhaseBase's methods form 7 groups that share no state and don't call each other — a sign it may have several responsibilities. Review whether it splits into focused classes.
  • Low cohesion: V1ProjectionProcessingStrategy (LCOM4 7) src/KurrentDB.Projections.V1/Services/Processing/Strategies/V1ProjectionProcessingStrategy.cs:17 — V1ProjectionProcessingStrategy's methods form 7 groups that share no state and don't call each other — a sign it may have several responsibilities. Review whether it splits into focused classes.
  • Low cohesion: SingleSourceDiagnosticsListener (LCOM4 7) src/KurrentDB.Plugins/Diagnostics/DiagnosticsListeners.cs:62 — SingleSourceDiagnosticsListener's methods form 7 groups that share no state and don't call each other — a sign it may have several responsibilities. Review whether it splits into focused classes.
  • Low cohesion: ChunkDataReadStream (LCOM4 7) src/KurrentDB.Plugins/Transforms/ChunkDataReadStream.cs:6 — ChunkDataReadStream's methods form 7 groups that share no state and don't call each other — a sign it may have several responsibilities. Review whether it splits into focused classes.
  • Low cohesion: SingleSourceDiagnosticsListener (LCOM4 7) src/Connectors/KurrentDB.Connectors/Infrastructure/Diagnostics/SingleSourceDiagnosticsListener.cs:11 — SingleSourceDiagnosticsListener's methods form 7 groups that share no state and don't call each other — a sign it may have several responsibilities. Review whether it splits into focused classes.
  • Low cohesion: ControlPlaneMetrics (LCOM4 7) src/Connectors/KurrentDB.Connectors/Planes/Control/Diagnostics/ControlPlaneMetrics.cs:9 — ControlPlaneMetrics's methods form 7 groups that share no state and don't call each other — a sign it may have several responsibilities. Review whether it splits into focused classes.
  • Low cohesion: IndexingStatus (LCOM4 7) src/KurrentDB.Kontext/Indexing/IndexingStatus.cs:9 — IndexingStatus's methods form 7 groups that share no state and don't call each other — a sign it may have several responsibilities. Review whether it splits into focused classes.
  • Low cohesion: UriTemplateDefaults (LCOM4 6) src/KurrentDB.NETCore.Compatibility/System.UriTemplate/UriTemplate.cs:794 — UriTemplateDefaults's methods form 6 groups that share no state and don't call each other — a sign it may have several responsibilities. Review whether it splits into focused classes.
  • Low cohesion: UriTemplatePathSegment (LCOM4 6) src/KurrentDB.NETCore.Compatibility/System.UriTemplate/UriTemplatePathSegment.cs:14 — UriTemplatePathSegment's methods form 6 groups that share no state and don't call each other — a sign it may have several responsibilities. Review whether it splits into focused classes.
  • Low cohesion: PositionTagger (LCOM4 6) src/KurrentDB.Projections.V1/Services/Processing/Checkpointing/PositionTagger.cs:8 — PositionTagger's methods form 6 groups that share no state and don't call each other — a sign it may have several responsibilities. Review whether it splits into focused classes.
  • Low cohesion: FeedElement (LCOM4 6) src/KurrentDB.Transport.Http/Atom/Feed.cs:14 — FeedElement's methods form 6 groups that share no state and don't call each other — a sign it may have several responsibilities. Review whether it splits into focused classes.
  • Low cohesion: RawMessageFormatter (LCOM4 6) src/KurrentDB.Transport.Tcp/Formatting/RawMessageFormatter.cs:12 — RawMessageFormatter's methods form 6 groups that share no state and don't call each other — a sign it may have several responsibilities. Review whether it splits into focused classes.
  • Low cohesion: ChunkDataStream (LCOM4 6) src/KurrentDB.Plugins/Transforms/ChunkDataStream.cs:8 — ChunkDataStream's methods form 6 groups that share no state and don't call each other — a sign it may have several responsibilities. Review whether it splits into focused classes.
  • Low cohesion: NonClosingStreamWrapper (LCOM4 6) src/KurrentDB.Security.EncryptionAtRest/Transforms/AesGcm/NonClosingStreamWrapper.cs:9 — NonClosingStreamWrapper's methods form 6 groups that share no state and don't call each other — a sign it may have several responsibilities. Review whether it splits into focused classes.
  • Low cohesion: UserIndexSql (LCOM4 6) src/KurrentDB.SecondaryIndexing/Indexes/User/UserIndexSql.cs:11 — UserIndexSql's methods form 6 groups that share no state and don't call each other — a sign it may have several responsibilities. Review whether it splits into focused classes.
  • Low cohesion: FakeCollectingQueuedHandler (LCOM4 6) src/KurrentDB.Core.Testing/Bus/Helpers/FakeCollectingQueuedHandler.cs:12 — FakeCollectingQueuedHandler's methods form 6 groups that share no state and don't call each other — a sign it may have several responsibilities. Review whether it splits into focused classes.
  • Low cohesion: ProjectionManagement (LCOM4 5) src/KurrentDB.Projections.Management/Services/Grpc/ProjectionManagement.cs:26 — ProjectionManagement's methods form 5 groups that share no state and don't call each other — a sign it may have several responsibilities. Review whether it splits into focused classes.
  • + 36 more in this group — see findings.md.
D17 · Explicit Debt · CommentedOutCode · ×43
  • CommentedOutCode src/KurrentDB.Common/Utils/FileStreamExtensions.cs:23 — 3 consecutive commented-code lines
  • CommentedOutCode src/KurrentDB.NETCore.Compatibility/System.UriTemplate/stubs/UrlUtility.cs:130 — 6 consecutive commented-code lines
  • CommentedOutCode src/KurrentDB.NETCore.Compatibility/System.UriTemplate/stubs/UrlUtility.cs:361 — 3 consecutive commented-code lines
  • CommentedOutCode src/KurrentDB.Surge.Testing/Fixtures/FastFixture.cs:60 — 6 consecutive commented-code lines
  • CommentedOutCode src/KurrentDB.Surge/Consumers/SystemConsumerBuilder.cs:39 — 3 consecutive commented-code lines
  • CommentedOutCode src/KurrentDB.Transport.Http/HttpResponse.cs:20 — 3 consecutive commented-code lines
  • CommentedOutCode src/KurrentDB.Api.V2/Modules/Streams/Validators/AppendRecordsRequestValidator.cs:37 — 4 consecutive commented-code lines
  • CommentedOutCode src/KurrentDB.Api.V2/Modules/Streams/Validators/AppendRecordValidator.cs:46 — 9 consecutive commented-code lines
  • CommentedOutCode src/KurrentDB.Testing/Toolkit/ToolkitTestEnvironment.cs:163 — 4 consecutive commented-code lines
  • CommentedOutCode src/Connectors/KurrentDB.Connectors/Infrastructure/System/SystemReadinessProbe.cs:72 — 3 consecutive commented-code lines
  • CommentedOutCode src/Connectors/KurrentDB.Connectors/Planes/Control/ConnectorsActivator.cs:147 — 3 consecutive commented-code lines
  • CommentedOutCode src/Connectors/KurrentDB.Connectors/Planes/Control/ConnectorsActivator.cs:151 — 3 consecutive commented-code lines
  • CommentedOutCode src/Connectors/KurrentDB.Connectors/Planes/Control/ConnectorsActivator.cs:155 — 3 consecutive commented-code lines
  • CommentedOutCode src/Connectors/KurrentDB.Connectors/Planes/Control/ConnectorsActivator.cs:159 — 3 consecutive commented-code lines
  • CommentedOutCode src/Connectors/KurrentDB.Connectors/Planes/Control/ConnectorsActivator.cs:163 — 3 consecutive commented-code lines
  • CommentedOutCode src/Connectors/KurrentDB.Connectors/Planes/Control/ConnectorsActivator.cs:167 — 3 consecutive commented-code lines
  • CommentedOutCode src/Connectors/KurrentDB.Connectors/Planes/Control/ConnectorsActivator.cs:184 — 4 consecutive commented-code lines
  • CommentedOutCode src/Connectors/KurrentDB.Connectors/Planes/Control/ConnectorsActivator.cs:189 — 4 consecutive commented-code lines
  • CommentedOutCode src/Connectors/KurrentDB.Connectors/Planes/Control/ConnectorsActivator.cs:194 — 4 consecutive commented-code lines
  • CommentedOutCode src/Connectors/KurrentDB.Connectors/Planes/Control/ConnectorsActivator.cs:199 — 4 consecutive commented-code lines
  • CommentedOutCode src/Connectors/KurrentDB.Connectors/Planes/Control/ConnectorsActivator.cs:204 — 4 consecutive commented-code lines
  • CommentedOutCode src/Connectors/KurrentDB.Connectors/Planes/Control/ConnectorsActivator.cs:209 — 4 consecutive commented-code lines
  • CommentedOutCode src/Connectors/KurrentDB.Connectors/Planes/Control/ConnectorsActivator.cs:222 — 8 consecutive commented-code lines
  • CommentedOutCode src/Connectors/KurrentDB.Connectors/Planes/Control/ConnectorsActivator.cs:242 — 4 consecutive commented-code lines
  • CommentedOutCode src/Connectors/KurrentDB.Connectors/Planes/Control/ConnectorsActivator.cs:267 — 3 consecutive commented-code lines
  • + 18 more in this group — see findings.md.
D17 · Explicit Debt · BarePragmaDisable · ×39
  • BarePragmaDisable src/KurrentDB.Common/Properties/JetbrainsAnnotations.cs:4 — #pragma warning disable 1591
  • BarePragmaDisable src/KurrentDB.Core/Authorization/LegacyStreamPermissionAssertion.cs:85 — #pragma warning disable CA2012
  • BarePragmaDisable src/KurrentDB.Core/Services/PersistentSubscription/PersistentSubscriptionService.cs:312 — #pragma warning disable 612
  • BarePragmaDisable src/KurrentDB.Core/Services/PersistentSubscription/PersistentSubscriptionService.cs:537 — #pragma warning disable 612
  • BarePragmaDisable src/KurrentDB.Core/Services/PersistentSubscription/PersistentSubscriptionService.cs:1232 — #pragma warning disable 612
  • BarePragmaDisable src/KurrentDB.Core/Services/Transport/Grpc/PersistentSubscriptions.Create.cs:45 — #pragma warning disable 612
  • BarePragmaDisable src/KurrentDB.Core/Services/Transport/Grpc/PersistentSubscriptions.Create.cs:67 — #pragma warning disable 612
  • BarePragmaDisable src/KurrentDB.Core/Services/Transport/Grpc/PersistentSubscriptions.Update.cs:52 — #pragma warning disable 612
  • BarePragmaDisable src/KurrentDB.Core/Services/Transport/Http/Authentication/PasswordChangeNotificationReader.cs:101 — #pragma warning disable 649
  • BarePragmaDisable src/KurrentDB.Core/Services/Transport/Http/Controllers/PersistentSubscriptionController.cs:521 — #pragma warning disable 612
  • BarePragmaDisable src/KurrentDB.Core/Services/Transport/Http/Controllers/PersistentSubscriptionController.cs:595 — #pragma warning disable 612
  • BarePragmaDisable src/KurrentDB.Core/Services/Transport/Http/Controllers/PersistentSubscriptionController.cs:621 — #pragma warning disable 612
  • BarePragmaDisable src/KurrentDB.Core/Services/Transport/Http/Controllers/PersistentSubscriptionController.cs:999 — #pragma warning disable 612
  • BarePragmaDisable src/KurrentDB.Core/Services/Transport/Http/Controllers/PersistentSubscriptionController.cs:1003 — #pragma warning disable 612
  • BarePragmaDisable src/KurrentDB.Core/Services/Transport/Http/Controllers/PersistentSubscriptionController.cs:1029 — #pragma warning disable 612
  • BarePragmaDisable src/KurrentDB.Core/Services/Transport/Http/Controllers/PersistentSubscriptionController.cs:1112 — #pragma warning disable 612
  • BarePragmaDisable src/KurrentDB.Core/Services/Transport/Http/Controllers/PersistentSubscriptionController.cs:1116 — #pragma warning disable 612
  • BarePragmaDisable src/KurrentDB.Core/Services/Transport/Http/Controllers/PersistentSubscriptionController.cs:1153 — #pragma warning disable 612
  • BarePragmaDisable src/KurrentDB.TestClient/Client.cs:12 — #pragma warning disable 1591
  • BarePragmaDisable src/KurrentDB.TestClient/ClientOptions.cs:12 — #pragma warning disable 1591
  • BarePragmaDisable src/KurrentDB.TestClient/CommandProcessorContext.cs:8 — #pragma warning disable 1591
  • BarePragmaDisable src/KurrentDB.TestClient/Commands/DvuBasic/BankAccountBasicProducer.cs:10 — #pragma warning disable 1591
  • BarePragmaDisable src/KurrentDB.TestClient/Commands/DvuBasic/IBasicProducer.cs:6 — #pragma warning disable 1591
  • BarePragmaDisable src/KurrentDB.TestClient/Commands/DvuBasic/Status.cs:6 — #pragma warning disable 1591
  • BarePragmaDisable src/KurrentDB.TestClient/ConsoleTable.cs:10 — #pragma warning disable 1591
  • + 14 more in this group — see findings.md.
D10 · Test Quality · Skipped test · ×17
  • Skipped test: exports_from_type src/SchemaRegistry/KurrentDB.SchemaRegistry.Tests/Modules/Schemas/Validation/SchemaExportTests.cs:14 — Skipped — temporary
  • Skipped test: construct_same_midpoint_indexes_for_any_combination_of_params_large src/KurrentDB.Core.Tests/Index/IndexV4/ptable_midpoint_calculations_should.cs:59 — Skipped — Long running
  • Skipped test: not_care_about_trailing_slash src/KurrentDB.Core.Tests/Services/Transport/Http/uri_router_should.cs:131 — Skipped — ignore
  • Skipped test: not_care_about_trailing_slash2 src/KurrentDB.Core.Tests/Services/Transport/Http/uri_router_should.cs:144 — Skipped — ignore
  • Skipped test: Test src/KurrentDB.Core.Tests/TransactionLog/FlushTimeMeter.cs:14 — Skipped — long running
  • Skipped test: can_initalize_during_merge src/KurrentDB.Core.XUnit.Tests/LogV2/LogV2StreamExistenceFilterInitializerTests.cs:158 — Skipped — manual
  • Skipped test: receives_deleted_notification src/KurrentDB.Projections.Management.Tests/ClientAPI/when_handling_deleted/with_from_all_foreach_projection/when_running_and_events_are_indexed.cs:52 — Skipped — Regression
  • Skipped test: receives_deleted_notification src/KurrentDB.Projections.Management.Tests/ClientAPI/when_handling_deleted/with_from_category_foreach_projection/recovery/when_running_and_events_are_indexed.cs:52 — Skipped — Regression
  • Skipped test: receives_deleted_notification src/KurrentDB.Projections.Management.Tests/ClientAPI/when_handling_deleted/with_from_category_foreach_projection/recovery/when_running_and_events_get_indexed_before_recovery.cs:48 — Skipped — Regression
  • Skipped test: receives_deleted_notification src/KurrentDB.Projections.Management.Tests/ClientAPI/when_handling_deleted/with_from_category_foreach_projection/when_running_and_events_are_indexed.cs:40 — Skipped — Regression
  • Skipped test: receives_deleted_notification src/KurrentDB.Projections.Management.Tests/ClientAPI/when_handling_deleted/with_from_category_foreach_projection/when_running_and_events_are_indexed_but_a_stream_and_tombstone_postponed.cs:57 — Skipped — Regression
  • Skipped test: receives_deleted_notification src/KurrentDB.Projections.Management.Tests/ClientAPI/when_handling_deleted/with_from_category_foreach_projection/when_running_and_events_are_indexed_but_tombstone.cs:41 — Skipped — Regression
  • Skipped test: receives_deleted_notification src/KurrentDB.Projections.Management.Tests/ClientAPI/when_handling_deleted/with_from_category_foreach_projection/when_running_and_events_are_indexed_including_tombstone.cs:43 — Skipped — Regression
  • Skipped test: receives_deleted_notification src/KurrentDB.Projections.Management.Tests/ClientAPI/when_handling_deleted/with_from_category_foreach_projection/when_running_and_then_other_events_tombstone_ant_other_events.cs:47 — Skipped — Regression
  • Skipped test: anonymous_cannot_retrieve_projection_query src/KurrentDB.Projections.Management.Tests/Services/projections_manager/runas/when_posting_a_transient_projection.cs:47 — Skipped — ignored
  • Skipped test: result_events_are_produced_for_each_received_event src/KurrentDB.Projections.V1.Tests/Services/core_projection/when_receiving_committed_events_the_projection_without_when.cs:103 — Skipped — To be fixed
  • Skipped test: delete_versions_successfully src/SchemaRegistry/KurrentDB.SchemaRegistry.Tests/Modules/Schemas/Domain/DeleteSchemaVersionsCommandTests.cs:18 — Skipped — Temporary
D5 · Coupling · Off the main sequence · ×12
  • Off the main sequence: KurrentDB.BufferManagement — KurrentDB.BufferManagement: abstractness 0.00, instability 0.00, distance 1.00 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: KurrentDB.LogCommon — KurrentDB.LogCommon: abstractness 0.00, instability 0.00, distance 1.00 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: KurrentDB.PluginHosting — KurrentDB.PluginHosting: abstractness 0.00, instability 0.00, distance 1.00 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: KurrentDB.SourceGenerators — KurrentDB.SourceGenerators: abstractness 0.00, instability 0.00, distance 1.00 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: KurrentDB.SystemRuntime — KurrentDB.SystemRuntime: abstractness 0.00, instability 0.00, distance 1.00 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: KurrentDB.UI — KurrentDB.UI: abstractness 0.00, instability 0.00, distance 1.00 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: KurrentDB.NETCore.Compatibility — KurrentDB.NETCore.Compatibility: abstractness 0.06, instability 0.00, distance 0.94 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: KurrentDB.Common — KurrentDB.Common: abstractness 0.03, instability 0.06, distance 0.90 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: KurrentDB.Plugins.TestHelpers — KurrentDB.Plugins.TestHelpers: abstractness 0.00, instability 0.10, distance 0.90 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: KurrentDB.Testing — KurrentDB.Testing: abstractness 0.12, instability 0.00, distance 0.88 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: KurrentDB.Logging — KurrentDB.Logging: abstractness 0.00, instability 0.25, distance 0.75 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
  • Off the main sequence: KurrentDB.Core.Testing — KurrentDB.Core.Testing: abstractness 0.00, instability 0.29, distance 0.71 — zone of pain — concrete and heavily depended-on, so it's rigid to change.
D3 · God Classes · TooManyMethods · ×10
  • TooManyMethods: CertificateManagerEventSource src/KurrentDB.Common/DevCertificates/CertificateManager.cs:0 — TooManyMethods — 147 lines, 60 methods.
  • TooManyMethods: ProjectionsController src/KurrentDB.Projections.Management/Services/Http/ProjectionsController.cs:0 — TooManyMethods — 474 lines, 58 methods.
  • TooManyMethods: ManagedProjection src/KurrentDB.Projections.Management/Services/Management/ManagedProjection.cs:0 — TooManyMethods — 773 lines, 60 methods.
  • TooManyMethods: ProjectionManager src/KurrentDB.Projections.Management/Services/Management/ProjectionManager.cs:0 — TooManyMethods — 1031 lines, 61 methods.
  • TooManyMethods: CheckpointTag src/KurrentDB.Projections.Shared/Services/Processing/Checkpointing/CheckpointTag.cs:0 — TooManyMethods — 591 lines, 44 methods.
  • TooManyMethods: CoreProjectionCheckpointManager src/KurrentDB.Projections.V1/Services/Processing/Checkpointing/CoreProjectionCheckpointManager.cs:0 — TooManyMethods — 305 lines, 33 methods.
  • TooManyMethods: CoreProjection src/KurrentDB.Projections.V1/Services/Processing/CoreProjection.cs:0 — TooManyMethods — 457 lines, 42 methods.
  • TooManyMethods: EmittedStream src/KurrentDB.Projections.V1/Services/Processing/Emitting/EmittedStream.cs:0 — TooManyMethods — 544 lines, 40 methods.
  • TooManyMethods: EventSubscriptionBasedProjectionProcessingPhase src/KurrentDB.Projections.V1/Services/Processing/Phases/EventSubscriptionBasedProjectionProcessingPhase.cs:0 — TooManyMethods — 423 lines, 48 methods.
  • TooManyMethods: FlightSqlServer src/KurrentDB.SecondaryIndexing/FlightSql/FlightSqlServer.cs:0 — TooManyMethods — 453 lines, 38 methods.
D17 · Explicit Debt · BareSuppressMessage · ×9
  • BareSuppressMessage src/KurrentDB.Projections.Management/AssemblyLoading.cs:18 — SuppressMessage
  • BareSuppressMessage src/KurrentDB.Surge.Testing/Fixtures/ClusterVNodeFixture.cs:20 — SuppressMessage
  • BareSuppressMessage src/KurrentDB.Surge/Processors/SystemProcessorBuilder.cs:31 — SuppressMessage
  • BareSuppressMessage src/KurrentDB.SystemRuntime/Diagnostics/RuntimeStats.cs:80 — SuppressMessage
  • BareSuppressMessage src/KurrentDB.Api.V2.Tests/Fixtures/ClusterVNodeTestContext.cs:17 — SuppressMessage
  • BareSuppressMessage src/Connectors/KurrentDB.Connectors/Planes/ConnectorsFeatureConventions.cs:17 — SuppressMessage
  • BareSuppressMessage src/SchemaRegistry/KurrentDB.SchemaRegistry.Tests/Fixtures/ClusterVNodeTestContext.cs:25 — SuppressMessage
  • BareSuppressMessage src/KurrentDB.Projections.Management.Tests/AssemblyLoading.cs:18 — SuppressMessage
  • BareSuppressMessage src/KurrentDB.Projections.V1.Tests/AssemblyLoading.cs:18 — SuppressMessage
D3 · God Classes · FileTooLong · ×8
  • FileTooLong: DevCertificates/CertificateManager.cs src/KurrentDB.Common/DevCertificates/CertificateManager.cs:0 — FileTooLong — 613 lines, 0 methods.
  • FileTooLong: System.UriTemplate/UriTemplate.cs src/KurrentDB.NETCore.Compatibility/System.UriTemplate/UriTemplate.cs:0 — FileTooLong — 913 lines, 0 methods.
  • FileTooLong: Interpreted/JintProjectionStateHandler.cs src/KurrentDB.Projections.JavaScript/Services/Interpreted/JintProjectionStateHandler.cs:0 — FileTooLong — 863 lines, 0 methods.
  • FileTooLong: Management/ManagedProjection.cs src/KurrentDB.Projections.Management/Services/Management/ManagedProjection.cs:0 — FileTooLong — 832 lines, 0 methods.
  • FileTooLong: Management/ProjectionManager.cs src/KurrentDB.Projections.Management/Services/Management/ProjectionManager.cs:0 — FileTooLong — 1054 lines, 0 methods.
  • FileTooLong: Messages/ProjectionManagementMessage.cs src/KurrentDB.Projections.Shared/Messages/ProjectionManagementMessage.cs:0 — FileTooLong — 528 lines, 0 methods.
  • FileTooLong: Checkpointing/CheckpointTag.cs src/KurrentDB.Projections.Shared/Services/Processing/Checkpointing/CheckpointTag.cs:0 — FileTooLong — 601 lines, 0 methods.
  • FileTooLong: Emitting/EmittedStream.cs src/KurrentDB.Projections.V1/Services/Processing/Emitting/EmittedStream.cs:0 — FileTooLong — 529 lines, 0 methods.
D12 · Dependency Hygiene · Deprecated · ×7
  • Deprecated: Azure.Identity — Azure.Identity 1.16.0 — Other
  • Deprecated: EventStore.Client — EventStore.Client 22.0.0 — Legacy EventStore.Client.Grpc.Streams >= 0.0.0
  • Deprecated: System.CommandLine.DragonFruit — System.CommandLine.DragonFruit 0.3.0-alpha.21216.1 — Legacy
  • Deprecated: EventStore.Client — EventStore.Client 22.0.0 — Legacy EventStore.Client.Grpc.Streams >= 0.0.0
  • Deprecated: EventStore.Client — EventStore.Client 22.0.0 — Legacy EventStore.Client.Grpc.Streams >= 0.0.0
  • Deprecated: IdentityModel — IdentityModel 7.0.0 — Legacy Duende.IdentityModel >= 0.0.0
  • Deprecated: EventStore.Client — EventStore.Client 22.0.0 — Legacy EventStore.Client.Grpc.Streams >= 0.0.0
D3 · God Classes · ClassTooLong · ×7
  • ClassTooLong: CertificateManager src/KurrentDB.Common/DevCertificates/CertificateManager.cs:0 — ClassTooLong — 600 lines, 27 methods.
  • ClassTooLong: UriTemplate src/KurrentDB.NETCore.Compatibility/System.UriTemplate/UriTemplate.cs:0 — ClassTooLong — 902 lines, 27 methods.
  • ClassTooLong: UriTemplateTrieNode src/KurrentDB.NETCore.Compatibility/System.UriTemplate/UriTemplateTrieNode.cs:0 — ClassTooLong — 447 lines, 17 methods.
  • ClassTooLong: JintProjectionStateHandler src/KurrentDB.Projections.JavaScript/Services/Interpreted/JintProjectionStateHandler.cs:0 — ClassTooLong — 833 lines, 27 methods.
  • ClassTooLong: ProjectionManagementMessage src/KurrentDB.Projections.Shared/Messages/ProjectionManagementMessage.cs:0 — ClassTooLong — 517 lines, 0 methods.
  • ClassTooLong: ScenarioBase src/KurrentDB.TestClient/Commands/RunTestScenarios/ScenarioBase.cs:0 — ClassTooLong — 402 lines, 28 methods.
  • ClassTooLong: TcpConnectionSsl src/KurrentDB.Transport.Tcp/TcpConnectionSsl.cs:0 — ClassTooLong — 429 lines, 24 methods.
D4 · Code Duplication · Duplicated block (12 lines × 2) · ×7
  • Duplicated block (12 lines × 2) src/KurrentDB.Common/Utils/CertificateExtensions.cs:304 — src/KurrentDB.Common/Utils/CertificateExtensions.cs:304-315 | src/KurrentDB.Auth.UserCertificates/CertificateExtensions.cs:113-124
  • Duplicated block (12 lines × 2) src/KurrentDB.Projections.JavaScript/Services/Interpreted/JintProjectionStateHandler.cs:901 — src/KurrentDB.Projections.JavaScript/Services/Interpreted/JintProjectionStateHandler.cs:901-912 | src/KurrentDB.Projections.JavaScript/Services/Interpreted/JintProjectionStateHandler.cs:930-941
  • Duplicated block (12 lines × 2) src/KurrentDB.TestClient/ClientApiTcpCommands/WriteFloodProcessor.cs:78 — src/KurrentDB.TestClient/ClientApiTcpCommands/WriteFloodProcessor.cs:78-88 | src/KurrentDB.TestClient/GrpcCommands/WriteFloodProcessor.cs:81-92
  • Duplicated block (12 lines × 2) src/KurrentDB.TestClient/Commands/PingFloodProcessor.cs:25 — src/KurrentDB.TestClient/Commands/PingFloodProcessor.cs:25-36 | src/KurrentDB.TestClient/Commands/PingFloodWaitingProcessor.cs:23-34
  • Duplicated block (12 lines × 2) src/KurrentDB.TestClient/Commands/RunTestScenarios/ScenarioBase.cs:437 — src/KurrentDB.TestClient/Commands/RunTestScenarios/ScenarioBase.cs:437-448 | src/KurrentDB.TestClient/Commands/RunTestScenarios/ScenarioBase.cs:474-485
  • Duplicated block (12 lines × 2) src/KurrentDB.TestClient/Commands/WriteFloodProcessor.cs:28 — src/KurrentDB.TestClient/Commands/WriteFloodProcessor.cs:28-39 | src/KurrentDB.TestClient/GrpcCommands/WriteFloodProcessor.cs:29-40
  • Duplicated block (12 lines × 2) src/SchemaRegistry/KurrentDB.SchemaRegistry/Modules/Schemas/Validation/NJsonSchema/NJsonSchemaCompatibilityManager.cs:118 — src/SchemaRegistry/KurrentDB.SchemaRegistry/Modules/Schemas/Validation/NJsonSchema/NJsonSchemaCompatibilityManager.cs:118-129 | src/SchemaRegistry/KurrentDB.SchemaRegistry/Modules/Schemas/Validation/NJsonSchema/NJsonSchemaCompatibilityManager.cs:157-168
D17 · Explicit Debt · ObsoleteWithCallers · ×5
  • ObsoleteWithCallers src/KurrentDB.Core/Services/Transport/Http/Controllers/PersistentSubscriptionController.cs:1137 — [Obsolete] StartFrom
  • ObsoleteWithCallers src/KurrentDB.Core/Services/Transport/Http/Controllers/PersistentSubscriptionController.cs:1188 — [Obsolete] LastProcessedEventNumber
  • ObsoleteWithCallers src/KurrentDB.Core/Services/Transport/Http/Controllers/PersistentSubscriptionController.cs:1190 — [Obsolete] LastKnownEventNumber
  • ObsoleteWithCallers src/KurrentDB.Core/Services/Transport/Http/Controllers/PersistentSubscriptionController.cs:1207 — [Obsolete] LastProcessedEventNumber
  • ObsoleteWithCallers src/KurrentDB.Core/Services/Transport/Http/Controllers/PersistentSubscriptionController.cs:1209 — [Obsolete] LastKnownEventNumber
D4 · Code Duplication · Duplicated block (10 lines × 2) · ×5
  • Duplicated block (10 lines × 2) src/KurrentDB.Projections.Shared/Services/Processing/Checkpointing/CheckpointTag.cs:166 — src/KurrentDB.Projections.Shared/Services/Processing/Checkpointing/CheckpointTag.cs:166-175 | src/KurrentDB.Projections.Shared/Services/Processing/Checkpointing/CheckpointTag.cs:227-236
  • Duplicated block (10 lines × 2) src/KurrentDB.TestClient/ClientApiTcpCommands/WriteFloodProcessor.cs:194 — src/KurrentDB.TestClient/ClientApiTcpCommands/WriteFloodProcessor.cs:194-203 | src/KurrentDB.TestClient/GrpcCommands/WriteFloodProcessor.cs:174-183
  • Duplicated block (10 lines × 2) src/KurrentDB.TestClient/Commands/MultiWriteProcessor.cs:58 — src/KurrentDB.TestClient/Commands/MultiWriteProcessor.cs:58-67 | src/KurrentDB.TestClient/Commands/ReadProcessor.cs:48-56
  • Duplicated block (10 lines × 2) src/KurrentDB.Transport.Tcp/TcpConnectionSsl.cs:372 — src/KurrentDB.Transport.Tcp/TcpConnectionSsl.cs:372-381 | src/KurrentDB.Transport.Tcp/TcpConnectionSsl.cs:436-445
  • Duplicated block (10 lines × 2) src/KurrentDB.POC.ConnectedSubsystemsPlugin/InternalClient.cs:86 — src/KurrentDB.POC.ConnectedSubsystemsPlugin/InternalClient.cs:86-95 | src/KurrentDB.POC.ConnectedSubsystemsPlugin/InternalClient.cs:250-259
D4 · Code Duplication · Duplicated block (17 lines × 2) · ×4
  • Duplicated block (17 lines × 2) src/KurrentDB.Common/Utils/CertificateExtensions.cs:205 — src/KurrentDB.Common/Utils/CertificateExtensions.cs:205-221 | src/KurrentDB.Auth.UserCertificates/CertificateExtensions.cs:17-33
  • Duplicated block (17 lines × 2) src/KurrentDB.Surge/Eventuous/SystemEventStore.cs:103 — src/KurrentDB.Surge/Eventuous/SystemEventStore.cs:103-119 | src/KurrentDB.Surge/Eventuous/SystemEventStore.cs:143-158
  • Duplicated block (17 lines × 2) src/Connectors/KurrentDB.Connectors/Infrastructure/RpcExceptions.cs:39 — src/Connectors/KurrentDB.Connectors/Infrastructure/RpcExceptions.cs:39-55 | src/SchemaRegistry/KurrentDB.SchemaRegistry/Infrastructure/Grpc/RpcExceptions.cs:35-51
  • Duplicated block (17 lines × 2) src/KurrentDB.SecondaryIndexing/Indexes/User/Management/UserIndexQueryService.cs:95 — src/KurrentDB.SecondaryIndexing/Indexes/User/Management/UserIndexQueryService.cs:95-111 | src/KurrentDB.SecondaryIndexing/Indexes/User/Management/UserIndexState.cs:14-29
D4 · Code Duplication · Duplicated block (9 lines × 2) · ×4
  • Duplicated block (9 lines × 2) src/KurrentDB.Projections.JavaScript/Services/Interpreted/JintProjectionStateHandler.cs:308 — src/KurrentDB.Projections.JavaScript/Services/Interpreted/JintProjectionStateHandler.cs:308-316 | src/KurrentDB.Projections.JavaScript/Services/Interpreted/JintProjectionStateHandler.cs:331-338
  • Duplicated block (9 lines × 2) src/KurrentDB.TestClient/Commands/DvuBasic/DvuBasicProcessor.cs:67 — src/KurrentDB.TestClient/Commands/DvuBasic/DvuBasicProcessor.cs:67-75 | src/KurrentDB.TestClient/Commands/DvuBasic/DvuBasicProcessor.cs:77-85
  • Duplicated block (9 lines × 2) src/KurrentDB.AutoScavenge/Clients/ProxyAutoScavengeClient.cs:53 — src/KurrentDB.AutoScavenge/Clients/ProxyAutoScavengeClient.cs:53-61 | src/KurrentDB.AutoScavenge/Clients/ProxyAutoScavengeClient.cs:73-81
  • Duplicated block (9 lines × 2) src/KurrentDB.Security.EncryptionAtRest/Transforms/AesGcm/AesGcmChunkReadStream.cs:265 — src/KurrentDB.Security.EncryptionAtRest/Transforms/AesGcm/AesGcmChunkReadStream.cs:265-273 | src/KurrentDB.Security.EncryptionAtRest/Transforms/AesGcm/AesGcmChunkWriteStream.cs:201-209
D4 · Code Duplication · Duplicated block (7 lines × 2) · ×4
  • Duplicated block (7 lines × 2) src/KurrentDB.TestClient/Commands/DeleteProcessor.cs:57 — src/KurrentDB.TestClient/Commands/DeleteProcessor.cs:57-63 | src/KurrentDB.TestClient/Commands/MultiWriteProcessor.cs:72-78
  • Duplicated block (7 lines × 2) src/KurrentDB.TestClient/Commands/RunTestScenarios/ProjectionsKillScenario.cs:96 — src/KurrentDB.TestClient/Commands/RunTestScenarios/ProjectionsKillScenario.cs:96-102 | src/KurrentDB.TestClient/Commands/RunTestScenarios/ProjForeachForcedCommonNameScenario.cs:168-174
  • Duplicated block (7 lines × 2) src/KurrentDB.Testing/Sample/HomeAutomation/HomeAutomationDataSet.cs:122 — src/KurrentDB.Testing/Sample/HomeAutomation/HomeAutomationDataSet.cs:122-128 | src/KurrentDB.Testing/Sample/HomeAutomation/HomeAutomationDataSet.cs:169-175
  • Duplicated block (7 lines × 2) src/KurrentDB.Auth.LegacyAuthorizationWithStreamAuthorizationDisabled/AndAssertion.cs:29 — src/KurrentDB.Auth.LegacyAuthorizationWithStreamAuthorizationDisabled/AndAssertion.cs:29-35 | src/KurrentDB.Auth.LegacyAuthorizationWithStreamAuthorizationDisabled/OrAssertion.cs:25-31
D17 · Explicit Debt · HackComment · ×3
  • HackComment src/KurrentDB.Surge.Testing/ClusterVNodeApp.cs:31 — // super hack to ignore the db's absurd logging config — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • HackComment src/KurrentDB.Testing.ClusterVNodeApp/ClusterVNodeApp.cs:44 — // super hack to ignore the db's absurd logging config — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
  • HackComment src/KurrentDB.Core.Tests/Helpers/ReflectionDynamic.cs:204 — //quick greg hack to allow methods to not exist! — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
D4 · Code Duplication · Duplicated block (14 lines × 2) · ×3
  • Duplicated block (14 lines × 2) src/KurrentDB.Common/Utils/CertificateExtensions.cs:239 — src/KurrentDB.Common/Utils/CertificateExtensions.cs:239-252 | src/KurrentDB.Auth.UserCertificates/CertificateExtensions.cs:51-64
  • Duplicated block (14 lines × 2) src/KurrentDB.TestClient/Commands/RunTestScenarios/LoopingProjTranWriteScenario.cs:62 — src/KurrentDB.TestClient/Commands/RunTestScenarios/LoopingProjTranWriteScenario.cs:62-75 | src/KurrentDB.TestClient/Commands/RunTestScenarios/LoopingScenario.cs:44-57
  • Duplicated block (14 lines × 2) src/KurrentDB.Transport.Tcp/TcpConnection.cs:365 — src/KurrentDB.Transport.Tcp/TcpConnection.cs:365-378 | src/KurrentDB.Transport.Tcp/TcpConnectionSsl.cs:557-570
D4 · Code Duplication · Duplicated block (13 lines × 2) · ×3
  • Duplicated block (13 lines × 2) src/KurrentDB.Projections.Shared/Services/Processing/Checkpointing/CheckpointTag.cs:140 — src/KurrentDB.Projections.Shared/Services/Processing/Checkpointing/CheckpointTag.cs:140-152 | src/KurrentDB.Projections.Shared/Services/Processing/Checkpointing/CheckpointTag.cs:200-212
  • Duplicated block (13 lines × 2) src/Connectors/KurrentDB.Connectors/Infrastructure/System/Node/SystemStartupTasks.cs:25 — src/Connectors/KurrentDB.Connectors/Infrastructure/System/Node/SystemStartupTasks.cs:25-37 | src/SchemaRegistry/KurrentDB.SchemaRegistry/Infrastructure/System/Node/SystemStartupTasks.cs:24-36
  • Duplicated block (13 lines × 2) src/KurrentDB.SecondaryIndexing/Indexes/Default/ExpandRecordFunction.cs:23 — src/KurrentDB.SecondaryIndexing/Indexes/Default/ExpandRecordFunction.cs:23-35 | src/KurrentDB.SecondaryIndexing/Indexes/User/ExpandRecordFunction.cs:23-35
D4 · Code Duplication · Duplicated block (11 lines × 2) · ×3
  • Duplicated block (11 lines × 2) src/KurrentDB.TestClient/Commands/DeleteProcessor.cs:44 — src/KurrentDB.TestClient/Commands/DeleteProcessor.cs:44-52 | src/KurrentDB.TestClient/Commands/WriteProcessor.cs:68-78
  • Duplicated block (11 lines × 2) src/KurrentDB.Transport.Tcp/TcpConnection.cs:332 — src/KurrentDB.Transport.Tcp/TcpConnection.cs:332-342 | src/KurrentDB.Transport.Tcp/TcpConnectionSsl.cs:517-527
  • Duplicated block (11 lines × 2) src/KurrentDB.POC.ConnectedSubsystemsPlugin/InternalClient.cs:102 — src/KurrentDB.POC.ConnectedSubsystemsPlugin/InternalClient.cs:102-112 | src/KurrentDB.POC.ConnectedSubsystemsPlugin/InternalClient.cs:266-276
D1 · Cyclomatic Complexity · CheckpointTag.OperatorDeclaration (cyclomatic 23) · ×2
  • CheckpointTag.OperatorDeclaration (cyclomatic 23) src/KurrentDB.Projections.Shared/Services/Processing/Checkpointing/CheckpointTag.cs:135 — CheckpointTag.OperatorDeclaration has cyclomatic complexity 23 (threshold 15).
  • CheckpointTag.OperatorDeclaration (cyclomatic 23) src/KurrentDB.Projections.Shared/Services/Processing/Checkpointing/CheckpointTag.cs:195 — CheckpointTag.OperatorDeclaration has cyclomatic complexity 23 (threshold 15).
D2 · Cognitive Complexity · CheckpointTag.OperatorDeclaration (cognitive 18) · ×2
  • CheckpointTag.OperatorDeclaration (cognitive 18) src/KurrentDB.Projections.Shared/Services/Processing/Checkpointing/CheckpointTag.cs:135 — CheckpointTag.OperatorDeclaration has cognitive complexity 18 (threshold 15).
  • CheckpointTag.OperatorDeclaration (cognitive 18) src/KurrentDB.Projections.Shared/Services/Processing/Checkpointing/CheckpointTag.cs:195 — CheckpointTag.OperatorDeclaration has cognitive complexity 18 (threshold 15).
D4 · Code Duplication · Duplicated block (15 lines × 2) · ×2
  • Duplicated block (15 lines × 2) src/KurrentDB.Common/DevCertificates/CertificateManager.cs:198 — src/KurrentDB.Common/DevCertificates/CertificateManager.cs:198-209 | src/KurrentDB.Common/DevCertificates/CertificateManager.cs:257-271
  • Duplicated block (15 lines × 2) src/KurrentDB.TestClient/Commands/RunTestScenarios/LoopingProjectionKillScenario.cs:40 — src/KurrentDB.TestClient/Commands/RunTestScenarios/LoopingProjectionKillScenario.cs:40-53 | src/KurrentDB.TestClient/Commands/RunTestScenarios/ProjectionWrongTagCheck.cs:36-50
D1 · Cyclomatic Complexity · CoreProjection.GoToState (cyclomatic 50) · ×1
  • CoreProjection.GoToState (cyclomatic 50) src/KurrentDB.Projections.V1/Services/Processing/CoreProjection.cs:345 — CoreProjection.GoToState has cyclomatic complexity 50 (threshold 15).
D1 · Cyclomatic Complexity · SchemaApplication.SchemaApplication.ctor (cyclomatic 47) · ×1
  • SchemaApplication.SchemaApplication.ctor (cyclomatic 47) src/SchemaRegistry/KurrentDB.SchemaRegistry/Modules/Schemas/Domain/SchemaApplication.cs:55 — SchemaApplication.SchemaApplication.ctor has cyclomatic complexity 47 (threshold 15).
D1 · Cyclomatic Complexity · TFChunkDbCreationHelper.CreateDb (cyclomatic 47) · ×1
  • TFChunkDbCreationHelper.CreateDb (cyclomatic 47) src/KurrentDB.Core.Testing/TransactionLog/Scavenging/TFChunkDbCreationHelper.cs:78 — TFChunkDbCreationHelper.CreateDb has cyclomatic complexity 47 (threshold 15).
D1 · Cyclomatic Complexity · UriTemplateTrieNode.TryMatch (cyclomatic 33) · ×1
  • UriTemplateTrieNode.TryMatch (cyclomatic 33) src/KurrentDB.NETCore.Compatibility/System.UriTemplate/UriTemplateTrieNode.cs:159 — UriTemplateTrieNode.TryMatch has cyclomatic complexity 33 (threshold 15).
D1 · Cyclomatic Complexity · UriTemplate.UriTemplate.ctor (cyclomatic 32) · ×1
  • UriTemplate.UriTemplate.ctor (cyclomatic 32) src/KurrentDB.NETCore.Compatibility/System.UriTemplate/UriTemplate.cs:49 — UriTemplate.UriTemplate.ctor has cyclomatic complexity 32 (threshold 15).
D1 · Cyclomatic Complexity · CheckpointTag.FromJson (cyclomatic 31) · ×1
  • CheckpointTag.FromJson (cyclomatic 31) src/KurrentDB.Projections.Shared/Services/Processing/Checkpointing/CheckpointTag.cs:632 — CheckpointTag.FromJson has cyclomatic complexity 31 (threshold 15).
D1 · Cyclomatic Complexity · ClusterVNodeHostedService.ClusterVNodeHostedService.ctor (cyclomatic 31) · ×1
  • ClusterVNodeHostedService.ClusterVNodeHostedService.ctor (cyclomatic 31) src/KurrentDB/ClusterVNodeHostedService.cs:64 — ClusterVNodeHostedService.ClusterVNodeHostedService.ctor has cyclomatic complexity 31 (threshold 15).
D1 · Cyclomatic Complexity · ResolvedEvent.ResolvedEvent.ctor (cyclomatic 28) · ×1
  • ResolvedEvent.ResolvedEvent.ctor (cyclomatic 28) src/KurrentDB.Projections.Shared/Services/Processing/ResolvedEvent.cs:42 — ResolvedEvent.ResolvedEvent.ctor has cyclomatic complexity 28 (threshold 15).
D1 · Cyclomatic Complexity · CertificateManager.EnsureDevelopmentCertificate (cyclomatic 27) · ×1
  • CertificateManager.EnsureDevelopmentCertificate (cyclomatic 27) src/KurrentDB.Common/DevCertificates/CertificateManager.cs:159 — CertificateManager.EnsureDevelopmentCertificate has cyclomatic complexity 27 (threshold 15).
D1 · Cyclomatic Complexity · KontextService.RunSearchAsync (cyclomatic 26) · ×1
  • KontextService.RunSearchAsync (cyclomatic 26) src/KurrentDB.Kontext/Search/KontextService.cs:83 — KontextService.RunSearchAsync has cyclomatic complexity 26 (threshold 15).
D1 · Cyclomatic Complexity · OAuthAuthenticationProvider.ConfigureEndpoints (cyclomatic 25) · ×1
  • OAuthAuthenticationProvider.ConfigureEndpoints (cyclomatic 25) src/KurrentDB.Auth.OAuth/OAuthAuthenticationPlugin.cs:296 — OAuthAuthenticationProvider.ConfigureEndpoints has cyclomatic complexity 25 (threshold 15).
D1 · Cyclomatic Complexity · ProjectionManagement.Create (cyclomatic 24) · ×1
  • ProjectionManagement.Create (cyclomatic 24) src/KurrentDB.Projections.Management/Services/Grpc/ProjectionManagement.Create.cs:23 — ProjectionManagement.Create has cyclomatic complexity 24 (threshold 15).
D1 · Cyclomatic Complexity · TFChunkDbCreationHelper.CreateLogRecord (cyclomatic 24) · ×1
  • TFChunkDbCreationHelper.CreateLogRecord (cyclomatic 24) src/KurrentDB.Core.Testing/TransactionLog/Scavenging/TFChunkDbCreationHelper.cs:293 — TFChunkDbCreationHelper.CreateLogRecord has cyclomatic complexity 24 (threshold 15).
D1 · Cyclomatic Complexity · UriTemplate.Bind (cyclomatic 23) · ×1
  • UriTemplate.Bind (cyclomatic 23) src/KurrentDB.NETCore.Compatibility/System.UriTemplate/UriTemplate.cs:499 — UriTemplate.Bind has cyclomatic complexity 23 (threshold 15).
D1 · Cyclomatic Complexity · ReaderStrategy.Create (cyclomatic 22) · ×1
  • ReaderStrategy.Create (cyclomatic 22) src/KurrentDB.Projections.V1/Services/Processing/Strategies/ReaderStrategy.cs:42 — ReaderStrategy.Create has cyclomatic complexity 22 (threshold 15).
D1 · Cyclomatic Complexity · UriTemplateCompoundPathSegment.CompareTo (cyclomatic 21) · ×1
  • UriTemplateCompoundPathSegment.CompareTo (cyclomatic 21) src/KurrentDB.NETCore.Compatibility/System.UriTemplate/UriTemplateCompoundPathSegment.cs:228 — UriTemplateCompoundPathSegment.CompareTo has cyclomatic complexity 21 (threshold 15).
D1 · Cyclomatic Complexity · ReaderSubscriptionBase.ProcessOne (cyclomatic 21) · ×1
  • ReaderSubscriptionBase.ProcessOne (cyclomatic 21) src/KurrentDB.Projections.V1/Services/Processing/Subscriptions/ReaderSubscriptionBase.cs:86 — ReaderSubscriptionBase.ProcessOne has cyclomatic complexity 21 (threshold 15).
D1 · Cyclomatic Complexity · WriteFloodProcessor.WriteFlood (cyclomatic 21) · ×1
  • WriteFloodProcessor.WriteFlood (cyclomatic 21) src/KurrentDB.TestClient/ClientApiTcpCommands/WriteFloodProcessor.cs:66 — WriteFloodProcessor.WriteFlood has cyclomatic complexity 21 (threshold 15).
D1 · Cyclomatic Complexity · UriTemplateTable.Match (cyclomatic 20) · ×1
  • UriTemplateTable.Match (cyclomatic 20) src/KurrentDB.NETCore.Compatibility/System.UriTemplate/UriTemplateTable.cs:122 — UriTemplateTable.Match has cyclomatic complexity 20 (threshold 15).
D1 · Cyclomatic Complexity · ProjectionEngineV2.RunReadLoop (cyclomatic 20) · ×1
  • ProjectionEngineV2.RunReadLoop (cyclomatic 20) src/KurrentDB.Projections.V2/Services/Processing/V2/ProjectionEngineV2.cs:173 — ProjectionEngineV2.RunReadLoop has cyclomatic complexity 20 (threshold 15).
D1 · Cyclomatic Complexity · ReadAllProcessor.Execute (cyclomatic 20) · ×1
  • ReadAllProcessor.Execute (cyclomatic 20) src/KurrentDB.TestClient/Commands/ReadAllProcessor.cs:21 — ReadAllProcessor.Execute has cyclomatic complexity 20 (threshold 15).
D1 · Cyclomatic Complexity · WriteFloodProcessor.WriteFlood (cyclomatic 20) · ×1
  • WriteFloodProcessor.WriteFlood (cyclomatic 20) src/KurrentDB.TestClient/Commands/WriteFloodProcessor.cs:61 — WriteFloodProcessor.WriteFlood has cyclomatic complexity 20 (threshold 15).
D1 · Cyclomatic Complexity · EmittedStream.ReadStreamEventsBackwardCompleted (cyclomatic 19) · ×1
  • EmittedStream.ReadStreamEventsBackwardCompleted (cyclomatic 19) src/KurrentDB.Projections.V1/Services/Processing/Emitting/EmittedStream.cs:212 — EmittedStream.ReadStreamEventsBackwardCompleted has cyclomatic complexity 19 (threshold 15).
D1 · Cyclomatic Complexity · RunTestScenariosProcessor.Execute (cyclomatic 19) · ×1
  • RunTestScenariosProcessor.Execute (cyclomatic 19) src/KurrentDB.TestClient/Commands/RunTestScenariosProcessor.cs:40 — RunTestScenariosProcessor.Execute has cyclomatic complexity 19 (threshold 15).
D1 · Cyclomatic Complexity · ApiErrors.AppendConsistencyViolation (cyclomatic 19) · ×1
  • ApiErrors.AppendConsistencyViolation (cyclomatic 19) src/KurrentDB.Api.V2/Modules/Streams/ApiErrors.cs:131 — ApiErrors.AppendConsistencyViolation has cyclomatic complexity 19 (threshold 15).
D1 · Cyclomatic Complexity · StreamPolicyAssertion.CheckStreamAccess (cyclomatic 19) · ×1
  • StreamPolicyAssertion.CheckStreamAccess (cyclomatic 19) src/KurrentDB.Auth.StreamPolicyPlugin/StreamPolicyAssertion.cs:22 — StreamPolicyAssertion.CheckStreamAccess has cyclomatic complexity 19 (threshold 15).
D1 · Cyclomatic Complexity · CertificateManager.ListCertificates (cyclomatic 18) · ×1
  • CertificateManager.ListCertificates (cyclomatic 18) src/KurrentDB.Common/DevCertificates/CertificateManager.cs:62 — CertificateManager.ListCertificates has cyclomatic complexity 18 (threshold 15).
D1 · Cyclomatic Complexity · VariablesCollection.ValidateDefaults (cyclomatic 18) · ×1
  • VariablesCollection.ValidateDefaults (cyclomatic 18) src/KurrentDB.NETCore.Compatibility/System.UriTemplate/UriTemplate.cs:1088 — VariablesCollection.ValidateDefaults has cyclomatic complexity 18 (threshold 15).
D1 · Cyclomatic Complexity · UriTemplateHelpers.EnsureQueriesAreDistinct (cyclomatic 18) · ×1
  • UriTemplateHelpers.EnsureQueriesAreDistinct (cyclomatic 18) src/KurrentDB.NETCore.Compatibility/System.UriTemplate/UriTemplateHelpers.cs:206 — UriTemplateHelpers.EnsureQueriesAreDistinct has cyclomatic complexity 18 (threshold 15).
D1 · Cyclomatic Complexity · UriTemplateTrieNode.Validate (cyclomatic 18) · ×1
  • UriTemplateTrieNode.Validate (cyclomatic 18) src/KurrentDB.NETCore.Compatibility/System.UriTemplate/UriTemplateTrieNode.cs:290 — UriTemplateTrieNode.Validate has cyclomatic complexity 18 (threshold 15).
D1 · Cyclomatic Complexity · UserIndexEngineSubscription.StartInternal (cyclomatic 18) · ×1
  • UserIndexEngineSubscription.StartInternal (cyclomatic 18) src/KurrentDB.SecondaryIndexing/Indexes/User/UserIndexEngineSubscription.cs:83 — UserIndexEngineSubscription.StartInternal has cyclomatic complexity 18 (threshold 15).
D1 · Cyclomatic Complexity · UriTemplateCompoundPathSegment.CreateFromUriTemplate (cyclomatic 17) · ×1
  • UriTemplateCompoundPathSegment.CreateFromUriTemplate (cyclomatic 17) src/KurrentDB.NETCore.Compatibility/System.UriTemplate/UriTemplateCompoundPathSegment.cs:30 — UriTemplateCompoundPathSegment.CreateFromUriTemplate has cyclomatic complexity 17 (threshold 15).
D1 · Cyclomatic Complexity · CheckpointTag.Equals (cyclomatic 17) · ×1
  • CheckpointTag.Equals (cyclomatic 17) src/KurrentDB.Projections.Shared/Services/Processing/Checkpointing/CheckpointTag.cs:262 — CheckpointTag.Equals has cyclomatic complexity 17 (threshold 15).
D1 · Cyclomatic Complexity · MultiStreamEventReader.Handle (cyclomatic 17) · ×1
  • MultiStreamEventReader.Handle (cyclomatic 17) src/KurrentDB.Projections.V1/Services/Processing/MultiStream/MultiStreamEventReader.cs:105 — MultiStreamEventReader.Handle has cyclomatic complexity 17 (threshold 15).
D1 · Cyclomatic Complexity · TransactionWriteProcessor.Execute (cyclomatic 17) · ×1
  • TransactionWriteProcessor.Execute (cyclomatic 17) src/KurrentDB.TestClient/Commands/TransactionWriteProcessor.cs:23 — TransactionWriteProcessor.Execute has cyclomatic complexity 17 (threshold 15).
D1 · Cyclomatic Complexity · CertificateExtensions.MatchesName (cyclomatic 16) · ×1
  • CertificateExtensions.MatchesName (cyclomatic 16) src/KurrentDB.Common/Utils/CertificateExtensions.cs:140 — CertificateExtensions.MatchesName has cyclomatic complexity 16 (threshold 15).
D1 · Cyclomatic Complexity · HttpValueCollection.ToString (cyclomatic 16) · ×1
  • HttpValueCollection.ToString (cyclomatic 16) src/KurrentDB.NETCore.Compatibility/System.UriTemplate/stubs/UrlUtility.cs:458 — HttpValueCollection.ToString has cyclomatic complexity 16 (threshold 15).
D1 · Cyclomatic Complexity · VariablesCollection.LoadDefaultsAndValidate (cyclomatic 16) · ×1
  • VariablesCollection.LoadDefaultsAndValidate (cyclomatic 16) src/KurrentDB.NETCore.Compatibility/System.UriTemplate/UriTemplate.cs:1173 — VariablesCollection.LoadDefaultsAndValidate has cyclomatic complexity 16 (threshold 15).
D1 · Cyclomatic Complexity · ManagedProjection.SetState (cyclomatic 16) · ×1
  • ManagedProjection.SetState (cyclomatic 16) src/KurrentDB.Projections.Management/Services/Management/ManagedProjection.cs:237 — ManagedProjection.SetState has cyclomatic complexity 16 (threshold 15).
D1 · Cyclomatic Complexity · MultiStreamEventReader.ProcessBuffers (cyclomatic 16) · ×1
  • MultiStreamEventReader.ProcessBuffers (cyclomatic 16) src/KurrentDB.Projections.V1/Services/Processing/MultiStream/MultiStreamEventReader.cs:204 — MultiStreamEventReader.ProcessBuffers has cyclomatic complexity 16 (threshold 15).
D1 · Cyclomatic Complexity · StreamEventReader.Handle (cyclomatic 16) · ×1
  • StreamEventReader.Handle (cyclomatic 16) src/KurrentDB.Projections.V1/Services/Processing/SingleStream/StreamEventReader.cs:61 — StreamEventReader.Handle has cyclomatic complexity 16 (threshold 15).
D1 · Cyclomatic Complexity · ProjForeachForcedCommonNameScenario.InnerRun (cyclomatic 16) · ×1
  • ProjForeachForcedCommonNameScenario.InnerRun (cyclomatic 16) src/KurrentDB.TestClient/Commands/RunTestScenarios/ProjForeachForcedCommonNameScenario.cs:66 — ProjForeachForcedCommonNameScenario.InnerRun has cyclomatic complexity 16 (threshold 15).
D1 · Cyclomatic Complexity · WriteFloodProcessor.WriteFlood (cyclomatic 16) · ×1
  • WriteFloodProcessor.WriteFlood (cyclomatic 16) src/KurrentDB.TestClient/GrpcCommands/WriteFloodProcessor.cs:68 — WriteFloodProcessor.WriteFlood has cyclomatic complexity 16 (threshold 15).
D1 · Cyclomatic Complexity · TcpTestClient.CreateTcpConnection (cyclomatic 16) · ×1
  • TcpTestClient.CreateTcpConnection (cyclomatic 16) src/KurrentDB.TestClient/TcpTestClient.cs:68 — TcpTestClient.CreateTcpConnection has cyclomatic complexity 16 (threshold 15).
D1 · Cyclomatic Complexity · HomeAutomationDataSet.Events (cyclomatic 16) · ×1
  • HomeAutomationDataSet.Events (cyclomatic 16) src/KurrentDB.Testing/Sample/HomeAutomation/HomeAutomationDataSet.cs:93 — HomeAutomationDataSet.Events has cyclomatic complexity 16 (threshold 15).
D1 · Cyclomatic Complexity · ClientSource.ReadAutoScavengeEvents (cyclomatic 16) · ×1
  • ClientSource.ReadAutoScavengeEvents (cyclomatic 16) src/KurrentDB.AutoScavenge/Sources/ClientSource.cs:49 — ClientSource.ReadAutoScavengeEvents has cyclomatic complexity 16 (threshold 15).
D1 · Cyclomatic Complexity · StreamPolicyAssertion.Check (cyclomatic 16) · ×1
  • StreamPolicyAssertion.Check (cyclomatic 16) src/KurrentDB.Auth.StreamPolicyPlugin/StreamPolicyAssertion.cs:67 — StreamPolicyAssertion.Check has cyclomatic complexity 16 (threshold 15).
D15 · Churn × Complexity Hotspots · git history depth insufficient · ×1
  • git history depth insufficient — git history depth insufficient — install a full clone for reliable trend signal.
D16 · Bus Factor · single-maintainer · ×1
  • single-maintainer — knowledge-concentration (bus factor) risk — single-maintainer — knowledge-concentration (bus factor) risk (0 author(s) across 0 commit(s) sampled).
D17 · Explicit Debt · FixmeComment · ×1
  • FixmeComment src/KurrentDB.AutoScavenge.Tests/ClusterFixtures.cs:93 — // FIXME: This approach won't work if another node is on part with the leader. We ought to prioritize the follower — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: PROJ-123`), so the task is planned where tasks live and the ticket links back to the code.
D2 · Cognitive Complexity · TFChunkDbCreationHelper.CreateDb (cognitive 106) · ×1
  • TFChunkDbCreationHelper.CreateDb (cognitive 106) src/KurrentDB.Core.Testing/TransactionLog/Scavenging/TFChunkDbCreationHelper.cs:78 — TFChunkDbCreationHelper.CreateDb has cognitive complexity 106 (threshold 15).
D2 · Cognitive Complexity · SchemaApplication.SchemaApplication.ctor (cognitive 80) · ×1
  • SchemaApplication.SchemaApplication.ctor (cognitive 80) src/SchemaRegistry/KurrentDB.SchemaRegistry/Modules/Schemas/Domain/SchemaApplication.cs:55 — SchemaApplication.SchemaApplication.ctor has cognitive complexity 80 (threshold 15).
D2 · Cognitive Complexity · UriTemplate.UriTemplate.ctor (cognitive 76) · ×1
  • UriTemplate.UriTemplate.ctor (cognitive 76) src/KurrentDB.NETCore.Compatibility/System.UriTemplate/UriTemplate.cs:49 — UriTemplate.UriTemplate.ctor has cognitive complexity 76 (threshold 15).
D2 · Cognitive Complexity · CertificateManager.EnsureDevelopmentCertificate (cognitive 70) · ×1
  • CertificateManager.EnsureDevelopmentCertificate (cognitive 70) src/KurrentDB.Common/DevCertificates/CertificateManager.cs:159 — CertificateManager.EnsureDevelopmentCertificate has cognitive complexity 70 (threshold 15).
D2 · Cognitive Complexity · CheckpointTag.FromJson (cognitive 54) · ×1
  • CheckpointTag.FromJson (cognitive 54) src/KurrentDB.Projections.Shared/Services/Processing/Checkpointing/CheckpointTag.cs:632 — CheckpointTag.FromJson has cognitive complexity 54 (threshold 15).
D2 · Cognitive Complexity · ResolvedEvent.ResolvedEvent.ctor (cognitive 49) · ×1
  • ResolvedEvent.ResolvedEvent.ctor (cognitive 49) src/KurrentDB.Projections.Shared/Services/Processing/ResolvedEvent.cs:42 — ResolvedEvent.ResolvedEvent.ctor has cognitive complexity 49 (threshold 15).
D2 · Cognitive Complexity · UriTemplateTrieNode.TryMatch (cognitive 44) · ×1
  • UriTemplateTrieNode.TryMatch (cognitive 44) src/KurrentDB.NETCore.Compatibility/System.UriTemplate/UriTemplateTrieNode.cs:159 — UriTemplateTrieNode.TryMatch has cognitive complexity 44 (threshold 15).
D2 · Cognitive Complexity · UriTemplateTrieNode.Validate (cognitive 43) · ×1
  • UriTemplateTrieNode.Validate (cognitive 43) src/KurrentDB.NETCore.Compatibility/System.UriTemplate/UriTemplateTrieNode.cs:290 — UriTemplateTrieNode.Validate has cognitive complexity 43 (threshold 15).
D2 · Cognitive Complexity · UserIndexEngineSubscription.StartInternal (cognitive 42) · ×1
  • UserIndexEngineSubscription.StartInternal (cognitive 42) src/KurrentDB.SecondaryIndexing/Indexes/User/UserIndexEngineSubscription.cs:83 — UserIndexEngineSubscription.StartInternal has cognitive complexity 42 (threshold 15).
D2 · Cognitive Complexity · KontextService.RunSearchAsync (cognitive 40) · ×1
  • KontextService.RunSearchAsync (cognitive 40) src/KurrentDB.Kontext/Search/KontextService.cs:83 — KontextService.RunSearchAsync has cognitive complexity 40 (threshold 15).
D2 · Cognitive Complexity · UriTemplate.Bind (cognitive 38) · ×1
  • UriTemplate.Bind (cognitive 38) src/KurrentDB.NETCore.Compatibility/System.UriTemplate/UriTemplate.cs:499 — UriTemplate.Bind has cognitive complexity 38 (threshold 15).
D2 · Cognitive Complexity · UriTemplateHelpers.EnsureQueriesAreDistinct (cognitive 37) · ×1
  • UriTemplateHelpers.EnsureQueriesAreDistinct (cognitive 37) src/KurrentDB.NETCore.Compatibility/System.UriTemplate/UriTemplateHelpers.cs:206 — UriTemplateHelpers.EnsureQueriesAreDistinct has cognitive complexity 37 (threshold 15).
D2 · Cognitive Complexity · WriteFloodProcessor.WriteFlood (cognitive 37) · ×1
  • WriteFloodProcessor.WriteFlood (cognitive 37) src/KurrentDB.TestClient/ClientApiTcpCommands/WriteFloodProcessor.cs:66 — WriteFloodProcessor.WriteFlood has cognitive complexity 37 (threshold 15).
D2 · Cognitive Complexity · ClusterVNodeHostedService.ClusterVNodeHostedService.ctor (cognitive 37) · ×1
  • ClusterVNodeHostedService.ClusterVNodeHostedService.ctor (cognitive 37) src/KurrentDB/ClusterVNodeHostedService.cs:64 — ClusterVNodeHostedService.ClusterVNodeHostedService.ctor has cognitive complexity 37 (threshold 15).
D2 · Cognitive Complexity · UriTemplateTable.Match (cognitive 34) · ×1
  • UriTemplateTable.Match (cognitive 34) src/KurrentDB.NETCore.Compatibility/System.UriTemplate/UriTemplateTable.cs:122 — UriTemplateTable.Match has cognitive complexity 34 (threshold 15).
D2 · Cognitive Complexity · VariablesCollection.ValidateDefaults (cognitive 33) · ×1
  • VariablesCollection.ValidateDefaults (cognitive 33) src/KurrentDB.NETCore.Compatibility/System.UriTemplate/UriTemplate.cs:1088 — VariablesCollection.ValidateDefaults has cognitive complexity 33 (threshold 15).
D2 · Cognitive Complexity · WriteLongTermProcessor.Flood (cognitive 33) · ×1
  • WriteLongTermProcessor.Flood (cognitive 33) src/KurrentDB.TestClient/Commands/WriteLongTermProcessor.cs:58 — WriteLongTermProcessor.Flood has cognitive complexity 33 (threshold 15).
D2 · Cognitive Complexity · TransactionWriteProcessor.Execute (cognitive 32) · ×1
  • TransactionWriteProcessor.Execute (cognitive 32) src/KurrentDB.TestClient/Commands/TransactionWriteProcessor.cs:23 — TransactionWriteProcessor.Execute has cognitive complexity 32 (threshold 15).
D2 · Cognitive Complexity · HttpValueCollection.ToString (cognitive 31) · ×1
  • HttpValueCollection.ToString (cognitive 31) src/KurrentDB.NETCore.Compatibility/System.UriTemplate/stubs/UrlUtility.cs:458 — HttpValueCollection.ToString has cognitive complexity 31 (threshold 15).
D2 · Cognitive Complexity · UriTemplateHelpers.CanMatchQueryInterestingly (cognitive 31) · ×1
  • UriTemplateHelpers.CanMatchQueryInterestingly (cognitive 31) src/KurrentDB.NETCore.Compatibility/System.UriTemplate/UriTemplateHelpers.cs:23 — UriTemplateHelpers.CanMatchQueryInterestingly has cognitive complexity 31 (threshold 15).
D2 · Cognitive Complexity · EmittedStream.ReadStreamEventsBackwardCompleted (cognitive 31) · ×1
  • EmittedStream.ReadStreamEventsBackwardCompleted (cognitive 31) src/KurrentDB.Projections.V1/Services/Processing/Emitting/EmittedStream.cs:212 — EmittedStream.ReadStreamEventsBackwardCompleted has cognitive complexity 31 (threshold 15).
D2 · Cognitive Complexity · OAuthAuthenticationProvider.ConfigureEndpoints (cognitive 31) · ×1
  • OAuthAuthenticationProvider.ConfigureEndpoints (cognitive 31) src/KurrentDB.Auth.OAuth/OAuthAuthenticationPlugin.cs:296 — OAuthAuthenticationProvider.ConfigureEndpoints has cognitive complexity 31 (threshold 15).
D2 · Cognitive Complexity · UriTemplateCompoundPathSegment.CreateFromUriTemplate (cognitive 30) · ×1
  • UriTemplateCompoundPathSegment.CreateFromUriTemplate (cognitive 30) src/KurrentDB.NETCore.Compatibility/System.UriTemplate/UriTemplateCompoundPathSegment.cs:30 — UriTemplateCompoundPathSegment.CreateFromUriTemplate has cognitive complexity 30 (threshold 15).
D2 · Cognitive Complexity · MultiStreamEventReader.ProcessBuffers (cognitive 30) · ×1
  • MultiStreamEventReader.ProcessBuffers (cognitive 30) src/KurrentDB.Projections.V1/Services/Processing/MultiStream/MultiStreamEventReader.cs:204 — MultiStreamEventReader.ProcessBuffers has cognitive complexity 30 (threshold 15).
D2 · Cognitive Complexity · WriteFloodProcessor.WriteFlood (cognitive 30) · ×1
  • WriteFloodProcessor.WriteFlood (cognitive 30) src/KurrentDB.TestClient/GrpcCommands/WriteFloodProcessor.cs:68 — WriteFloodProcessor.WriteFlood has cognitive complexity 30 (threshold 15).
D2 · Cognitive Complexity · WriteState.Write (cognitive 29) · ×1
  • WriteState.Write (cognitive 29) src/KurrentDB.Projections.JavaScript/Services/Interpreted/JintProjectionStateHandler.cs:1119 — WriteState.Write has cognitive complexity 29 (threshold 15).
D2 · Cognitive Complexity · CoreProjection.GoToState (cognitive 29) · ×1
  • CoreProjection.GoToState (cognitive 29) src/KurrentDB.Projections.V1/Services/Processing/CoreProjection.cs:345 — CoreProjection.GoToState has cognitive complexity 29 (threshold 15).
D2 · Cognitive Complexity · ReadAllProcessor.Execute (cognitive 28) · ×1
  • ReadAllProcessor.Execute (cognitive 28) src/KurrentDB.TestClient/Commands/ReadAllProcessor.cs:21 — ReadAllProcessor.Execute has cognitive complexity 28 (threshold 15).
D2 · Cognitive Complexity · MassProjectionsScenario.StartOrStopProjection (cognitive 28) · ×1
  • MassProjectionsScenario.StartOrStopProjection (cognitive 28) src/KurrentDB.TestClient/Commands/RunTestScenarios/MassProjectionsScenario.cs:113 — MassProjectionsScenario.StartOrStopProjection has cognitive complexity 28 (threshold 15).
D2 · Cognitive Complexity · WriteFloodProcessor.WriteFlood (cognitive 28) · ×1
  • WriteFloodProcessor.WriteFlood (cognitive 28) src/KurrentDB.TestClient/Commands/WriteFloodProcessor.cs:61 — WriteFloodProcessor.WriteFlood has cognitive complexity 28 (threshold 15).
D2 · Cognitive Complexity · MediaType.TryParseInternal (cognitive 28) · ×1
  • MediaType.TryParseInternal (cognitive 28) src/KurrentDB.Transport.Http/MediaType.cs:56 — MediaType.TryParseInternal has cognitive complexity 28 (threshold 15).
D2 · Cognitive Complexity · TfBased.Handle (cognitive 27) · ×1
  • TfBased.Handle (cognitive 27) src/KurrentDB.Projections.V1/Services/Processing/EventByType/EventByTypeIndexEventReader.TfBased.cs:43 — TfBased.Handle has cognitive complexity 27 (threshold 15).
D2 · Cognitive Complexity · ReadFloodProcessor.ReadFlood (cognitive 27) · ×1
  • ReadFloodProcessor.ReadFlood (cognitive 27) src/KurrentDB.TestClient/Commands/ReadFloodProcessor.cs:55 — ReadFloodProcessor.ReadFlood has cognitive complexity 27 (threshold 15).
D2 · Cognitive Complexity · VariablesCollection.LoadDefaultsAndValidate (cognitive 26) · ×1
  • VariablesCollection.LoadDefaultsAndValidate (cognitive 26) src/KurrentDB.NETCore.Compatibility/System.UriTemplate/UriTemplate.cs:1173 — VariablesCollection.LoadDefaultsAndValidate has cognitive complexity 26 (threshold 15).
D2 · Cognitive Complexity · ProjectionEngineV2.RunReadLoop (cognitive 26) · ×1
  • ProjectionEngineV2.RunReadLoop (cognitive 26) src/KurrentDB.Projections.V2/Services/Processing/V2/ProjectionEngineV2.cs:173 — ProjectionEngineV2.RunReadLoop has cognitive complexity 26 (threshold 15).
D2 · Cognitive Complexity · UriTemplate.IsCandidatePathMatch (cognitive 25) · ×1
  • UriTemplate.IsCandidatePathMatch (cognitive 25) src/KurrentDB.NETCore.Compatibility/System.UriTemplate/UriTemplate.cs:603 — UriTemplate.IsCandidatePathMatch has cognitive complexity 25 (threshold 15).
D2 · Cognitive Complexity · OAuthAuthenticationProvider.Authenticate (cognitive 25) · ×1
  • OAuthAuthenticationProvider.Authenticate (cognitive 25) src/KurrentDB.Auth.OAuth/OAuthAuthenticationPlugin.cs:171 — OAuthAuthenticationProvider.Authenticate has cognitive complexity 25 (threshold 15).
D2 · Cognitive Complexity · UriTemplate.ProcessDefaultsAndCreateBindInfo (cognitive 24) · ×1
  • UriTemplate.ProcessDefaultsAndCreateBindInfo (cognitive 24) src/KurrentDB.NETCore.Compatibility/System.UriTemplate/UriTemplate.cs:714 — UriTemplate.ProcessDefaultsAndCreateBindInfo has cognitive complexity 24 (threshold 15).
D2 · Cognitive Complexity · IndexBased.ProcessBuffers (cognitive 24) · ×1
  • IndexBased.ProcessBuffers (cognitive 24) src/KurrentDB.Projections.V1/Services/Processing/EventByType/EventByTypeIndexEventReader.IndexBased.cs:243 — IndexBased.ProcessBuffers has cognitive complexity 24 (threshold 15).
D2 · Cognitive Complexity · ProjForeachForcedCommonNameScenario.InnerRun (cognitive 24) · ×1
  • ProjForeachForcedCommonNameScenario.InnerRun (cognitive 24) src/KurrentDB.TestClient/Commands/RunTestScenarios/ProjForeachForcedCommonNameScenario.cs:66 — ProjForeachForcedCommonNameScenario.InnerRun has cognitive complexity 24 (threshold 15).
D2 · Cognitive Complexity · UserIndexSubscription.ProcessEvents (cognitive 24) · ×1
  • UserIndexSubscription.ProcessEvents (cognitive 24) src/KurrentDB.SecondaryIndexing/Subscriptions/UserIndexSubscription.cs:60 — UserIndexSubscription.ProcessEvents has cognitive complexity 24 (threshold 15).
D2 · Cognitive Complexity · UrlUtility.UrlDecodeStringFromStringInternal (cognitive 23) · ×1
  • UrlUtility.UrlDecodeStringFromStringInternal (cognitive 23) src/KurrentDB.NETCore.Compatibility/System.UriTemplate/stubs/UrlUtility.cs:226 — UrlUtility.UrlDecodeStringFromStringInternal has cognitive complexity 23 (threshold 15).
D2 · Cognitive Complexity · ProjectionManager.OnProjectionsListReadCompleted (cognitive 23) · ×1
  • ProjectionManager.OnProjectionsListReadCompleted (cognitive 23) src/KurrentDB.Projections.Management/Services/Management/ProjectionManager.cs:734 — ProjectionManager.OnProjectionsListReadCompleted has cognitive complexity 23 (threshold 15).
D2 · Cognitive Complexity · ReaderStrategy.Create (cognitive 23) · ×1
  • ReaderStrategy.Create (cognitive 23) src/KurrentDB.Projections.V1/Services/Processing/Strategies/ReaderStrategy.cs:42 — ReaderStrategy.Create has cognitive complexity 23 (threshold 15).
D2 · Cognitive Complexity · RunTestScenariosProcessor.Execute (cognitive 23) · ×1
  • RunTestScenariosProcessor.Execute (cognitive 23) src/KurrentDB.TestClient/Commands/RunTestScenariosProcessor.cs:40 — RunTestScenariosProcessor.Execute has cognitive complexity 23 (threshold 15).
D2 · Cognitive Complexity · DefaultIndexSubscription.ProcessEvents (cognitive 23) · ×1
  • DefaultIndexSubscription.ProcessEvents (cognitive 23) src/KurrentDB.SecondaryIndexing/Subscriptions/DefaultIndexSubscription.cs:58 — DefaultIndexSubscription.ProcessEvents has cognitive complexity 23 (threshold 15).
D2 · Cognitive Complexity · UriTemplateCompoundPathSegment.TryLookup (cognitive 22) · ×1
  • UriTemplateCompoundPathSegment.TryLookup (cognitive 22) src/KurrentDB.NETCore.Compatibility/System.UriTemplate/UriTemplateCompoundPathSegment.cs:153 — UriTemplateCompoundPathSegment.TryLookup has cognitive complexity 22 (threshold 15).
D2 · Cognitive Complexity · SystemConsumer.Records (cognitive 22) · ×1
  • SystemConsumer.Records (cognitive 22) src/KurrentDB.Surge/Consumers/SystemConsumer.cs:125 — SystemConsumer.Records has cognitive complexity 22 (threshold 15).
D2 · Cognitive Complexity · ProjectionWrongTagCheck.RunIteration (cognitive 22) · ×1
  • ProjectionWrongTagCheck.RunIteration (cognitive 22) src/KurrentDB.TestClient/Commands/RunTestScenarios/ProjectionWrongTagCheck.cs:63 — ProjectionWrongTagCheck.RunIteration has cognitive complexity 22 (threshold 15).
D2 · Cognitive Complexity · KontextService.HydrateCandidates (cognitive 22) · ×1
  • KontextService.HydrateCandidates (cognitive 22) src/KurrentDB.Kontext/Search/KontextService.cs:219 — KontextService.HydrateCandidates has cognitive complexity 22 (threshold 15).
D2 · Cognitive Complexity · CertificateManager.ExportCertificate (cognitive 21) · ×1
  • CertificateManager.ExportCertificate (cognitive 21) src/KurrentDB.Common/DevCertificates/CertificateManager.cs:402 — CertificateManager.ExportCertificate has cognitive complexity 21 (threshold 15).
D2 · Cognitive Complexity · HttpValueCollection.FillFromString (cognitive 21) · ×1
  • HttpValueCollection.FillFromString (cognitive 21) src/KurrentDB.NETCore.Compatibility/System.UriTemplate/stubs/UrlUtility.cs:399 — HttpValueCollection.FillFromString has cognitive complexity 21 (threshold 15).
D2 · Cognitive Complexity · IndexBased.ReadIndexCheckpointStreamCompleted (cognitive 21) · ×1
  • IndexBased.ReadIndexCheckpointStreamCompleted (cognitive 21) src/KurrentDB.Projections.V1/Services/Processing/EventByType/EventByTypeIndexEventReader.IndexBased.cs:187 — IndexBased.ReadIndexCheckpointStreamCompleted has cognitive complexity 21 (threshold 15).
D2 · Cognitive Complexity · ReaderSubscriptionBase.ProcessOne (cognitive 21) · ×1
  • ReaderSubscriptionBase.ProcessOne (cognitive 21) src/KurrentDB.Projections.V1/Services/Processing/Subscriptions/ReaderSubscriptionBase.cs:86 — ReaderSubscriptionBase.ProcessOne has cognitive complexity 21 (threshold 15).
D2 · Cognitive Complexity · TcpTestClient.CreateTcpConnection (cognitive 21) · ×1
  • TcpTestClient.CreateTcpConnection (cognitive 21) src/KurrentDB.TestClient/TcpTestClient.cs:68 — TcpTestClient.CreateTcpConnection has cognitive complexity 21 (threshold 15).
D2 · Cognitive Complexity · TcpConnectionSsl.TrySend (cognitive 21) · ×1
  • TcpConnectionSsl.TrySend (cognitive 21) src/KurrentDB.Transport.Tcp/TcpConnectionSsl.cs:341 — TcpConnectionSsl.TrySend has cognitive complexity 21 (threshold 15).
D2 · Cognitive Complexity · TcpConnectionSsl.TryDequeueReceivedData (cognitive 21) · ×1
  • TcpConnectionSsl.TryDequeueReceivedData (cognitive 21) src/KurrentDB.Transport.Tcp/TcpConnectionSsl.cs:497 — TcpConnectionSsl.TryDequeueReceivedData has cognitive complexity 21 (threshold 15).
D2 · Cognitive Complexity · JintProjectionStateHandler.Log (cognitive 20) · ×1
  • JintProjectionStateHandler.Log (cognitive 20) src/KurrentDB.Projections.JavaScript/Services/Interpreted/JintProjectionStateHandler.cs:350 — JintProjectionStateHandler.Log has cognitive complexity 20 (threshold 15).
D2 · Cognitive Complexity · MultiStreamEventReader.Handle (cognitive 20) · ×1
  • MultiStreamEventReader.Handle (cognitive 20) src/KurrentDB.Projections.V1/Services/Processing/MultiStream/MultiStreamEventReader.cs:105 — MultiStreamEventReader.Handle has cognitive complexity 20 (threshold 15).
D2 · Cognitive Complexity · TcpConnection.TrySend (cognitive 20) · ×1
  • TcpConnection.TrySend (cognitive 20) src/KurrentDB.Transport.Tcp/TcpConnection.cs:153 — TcpConnection.TrySend has cognitive complexity 20 (threshold 15).
D2 · Cognitive Complexity · EmittedStream.SubmitWriteEvents (cognitive 19) · ×1
  • EmittedStream.SubmitWriteEvents (cognitive 19) src/KurrentDB.Projections.V1/Services/Processing/Emitting/EmittedStream.cs:445 — EmittedStream.SubmitWriteEvents has cognitive complexity 19 (threshold 15).
D2 · Cognitive Complexity · EmittedStream.SubmitWriteEventsInRecoveryLoop (cognitive 19) · ×1
  • EmittedStream.SubmitWriteEventsInRecoveryLoop (cognitive 19) src/KurrentDB.Projections.V1/Services/Processing/Emitting/EmittedStream.cs:608 — EmittedStream.SubmitWriteEventsInRecoveryLoop has cognitive complexity 19 (threshold 15).
D2 · Cognitive Complexity · EmittedStreamsDeleter.ReadCompleted (cognitive 19) · ×1
  • EmittedStreamsDeleter.ReadCompleted (cognitive 19) src/KurrentDB.Projections.V1/Services/Processing/Emitting/EmittedStreamsDeleter.cs:65 — EmittedStreamsDeleter.ReadCompleted has cognitive complexity 19 (threshold 15).
D2 · Cognitive Complexity · ReadAllProcessor.Execute (cognitive 19) · ×1
  • ReadAllProcessor.Execute (cognitive 19) src/KurrentDB.TestClient/GrpcCommands/ReadAllProcessor.cs:23 — ReadAllProcessor.Execute has cognitive complexity 19 (threshold 15).
D2 · Cognitive Complexity · LengthPrefixMessageFramer.Parse (cognitive 19) · ×1
  • LengthPrefixMessageFramer.Parse (cognitive 19) src/KurrentDB.Transport.Tcp/Framing/LengthPrefixMessageFramer.cs:65 — LengthPrefixMessageFramer.Parse has cognitive complexity 19 (threshold 15).
D2 · Cognitive Complexity · LengthPrefixMessageFramerWithBufferPool.Parse (cognitive 19) · ×1
  • LengthPrefixMessageFramerWithBufferPool.Parse (cognitive 19) src/KurrentDB.Transport.Tcp/Framing/LengthPrefixMessageFramerWithBufferPool.cs:59 — LengthPrefixMessageFramerWithBufferPool.Parse has cognitive complexity 19 (threshold 15).
D2 · Cognitive Complexity · CohereBedrockEmbeddingGenerator.ParseEmbeddings (cognitive 19) · ×1
  • CohereBedrockEmbeddingGenerator.ParseEmbeddings (cognitive 19) src/KurrentDB.Kontext/Embeddings/CohereBedrockEmbeddingGenerator.cs:71 — CohereBedrockEmbeddingGenerator.ParseEmbeddings has cognitive complexity 19 (threshold 15).
D2 · Cognitive Complexity · StreamEventReader.Handle (cognitive 18) · ×1
  • StreamEventReader.Handle (cognitive 18) src/KurrentDB.Projections.V1/Services/Processing/SingleStream/StreamEventReader.cs:61 — StreamEventReader.Handle has cognitive complexity 18 (threshold 15).
D2 · Cognitive Complexity · StagedProcessingQueue.RemoveCompleted (cognitive 18) · ×1
  • StagedProcessingQueue.RemoveCompleted (cognitive 18) src/KurrentDB.Projections.V1/Services/Processing/StagedProcessingQueue.cs:148 — StagedProcessingQueue.RemoveCompleted has cognitive complexity 18 (threshold 15).
D2 · Cognitive Complexity · MultiWriteFloodWaitingProcessor.WriteFlood (cognitive 18) · ×1
  • MultiWriteFloodWaitingProcessor.WriteFlood (cognitive 18) src/KurrentDB.TestClient/Commands/MultiWriteFloodWaiting.cs:50 — MultiWriteFloodWaitingProcessor.WriteFlood has cognitive complexity 18 (threshold 15).
D2 · Cognitive Complexity · WriteFloodWaitingProcessor.WriteFlood (cognitive 18) · ×1
  • WriteFloodWaitingProcessor.WriteFlood (cognitive 18) src/KurrentDB.TestClient/Commands/WriteFloodWaitingProcessor.cs:47 — WriteFloodWaitingProcessor.WriteFlood has cognitive complexity 18 (threshold 15).
D2 · Cognitive Complexity · LdapsCredentialValidator.TryValidateCredentials (cognitive 18) · ×1
  • LdapsCredentialValidator.TryValidateCredentials (cognitive 18) src/KurrentDB.Auth.Ldaps/LdapsCredentialValidator.cs:112 — LdapsCredentialValidator.TryValidateCredentials has cognitive complexity 18 (threshold 15).
D2 · Cognitive Complexity · SearchTool.Search (cognitive 18) · ×1
  • SearchTool.Search (cognitive 18) src/KurrentDB.Kontext/Mcp/Inquiry/SearchTool.cs:27 — SearchTool.Search has cognitive complexity 18 (threshold 15).
D2 · Cognitive Complexity · WorkspaceProjection.Accumulate (cognitive 18) · ×1
  • WorkspaceProjection.Accumulate (cognitive 18) src/KurrentDB.Kontext/Workspaces/Registry/WorkspaceProjection.cs:101 — WorkspaceProjection.Accumulate has cognitive complexity 18 (threshold 15).
D2 · Cognitive Complexity · Helper.FormatBinaryDump (cognitive 17) · ×1
  • Helper.FormatBinaryDump (cognitive 17) src/KurrentDB.Common/Utils/Helper.cs:44 — Helper.FormatBinaryDump has cognitive complexity 17 (threshold 15).
D2 · Cognitive Complexity · UriTemplateTable.ConstructFastPathTable (cognitive 17) · ×1
  • UriTemplateTable.ConstructFastPathTable (cognitive 17) src/KurrentDB.NETCore.Compatibility/System.UriTemplate/UriTemplateTable.cs:300 — UriTemplateTable.ConstructFastPathTable has cognitive complexity 17 (threshold 15).
D2 · Cognitive Complexity · UriTemplateTrieNode.Add (cognitive 17) · ×1
  • UriTemplateTrieNode.Add (cognitive 17) src/KurrentDB.NETCore.Compatibility/System.UriTemplate/UriTemplateTrieNode.cs:53 — UriTemplateTrieNode.Add has cognitive complexity 17 (threshold 15).
D2 · Cognitive Complexity · UriTemplateTrieNode.GetMatch (cognitive 17) · ×1
  • UriTemplateTrieNode.GetMatch (cognitive 17) src/KurrentDB.NETCore.Compatibility/System.UriTemplate/UriTemplateTrieNode.cs:130 — UriTemplateTrieNode.GetMatch has cognitive complexity 17 (threshold 15).
D2 · Cognitive Complexity · InterpreterRuntime.FromCategory (cognitive 17) · ×1
  • InterpreterRuntime.FromCategory (cognitive 17) src/KurrentDB.Projections.JavaScript/Services/Interpreted/JintProjectionStateHandler.cs:524 — InterpreterRuntime.FromCategory has cognitive complexity 17 (threshold 15).
D2 · Cognitive Complexity · CheckpointTagExtensions.ParseCheckpointTagCorrelationId (cognitive 17) · ×1
  • CheckpointTagExtensions.ParseCheckpointTagCorrelationId (cognitive 17) src/KurrentDB.Projections.Shared/Services/Processing/Checkpointing/CheckpointTagExtensions.cs:65 — CheckpointTagExtensions.ParseCheckpointTagCorrelationId has cognitive complexity 17 (threshold 15).
D2 · Cognitive Complexity · MultiStreamMultiOutputCheckpointManager.BeginLoadPrerecordedEventsChunk (cognitive 17) · ×1
  • MultiStreamMultiOutputCheckpointManager.BeginLoadPrerecordedEventsChunk (cognitive 17) src/KurrentDB.Projections.V1/Services/Processing/MultiStream/MultiStreamMultiOutputCheckpointManager.cs:101 — MultiStreamMultiOutputCheckpointManager.BeginLoadPrerecordedEventsChunk has cognitive complexity 17 (threshold 15).
D2 · Cognitive Complexity · WriteFloodClientApiProcessor.WriteFlood (cognitive 17) · ×1
  • WriteFloodClientApiProcessor.WriteFlood (cognitive 17) src/KurrentDB.TestClient/Commands/WriteFloodClientApiProcessor.cs:49 — WriteFloodClientApiProcessor.WriteFlood has cognitive complexity 17 (threshold 15).
D2 · Cognitive Complexity · WriteProcessor.Execute (cognitive 17) · ×1
  • WriteProcessor.Execute (cognitive 17) src/KurrentDB.TestClient/Commands/WriteProcessor.cs:22 — WriteProcessor.Execute has cognitive complexity 17 (threshold 15).
D2 · Cognitive Complexity · ConnectorsControlService.Execute (cognitive 17) · ×1
  • ConnectorsControlService.Execute (cognitive 17) src/Connectors/KurrentDB.Connectors/Planes/Control/ConnectorsControlService.cs:52 — ConnectorsControlService.Execute has cognitive complexity 17 (threshold 15).
D2 · Cognitive Complexity · SubscriptionBase.RunSubscription (cognitive 17) · ×1
  • SubscriptionBase.RunSubscription (cognitive 17) src/KurrentDB.Kontext/Indexing/SubscriptionBase.cs:89 — SubscriptionBase.RunSubscription has cognitive complexity 17 (threshold 15).
D2 · Cognitive Complexity · KontextService.DiscoverStreams (cognitive 17) · ×1
  • KontextService.DiscoverStreams (cognitive 17) src/KurrentDB.Kontext/Search/KontextService.cs:274 — KontextService.DiscoverStreams has cognitive complexity 17 (threshold 15).
D2 · Cognitive Complexity · SearchAlgorithms.MmrSelect (cognitive 17) · ×1
  • SearchAlgorithms.MmrSelect (cognitive 17) src/KurrentDB.Kontext/Search/SearchAlgorithms.Mmr.cs:7 — SearchAlgorithms.MmrSelect has cognitive complexity 17 (threshold 15).
D2 · Cognitive Complexity · UriTemplateTrieNode.FindAnyUriTemplate (cognitive 16) · ×1
  • UriTemplateTrieNode.FindAnyUriTemplate (cognitive 16) src/KurrentDB.NETCore.Compatibility/System.UriTemplate/UriTemplateTrieNode.cs:392 — UriTemplateTrieNode.FindAnyUriTemplate has cognitive complexity 16 (threshold 15).
D2 · Cognitive Complexity · StagedProcessingQueue.GetEntryToProcess (cognitive 16) · ×1
  • StagedProcessingQueue.GetEntryToProcess (cognitive 16) src/KurrentDB.Projections.V1/Services/Processing/StagedProcessingQueue.cs:118 — StagedProcessingQueue.GetEntryToProcess has cognitive complexity 16 (threshold 15).
D2 · Cognitive Complexity · StagedProcessingQueue.SetEntryCorrelation (cognitive 16) · ×1
  • StagedProcessingQueue.SetEntryCorrelation (cognitive 16) src/KurrentDB.Projections.V1/Services/Processing/StagedProcessingQueue.cs:218 — StagedProcessingQueue.SetEntryCorrelation has cognitive complexity 16 (threshold 15).
D2 · Cognitive Complexity · DvuBasicProcessor.Execute (cognitive 16) · ×1
  • DvuBasicProcessor.Execute (cognitive 16) src/KurrentDB.TestClient/Commands/DvuBasic/DvuBasicProcessor.cs:49 — DvuBasicProcessor.Execute has cognitive complexity 16 (threshold 15).
D2 · Cognitive Complexity · PortsHelper.InitPorts (cognitive 16) · ×1
  • PortsHelper.InitPorts (cognitive 16) src/KurrentDB.TestClient/PortsHelper.cs:27 — PortsHelper.InitPorts has cognitive complexity 16 (threshold 15).
D2 · Cognitive Complexity · CertificateUtils.FindCandidateRoots (cognitive 16) · ×1
  • CertificateUtils.FindCandidateRoots (cognitive 16) src/KurrentDB.Auth.UserCertificates/CertificateUtils.cs:61 — CertificateUtils.FindCandidateRoots has cognitive complexity 16 (threshold 15).
D2 · Cognitive Complexity · MiniNode.MiniNode.ctor (cognitive 16) · ×1
  • MiniNode.MiniNode.ctor (cognitive 16) src/KurrentDB.Core.Testing/Helpers/MiniNode.cs:80 — MiniNode.MiniNode.ctor has cognitive complexity 16 (threshold 15).
D2 · Cognitive Complexity · ImportValidator.Validate (cognitive 16) · ×1
  • ImportValidator.Validate (cognitive 16) src/KurrentDB.Kontext/Mcp/Workspace/ImportValidator.cs:11 — ImportValidator.Validate has cognitive complexity 16 (threshold 15).
D36 · Supply-chain Provenance & Signing · Unpinned build actions · ×1
  • Unpinned build actions — CI references GitHub Actions by a floating ref (@main / @tag) rather than a pinned commit SHA, weakening build integrity.
D4 · Code Duplication · Duplicated block (43 lines × 2) · ×1
  • Duplicated block (43 lines × 2) src/KurrentDB.TestClient/Commands/PingFloodProcessor.cs:47 — src/KurrentDB.TestClient/Commands/PingFloodProcessor.cs:47-89 | src/KurrentDB.TestClient/Commands/PingFloodWaitingProcessor.cs:46-80
D4 · Code Duplication · Duplicated block (26 lines × 2) · ×1
  • Duplicated block (26 lines × 2) src/KurrentDB.Plugins/Diagnostics/DiagnosticsListeners.cs:121 — src/KurrentDB.Plugins/Diagnostics/DiagnosticsListeners.cs:121-146 | src/Connectors/KurrentDB.Connectors/Infrastructure/Diagnostics/GenericDiagnosticsListener.cs:25-50
D4 · Code Duplication · Duplicated block (18 lines × 2) · ×1
  • Duplicated block (18 lines × 2) src/Connectors/KurrentDB.Connectors/Infrastructure/System/Node/NodeBackgroundService.cs:54 — src/Connectors/KurrentDB.Connectors/Infrastructure/System/Node/NodeBackgroundService.cs:54-71 | src/SchemaRegistry/KurrentDB.SchemaRegistry/Infrastructure/System/Node/NodeBackgroundService.cs:53-70
D4 · Code Duplication · Duplicated block (13 lines × 5) · ×1
  • Duplicated block (13 lines × 5) src/KurrentDB.Projections.Management/Services/Grpc/ProjectionManagement.Delete.cs:41 — src/KurrentDB.Projections.Management/Services/Grpc/ProjectionManagement.Delete.cs:41-53 | src/KurrentDB.Projections.Management/Services/Grpc/ProjectionManagement.Disable.cs:40-52 | src/KurrentDB.Projections.Management/Services/Grpc/ProjectionManagement.Enable.cs:38-50 | src/KurrentDB.Projections.Management/Services/Grpc/ProjectionManagement.Reset.cs:38-50 | src/KurrentDB.Projections.Management/Services/Grpc/ProjectionManagement.Update.cs:48-60
D4 · Code Duplication · Duplicated block (12 lines × 3) · ×1
  • Duplicated block (12 lines × 3) src/KurrentDB.TestClient/ClientApiTcpCommands/WriteFloodProcessor.cs:48 — src/KurrentDB.TestClient/ClientApiTcpCommands/WriteFloodProcessor.cs:48-59 | src/KurrentDB.TestClient/Commands/WriteFloodProcessor.cs:44-55 | src/KurrentDB.TestClient/GrpcCommands/WriteFloodProcessor.cs:45-56
D4 · Code Duplication · Duplicated block (8 lines × 2) · ×1
  • Duplicated block (8 lines × 2) src/KurrentDB.Core.Testing/TransactionLog/Scavenging/TFChunkDbCreationHelper.cs:335 — src/KurrentDB.Core.Testing/TransactionLog/Scavenging/TFChunkDbCreationHelper.cs:335-342 | src/KurrentDB.Core.Testing/TransactionLog/Scavenging/TFChunkDbCreationHelper.cs:361-368
D4 · Code Duplication · Duplicated block (6 lines × 2) · ×1
  • Duplicated block (6 lines × 2) src/KurrentDB.Core.Testing/Http/TestController.cs:27 — src/KurrentDB.Core.Testing/Http/TestController.cs:27-32 | src/KurrentDB.Core.Testing/Http/TestController.cs:33-38
D4 · Code Duplication · Duplicated block (5 lines × 2) · ×1
  • Duplicated block (5 lines × 2) src/KurrentDB.TestClient/Commands/RequestMonitor.cs:53 — src/KurrentDB.TestClient/Commands/RequestMonitor.cs:53-57 | src/KurrentDB.TestClient/Commands/RequestMonitor.cs:58-62
D5 · Coupling · Unstable project KurrentDB · ×1
  • Unstable project KurrentDB — KurrentDB has instability 0.85 with 4 dependents.
D5 · Coupling · Unstable project KurrentDB.Plugins.Kontext · ×1
  • Unstable project KurrentDB.Plugins.Kontext — KurrentDB.Plugins.Kontext has instability 0.83 with 1 dependents.
D8 · Code Coverage · Coverage not measured · ×1
  • Coverage not measured — The test suite couldn't be built/run in-image and no coverage report is committed, so line coverage was not measured — and it is EXCLUDED from the score rather than scored on a LoC-ratio proxy. Commit the Cobertura/OpenCover/lcov report your CI already produces (anywhere in the repo), or make the suite runnable in-image, and real coverage will be measured.
Recommendation — 23 finding(s)
D26 · Project Cohesion · Large project · ×8
  • Large project: KurrentDB.Core — 0 LoC, 954 public types across 93 namespaces — review for cohesion.
  • Large project: KurrentDB.Projections.V1 — 10677 LoC, 110 public types across 19 namespaces — review for cohesion.
  • Large project: KurrentDB.Connectors — 4788 LoC, 125 public types across 26 namespaces — review for cohesion.
  • Large project: KurrentDB.Core.Tests — 0 LoC, 1124 public types across 118 namespaces — review for cohesion.
  • Large project: KurrentDB.Core.XUnit.Tests — 0 LoC, 181 public types across 41 namespaces — review for cohesion.
  • Large project: KurrentDB.Projections.Management.Tests — 0 LoC, 212 public types across 45 namespaces — review for cohesion.
  • Large project: KurrentDB.Projections.V1.Tests — 0 LoC, 284 public types across 39 namespaces — review for cohesion.
  • Large project: KurrentDB.Kontext — 5802 LoC, 133 public types across 15 namespaces — review for cohesion.
D18 · Solution Shape · Shell project · ×5
  • Shell project: KurrentDB.ClusterNode.Web src/KurrentDB.ClusterNode.Web/KurrentDB.ClusterNode.Web.csproj — `KurrentDB.ClusterNode.Web` contributes only 0 significant line(s) — an empty/placeholder project is structural noise. Remove it or fold its contents into a real project.
  • Shell project: KurrentDB.Connectors.Contracts src/Connectors/KurrentDB.Connectors.Contracts/KurrentDB.Connectors.Contracts.csproj — `KurrentDB.Connectors.Contracts` contributes only 0 significant line(s) — an empty/placeholder project is structural noise. Remove it or fold its contents into a real project.
  • Shell project: KurrentDB.SchemaRegistry.Protocol src/SchemaRegistry/KurrentDB.SchemaRegistry.Protocol/KurrentDB.SchemaRegistry.Protocol.csproj — `KurrentDB.SchemaRegistry.Protocol` contributes only 0 significant line(s) — an empty/placeholder project is structural noise. Remove it or fold its contents into a real project.
  • Shell project: KurrentDB.Surge.Testing.Messages src/KurrentDB.Surge.Testing.Messages/KurrentDB.Surge.Testing.Messages.csproj — `KurrentDB.Surge.Testing.Messages` contributes only 0 significant line(s) — an empty/placeholder project is structural noise. Remove it or fold its contents into a real project.
  • Shell project: KurrentDB.Kontext.Models src/KurrentDB.Kontext.Models/KurrentDB.Kontext.Models.csproj — `KurrentDB.Kontext.Models` contributes only 0 significant line(s) — an empty/placeholder project is structural noise. Remove it or fold its contents into a real project.
D11 · Test Reliability · No tests discovered · ×1
  • No tests discovered — Test reliability not scored — the test tier(s) built and ran but no tests were discovered, so reliability couldn't be exercised.
D23 · Boundary Type-Coupling · Bounded contexts not declared · ×1
  • Bounded contexts not declared — large codebase (82,743 production LoC) with no declared bounded contexts — cross-boundary type coupling is unassessed Declare architecture.contexts (≥2) in config to assess cross-boundary type coupling.
D28 · Secrets (history) · Rotate the exposed credentials · ×1
  • Rotate the exposed credentials — git history can't be un-committed — Some of these secrets are in git HISTORY: deleting the file does not remove them (the commit persists on every clone, fork and backup). The remediation is to ROTATE each historically-exposed credential and treat it as compromised — not to delete the file. Rewriting history is disruptive and unreliable across existing forks. (Working-tree-only secrets — no commit — can instead be removed from the file and moved to a secret store.)
D32 · Data Compliance (PII/GDPR) · Not applicable · ×1
  • Not applicable — No PII/GDPR-handling patterns detected (p/gdpr ruleset) — no data-compliance surface to assess.
D34 · Knowledge Freshness · early-stage repository · ×1
  • early-stage repository — too little history to judge knowledge freshness — early-stage repository — too little history to judge knowledge freshness (0 commit(s) sampled).
D36 · Supply-chain Provenance & Signing · No build provenance · ×1
  • No build provenance — No SLSA provenance generation or build attestation found in CI (e.g. slsa-github-generator, actions/attest-build-provenance).
D36 · Supply-chain Provenance & Signing · No artifact signing · ×1
  • No artifact signing — No artifact signing found in CI (e.g. cosign / sigstore / gitsign).
D36 · Supply-chain Provenance & Signing · No SBOM · ×1
  • No SBOM — No SBOM generation or committed SBOM found (e.g. syft / anchore/sbom-action / *.spdx.json / *.cdx.json).
D39 · IL Efficiency · IL metrics not applicable · ×1
  • IL metrics not applicable — The target did not build, so no IL was available to measure.
D7 · Architectural Integrity · No checkable ADRs to assess · ×1
  • No checkable ADRs to assess — No architecture decision records were found and the project graph is acyclic, so architectural integrity could not be assessed. Add ADRs (with `enforcement: analyzer|test`) to make the architecture's rules checkable.
Info — 804 finding(s)
D12 · Dependency Hygiene · Outdated · ×518
  • Outdated: JetBrains.Annotations — JetBrains.Annotations 2025.2.2 → 2026.2.0 available.
  • Outdated: Microsoft.Extensions.Configuration — Microsoft.Extensions.Configuration 10.0.3 → 10.0.9 available.
  • Outdated: Microsoft.Testing.Extensions.CodeCoverage — Microsoft.Testing.Extensions.CodeCoverage 18.1.0 → 18.8.0 available.
  • Outdated: Microsoft.Testing.Extensions.CrashDump — Microsoft.Testing.Extensions.CrashDump 2.0.1 → 2.2.3 available.
  • Outdated: Microsoft.Testing.Extensions.HangDump — Microsoft.Testing.Extensions.HangDump 2.0.1 → 2.2.3 available.
  • Outdated: Microsoft.Testing.Extensions.TrxReport — Microsoft.Testing.Extensions.TrxReport 2.0.1 → 2.2.3 available.
  • Outdated: RestSharp — RestSharp 112.1.0 → 114.0.0 available.
  • Outdated: Testcontainers — Testcontainers 4.7.0 → 4.12.0 available.
  • Outdated: TUnit — TUnit 1.0.39 → 1.56.18 available.
  • Outdated: JetBrains.Annotations — JetBrains.Annotations 2025.2.2 → 2026.2.0 available.
  • Outdated: Serilog — Serilog 4.3.0 → 4.3.1 available.
  • Outdated: JetBrains.Annotations — JetBrains.Annotations 2025.2.2 → 2026.2.0 available.
  • Outdated: GitInfo — GitInfo 3.3.3 → 3.6.0 available.
  • Outdated: Grpc.Net.Common — Grpc.Net.Common 2.76.0 → 2.80.0 available.
  • Outdated: JetBrains.Annotations — JetBrains.Annotations 2025.2.2 → 2026.2.0 available.
  • Outdated: Newtonsoft.Json — Newtonsoft.Json 13.0.3 → 13.0.4 available.
  • Outdated: OpenTelemetry — OpenTelemetry 1.15.3 → 1.16.0 available.
  • Outdated: Serilog — Serilog 4.3.0 → 4.3.1 available.
  • Outdated: Serilog.Extensions.Logging — Serilog.Extensions.Logging 9.0.2 → 10.0.0 available.
  • Outdated: Serilog.Settings.Configuration — Serilog.Settings.Configuration 9.0.0 → 10.0.1 available.
  • Outdated: Serilog.Sinks.Console — Serilog.Sinks.Console 6.0.0 → 6.1.1 available.
  • Outdated: Serilog.Sinks.Seq — Serilog.Sinks.Seq 9.0.0 → 9.1.0 available.
  • Outdated: System.Security.Cryptography.Pkcs — System.Security.Cryptography.Pkcs 10.0.6 → 10.0.9 available.
  • Outdated: YamlDotnet — YamlDotnet 16.3.0 → 18.0.0 available.
  • Outdated: AWSSDK.Core — AWSSDK.Core 4.0.7.3 → 4.0.9.6 available.
  • + 493 more in this group — see findings.md.
D17 · Explicit Debt · Justified suppression · ×161
  • Justified suppression src/KurrentDB.Common/DevCertificates/CertificateManager.cs:697 — UnconditionalSuppressMessage
  • Justified suppression src/KurrentDB.Common/DevCertificates/CertificateManager.cs:745 — UnconditionalSuppressMessage
  • Justified suppression src/KurrentDB.Common/DevCertificates/CertificateManager.cs:33 — #pragma warning disable CA1416 // Validate platform compatibility
  • Justified suppression src/KurrentDB.Common/DevCertificates/MacOSCertificateManager.cs:97 — empty catch — narrow/filtered/commented, treated as intentional
  • Justified suppression src/KurrentDB.Common/DevCertificates/MacOSCertificateManager.cs:214 — empty catch — narrow/filtered/commented, treated as intentional
  • Justified suppression src/KurrentDB.Core/Authorization/AuthorizationPolicies/StreamBasedAuthorizationPolicyRegistry.cs:239 — empty catch (ReadResponseException.StreamNotFound) in test code (best-effort teardown)
  • Justified suppression src/KurrentDB.Core/Bus/QueuedHandlerThreadPool.cs:98 — empty catch (Exception) in test code (best-effort teardown)
  • Justified suppression src/KurrentDB.Core/Bus/ThreadPoolMessageScheduler.cs:109 — empty catch (Exception) in test code (best-effort teardown)
  • Justified suppression src/KurrentDB.Core/Bus/ThreadPoolMessageScheduler.StateMachine.cs:149 — empty catch (OperationCanceledException) when (…) in test code (best-effort teardown)
  • Justified suppression src/KurrentDB.Core/Bus/ThreadPoolMessageScheduler.StateMachine.cs:74 — SuppressMessage
  • Justified suppression src/KurrentDB.Core/Bus/ThreadPoolMessageScheduler.StateMachine.cs:129 — SuppressMessage
  • Justified suppression src/KurrentDB.Core/Certificates/CertificateUtils.cs:97 — empty catch (CryptographicException) in test code (best-effort teardown)
  • Justified suppression src/KurrentDB.Core/Certificates/CertificateUtils.cs:144 — empty catch in test code (best-effort teardown)
  • Justified suppression src/KurrentDB.Core/DuckDB/DuckDBConnectionPoolLifetime.cs:113 — empty catch (IOException) in test code (best-effort teardown)
  • Justified suppression src/KurrentDB.Core/DuckDB/DuckDBConnectionPoolLifetime.cs:128 — empty catch (Exception) in test code (best-effort teardown)
  • Justified suppression src/KurrentDB.Core/Messaging/AsyncTaskEnvelope.cs:30 — empty catch (OperationCanceledException) in test code (best-effort teardown)
  • Justified suppression src/KurrentDB.Core/Messaging/ContinuationEnvelope.cs:38 — empty catch (ObjectDisposedException) in test code (best-effort teardown)
  • Justified suppression src/KurrentDB.Core/Messaging/ContinuationEnvelope.cs:38 — empty catch (OperationCanceledException) in test code (best-effort teardown)
  • Justified suppression src/KurrentDB.Core/Services/Monitoring/Utils/EventCountersHelper.cs:85 — empty catch (ObjectDisposedException) in test code (best-effort teardown)
  • Justified suppression src/KurrentDB.Core/Services/Monitoring/Utils/EventCountersHelper.cs:145 — empty catch (ServerNotAvailableException) in test code (best-effort teardown)
  • Justified suppression src/KurrentDB.Core/Services/RequestManager/CommitSource.cs:73 — empty catch in test code (best-effort teardown)
  • Justified suppression src/KurrentDB.Core/Services/RequestManager/Managers/RequestManagerBase.cs:232 — empty catch in test code (best-effort teardown)
  • Justified suppression src/KurrentDB.Core/Services/RequestManager/RequestManagementService.cs:175 — #pragma warning disable CS9336 // The pattern is redundant.
  • Justified suppression src/KurrentDB.Core/Services/Storage/IndexCommitterService.cs:116 — empty catch (OperationCanceledException) when (…) in test code (best-effort teardown)
  • Justified suppression src/KurrentDB.Core/Services/Transport/Grpc/PersistentSubscriptions.Read.cs:96 — empty catch in test code (best-effort teardown)
  • + 136 more in this group — see findings.md.
D10 · Test Quality · Skipped (documented) · ×24
  • Skipped (documented): append_session_throws_when_user_is_not_authenticated src/KurrentDB.Api.V2.Tests/Modules/Streams/StreamsServiceTests.cs:305 — Skipped with a documented reason — a deferral, not lazy debt: Skipping for now.
  • Skipped (documented): append_session_throws_when_user_does_not_have_permissions src/KurrentDB.Api.V2.Tests/Modules/Streams/StreamsServiceTests.cs:322 — Skipped with a documented reason — a deferral, not lazy debt: Skipping for now.
  • Skipped (documented): authenticate_user_with_no_roles_returns_no_roles src/KurrentDB.Auth.Ldaps.Tests/LdapsPluginTests.cs:147 — Skipped with a documented reason — a deferral, not lazy debt: This currently results in an error and the request never returns
  • Skipped (documented): with_two_different_roots_but_equivalent_intermediates src/KurrentDB.Auth.UserCertificates.Tests/FindRootsTests.cs:138 — Skipped with a documented reason — a deferral, not lazy debt: failing on linux due to the above issue
  • Skipped (documented): null_message_app_should_throw src/KurrentDB.Core.Tests/Bus/when_publishing_into_memory_bus.cs:27 — Skipped with a documented reason — a deferral, not lazy debt: We do not check each message for null for performance reasons.
  • Skipped (documented): null_message_should_throw src/KurrentDB.Core.Tests/Bus/when_publishing_to_queued_handler.cs:33 — Skipped with a documented reason — a deferral, not lazy debt: We do not check each message for null for performance reasons.
  • Skipped (documented): getting_metadata_for_metastream_returns_correct_metadata src/KurrentDB.Core.Tests/ClientAPI/when_working_with_stream_metadata_as_structured_info.cs:176 — Skipped with a documented reason — a deferral, not lazy debt: You can't get stream metadata for metastream through ClientAPI
  • Skipped (documented): count_should_be_right src/KurrentDB.Core.Tests/Index/IndexV1/opening_a_ptable_with_more_than_32bits_of_records.cs:87 — Skipped with a documented reason — a deferral, not lazy debt: Long running, unsafe
  • Skipped (documented): filename_is_correct src/KurrentDB.Core.Tests/Index/IndexV1/opening_a_ptable_with_more_than_32bits_of_records.cs:92 — Skipped with a documented reason — a deferral, not lazy debt: Long running, unsafe
  • Skipped (documented): construct_valid_cache_for_any_combination_of_params_large src/KurrentDB.Core.Tests/Index/IndexV1/ptable_midpoint_cache_should.cs:84 — Skipped with a documented reason — a deferral, not lazy debt: Veerrrryyy long running :)
  • Skipped (documented): ptable_exceeding_maximum_filter_size_succeeds src/KurrentDB.Core.Tests/Index/IndexV1/when_creating_large_bloom_filter.cs:11 — Skipped with a documented reason — a deferral, not lazy debt: Quick but requires 4gb disk
  • Skipped (documented): client_should_send_intermediate_certificate_during_handshake src/KurrentDB.Core.Tests/Services/Transport/Tcp/with_intermediate_certificates.cs:81 — Skipped with a documented reason — a deferral, not lazy debt: Skipped since it adds an intermediate certificate to the current user's store
  • Skipped (documented): throw_argumentnullexception_when_given_null_data src/KurrentDB.Core.Tests/TransactionLog/prepare_log_record_should.cs:100 — Skipped with a documented reason — a deferral, not lazy debt: ReadOnlyMemory will always convert back to empty array if initialized with null array.
  • Skipped (documented): when_seeking_greater_than_2gb src/KurrentDB.Core.Tests/TransactionLog/Unbuffered/UnbufferedTests.cs:257 — Skipped with a documented reason — a deferral, not lazy debt: Requires a 4gb file
  • Skipped (documented): does_not_allow_next_new_completed_chunk_when_checksum_is_exactly_in_between_two_chunks src/KurrentDB.Core.Tests/TransactionLog/Validation/when_validating_tfchunk_db.cs:81 — Skipped with a documented reason — a deferral, not lazy debt: Due to truncation such situation can happen, so must be considered valid.
  • Skipped (documented): with_wrong_size_file_less_than_checksum_throws src/KurrentDB.Core.Tests/TransactionLog/Validation/when_validating_tfchunk_db.cs:114 — Skipped with a documented reason — a deferral, not lazy debt: Not valid test now after disabling size validation on ongoing TFChunk
  • Skipped (documented): does_not_allow_first_completed_chunk_when_checkpoint_is_zero src/KurrentDB.Core.Tests/TransactionLog/Validation/when_validating_tfchunk_db.cs:243 — Skipped with a documented reason — a deferral, not lazy debt: Due to truncation such situation can happen, so must be considered valid.
  • Skipped (documented): does_not_allow_checkpoint_to_point_into_the_middle_of_completed_chunk_when_not_enough_actual_data src/KurrentDB.Core.Tests/TransactionLog/Validation/when_validating_tfchunk_db.cs:268 — Skipped with a documented reason — a deferral, not lazy debt: We do not check this as it is too erroneous to read ChunkFooter from ongoing chunk...
  • Skipped (documented): when_checkpoint_is_on_boundary_of_new_chunk_and_last_chunk_is_truncated_but_not_completed_exception_is_thrown src/KurrentDB.Core.Tests/TransactionLog/Validation/when_validating_tfchunk_db.cs:412 — Skipped with a documented reason — a deferral, not lazy debt: Not valid test now after disabling size validation on ongoing TFChunk
  • Skipped (documented): does_not_allow_next_new_chunk_when_checksum_is_exactly_in_between_two_chunks_and_last_is_multi_chunk src/KurrentDB.Core.Tests/TransactionLog/Validation/when_validating_tfchunk_db_with_multi_chunks.cs:66 — Skipped with a documented reason — a deferral, not lazy debt: Due to truncation such situation can happen, so must be considered valid.
  • Skipped (documented): test_memory_usage src/KurrentDB.Core.XUnit.Tests/Scavenge/Sqlite/SqliteScavengeBackendTests.cs:180 — Skipped with a documented reason — a deferral, not lazy debt: Long running, run manually
  • Skipped (documented): test_index_with_archived src/KurrentDB.Core.XUnit.Tests/Scavenge/Sqlite/SqliteScavengeBackendTests.cs:238 — Skipped with a documented reason — a deferral, not lazy debt: Long running, run manually
  • Skipped (documented): correct_event_sequence_has_been_processed src/KurrentDB.Projections.Management.Tests/Services/projections_system/updating_projections/updating_projection_sources.cs:263 — Skipped with a documented reason — a deferral, not lazy debt: No position with stream tag yet
  • Skipped (documented): correct_event_sequence_has_been_processed src/KurrentDB.Projections.Management.Tests/Services/projections_system/updating_projections/updating_projection_sources.cs:331 — Skipped with a documented reason — a deferral, not lazy debt: No position in multi-stream tag
D10 · Test Quality · Mock framework · ×1
  • Mock framework: NSubstitute — KurrentDB.SecondaryIndexing.Tests references NSubstitute.
D14 · License Compliance · Licenses scanned · ×1
  • Licenses scanned — 169 packages scanned; 4 distinct SPDX licenses.
D18 · Solution Shape · Build status unknown · ×1
  • Build status unknown — The build did not finish within its budget on this run; structural metrics are reported, build/warning status is unknown.
D18 · Solution Shape · KurrentDB.BufferManagement (Production) · ×1
  • KurrentDB.BufferManagement (Production) src/KurrentDB.BufferManagement/KurrentDB.BufferManagement.csproj — 5 .cs files, 728 LoC (440 significant)
D18 · Solution Shape · KurrentDB.BufferManagement.Tests (Test) · ×1
  • KurrentDB.BufferManagement.Tests (Test) src/KurrentDB.BufferManagement.Tests/KurrentDB.BufferManagement.Tests.csproj — 3 .cs files, 700 LoC (587 significant)
D18 · Solution Shape · KurrentDB.Projections.V1.Tests (Test) · ×1
  • KurrentDB.Projections.V1.Tests (Test) src/KurrentDB.Projections.V1.Tests/KurrentDB.Projections.V1.Tests.csproj — 288 .cs files, 22482 LoC (18349 significant)
D18 · Solution Shape · KurrentDB.ClusterNode.Web (Production) · ×1
  • KurrentDB.ClusterNode.Web (Production) src/KurrentDB.ClusterNode.Web/KurrentDB.ClusterNode.Web.csproj — 0 .cs files, 0 LoC (0 significant)
D18 · Solution Shape · KurrentDB.Common (Production) · ×1
  • KurrentDB.Common (Production) src/KurrentDB.Common/KurrentDB.Common.csproj — 57 .cs files, 4495 LoC (2985 significant)
D18 · Solution Shape · KurrentDB.Core.Tests (Test) · ×1
  • KurrentDB.Core.Tests (Test) src/KurrentDB.Core.Tests/KurrentDB.Core.Tests.csproj — 812 .cs files, 99625 LoC (80116 significant)
D18 · Solution Shape · KurrentDB.Projections.V1 (Production) · ×1
  • KurrentDB.Projections.V1 (Production) src/KurrentDB.Projections.V1/KurrentDB.Projections.V1.csproj — 128 .cs files, 12688 LoC (10150 significant)
D18 · Solution Shape · KurrentDB.TestClient (Production) · ×1
  • KurrentDB.TestClient (Production) src/KurrentDB.TestClient/KurrentDB.TestClient.csproj — 66 .cs files, 7863 LoC (6110 significant)
D18 · Solution Shape · KurrentDB.Transport.Http (Production) · ×1
  • KurrentDB.Transport.Http (Production) src/KurrentDB.Transport.Http/KurrentDB.Transport.Http.csproj — 34 .cs files, 2472 LoC (1859 significant)
D18 · Solution Shape · KurrentDB.Core (Test) · ×1
  • KurrentDB.Core (Test) src/KurrentDB.Core/KurrentDB.Core.csproj — 868 .cs files, 95366 LoC (73732 significant)
D18 · Solution Shape · KurrentDB.Transport.Tcp (Production) · ×1
  • KurrentDB.Transport.Tcp (Production) src/KurrentDB.Transport.Tcp/KurrentDB.Transport.Tcp.csproj — 20 .cs files, 2546 LoC (1906 significant)
D18 · Solution Shape · KurrentDB (Production) · ×1
  • KurrentDB (Production) src/KurrentDB/KurrentDB.csproj — 18 .cs files, 1486 LoC (1156 significant)
D18 · Solution Shape · KurrentDB.Native (Production) · ×1
  • KurrentDB.Native (Production) src/KurrentDB.Native/KurrentDB.Native.csproj — 6 .cs files, 413 LoC (302 significant)
D18 · Solution Shape · KurrentDB.NETCore.Compatibility (Production) · ×1
  • KurrentDB.NETCore.Compatibility (Production) src/KurrentDB.NETCore.Compatibility/KurrentDB.NETCore.Compatibility.csproj — 24 .cs files, 4710 LoC (3922 significant)
D18 · Solution Shape · KurrentDB.LogCommon (Production) · ×1
  • KurrentDB.LogCommon (Production) src/KurrentDB.LogCommon/KurrentDB.LogCommon.csproj — 2 .cs files, 39 LoC (24 significant)
D18 · Solution Shape · KurrentDB.Core.XUnit.Tests (Test) · ×1
  • KurrentDB.Core.XUnit.Tests (Test) src/KurrentDB.Core.XUnit.Tests/KurrentDB.Core.XUnit.Tests.csproj — 182 .cs files, 23563 LoC (18833 significant)
D18 · Solution Shape · KurrentDB.Projections.JavaScript.Tests (Test) · ×1
  • KurrentDB.Projections.JavaScript.Tests (Test) src/KurrentDB.Projections.JavaScript.Tests/KurrentDB.Projections.JavaScript.Tests.csproj — 7 .cs files, 1141 LoC (972 significant)
D18 · Solution Shape · KurrentDB.MicroBenchmarks (Production) · ×1
  • KurrentDB.MicroBenchmarks (Production) src/KurrentDB.MicroBenchmarks/KurrentDB.MicroBenchmarks.csproj — 3 .cs files, 127 LoC (97 significant)
D18 · Solution Shape · KurrentDB.SourceGenerators (Production) · ×1
  • KurrentDB.SourceGenerators (Production) src/KurrentDB.SourceGenerators/KurrentDB.SourceGenerators.csproj — 4 .cs files, 351 LoC (276 significant)
D18 · Solution Shape · KurrentDB.SourceGenerators.Tests (Test) · ×1
  • KurrentDB.SourceGenerators.Tests (Test) src/KurrentDB.SourceGenerators.Tests/KurrentDB.SourceGenerators.Tests.csproj — 12 .cs files, 281 LoC (229 significant)
D18 · Solution Shape · KurrentDB.Common.Tests (Test) · ×1
  • KurrentDB.Common.Tests (Test) src/KurrentDB.Common.Tests/KurrentDB.Common.Tests.csproj — 9 .cs files, 510 LoC (383 significant)
D18 · Solution Shape · KurrentDB.PluginHosting (Production) · ×1
  • KurrentDB.PluginHosting (Production) src/KurrentDB.PluginHosting/KurrentDB.PluginHosting.csproj — 1 .cs files, 84 LoC (65 significant)
D18 · Solution Shape · KurrentDB.SystemRuntime (Production) · ×1
  • KurrentDB.SystemRuntime (Production) src/KurrentDB.SystemRuntime/KurrentDB.SystemRuntime.csproj — 8 .cs files, 877 LoC (546 significant)
D18 · Solution Shape · KurrentDB.Licensing (Production) · ×1
  • KurrentDB.Licensing (Production) src/KurrentDB.Licensing/KurrentDB.Licensing.csproj — 13 .cs files, 1127 LoC (813 significant)
D18 · Solution Shape · KurrentDB.Licensing.Tests (Test) · ×1
  • KurrentDB.Licensing.Tests (Test) src/KurrentDB.Licensing.Tests/KurrentDB.Licensing.Tests.csproj — 12 .cs files, 1062 LoC (824 significant)
D18 · Solution Shape · KurrentDB.SystemRuntime.Tests (Test) · ×1
  • KurrentDB.SystemRuntime.Tests (Test) src/KurrentDB.SystemRuntime.Tests/KurrentDB.SystemRuntime.Tests.csproj — 2 .cs files, 79 LoC (57 significant)
D18 · Solution Shape · KurrentDB.OtlpExporterPlugin.Tests (Test) · ×1
  • KurrentDB.OtlpExporterPlugin.Tests (Test) src/KurrentDB.OtlpExporterPlugin.Tests/KurrentDB.OtlpExporterPlugin.Tests.csproj — 4 .cs files, 302 LoC (230 significant)
D18 · Solution Shape · KurrentDB.OtlpExporterPlugin (Production) · ×1
  • KurrentDB.OtlpExporterPlugin (Production) src/KurrentDB.OtlpExporterPlugin/KurrentDB.OtlpExporterPlugin.csproj — 1 .cs files, 78 LoC (46 significant)
D18 · Solution Shape · KurrentDB.Plugins.TestHelpers (Production) · ×1
  • KurrentDB.Plugins.TestHelpers (Production) src/KurrentDB.Plugins.TestHelpers/KurrentDB.Plugins.TestHelpers.csproj — 1 .cs files, 54 LoC (41 significant)
D18 · Solution Shape · KurrentDB.Auth.Ldaps (Production) · ×1
  • KurrentDB.Auth.Ldaps (Production) src/KurrentDB.Auth.Ldaps/KurrentDB.Auth.Ldaps.csproj — 9 .cs files, 708 LoC (518 significant)
D18 · Solution Shape · KurrentDB.Auth.Ldaps.Tests (Test) · ×1
  • KurrentDB.Auth.Ldaps.Tests (Test) src/KurrentDB.Auth.Ldaps.Tests/KurrentDB.Auth.Ldaps.Tests.csproj — 4 .cs files, 351 LoC (268 significant)
D18 · Solution Shape · KurrentDB.Auth.LegacyAuthorizationWithStreamAuthorizationDisabled (Production) · ×1
  • KurrentDB.Auth.LegacyAuthorizationWithStreamAuthorizationDisabled (Production) src/KurrentDB.Auth.LegacyAuthorizationWithStreamAuthorizationDisabled/KurrentDB.Auth.LegacyAuthorizationWithStreamAuthorizationDisabled.csproj — 29 .cs files, 1125 LoC (820 significant)
D18 · Solution Shape · KurrentDB.Auth.LegacyAuthorizationWithStreamAuthorizationDisabled.Tests (Test) · ×1
  • KurrentDB.Auth.LegacyAuthorizationWithStreamAuthorizationDisabled.Tests (Test) src/KurrentDB.Auth.LegacyAuthorizationWithStreamAuthorizationDisabled.Tests/KurrentDB.Auth.LegacyAuthorizationWithStreamAuthorizationDisabled.Tests.csproj — 1 .cs files, 125 LoC (95 significant)
D18 · Solution Shape · KurrentDB.Auth.OAuth (Production) · ×1
  • KurrentDB.Auth.OAuth (Production) src/KurrentDB.Auth.OAuth/KurrentDB.Auth.OAuth.csproj — 2 .cs files, 581 LoC (481 significant)
D18 · Solution Shape · KurrentDB.Auth.OAuth.Tests (Test) · ×1
  • KurrentDB.Auth.OAuth.Tests (Test) src/KurrentDB.Auth.OAuth.Tests/KurrentDB.Auth.OAuth.Tests.csproj — 11 .cs files, 878 LoC (667 significant)
D18 · Solution Shape · KurrentDB.Auth.UserCertificates (Production) · ×1
  • KurrentDB.Auth.UserCertificates (Production) src/KurrentDB.Auth.UserCertificates/KurrentDB.Auth.UserCertificates.csproj — 4 .cs files, 430 LoC (309 significant)
D18 · Solution Shape · KurrentDB.Auth.UserCertificates.Tests (Test) · ×1
  • KurrentDB.Auth.UserCertificates.Tests (Test) src/KurrentDB.Auth.UserCertificates.Tests/KurrentDB.Auth.UserCertificates.Tests.csproj — 10 .cs files, 1199 LoC (939 significant)
D18 · Solution Shape · KurrentDB.Diagnostics.LogsEndpointPlugin (Production) · ×1
  • KurrentDB.Diagnostics.LogsEndpointPlugin (Production) src/KurrentDB.Diagnostics.LogsEndpointPlugin/KurrentDB.Diagnostics.LogsEndpointPlugin.csproj — 2 .cs files, 208 LoC (161 significant)
D18 · Solution Shape · KurrentDB.Diagnostics.LogsEndpointPlugin.Tests (Test) · ×1
  • KurrentDB.Diagnostics.LogsEndpointPlugin.Tests (Test) src/KurrentDB.Diagnostics.LogsEndpointPlugin.Tests/KurrentDB.Diagnostics.LogsEndpointPlugin.Tests.csproj — 2 .cs files, 400 LoC (304 significant)
D18 · Solution Shape · KurrentDB.Security.EncryptionAtRest (Production) · ×1
  • KurrentDB.Security.EncryptionAtRest (Production) src/KurrentDB.Security.EncryptionAtRest/KurrentDB.Security.EncryptionAtRest.csproj — 23 .cs files, 1429 LoC (984 significant)
D18 · Solution Shape · KurrentDB.Security.EncryptionAtRest.Tests (Test) · ×1
  • KurrentDB.Security.EncryptionAtRest.Tests (Test) src/KurrentDB.Security.EncryptionAtRest.Tests/KurrentDB.Security.EncryptionAtRest.Tests.csproj — 2 .cs files, 397 LoC (295 significant)
D18 · Solution Shape · KurrentDB.POC.IO.Core (Production) · ×1
  • KurrentDB.POC.IO.Core (Production) src/KurrentDB.POC.IO.Core/KurrentDB.POC.IO.Core.csproj — 9 .cs files, 386 LoC (275 significant)
D18 · Solution Shape · KurrentDB.POC.ConnectedSubsystemsPlugin (Production) · ×1
  • KurrentDB.POC.ConnectedSubsystemsPlugin (Production) src/KurrentDB.POC.ConnectedSubsystemsPlugin/KurrentDB.POC.ConnectedSubsystemsPlugin.csproj — 3 .cs files, 480 LoC (402 significant)
D18 · Solution Shape · KurrentDB.AutoScavenge (Production) · ×1
  • KurrentDB.AutoScavenge (Production) src/KurrentDB.AutoScavenge/KurrentDB.AutoScavenge.csproj — 38 .cs files, 2561 LoC (1699 significant)
D18 · Solution Shape · KurrentDB.AutoScavenge.Tests (Test) · ×1
  • KurrentDB.AutoScavenge.Tests (Test) src/KurrentDB.AutoScavenge.Tests/KurrentDB.AutoScavenge.Tests.csproj — 28 .cs files, 2680 LoC (1974 significant)
D18 · Solution Shape · KurrentDB.Auth.StreamPolicyPlugin (Production) · ×1
  • KurrentDB.Auth.StreamPolicyPlugin (Production) src/KurrentDB.Auth.StreamPolicyPlugin/KurrentDB.Auth.StreamPolicyPlugin.csproj — 11 .cs files, 899 LoC (719 significant)
D18 · Solution Shape · KurrentDB.Auth.StreamPolicyPlugin.Tests (Test) · ×1
  • KurrentDB.Auth.StreamPolicyPlugin.Tests (Test) src/KurrentDB.Auth.StreamPolicyPlugin.Tests/KurrentDB.Auth.StreamPolicyPlugin.Tests.csproj — 7 .cs files, 1171 LoC (947 significant)
D18 · Solution Shape · KurrentDB.TcpPlugin (Production) · ×1
  • KurrentDB.TcpPlugin (Production) src/KurrentDB.TcpPlugin/KurrentDB.TcpPlugin.csproj — 3 .cs files, 133 LoC (106 significant)
D18 · Solution Shape · KurrentDB.TcpPlugin.Tests (Test) · ×1
  • KurrentDB.TcpPlugin.Tests (Test) src/KurrentDB.TcpPlugin.Tests/KurrentDB.TcpPlugin.Tests.csproj — 4 .cs files, 262 LoC (209 significant)
D18 · Solution Shape · KurrentDB.UI (Production) · ×1
  • KurrentDB.UI (Production) src/KurrentDB.UI/KurrentDB.UI.csproj — 4 .cs files, 70 LoC (40 significant)
D18 · Solution Shape · KurrentDB.Plugins.Connectors (Production) · ×1
  • KurrentDB.Plugins.Connectors (Production) src/Connectors/KurrentDB.Plugins.Connectors/KurrentDB.Plugins.Connectors.csproj — 1 .cs files, 45 LoC (36 significant)
D18 · Solution Shape · KurrentDB.Connectors (Production) · ×1
  • KurrentDB.Connectors (Production) src/Connectors/KurrentDB.Connectors/KurrentDB.Connectors.csproj — 74 .cs files, 6016 LoC (4129 significant)
D18 · Solution Shape · KurrentDB.Connectors.Contracts (Production) · ×1
  • KurrentDB.Connectors.Contracts (Production) src/Connectors/KurrentDB.Connectors.Contracts/KurrentDB.Connectors.Contracts.csproj — 0 .cs files, 0 LoC (0 significant)
D18 · Solution Shape · KurrentDB.Connectors.Tests (Test) · ×1
  • KurrentDB.Connectors.Tests (Test) src/Connectors/KurrentDB.Connectors.Tests/KurrentDB.Connectors.Tests.csproj — 26 .cs files, 3171 LoC (2018 significant)
D18 · Solution Shape · KurrentDB.Connectors.TestServer (Production) · ×1
  • KurrentDB.Connectors.TestServer (Production) src/Connectors/KurrentDB.Connectors.TestServer/KurrentDB.Connectors.TestServer.csproj — 1 .cs files, 24 LoC (18 significant)
D18 · Solution Shape · KurrentDB.SchemaRegistry.Protocol (Production) · ×1
  • KurrentDB.SchemaRegistry.Protocol (Production) src/SchemaRegistry/KurrentDB.SchemaRegistry.Protocol/KurrentDB.SchemaRegistry.Protocol.csproj — 0 .cs files, 0 LoC (0 significant)
D18 · Solution Shape · KurrentDB.SchemaRegistry (Production) · ×1
  • KurrentDB.SchemaRegistry (Production) src/SchemaRegistry/KurrentDB.SchemaRegistry/KurrentDB.SchemaRegistry.csproj — 41 .cs files, 4159 LoC (2985 significant)
D18 · Solution Shape · KurrentDB.SchemaRegistry.Tests (Test) · ×1
  • KurrentDB.SchemaRegistry.Tests (Test) src/SchemaRegistry/KurrentDB.SchemaRegistry.Tests/KurrentDB.SchemaRegistry.Tests.csproj — 48 .cs files, 3900 LoC (2577 significant)
D18 · Solution Shape · KurrentDB.Surge (Production) · ×1
  • KurrentDB.Surge (Production) src/KurrentDB.Surge/KurrentDB.Surge.csproj — 18 .cs files, 1603 LoC (1199 significant)
D18 · Solution Shape · KurrentDB.Surge.Tests (Test) · ×1
  • KurrentDB.Surge.Tests (Test) src/KurrentDB.Surge.Tests/KurrentDB.Surge.Tests.csproj — 7 .cs files, 1372 LoC (887 significant)
D18 · Solution Shape · KurrentDB.Surge.Testing (Test) · ×1
  • KurrentDB.Surge.Testing (Test) src/KurrentDB.Surge.Testing/KurrentDB.Surge.Testing.csproj — 20 .cs files, 1492 LoC (1006 significant)
D18 · Solution Shape · KurrentDB.Surge.Testing.Messages (Production) · ×1
  • KurrentDB.Surge.Testing.Messages (Production) src/KurrentDB.Surge.Testing.Messages/KurrentDB.Surge.Testing.Messages.csproj — 0 .cs files, 0 LoC (0 significant)
D18 · Solution Shape · KurrentDB.Plugins.SchemaRegistry (Production) · ×1
  • KurrentDB.Plugins.SchemaRegistry (Production) src/SchemaRegistry/KurrentDB.Plugins.SchemaRegistry/KurrentDB.Plugins.SchemaRegistry.csproj — 1 .cs files, 36 LoC (27 significant)
D18 · Solution Shape · KurrentDB.Plugins.Tests (Test) · ×1
  • KurrentDB.Plugins.Tests (Test) src/KurrentDB.Plugins.Tests/KurrentDB.Plugins.Tests.csproj — 10 .cs files, 843 LoC (598 significant)
D18 · Solution Shape · KurrentDB.Plugins (Production) · ×1
  • KurrentDB.Plugins (Production) src/KurrentDB.Plugins/KurrentDB.Plugins.csproj — 42 .cs files, 2084 LoC (1197 significant)
D18 · Solution Shape · KurrentDB.Api.V2 (Production) · ×1
  • KurrentDB.Api.V2 (Production) src/KurrentDB.Api.V2/KurrentDB.Api.V2.csproj — 50 .cs files, 3225 LoC (1798 significant)
D18 · Solution Shape · KurrentDB.Plugins.Api.V2 (Production) · ×1
  • KurrentDB.Plugins.Api.V2 (Production) src/KurrentDB.Plugins.Api.V2/KurrentDB.Plugins.Api.V2.csproj — 1 .cs files, 71 LoC (55 significant)
D18 · Solution Shape · KurrentDB.Testing (Production) · ×1
  • KurrentDB.Testing (Production) src/KurrentDB.Testing/KurrentDB.Testing.csproj — 23 .cs files, 2797 LoC (2005 significant)
D18 · Solution Shape · KurrentDB.Testing.ClusterVNodeApp (Production) · ×1
  • KurrentDB.Testing.ClusterVNodeApp (Production) src/KurrentDB.Testing.ClusterVNodeApp/KurrentDB.Testing.ClusterVNodeApp.csproj — 13 .cs files, 939 LoC (654 significant)
D18 · Solution Shape · KurrentDB.Api.V2.Tests (Test) · ×1
  • KurrentDB.Api.V2.Tests (Test) src/KurrentDB.Api.V2.Tests/KurrentDB.Api.V2.Tests.csproj — 39 .cs files, 5310 LoC (4084 significant)
D18 · Solution Shape · KurrentDB.SecondaryIndexing (Production) · ×1
  • KurrentDB.SecondaryIndexing (Production) src/KurrentDB.SecondaryIndexing/KurrentDB.SecondaryIndexing.csproj — 69 .cs files, 6077 LoC (4429 significant)
D18 · Solution Shape · KurrentDB.SecondaryIndexing.LoadTesting (Production) · ×1
  • KurrentDB.SecondaryIndexing.LoadTesting (Production) src/KurrentDB.SecondaryIndexing.LoadTesting/KurrentDB.SecondaryIndexing.LoadTesting.csproj — 18 .cs files, 629 LoC (447 significant)
D18 · Solution Shape · KurrentDB.Logging (Production) · ×1
  • KurrentDB.Logging (Production) src/KurrentDB.Logging/KurrentDB.Logging.csproj — 9 .cs files, 542 LoC (401 significant)
D18 · Solution Shape · KurrentDB.DuckDB (Production) · ×1
  • KurrentDB.DuckDB (Production) src/KurrentDB.DuckDB/KurrentDB.DuckDB.csproj — 2 .cs files, 43 LoC (27 significant)
D18 · Solution Shape · KurrentDB.SecondaryIndexing.Tests (Test) · ×1
  • KurrentDB.SecondaryIndexing.Tests (Test) src/KurrentDB.SecondaryIndexing.Tests/KurrentDB.SecondaryIndexing.Tests.csproj — 24 .cs files, 2216 LoC (1680 significant)
D18 · Solution Shape · KurrentDB.Core.Testing.XUnit (Test) · ×1
  • KurrentDB.Core.Testing.XUnit (Test) src/KurrentDB.Core.Testing.XUnit/KurrentDB.Core.Testing.XUnit.csproj — 3 .cs files, 82 LoC (54 significant)
D18 · Solution Shape · KurrentDB.Core.Testing.NUnit (Test) · ×1
  • KurrentDB.Core.Testing.NUnit (Test) src/KurrentDB.Core.Testing.NUnit/KurrentDB.Core.Testing.NUnit.csproj — 15 .cs files, 1686 LoC (1361 significant)
D18 · Solution Shape · KurrentDB.Core.Testing (Production) · ×1
  • KurrentDB.Core.Testing (Production) src/KurrentDB.Core.Testing/KurrentDB.Core.Testing.csproj — 45 .cs files, 3069 LoC (2373 significant)
D18 · Solution Shape · KurrentDB.Ammeter (Production) · ×1
  • KurrentDB.Ammeter (Production) src/KurrentDB.Ammeter/KurrentDB.Ammeter.csproj — 5 .cs files, 308 LoC (234 significant)
D18 · Solution Shape · KurrentDB.Core.TUnit.Tests (Test) · ×1
  • KurrentDB.Core.TUnit.Tests (Test) src/KurrentDB.Core.TUnit.Tests/KurrentDB.Core.TUnit.Tests.csproj — 3 .cs files, 143 LoC (107 significant)
D18 · Solution Shape · KurrentDB.Projections.Shared (Production) · ×1
  • KurrentDB.Projections.Shared (Production) src/KurrentDB.Projections.Shared/KurrentDB.Projections.Shared.csproj — 54 .cs files, 4597 LoC (3539 significant)
D18 · Solution Shape · KurrentDB.Projections.Management (Production) · ×1
  • KurrentDB.Projections.Management (Production) src/KurrentDB.Projections.Management/KurrentDB.Projections.Management.csproj — 38 .cs files, 5798 LoC (4806 significant)
D18 · Solution Shape · KurrentDB.Projections.JavaScript (Production) · ×1
  • KurrentDB.Projections.JavaScript (Production) src/KurrentDB.Projections.JavaScript/KurrentDB.Projections.JavaScript.csproj — 4 .cs files, 1383 LoC (1169 significant)
D18 · Solution Shape · KurrentDB.Projections.V2 (Production) · ×1
  • KurrentDB.Projections.V2 (Production) src/KurrentDB.Projections.V2/KurrentDB.Projections.V2.csproj — 13 .cs files, 1372 LoC (1011 significant)
D18 · Solution Shape · KurrentDB.Projections.V2.Tests (Test) · ×1
  • KurrentDB.Projections.V2.Tests (Test) src/KurrentDB.Projections.V2.Tests/KurrentDB.Projections.V2.Tests.csproj — 15 .cs files, 3835 LoC (2803 significant)
D18 · Solution Shape · KurrentDB.Projections.V1.XUnit.Tests (Test) · ×1
  • KurrentDB.Projections.V1.XUnit.Tests (Test) src/KurrentDB.Projections.V1.XUnit.Tests/KurrentDB.Projections.V1.XUnit.Tests.csproj — 3 .cs files, 395 LoC (330 significant)
D18 · Solution Shape · KurrentDB.Projections.Shared.Tests (Test) · ×1
  • KurrentDB.Projections.Shared.Tests (Test) src/KurrentDB.Projections.Shared.Tests/KurrentDB.Projections.Shared.Tests.csproj — 3 .cs files, 381 LoC (309 significant)
D18 · Solution Shape · KurrentDB.Projections.Management.Tests (Test) · ×1
  • KurrentDB.Projections.Management.Tests (Test) src/KurrentDB.Projections.Management.Tests/KurrentDB.Projections.Management.Tests.csproj — 167 .cs files, 15649 LoC (12930 significant)
D18 · Solution Shape · KurrentDB.Plugins.Kontext (Production) · ×1
  • KurrentDB.Plugins.Kontext (Production) src/KurrentDB.Plugins.Kontext/KurrentDB.Plugins.Kontext.csproj — 2 .cs files, 192 LoC (155 significant)
D18 · Solution Shape · KurrentDB.Plugins.Kontext.Tests (Test) · ×1
  • KurrentDB.Plugins.Kontext.Tests (Test) src/KurrentDB.Plugins.Kontext.Tests/KurrentDB.Plugins.Kontext.Tests.csproj — 8 .cs files, 1384 LoC (1070 significant)
D18 · Solution Shape · KurrentDB.Kontext (Production) · ×1
  • KurrentDB.Kontext (Production) src/KurrentDB.Kontext/KurrentDB.Kontext.csproj — 96 .cs files, 6996 LoC (5302 significant)
D18 · Solution Shape · KurrentDB.Kontext.Models (Production) · ×1
  • KurrentDB.Kontext.Models (Production) src/KurrentDB.Kontext.Models/KurrentDB.Kontext.Models.csproj — 0 .cs files, 0 LoC (0 significant)
D18 · Solution Shape · KurrentDB.Kontext.Tests (Test) · ×1
  • KurrentDB.Kontext.Tests (Test) src/KurrentDB.Kontext.Tests/KurrentDB.Kontext.Tests.csproj — 59 .cs files, 6012 LoC (4594 significant)
D18 · Solution Shape · KurrentDB.Scripting (Production) · ×1
  • KurrentDB.Scripting (Production) src/KurrentDB.Scripting/KurrentDB.Scripting.csproj — 3 .cs files, 157 LoC (110 significant)
D9 · Test Distribution · Unit tests · ×1
  • Unit tests — 6937 unit test method(s).
D9 · Test Distribution · Integration tests · ×1
  • Integration tests — 0 integration test method(s).
D9 · Test Distribution · BDD tests · ×1
  • BDD tests — 0 BDD test method(s).
D9 · Test Distribution · E2E tests · ×1
  • E2E tests — 0 end-to-end test method(s).

Appendix B — Reproduction & audit trail

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

DimensionToolVersionCommandFindingsRaw output
D28 · Secrets (history)gitleaksgitleaks detect --no-banner --report-format json --report-path /dev/stdout --exit-code 0 --source .2artifacts/raw/gitleaks-history.json
D29 · Static Analysis (SAST)semgrepsemgrep --config auto --json --quiet --timeout 0 --metrics off .0
D30 · Dependency Vulnerabilitiesdotnetdotnet list src/KurrentDB.sln package --vulnerable --include-transitive --format json1artifacts/raw/dotnet-vulnerable.json
D31 · IaC & Container Securitytrivytrivy config --format json --quiet .1artifacts/raw/trivy-config.json
D32 · Data Compliance (PII/GDPR)semgrepsemgrep: not applicable — No PII/GDPR-handling patterns detected (p/gdpr ruleset) — no data-compliance surface to assess.0
D33 · JS/npm Dependency Vulnerabilitiestrivytrivy fs --scanners vuln --format json --quiet --severity CRITICAL,HIGH,MEDIUM,LOW --skip-dirs **/bin/** --skip-dirs **/obj/** .0artifacts/raw/trivy-fs.json
D38 · OSV Dependency Vulnerabilitiesosv-scannerosv-scanner --format json --recursive .0artifacts/raw/osv-scanner.json

Run 019ee3d8-eea5-756f-81a3-27a8f6360075 · every finding is also locatable in findings.md, and the complete scoring record (with exit codes + durations) in sidecar.json.

Appendix C — Personal-data map

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

Name — 2 field(s)
  • Profile.FirstName src/KurrentDB.Testing/Shouldly/ShouldlyObjectGraphTestExtensionsTests.cs:186
  • Profile.LastName src/KurrentDB.Testing/Shouldly/ShouldlyObjectGraphTestExtensionsTests.cs:187
Email — 1 field(s)
  • User.Email src/KurrentDB.Testing/Shouldly/ShouldlyObjectGraphTestExtensionsTests.cs:180

Downloadable artifacts

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

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