Skip to content
CAI
Software that uses CAICheck a score

mcintyre321/ValueOf

55.8

Adequate · 21 September 2026

86

lines of production code

C#

primary language

4

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

This system is a .NET library that provides a generic 'ValueOf' type for safe value validation and equality checking. It supports case-insensitive equality, string representation, and exception-free validation via a TryFrom pattern. The codebase includes comprehensive unit tests and is built for compatibility with modern Visual Studio and .NET Framework/Standard versions.

Behavioural changes

Solution file updated for newer Visual Studio and added solution GUID

The Visual Studio solution file has been updated to target Visual Studio 17 (version 17.0.32112.339) and includes a generated solution GUID. This change ensures compatibility with modern versions of Visual Studio and provides a unique identifier for the solution.

(repo-wide) · low confidence

ValueOf now supports safe validation and equality checks

The ValueOf class now includes a TryFrom method that performs validation without throwing exceptions, allowing callers to check validity safely. Additionally, value equality operators (== and !=) have been added, and the implicit conversion operator has been removed to prevent accidental type coercion. The ToString method has also been overridden to return the underlying value's string representation.

ValueOf · medium confidence

Test coverage

Added tests for case-insensitive equality, ToString, and TryValidate behavior

Added tests for case-insensitive equality, ToString, and TryValidate behavior. The new tests verify that the ValueOf class correctly implements case-insensitive equality and hash code generation, returns the underlying value's string representation via ToString, and supports a TryFrom pattern that returns a boolean and an out parameter for validation without throwing exceptions.

ValueOf.Tests · high confidence

Dependencies

Updated test and library dependencies and target frameworks

The project has been updated to support .NET Framework 4.8 and .NET Standard 2.0, replacing previous targets of .NET Framework 4.6.2 and .NET Core 1.1. Additionally, the test project has upgraded NUnit from version 3.6.1 to 3.13.2, updated System.ValueTuple to 4.5.0, and added the NUnit Console and NUnit3TestAdapter packages.

(dependencies) · medium confidence

Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 56 → 56 (+0.0)
  • Rubric changed (rubric-2026.08.18 → rubric-2026.09.15) — scores are not directly comparable.

Lenses

  • Code Health 100 → 100 (+0.0)
  • Architecture 98 → 98 (+0.0)
  • Maturity 54 → 54 (+0.0)
  • Readiness 33 → 33 (+0.0)
  • Security 100 → 100 (+0.0)

Resolved (6)

  • No exposed public API
  • Test reliability not measured — no test run produced results
  • early-stage repository — too few commits for a meaningful bus factor
  • early-stage repository — too little history to judge knowledge freshness
  • git history depth insufficient
  • git history depth insufficient

New (2)

  • Documentation: no installation or build instructions (README.md)
  • Documentation: no usage examples (README.md)

Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

mcintyre321/ValueOf 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 21 September 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 84e9e841374007da1ba1319e2cb4d00b4313d959 — the exact code this score is about.
  • Scored under rubric-2026.09.15 — the same rubric and the same method as every other entry in this index.
  • Measured by watchdog.canine.dev using codehealth-analyzer preprod-28e75b8e3254.