pimbrouwers/Donald
59.5
Adequate · 13 November 2026
585
lines of production code
F#
primary language
8
measurements over time
What this system is
Donald is a .NET library that provides a functional, type-safe API for ADO.NET database interactions. It simplifies data access by offering dedicated methods for commands, parameters, and execution, while replacing generic error handling with structured exceptions for better debugging. The library supports synchronous and asynchronous workflows across various ADO.NET providers and targets .NET 6, 7, and 8.
Features
Introduce Donald, a functional ADO.NET library for safer and more succinct database interactions
The repository now includes the initial release of Donald, a .NET library designed to provide a cleaner, type-safe API for ADO.NET. The release includes a build script (Build.ps1) and deployment automation (Deploy.ps1) for packaging and pushing NuGet packages. The library exposes functional-style methods like Db.newCommand, Db.setParams, Db.query, and Db.exec to simplify data access, supporting both synchronous and asynchronous workflows across various ADO.NET providers.
(repo-wide) · high confidence
Behavioural changes
Introduce structured exception types and safe database operation wrappers
The library now defines specific exception types—DbConnectionException, DbExecutionException, DbTransactionException, and DbReaderException—each carrying contextual details like connection strings, SQL statements, or field names to aid debugging. These replace generic or monadic error handling with CLR exceptions that wrap underlying ADO.NET errors, providing clearer error messages and better resource management during database operations.
src/Donald · high confidence
Test coverage
Added initial test suite for SQL type handling
Added new tests in the \test/Donald.Tests\ directory that verify the library's ability to handle all supported SQL types, including strings, booleans, numeric types, and dates, using both the typed \setParams\ and raw \setParamsRaw\ APIs.
test · high confidence
Dependencies
Upgrade to .NET 6, 7, and 8 targets with updated dependencies
The Donald library now targets .NET 6, 7, and 8, allowing the package to be used in modern .NET applications. The project file has been updated to include these target frameworks and references FSharp.Core version 6.0.0. The test project has also been updated to target .NET 6.0 and includes updated test dependencies such as FsUnit.xUnit 4.0.4, xUnit 2.4.1, and related test SDKs.
(dependencies) · high confidence
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 61 → 60 (-1.9)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.3) — scores are not directly comparable.
Lenses
- Code Health 95 → 95 (+0.0)
- Architecture 94 → 92 (-2.1)
- Maturity 48 → 44 (-3.8)
- Readiness 55 → 55 (+0.0)
- Security 83 → 83 (+0.0)
- Performance 100 → 100 (+0.0)
Resolved (1)
- Coverage not measured — the suite ran but produced no coverage data
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
pimbrouwers/Donald was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 13 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit 0d7b7d04d80c7181b87ffdc7f866dca659ce1cd0 — the exact code this score is about.
- Scored under rubric-2026.11.3 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.61+preprod-b8b1a43ae4c3.