Public report β MBrace.Core, published 6 Aug 2026.
Concrete security findings (CVE IDs, secret matches, dependency versions) are hidden in this version;
ask the repo owner for the full report.
43findings with an exact file:lineof 101 β the remainder are repo-wide signals (a dimension-level measurement, not a single line); open any file:line and verify
35/96dimensions across the health lenses2114 LoC Β· 2 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.
mbraceproject/MBrace.Core carries serious gaps (49%). Several issues below can materially affect correctness, security, or the cost of changing it β and propagate to everything that depends on it.
It is strongest in Security (100%) β its security and compliance posture is in good shape. Architecture (93%) is solid too.
The area that most needs attention is Maturity (35%) β onboarding is slow β key decisions and the architecture aren't written down, so contributors have to reverse-engineer the intent. Readiness (39%) is the next concern β releases are harder to depend on β versioning, release notes and dependency hygiene are thin, so consumers can't easily tell what changed or trust an upgrade.
Leadership focus, highest impact first: 3 Largest orphaned file finding(s) (Knowledge Freshness); Record significant decisions one document per decision (Architecture documentation); Make types internal by default and expose only the deliberate⦠(Library API & versioning).
For scale: Small (~2,114 production lines); rebuilding it from scratch would take roughly ~0.1 person-years (~1 engineer). Approximate, ±~30%.
It builds on a genuinely strong Security foundation (100%); the priorities above are the highest-leverage way to bring the rest up to that level.
How the score is built β each lens's share of the headlineWidth 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.
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 β β¬1,700ββ¬8,500
This codebase represents roughly ~0.1 person-years of build effort (about ~β¬5,100 to rebuild). Its weakest lens is Maturity at 35% β the part of that asset most exposed by the findings below.
How we model this: boilerplate at a scaffolding rate + logic × domain Low (×0.9) β library/CLI × a 0.7× quality factor, at β¬60β95/h; indicative, ±~30% · size measured directly from source. Indicative only β most sensitive to the hourly rate and the domain tier (both tunable in config).
Top priorities
The highest-leverage moves; the full ranked list is in the Roadmap below.
1
Resolve the 3 Largest orphaned file finding(s) in Knowledge Freshness β start with Cloud.cs, Combinators.fs, StoreClient.fs.
Value concentrated against a weak lens Β· High Β· Value at risk
This is a Small asset (~0.1 person-years to rebuild), and its weakest lens is Maturity at 35%. The operational and business risk on an asset this size concentrates there β that's where remediation buys the most protection.
β Direct remediation budget at Maturity 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: Resolve the 3 Largest orphaned file finding(s) in Knowledge Freshness β start with Cloud.cs, Combinators.fs, StoreClient.fs. The rest can wait behind it.
Evidence: priority ranking: top of 5 ranked by impact/effort
β Resolve the 3 Largest orphaned file finding(s) in Knowledge Freshness β start with Cloud.cs, Combinators.fs, StoreClient.fs.
Architecture β module dependency graph
Project dependencies, layered top-to-bottom; arrows show direction. Any dashed red edge points upward or sideways β a layering smell or cycle. A clean layered graph has none.
Architecture β module dependency matrix
15 modules, 2 dependencies β every dependency points down the layering, so there are no cycles. Rows and columns are the same modules, ordered so that a module only depends on ones above it. A cell means the row depends on the column, and its number is how many type pairs create that dependency. Read one thing: is anything above the diagonal? A mark there is a dependency cycle. (A cycle is all this shows β an unusual but cycle-free dependency sits below the diagonal like any other.)
Begin by resolving the three largest orphaned files in Knowledge Freshness, specifically Cloud.cs, Combinators.fs, and StoreClient.fs. Next, establish a structured approach to architecture documentation by recording significant decisions in a dedicated directory with clear context and consequences. Simultaneously, tighten the library's public API by making types internal by default to ensure stability. Finally, address the three deprecated dependencies and the two vulnerable dependencies to improve overall hygiene and security.
Ranked by impact Γ· effort. "Helps" is the estimated gain on the 0β100 health score.
Do this
Helps
Effort
Dimension
Resolve the 3 Largest orphaned file finding(s) in Knowledge Freshness β start with Cloud.cs, Combinators.fs, StoreClient.fs.
Record significant decisions one document per decision β dated, stating the context, the decision and its consequences β and keep them together wherever your design docs already live (a conventional `docs/adr/` tree with `NNNN-title.md` names is the most discoverable form).
Per-file score 0β10 β a quality signature. Of 8 files carrying findings, judged against the Production bar: 0% slop Β· 38% mixed Β· 62% near-clean.
Test Quality: No direct assertions: OfArray_ToArray
tests/MBrace.CSharp.Tests/CloudTests.cs
9.5
Near-clean
Test Quality: No direct assertions: Simple_Parallel_Workflow
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. 30 of 35 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 5 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.4 β 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 β 35 dimensions across the health lenses
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
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, 43 of 101 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.)
Is there a tool behind the number? Every score below names the method that produced it β Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled Β· advisory β not a narrative.
Does re-running give the same result? Run it again on the same commit and the score β and this report, byte for byte β is identical. A report whose numbers move between runs is describing the run, not the code.
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.
Method
Backs
Version
Evaluator
Roslyn static analysis
Complexity, cohesion, coupling, dead code, API surface, layering
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.
D27 Navigability β evaluation did not complete β Navigability not included (check did not complete) β excluded from the score.
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.
D4 Code Duplication: Duplication is token-similarity (jscpd) β it finds copy-paste, not semantic duplication expressed differently. Committed machine-written code (scaffolded migrations, designer/codegen output, protobuf/OpenAPI stubs, model snapshots) is EXCLUDED β its repetition is the tool's, not the team's β so the score reflects hand-written duplication only.
D5 Coupling: Coupling is measured between projects/assemblies β runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
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").
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 (scaffolded migrations, designer/codegen output, generated stubs) is excluded β it is never the team's dead code to delete.
D19 Documentation Quality: Documentation quality is judged by an LLM over a bounded sample of docs β it reads what is written, not whether the docs match the running system, and it is advisory, not a measurement.
D21 Naming Consistency: Naming quality is an LLM judgement over a bounded sample β it assesses clarity/consistency of the names it sees, not domain-correctness, and is advisory.
D22 Internal API Consistency: API-surface coherence is an LLM judgement over a sample of the public surface β consistency of intent across the whole API is approximated, not exhaustively verified.
D24 Comment Value: Comment value (WHY vs WHAT) is an LLM judgement over a bounded sample β it is advisory and cannot weigh a comment against the precise code change it was written to explain.
D26 Project Cohesion: Project focus is sized from members/namespaces per project β a project that is broad by deliberate design reads the same as one that has sprawled.
D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns β a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) β it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension β code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
D35 Change Coupling: Change coupling is co-change in COMMITS β files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
AX10 Code composition: Role is inferred from namespace/folder convention, not semantics β a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present β it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.
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.
The LLM boundary
LLM-set scores this run (5): D19, D21, D22, D24, M4 (model: Local LLM). For these, a model reads a bounded sample and sets the numeric score (documentation, ADR quality, naming, comment value, onboarding) β D25 sets the ADR-conformance fraction over sampled code, D22 judges API accuracy over a sample. These are sampled and advisory by design: they vary at the margins between runs and are never a deterministic measurement. Every other score in this report is tool-computed at confidence 1.0.
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.
+ 7 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.
Do you agree with this assessment?
D5 Β· Coupling10.0 / 10Exemplaryβ Tool-verified
What it measures: Whether volatile projects sit underneath others that depend on them (so their churn ripples upward), and whether project dependencies form cycles. A widely-depended-on but stable shared/kernel project is healthy, not penalised.
Method: Dependency cycles via elementary-DFS over real .csproj references, plus Martin instability (afferent/efferent) per project. Exhaustive over the reference graph, deterministic.
Coverage: Exhaustive · type-level: afferent/efferent coupling + cycles computed over every production type β the population is all types, not a name convention.
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.
29 test methods: 29 unit, 0 integration, 0 BDD, 0 e2e.
β On the Gold path β maintain.
Detailed fixes: d9_recommendation.md.
Do you agree with this assessment?
D10 Β· Test Quality10.0 / 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.
0 skipped, 17 zero-assertion, no mocking-framework packages referenced (hand-written doubles or no mocking) across 29 tests (1 harness-style project(s) excluded from the assertion penalty).
No direct assertions: OfArray_ToArray Β· Γ17tests/MBrace.CSharp.Tests/CloudFlowTests.cs:32
β On the Gold path β maintain.
Detailed fixes: d10_recommendation.md Β· top locations in Appendix A, every location in findings.md.
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.
Resolve the 3 Deprecated finding(s) in Dependency Hygiene. β One of this dimension's main actionable groups (3 warning-level).
Resolve the 2 Vulnerable finding(s) in Dependency Hygiene. β One of this dimension's main actionable groups (2 issue-level).
Enforce Dependency Hygiene in CI to reach Verified (currently Documented). β Hardens enforcement from Documented toward Verified β provenance only; does not change the score.
Detailed fixes: d12_recommendation.md Β· top locations in Appendix A, every location in findings.md.
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.
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.
Resolve the 4 NoWarnInCsproj finding(s) in Explicit Debt β start with Paket.Restore.targets (4). β One of this dimension's main actionable groups (4 issue-level).
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.
What it measures: Whether the project's documentation is clear, complete, and useful.
Method: Judged by language model at low temperature (0.0-0.1) on a deterministic doc sample (READMEs plus first 25 architecture docs), with two-pass stability filtering. Advisory, sampled.
The single README is a solid repository landing page that states what the repo contains (MBrace Core libraries and runtime foundation for the MBrace cloud programming model) and links to NuGet, AppVeyor, Travis, and GitHub language count/languages/top. It also directs readers to the main website and provides contact info for maintainers. The body is clipped mid-sentence inside a full outline (MBrace.Core, MBrace.Flow, MBrace.CSharp, MBrace Implementations, MBrace.Runtime, MBrace.Thespian, MBrace.Azure, MBrace.AWS, Building and Running unit tests for MBrace.Core, Contributing, CI NuGet feeds, License, Maintainers), so the actual documentation is not visible from this excerpt. The README itself is clear but thin on concrete usage or getting started.
Improve Documentation Quality β currently 6.0/10. β The single README is a solid repository landing page that states what the repo contains (MBrace Core libraries and runtime foundation for the MBrace cloud programming model) and links to NuGet, AppVeyor, Travis, and GitHub language count/languages/top. It also directs readers to the main website and provides contact info for maintainers. The body is clipped mid-sentence inside a full outline (MBrace.Core, MBrace.Flow, MBrace.CSharp, MBrace Implementations, MBrace.Runtime, MBrace.Thespian, MBrace.Azure, MBrace.AWS, Building and Running unit tests for MBrace.Core, Contributing, CI NuGet feeds, License, Maintainers), so the actual documentation is not visible from this excerpt. The README itself is clear but thin on concrete usage or getting started.
Detailed fixes: d19_recommendation.md Β· top locations in Appendix A, every location in findings.md.
What it measures: Whether names β types, methods, variables β are clear and consistent.
Method: Judged by language model at low temperature (0.0-0.1) on a deterministic random symbol sample (fixed size, not exhaustive), with disclosed confidence band. Advisory, sampled.
0 naming inconsistencies across 200 sampled symbols.
β On the Gold path β maintain.
Detailed fixes: d21_recommendation.md.
Do you agree with this assessment?
D22 Β· Internal API Consistency / 10Adequateβ Sampled Β· advisory
What it measures: Whether the internal API surface is consistent and coherent.
Method: Judged by language model at low temperature over a sample of the public API surface (IsPackable or .Contracts types). Sampled, advisory; confidence discounted by model uncertainty.
Duplicate intent: creating an 'Some' option from a value
Inconsistent handling of empty/none states
What to do
Resolve the 5 Redundant overloads for the same operation finding(s) in Internal API Consistency. β One of this dimension's main actionable groups (5 warning-level).
Resolve the 1 Duplicate intent finding(s) in Internal API Consistency. β One of this dimension's main actionable groups (1 warning-level).
Resolve the 1 Inconsistent handling of empty/none states finding(s) in Internal API Consistency. β One of this dimension's main actionable groups (1 warning-level).
Detailed fixes: d22_recommendation.md Β· top locations in Appendix A, every location in findings.md.
Do you agree with this assessment?
D24 Β· Comment Value / 10Criticalβ Sampled Β· advisory
What it measures: Whether comments are worth it β explaining WHY (valuable) rather than WHAT (redundant).
Method: Judged by language model at low temperature (0.0-0.1) on deterministically sampled inline comments with surrounding code; findings verified back to sampled comments by substring match. Advisory, sampled.
0 valuable / 1 redundant across 5 sampled comments; 1 shown with locations.
redundant commentsrc/MBrace.CSharp/Cloud.cs:1294
What to do
Resolve the 1 redundant comment finding(s) in Comment Value β start with Cloud.cs. β One of this dimension's main actionable groups (1 recommendation-level).
Detailed fixes: d24_recommendation.md Β· top locations in Appendix A, every location in findings.md.
1 of 2 projects flagged as possibly oversized/incoherent.
Projects may be oversized for their cohesion
What to do
Resolve the 1 Projects may be oversized for their cohesion finding(s) in Project Cohesion. β One of this dimension's main actionable groups (1 recommendation-level).
Detailed fixes: d26_recommendation.md Β· top locations in Appendix A, every location in findings.md.
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.
What it measures: Real static-analysis (SAST) findings β likely security bugs in the code, any language.
Method: Polyglot static analysis via semgrep across the repo using the pinned, image-baked p/security-audit + p/owasp-top-ten rulesets (no scan-time registry fetch); severity rules (ERROR/WARNING/INFO) map to a full-band severity-weighted score. 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).
What it measures: Whether anyone still has living knowledge of each file, or it has been orphaned β last understood long ago by someone now gone quiet. The sibling of the bus factor: D16 asks who owns it, D34 asks whether anyone still knows it.
Method: File orphaning as total living-knowledge decay below one focused-commit's worth within a year, computed per-file from the D16 decay model. Exhaustive, deterministic over fixed history.
99 of 99 significant source file(s) are orphaned β their living knowledge has decayed to nothing, so no one currently understands them. The largest is src/MBrace.CSharp/Cloud.cs.
Largest orphaned file Β· Γ3src/MBrace.CSharp/Cloud.cs
Dormant codebase
What to do
Resolve the 3 Largest orphaned file finding(s) in Knowledge Freshness β start with Cloud.cs, Combinators.fs, StoreClient.fs. β One of this dimension's main actionable groups (3 recommendation-level).
Resolve the 1 Dormant codebase finding(s) in Knowledge Freshness. β One of this dimension's main actionable groups (1 recommendation-level).
Detailed fixes: d34_recommendation.md Β· top locations in Appendix A, every location in findings.md.
What it measures: Whether files that change together actually belong together β pairs that repeatedly co-change in git history despite having no explicit code dependency, surfacing the hidden/logical coupling (and boundaries in the wrong place) a static scan can't see.
Method: Pairwise co-occurrence over the per-commit file sets in git history (production source only β tests and generated dropped): Degree-of-Coupling = shared ÷ min individual revisions, reported above noise floors (each file β₯10 revisions, β₯5 shared commits, β₯50% strength); sweeping commits excluded. Deterministic over fixed history.
Coverage: Population: PRODUCTION source files only β test and generated files are dropped before pairing, so a class co-changing with its own test (trivially ~100%) can't drown the real productionβproduction coupling. Pairs ranked by Degree-of-Coupling; coupling through a build step, config, or non-source file isn't seen.
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).
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.
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.
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.
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.
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.
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 2 of 2 project(s) that lack one β worth up to 2 pts.
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 β no conventional ADR directory, no `NNNN-title.md` documents and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
No C4/PlantUML/Mermaid diagram or architecture.md β the high-level shape isn't documented.
What to do
Record significant decisions one document per decision β dated, stating the context, the decision and its consequences β and keep them together wherever your design docs already live (a conventional `docs/adr/` tree with `NNNN-title.md` names is the most discoverable form).
Add a C4 context/container diagram (Structurizr, PlantUML or Mermaid) or an architecture.md overview.
Maturity Β· Maturity β Whether the README actually describes the code that exists (LLM-judged, advisory).
Method: Judged by language model at low temperature: README accuracy versus actual projects, within a disclosed tolerance. Advisory, not a measured number.
README advertises Docker containerisation, but no Dockerfile/compose file exists
What to do
Reconcile the README with reality: README advertises Docker containerisation, but no Dockerfile/compose file exists.
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.
Do you agree with this assessment?
P10 Β· Library API & versioning2.0 / 10Criticalβ Tool-verified
Readiness Β· Readiness β For a library: a deliberate (small) public API surface and explicit semantic versioning so consumers can depend on it safely.
Method: Roslyn scan: public API surface area and semantic-versioning markers (SemVer attributes, changelog entries) for libraries. Exhaustive, deterministic.
No <Version>/<VersionPrefix>/GitVersion/MinVer detected. A published library needs explicit semantic versioning so consumers can reason about breaking changes.
What to do
Make types internal by default and expose only the deliberate public API β even for a small library, every public type is a stability contract.
Stamp a semantic version (csproj <Version> or GitVersion/MinVer) and follow semver for breaking changes.
Readiness Β· Readiness β Whether SAST, secret/dependency scanning and performance benchmarking are wired in (presence, not runtime).
Method: Filesystem scan: SAST configuration, dependency-update automation, secret scanning, and a benchmark harness or benchmark step β in this repository's own ecosystem. Exhaustive, deterministic.
No static application security testing detected. For this repository's stack, add `semgrep --config=auto` plus gitleaks for committed secrets (F# is not a CodeQL language and has no language-specific SAST engine) as a CI step.
What to do
Add a SAST step to CI running what this repository's stack ships: `semgrep --config=auto` plus gitleaks for committed secrets (F# is not a CodeQL language and has no language-specific SAST engine) β so a security regression fails the build instead of landing.
Enable Dependabot/Renovate or a dependency-review gate.
Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
Readiness Β· Performance β Whether the library protects its performance with benchmarks β a benchmark suite, allocation/memory measurement, and (ideally) a CI gate. Presence is credited as a bonus, never a deduction.
Method: Repo + source scan: BenchmarkDotNet referenced (csproj/source), [Benchmark]/[MemoryDiagnoser] attribute counts, and a benchmark step in CI β scored as a bonus ladder (absence is neutral, never a deduction). Deterministic, presence detection.
No benchmark suite was found. Where code is performance-sensitive, a benchmark guards against silent regressions β but it's a bonus here, not a deduction.
What to do
Add a benchmarking harness for the hot paths and run it in CI to catch regressions (for .NET, a BenchmarkDotNet project with [MemoryDiagnoser] to track allocations).
Readiness Β· Performance β Whether the code is written to minimise allocations so it doesn't pressure its host's memory manager β buffer/slice views over copies, object pooling, stack or value-type allocation, and buffer writers. Reward-only: credited where present, never penalised where a simpler style is fine.
No Span/Memory, pooling (ArrayPool/ObjectPool), stackalloc, ValueTask or buffer-writer usage was found. If this library sits on a hot path, these reduce the GC pressure it puts on its host β a bonus, not a requirement.
What to do
On hot paths, prefer Span<T>/ReadOnlySpan<T>, ArrayPool<T>, stackalloc and ValueTask to cut allocations a consumer would otherwise inherit.
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.
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.
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.
Do you agree with this assessment?
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.
Not included β 61 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.
AC1 Text alternatives β No web markup found β accessibility is not applicable to this repository.
AC2 Forms & labels β No web markup found β accessibility is not applicable to this repository.
AC3 Page structure β No web markup found β accessibility is not applicable to this repository.
AC4 Keyboard semantics β No web markup found β accessibility is not applicable to this repository.
AC5 ARIA correctness β No web markup found β accessibility is not applicable to this repository.
AC6 Visual & motion safety β No web markup found β accessibility is not applicable to this repository.
AC7 A11y enforcement β No web markup found β accessibility is not applicable to this repository.
AX1 Captive dependencies β no DI registrations detected
AX2 Stateful singletons β no singleton implementations detected
AX6 Interface segregation β no public interfaces
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
C1 Data Protection β No personal data detected in the analyzed source β no PII-typed entity/column names (Email, FirstName, DateOfBirth, β¦), no ASP.NET Identity / user-account model, and no stored user credentials. GDPR data-protection controls are therefore N/A here. If this is intentional, record the no-PII posture in an ADR; if the app does process personal data, name those fields conventionally so this dimension activates.
C2 Access Controls β No access-control surface detected in the analyzed source β no web/app surface to authorize (no HTTP API or web-UI project) and no authorization code at all (no [Authorize]/policies, no imperative guard methods). Access control is therefore N/A here β this is a library/CLI, which is authorized by its CALLER, not by itself. If this codebase grows request handlers, the dimension reactivates and a default-deny posture is expected then.
C3 Audit Trail β No personal data detected in the analyzed source β no PII-typed entity/column names (Email, FirstName, DateOfBirth, β¦), no ASP.NET Identity / user-account model, and no stored user credentials. GDPR data-protection controls are therefore N/A here. If this is intentional, record the no-PII posture in an ADR; if the app does process personal data, name those fields conventionally so this dimension activates.
C4 Data Retention β No personal data detected in the analyzed source β no PII-typed entity/column names (Email, FirstName, DateOfBirth, β¦), no ASP.NET Identity / user-account model, and no stored user credentials. GDPR data-protection controls are therefore N/A here. If this is intentional, record the no-PII posture in an ADR; if the app does process personal data, name those fields conventionally so this dimension activates.
C5 Data-Subject Rights β No personal data detected in the analyzed source β no PII-typed entity/column names (Email, FirstName, DateOfBirth, β¦), no ASP.NET Identity / user-account model, and no stored user credentials. GDPR data-protection controls are therefore N/A here. If this is intentional, record the no-PII posture in an ADR; if the app does process personal data, name those fields conventionally so this dimension activates.
D1 Cyclomatic Complexity β Most of this repository's production source (.fs) had no cyclomatic complexity computed for it, so cyclomatic complexity was not measured β whatever else this pass did read is not this repository's complexity. Not scored: no method bodies were exposed for those file kinds by any language model this pass could load. This is a gap in the analysis run, not a finding about this repository.
D11 Test Reliability β Test reliability not measured β no test run produced results
D14 License Compliance β Not scored β this repository's projects are MSBuild/NuGet projects, whose package licenses are exactly what this dimension reads, but no license could be resolved for them (the .NET license collector did not run, or restore failed). A gap in the analysis run, NOT a finding that the repository's licenses are compliant.
D15 Churn × Complexity Hotspots β complexity unreadable for .fs β churn × complexity hotspots could not be measured
D16 Bus Factor β dormant codebase β no living knowledge left to concentrate
D18 Solution Shape β D18 scores the shape of a C#/VB .NET solution, but this repository's production source is mostly .fs, which the C#/VB workspace does not load β the projects that loaded are an immaterial minority, so solution shape was not assessed for this repository. Not scored β this is a gap in the analyzer's reach, not a verdict about this repository.
D2 Cognitive Complexity β Most of this repository's production source (.fs) had no cognitive complexity computed for it, so cognitive complexity was not measured β whatever else this pass did read is not this repository's complexity. Not scored: no method bodies were exposed for those file kinds by any language model this pass could load. This is a gap in the analysis run, not a finding about this repository.
D20 ADR Quality β N/A β ADRs are expected on deployable products with a user-facing host, not consumed libraries; no ADR log is required here.
D23 Boundary Type-Coupling β At only 20k LoC the codebase is small and single-purpose despite its name, so explicit boundaries are not needed.
D25 ADR Conformance β no ADRs to check
D27 Navigability β Navigability not included (check did not complete)
D3 God Classes β Most of this repository's production source (.fs) was not read by god-class detection, so class size was not assessed for the languages that are the product β whatever else this pass did read is not this repository's class size. Not scored β this is a gap in the analyzer, not a verdict about this repository.
D30 Dependency Vulnerabilities β the solution did not restore on the analyzer's .NET SDK (an SDK/target-framework/restore mismatch, common for an older codebase), so there was no restored dependency graph to scan for NuGet CVEs β excluded rather than scored; re-run on an SDK that can restore this solution
D31 IaC & Container Security β No Infrastructure-as-Code or container manifests found (Dockerfile, Terraform, Kubernetes/Helm, CloudFormation); nothing to scan.
D32 Data Compliance (PII/GDPR) β No PII/GDPR-handling patterns detected (p/gdpr ruleset) β no data-compliance surface to assess.
D33 JS/npm Dependency Vulnerabilities β No JS/npm manifest or lockfile found outside build output (package.json, package-lock.json, yarn.lock, pnpm-lock.yaml, bun.lockb); no JS dependencies to scan.
D36 Supply-chain Provenance & Signing β No CI/build pipeline found (.github/.forgejo/.gitea workflows, .gitlab-ci.yml, azure-pipelines*.yml, .pipelines/, .vsts-ci/, Jenkinsfile, .circleci); there is no build to attest provenance for.
D37 Vulnerability-disclosure Policy β No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
D38 OSV Dependency Vulnerabilities β No supported non-.NET dependency lockfile found outside build output (npm package-lock/yarn/pnpm/bun, Go go.mod, Rust Cargo.lock, Maven pom.xml, Gradle lockfiles, Python requirements.txt/poetry.lock/Pipfile.lock/pdm.lock, PHP composer.lock, Ruby Gemfile.lock, Elixir mix.lock, Dart pubspec.lock, Swift Package.resolved); nothing for OSV to scan. A NuGet-only repo stays NotApplicable β .NET CVEs are D30's domain.
D39 IL Efficiency β The target did not build, so no IL was available to measure.
D40 Network Egress Confinement β No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
D41 Kernel & Syscall Confinement β No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
D42 Runtime Threat Enforcement β No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
D6 Cohesion (LCOM4) β Cohesion (LCOM4) is measured over a C#/VB class graph, and this repository's production source is mostly .fs, which this pass does not read, so cohesion was not assessed for this repository. Not scored β this is a gap in the analyzer, not a finding about this repository.
D7 Architectural Integrity β no checkable ADRs and no dependency cycles β architectural integrity not assessed
D8 Code Coverage β Coverage not measured
DM1 Domain Modelling β applicable but not scored (2 of 3 signals for this style β below the bar we score at): 22 value object(s); 1 domain event(s)
ED1 Event-Driven β not scored β this repository shows none of the 3 signals this check looks for
ED5 Idempotency β no mutating command handlers or message consumers detected β idempotency check not applicable
ES1 Event Sourcing β not scored β this repository shows none of the 3 signals this check looks for
P12 CI test-gate honesty β Reported, not scored β and nothing was matched here. The coverage check applies to any stack, but the checks for excluded tests, skipped tests and sleep-based synchronisation currently recognise only some ecosystems' test-runner idioms, so on a repository built with another stack the zeros below mean 'not checked', not 'clean'.
P2 Observability β This repo is a library, not a deployed service β it has no process to operate, so production observability (structured logging, tracing/metrics, health checks) is N/A. A library may log via an injected ILogger, but the absence of operational telemetry is not a defect here. If it grows a host (web API, worker), the dimension reactivates.
P4 Deployment & Rollback β not evidenced β no deploy/rollback/approval signal in the repo; absence of evidence is not evidence of a manual release
P5 DR & Backup β not evidenced β repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
P7 Outbound HTTP resilience β not applicable β this isn't a service/API/worker
P8 Schema migrations β no EF Core usage detected
P9 Domain vs controller coverage β no coverage report found on disk β produce a coverage report in a standard format (Cobertura β `dotnet test --collect:"XPlat Code Coverage"` with a `coverlet.collector` PackageReference) into the repo working tree before the scan β a CI step is the usual place, since the artefact is commonly gitignored, or wire coverage collection into CI, to enable this cross-layer check
S1 Web-Security Posture β No web surface detected in the analyzed source β no HTTP API or web-UI project (no controllers/minimal-API endpoints, no Razor/Blazor views) and no web middleware (HTTPS redirection, HSTS, security headers, cookies). Transport security, security headers, secure cookies, CSRF/input-validation and middleware-order controls are therefore N/A here β this is a library/CLI/worker, not a web app. Crypto hygiene was still checked and found nothing to flag. If this codebase becomes web-facing, the dimension reactivates automatically.
X2 Cancellation propagation β no async methods found
X4 Structured logging β not analysed β these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
X5 Nullable reference types β no NRT-eligible projects
X6 Hand-rolled structured-format parsing β Reported, not scored β this card publishes what it found rather than grading it. Its content is the findings and the key metric above.
X7 Silent fallback defaults β Reported, not scored β this card publishes what it found rather than grading it. Its content is the findings and the key metric above.
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.
NoWarnInCsproj .paket/Paket.Restore.targets:122β NU1603 β this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or β if some occurrences really are legitimate β narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project.
NoWarnInCsproj .paket/Paket.Restore.targets:122β NU1604 β this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or β if some occurrences really are legitimate β narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project.
NoWarnInCsproj .paket/Paket.Restore.targets:122β NU1605 β this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or β if some occurrences really are legitimate β narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project.
NoWarnInCsproj .paket/Paket.Restore.targets:122β NU1608 β this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or β if some occurrences really are legitimate β narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project.
D22 Β· Internal API ConsistencyΒ· Redundant overloads for the same operation Β· Γ5
Redundant overloads for the same operation β Keep only the params array version or the IEnumerable version, but not both, to reduce API surface. (signatures: CloudBuilder.Choice<T>(IEnumerable<Cloud<T>> children) | CloudBuilder.Choice<T>(params Cloud<T>[] children))
Redundant overloads for the same operation β Keep only the params array version or the IEnumerable version, but not both. (signatures: CloudBuilder.Choice<T>(params Cloud<FSharpOption<T>>[] children) | CloudBuilder.Choice<T>(IEnumerable<Cloud<FSharpOption<T>>> children))
Redundant overloads for the same operation β Keep only the params array version or the IEnumerable version, but not both. (signatures: CloudBuilder.LocalChoice<T>(params LocalCloud<FSharpOption<T>>[] children) | CloudBuilder.LocalChoice<T>(IEnumerable<LocalCloud<FSharpOption<T>>> children))
Redundant overloads for the same operation β Keep only the params array version or the IEnumerable version, but not both. (signatures: CloudBuilder.LocalChoice<T>(params LocalCloud<T>[] children) | CloudBuilder.LocalChoice<T>(IEnumerable<LocalCloud<T>> children))
Redundant overloads for the same operation β Keep only the params array version or the IEnumerable version, but not both. (signatures: CloudBuilder.Parallel<T>(params Cloud<T>[] children) | CloudBuilder.Parallel<T>(IEnumerable<Cloud<T>> children))
Duplicated block (21 lines × 2) src/MBrace.CSharp/Cloud.cs:780β src/MBrace.CSharp/Cloud.cs:780-800 | src/MBrace.CSharp/Cloud.cs:869-889 β both copies are in the same file, so extract the block into one function there and call it from each site β the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `src/MBrace.CSharp/Cloud.cs:780` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (21 lines × 2) src/MBrace.CSharp/Cloud.cs:957β src/MBrace.CSharp/Cloud.cs:957-979 | src/MBrace.CSharp/Cloud.cs:1042-1062 β both copies are in the same file, so extract the block into one function there and call it from each site β the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `src/MBrace.CSharp/Cloud.cs:957` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names β the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
Duplicated block (15 lines × 2) src/MBrace.CSharp/Cloud.cs:817β src/MBrace.CSharp/Cloud.cs:817-831 | src/MBrace.CSharp/Cloud.cs:906-920 β both copies are in the same file, so extract the block into one function there and call it from each site β the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `src/MBrace.CSharp/Cloud.cs:817` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (15 lines × 2) src/MBrace.CSharp/Cloud.cs:996β src/MBrace.CSharp/Cloud.cs:996-1010 | src/MBrace.CSharp/Cloud.cs:1093-1107 β both copies are in the same file, so extract the block into one function there and call it from each site β the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `src/MBrace.CSharp/Cloud.cs:996` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (11 lines × 2) src/MBrace.CSharp/Cloud.cs:508β src/MBrace.CSharp/Cloud.cs:508-519 | src/MBrace.CSharp/Cloud.cs:578-588 β both copies are in the same file, so extract the block into one function there and call it from each site β the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `src/MBrace.CSharp/Cloud.cs:508` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names β the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
Duplicated block (11 lines × 2) src/MBrace.CSharp/Cloud.cs:1012β src/MBrace.CSharp/Cloud.cs:1012-1022 | src/MBrace.CSharp/Cloud.cs:1109-1119 β both copies are in the same file, so extract the block into one function there and call it from each site β the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `src/MBrace.CSharp/Cloud.cs:1012` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names β the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
Duplicated block (9 lines × 2) src/MBrace.Runtime/Runtime/ThreadPool/ThreadPoolCombinators.fs:88β src/MBrace.Runtime/Runtime/ThreadPool/ThreadPoolCombinators.fs:88-96 | src/MBrace.Runtime/Runtime/Combinators.fs:65-75 β the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach β a location they all depend on today, or a new shared one if there is none β and call it from each site; until then, every change has to be made twice. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names β the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
Duplicated block (9 lines × 2) src/MBrace.Runtime/Runtime/ThreadPool/ThreadPoolCombinators.fs:141β src/MBrace.Runtime/Runtime/ThreadPool/ThreadPoolCombinators.fs:141-149 | src/MBrace.Runtime/Runtime/ThreadPool/ThreadPoolCombinators.fs:208-216 β both copies are in the same file, so extract the block into one function there and call it from each site β the copies drift apart the first time only one of them is edited.
Duplicated block (8 lines × 2) src/MBrace.Runtime/Runtime/ThreadPool/ThreadPoolCombinators.fs:76β src/MBrace.Runtime/Runtime/ThreadPool/ThreadPoolCombinators.fs:76-84 | src/MBrace.Runtime/Runtime/Combinators.fs:53-60 β the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach β a location they all depend on today, or a new shared one if there is none β and call it from each site; until then, every change has to be made twice. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names β the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
Duplicated block (8 lines × 2) src/MBrace.Runtime/Runtime/ThreadPool/ThreadPoolCombinators.fs:170β src/MBrace.Runtime/Runtime/ThreadPool/ThreadPoolCombinators.fs:170-177 | src/MBrace.Runtime/Runtime/Combinators.fs:191-198 β the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach β a location they all depend on today, or a new shared one if there is none β and call it from each site; until then, every change has to be made twice. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names β the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
D11 Β· Test ReliabilityΒ· Test reliability not measured Β· Γ1
Test reliability not measured β no test run produced results β Test reliability NOT MEASURED: the test run produced no results for any test tier, so no test ever ran and flakiness could not be exercised. The cause could not be attributed, so it is excluded from the score rather than read as an absence of tests.
dormant codebase β no living knowledge left to concentrate β Every one of the 99 significant source file(s) was last meaningfully changed so long ago that no living knowledge remains, so there is no concentration to measure β the bus factor is not scored. This is not a clean bill: nobody currently holds working knowledge of this code (see D34 Knowledge Freshness).
D22 Β· Internal API ConsistencyΒ· Duplicate intent Β· Γ1
Duplicate intent: creating an 'Some' option from a value β Consolidate into a single static method, likely `Option.Some` or `FSharpExtensions.ToOption`, to avoid confusion about which to use. (signatures: Option.Some<T>(T value) | FSharpExtensions.ToOption<T>(T value))
D22 Β· Internal API ConsistencyΒ· Inconsistent handling of empty/none states Β· Γ1
Inconsistent handling of empty/none states β While distinct, the API provides `None` and `TryGetValue` which might be confusing alongside `IsNone`/`IsSome`. Ensure the distinction between creating an empty option and checking for it is clear. (signatures: Option.None<T>() | FSharpExtensions.TryGetValue<T>(FSharpOption<T> optional, out T result))
Duplicated block (16 lines × 2) src/MBrace.CSharp/Cloud.cs:833β src/MBrace.CSharp/Cloud.cs:833-848 | src/MBrace.CSharp/Cloud.cs:922-937 β both copies are in the same file, so extract the block into one function there and call it from each site β the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `src/MBrace.CSharp/Cloud.cs:833` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (15 lines × 5) src/MBrace.CSharp/CloudFlow.cs:340β src/MBrace.CSharp/CloudFlow.cs:340-354 | src/MBrace.CSharp/CloudFlow.cs:356-370 | src/MBrace.CSharp/CloudFlow.cs:372-386 | src/MBrace.CSharp/CloudFlow.cs:388-402 | src/MBrace.CSharp/CloudFlow.cs:404-420 β all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites β resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at `src/MBrace.CSharp/CloudFlow.cs:340` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (14 lines × 2) src/MBrace.CSharp/Cloud.cs:981β src/MBrace.CSharp/Cloud.cs:981-994 | src/MBrace.CSharp/Cloud.cs:1078-1091 β both copies are in the same file, so extract the block into one function there and call it from each site β the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `src/MBrace.CSharp/Cloud.cs:981` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (12 lines × 2) src/MBrace.CSharp/Cloud.cs:850β src/MBrace.CSharp/Cloud.cs:850-862 | src/MBrace.CSharp/Cloud.cs:939-950 β both copies are in the same file, so extract the block into one function there and call it from each site β the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `src/MBrace.CSharp/Cloud.cs:850` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names β the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
Duplicated block (10 lines × 2) src/MBrace.CSharp/Cloud.cs:632β src/MBrace.CSharp/Cloud.cs:632-641 | src/MBrace.CSharp/Cloud.cs:697-706 β both copies are in the same file, so extract the block into one function there and call it from each site β the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at `src/MBrace.CSharp/Cloud.cs:632` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (7 lines × 2) src/MBrace.Runtime/Runtime/WorkItemEvaluator.fs:69β src/MBrace.Runtime/Runtime/WorkItemEvaluator.fs:69-76 | src/MBrace.Runtime/Runtime/WorkItemEvaluator.fs:93-99 β both copies are in the same file, so extract the block into one function there and call it from each site β the copies drift apart the first time only one of them is edited.
Duplicated block (6 lines × 2) src/MBrace.Thespian/Primitives/CloudAtom.fs:87β src/MBrace.Thespian/Primitives/CloudAtom.fs:87-92 | src/MBrace.Thespian/Primitives/CloudDictionary.fs:107-112 β the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at `src/MBrace.Thespian/Primitives/CloudAtom.fs:87` it does not close everything it opens, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names β the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
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. No coverage collector was found in your CI either, so there is no existing report to hand us: add a coverage collector to your test run and commit (or publish) its Cobertura/OpenCover/lcov output anywhere in the repo, or make the suite runnable in-image, and real coverage will be measured.
Recommendation β 25 finding(s)
D10 Β· Test QualityΒ· No direct assertions Β· Γ17
No direct assertions: OfArray_ToArray tests/MBrace.CSharp.Tests/CloudFlowTests.cs:32β No conventional assertion call was detected, and 17 of 29 tests in `MBrace.CSharp.Tests` read the same way β so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
No direct assertions: Select tests/MBrace.CSharp.Tests/CloudFlowTests.cs:43β No conventional assertion call was detected, and 17 of 29 tests in `MBrace.CSharp.Tests` read the same way β so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
No direct assertions: Where tests/MBrace.CSharp.Tests/CloudFlowTests.cs:54β No conventional assertion call was detected, and 17 of 29 tests in `MBrace.CSharp.Tests` read the same way β so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
No direct assertions: SelectMany tests/MBrace.CSharp.Tests/CloudFlowTests.cs:66β No conventional assertion call was detected, and 17 of 29 tests in `MBrace.CSharp.Tests` read the same way β so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
No direct assertions: Count tests/MBrace.CSharp.Tests/CloudFlowTests.cs:77β No conventional assertion call was detected, and 17 of 29 tests in `MBrace.CSharp.Tests` read the same way β so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
No direct assertions: Sum tests/MBrace.CSharp.Tests/CloudFlowTests.cs:88β No conventional assertion call was detected, and 17 of 29 tests in `MBrace.CSharp.Tests` read the same way β so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
No direct assertions: Average tests/MBrace.CSharp.Tests/CloudFlowTests.cs:99β No conventional assertion call was detected, and 17 of 29 tests in `MBrace.CSharp.Tests` read the same way β so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
No direct assertions: Take tests/MBrace.CSharp.Tests/CloudFlowTests.cs:111β No conventional assertion call was detected, and 17 of 29 tests in `MBrace.CSharp.Tests` read the same way β so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
No direct assertions: OrderBy tests/MBrace.CSharp.Tests/CloudFlowTests.cs:124β No conventional assertion call was detected, and 17 of 29 tests in `MBrace.CSharp.Tests` read the same way β so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
No direct assertions: OrderByDescending tests/MBrace.CSharp.Tests/CloudFlowTests.cs:137β No conventional assertion call was detected, and 17 of 29 tests in `MBrace.CSharp.Tests` read the same way β so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
No direct assertions: Distinct tests/MBrace.CSharp.Tests/CloudFlowTests.cs:150β No conventional assertion call was detected, and 17 of 29 tests in `MBrace.CSharp.Tests` read the same way β so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
No direct assertions: CountBy tests/MBrace.CSharp.Tests/CloudFlowTests.cs:161β No conventional assertion call was detected, and 17 of 29 tests in `MBrace.CSharp.Tests` read the same way β so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
No direct assertions: GroupBy tests/MBrace.CSharp.Tests/CloudFlowTests.cs:172β No conventional assertion call was detected, and 17 of 29 tests in `MBrace.CSharp.Tests` read the same way β so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
No direct assertions: Aggregate tests/MBrace.CSharp.Tests/CloudFlowTests.cs:189β No conventional assertion call was detected, and 17 of 29 tests in `MBrace.CSharp.Tests` read the same way β so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
No direct assertions: AggregateBy tests/MBrace.CSharp.Tests/CloudFlowTests.cs:200β No conventional assertion call was detected, and 17 of 29 tests in `MBrace.CSharp.Tests` read the same way β so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
No direct assertions: Cache tests/MBrace.CSharp.Tests/CloudFlowTests.cs:217β No conventional assertion call was detected, and 17 of 29 tests in `MBrace.CSharp.Tests` read the same way β so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
No direct assertions: Simple_Parallel_Workflow tests/MBrace.CSharp.Tests/CloudTests.cs:117β No conventional assertion call was detected, and 17 of 29 tests in `MBrace.CSharp.Tests` read the same way β so this is treated as that project's convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing.
D34 Β· Knowledge FreshnessΒ· Largest orphaned file Β· Γ3
Largest orphaned file src/MBrace.CSharp/Cloud.csβ One of the largest files with no living knowledge remaining β a reasonable place to start a read-through before the aggregate risk above bites.
Largest orphaned file src/MBrace.Flow/Combinators.fsβ One of the largest files with no living knowledge remaining β a reasonable place to start a read-through before the aggregate risk above bites.
Largest orphaned file src/MBrace.Core/Library/StoreClient.fsβ One of the largest files with no living knowledge remaining β a reasonable place to start a read-through before the aggregate risk above bites.
complexity unreadable for .fs β churn × complexity hotspots could not be measured β A hotspot is churn × complexity. Churn was measured (0 line(s) across the 90-day window), but no complexity could be computed for .fs, which is most of this repository's production code β so every churned file would score as complexity 0 and the hotspot list would be empty no matter how tangled the code is. Not scored β this is a gap in the analysis run, not a finding about this repository.
redundant comment src/MBrace.CSharp/Cloud.cs:1294β "interim solution for serialization errors" β delete - the code already says this; the comment repeats a non-obvious WHY over every construct
D26 Β· Project CohesionΒ· Projects may be oversized for their cohesion Β· Γ1
Projects may be oversized for their cohesion β 1 of 2 project(s) overshoot their size bounds, lowering Project Cohesion to 3.1/10. The most over is `MBrace.CSharp` (2114 LoC, 153 public types across 13 namespaces). Review these for cohesion β draw the boundary inside the assembly first (group each responsibility into its own namespace/folder and keep the cross-boundary members internal), since splitting a published assembly moves types between packages and breaks consumers.
D27 Β· NavigabilityΒ· Navigability not included (check did not complete) Β· Γ1
Navigability not included (check did not complete) β Navigability could not be assessed in this run β the check did not complete, so it is not scored. This is a gap in the analyzer, not a finding about this repository.
Dormant codebase β 99 of 99 significant files have no living knowledge β the codebase as a whole is dormant, not 99 separate risks. Re-engage owners or document before change.
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.
dotnet: not applicable β the solution did not restore on the analyzer's .NET SDK (an SDK/target-framework/restore mismatch, common for an older codebase), so there was no restored dependency graph to scan for NuGet CVEs β excluded rather than scored; re-run on an SDK that can restore this solution
trivy: not applicable β No Infrastructure-as-Code or container manifests found (Dockerfile, Terraform, Kubernetes/Helm, CloudFormation); nothing to scan.
trivy: not applicable β No JS/npm manifest or lockfile found outside build output (package.json, package-lock.json, yarn.lock, pnpm-lock.yaml, bun.lockb); no JS dependencies to scan.
provenance: not applicable β No CI/build pipeline found (.github/.forgejo/.gitea workflows, .gitlab-ci.yml, azure-pipelines*.yml, .pipelines/, .vsts-ci/, Jenkinsfile, .circleci); there is no build to attest provenance for.
disclosure: not applicable β No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
runtime-hardening: not applicable β No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
runtime-hardening: not applicable β No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
runtime-hardening: not applicable β No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
0
β
Run 019fd553-b465-7f9c-b937-7595b4d0c8b8 Β· every finding is also locatable in findings.md, and the complete scoring record (with exit codes + durations) in sidecar.json.
Issues: 6 Β· Warnings: 30 Β· Recommendations: 25 Β· Info: 40 β Appendix A Β· all findings Β· full markdown report.
Generated by Watchdog β deterministic code-health analysis. 06-08-2026 @ 04:27 UTC.
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.