Common Ground logo

Common Ground Component Checker

Component assessment for Dutch municipalities

Rating guide / Criteria

Maintainability (ISO 25010)

Software QualityRecommendedSIG ratings as Common Ground uses them

What it checks

An estimate of 1 to 5 stars for maintainability, from unit size, unit complexity, unit interfacing, duplication, module coupling and component structure.

Why it matters

Maintainable code is cheaper to change and to hand over. Suitable for Common Ground asks at least 4 stars, the level at which SIG and TÜViT certify. The checker does not certify.

Which components

Components are the ones the repository declares: the components: block of the analysis scope file (sigrid.yaml), else the components: block of sigrid.components.yaml, else the scope file's component_base_dirs or component_depth. Without a declaration they are directories. Maintainability and coupling always use the same definition. When the repository declares components, the result also shows the figures with directory components and says that the declared ones are used. An app that lists its functional areas bottom to top in tools/sig/area-order.json also gets a count of the file references that go against that order, with the files most of them start in; a contract under lib/Kernel/Contracts/<Area>/ belongs to that area. That count is informative and changes no rating.

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.

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.1
Category
Software Quality
Aspect
Analysability, Modifiability, Testability, Modularity, Reusability

How it is measured

Measured with lizard 1.24.3 and jscpd 4.0.5, through a vendored analysis script.

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

How to pass

  • Keep units short and simple, with few parameters.
  • Remove duplicated code.
  • Keep modules loosely coupled.
  • 4 stars or more passes, 3 stars warns, fewer fails.

Sources