Common Ground logo

Common Ground Component Checker

Component assessment for Dutch municipalities

Rating guide / Criteria

Coupling (open track)

Software QualityInformativeInformation only

What it checks

Module coupling, component independence, component entanglement and dependency cycles, from the module dependency graph.

Why it matters

Loosely coupled code can be changed in one place without breaking another.

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

Information only. Context shown next to the rating. It adds no condition, has no stars of its own and never counts in the score or the verdict.

Also follows from: SIG ratings as Common Ground uses them.

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

Level and version

Level
Informative
Counts in the rating
No, it is shown but never counted
Checklist version
Introduced in 2026.2
Category
Software Quality
Aspect
None: the criterion does not feed an aspect

How it is measured

Measured with pdepend for PHP, grimp for Python and dependency-cruiser for JavaScript, TypeScript and Vue.

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

How to pass

  • There is nothing to pass: the criterion is informative.
  • Break dependency cycles and reduce imports across components.