Common Ground logo

Common Ground Component Checker

Component assessment for Dutch municipalities

Rating guide / Criteria

Test code ratio

Software QualityRecommendedSIG ratings as Common Ground uses them

What it checks

Lines of test code relative to lines of production code, rated from 1 to 5 stars.

Why it matters

It works without a coverage report. A ratio of 100% corresponds roughly to 80% coverage.

Where it comes from

SIG ratings as Common Ground uses them. The Common Ground programme asks that a component is ready for certification by SIG and TÜViT. The checker estimates these ratings with open tools. It does not certify: certification is a manual assessment by SIG and TÜViT.

SIG uses the test code ratio as a measure of testability.

Standard for Public Code. No criterion of the Standard for Public Code matches this one.

Level and version

Level
Recommended
Counts in the rating
Yes
Checklist version
Introduced in 2026.2
Category
Software Quality
Aspect
Testing

How it is measured

Measured with a line count of test code against production code in the cloned repository.

Tools and models says what each tool proves and what it does not.

How to pass

  • Write tests alongside the code.
  • 120% gives five stars, 100% four, 75% three and 25% two.

Sources