Governance
Governance covers the legal and organisational side of a component: under which licence it may be used, who owns it, and how people can contribute and report problems.
Licensing
What it means
Whether the component is open source under a recognised licence, preferably the EUPL, and whether every place that names the licence names the same one.
How the checker measures it
- OSI-approved licence, measured with detection of the LICENSE file text.
- EUPL licence, measured with detection of the LICENSE file text.
- Licence consistency, measured with a comparison of LICENSE, package manifests and publiccode.yml, normalised to SPDX.
- SPDX licence headers, measured with a scan of the source files for SPDX-License-Identifier and REUSE files.
The licence, EUPL and licence consistency criteria rate 5.5 for a pass, 3 for a warning and 0.5 for a fail. Licence consistency warns when only one declaration is found or when declarations differ only in -only or -or-later.
SPDX licence headers has its own scale: the share of source files with a licence header, or covered by REUSE.toml, .reuse/dep5 or a .license file. 100% is 5 stars, 95% is 4, 80% is 3, 50% is 2, and less is 1.
The aspect rating is the weighted mean of the four criteria.
Sources
Ownership
What it means
Whether it is clear who owns the component and who is responsible for it. A buyer needs to know whom to talk to and who holds the rights.
How the checker measures it
- Copyright owner, measured with the legal files and repository metadata.
- publiccode.yml, measured with the publiccode.yml file in the repository root and its required fields.
These criteria have no scale of their own, so a pass rates 5.5, a warning 3 and a fail 0.5, the ends and the middle of the scale. The aspect rating is the weighted mean of its criteria.
Sources
Maintenance
What it means
Whether the component has a valid maintenance contract: a buyer needs to know who fixes bugs and security issues, and until when. publiccode.yml declares the contractors and the end date of their contract.
How the checker measures it
- Maintenance contract, measured with the maintenance section of publiccode.yml: passes only on a contract with a named contractor whose end date has not passed, and says what is missing or invalid otherwise.
These criteria have no scale of their own, so a pass rates 5.5, a warning 3 and a fail 0.5, the ends and the middle of the scale. The aspect rating is the weighted mean of its criteria.
Sources
Community documents
What it means
Whether the project has the documents that let other people use it and take part: documentation, a contributing guide, a code of conduct, a security policy and a changelog.
How the checker measures it
- README and documentation, measured with a search for a README, a docs folder or a documentation link.
- CONTRIBUTING, measured with a search for the file.
- CODE_OF_CONDUCT, measured with a search for the file.
- SECURITY, measured with a search for the file.
- CHANGELOG, measured with a search for a changelog or release notes file.
This is a document aspect. Its rating is the share of the documents that were found: all of them rates 5.5, at least 80% rates 4, at least 60% 3, at least 40% 2, and less 1.
Sources
Usage and ecosystem
Shown in the report for information only: never rated, never given stars and not compared across components.
What it means
Who uses the component and how much, as far as public sources tell. It helps a buyer see whether others already run the component and whether there is a community around it.
How the checker measures it
- Declared users, measured with the usedBy list of publiccode.yml: self-declared by the maintainers and not verified. The publiccode.yml standard has deprecated the key, but files may still declare it.
- Nextcloud App Store, measured with the App Store catalogue, for the app id in appinfo/info.xml: the number of ratings given. The App Store publishes no download count.
- GitHub releases, measured with the download count of the release files, which includes App Store installs and updates, CI jobs and mirrors.
- npm, Packagist and PyPI, measured with the downloads of the package named in package.json, composer.json or pyproject.toml, setup.cfg or setup.py, only when the registry says it is published from this repository. Downloads include CI builds and mirrors.
- Docker Hub and GitHub Container Registry, measured with the pull count of the images given with the check or named in the README under the repository's owner or name. Pulls include CI pulls and automatic updates. GitHub publishes no pull count for its registry, so that row says not measured.
- deps.dev, measured with the number of npm or PyPI packages that depend on the package's default version.
- GitHub repository and contributors, measured with stars, forks and watchers, and the authors of the commits of the last 12 months, after the repository's .mailmap. An author's organisation is the domain of their email address; for a personal, hidden or noreply address it is the company on their public GitHub profile, looked up while counting (at most 200 profiles per scan, set with CGC_PROFILE_LOOKUP_LIMIT; the rest stay unknown and the row says how many). Authors count as from the owning organisation (the most common organisation domain, the domains and names in publiccode.yml, and the owner account and its name), from other organisations, or unknown. When the organisation of more than half is unknown, the row only says so. Only counts are kept: no names, logins, addresses, companies or domains of one person; an organisation is named only when at least two authors share it.
This aspect is never rated and never given stars. Each source is shown on its own with the date it was measured and a one-line caveat, and the figures are not added up.
It is not rated because the figures do not measure quality and cannot be compared fairly: a library used by thousands of packages and a case system run by twenty municipalities serve different markets, downloads count CI jobs and mirrors, a register lists what is declared rather than what runs, and many government installations are not visible to any public source at all.
A source that knows nothing about the component is left out; a source that applies but does not answer in time says not measured, with the reason. When no source has anything, the aspect is not shown.
The Open Source Register of developer.overheid.nl records which organisation manages a repository, not who uses it, so it is not one of the sources.
Sources
Project health
Shown in the report, but not counted in the rating.
What it means
Whether the project is alive and carried by more than one person or organisation: who makes the changes, how quickly contributions and questions get an answer, and how often a release comes out. A component that a municipality depends on should not stop when one person leaves.
How the checker measures it
- Project health (CHAOSS), measured with the GitHub or GitLab REST API the checker already uses, read with the GITHUB_TOKEN or GITLAB_TOKEN when one is set.
This aspect is informative. It shows six metrics from the CHAOSS project, each with its value and what it means, but it gives no stars and does not count in the Governance rating. Activity says something about risk, not about quality, and the values depend on how a project works: a project that merges through one maintainer is not worse by definition.
Contributor Absence Factor (bus factor): the fewest people who together made half of the commits of the last 12 months on the default branch. Bots are left out. Read 1 as a warning that the project depends on one person; 3 or more is a project that survives a departure.
Organizational Diversity: the share of recent commits (up to the latest 300 on GitHub and 500 on GitLab) per organisation, after the repository's .mailmap. The organisation is the email domain; for a personal, hidden or noreply address, such as gmail.com or GitHub's noreply addresses, it is the company on the author's public GitHub profile, looked up while counting (at most 200 profiles per scan, set with CGC_PROFILE_LOOKUP_LIMIT; GitLab does not say which account made a commit, so there these stay unknown). A company that names the owner counts as the owner's domain. Authors whose organisation stays unknown are counted apart, and when that is more than half of them the metric says not measured. Read one organisation with nearly all commits as a single-supplier project.
Change Request Closure Ratio: the pull or merge requests closed (merged or not) in the last 90 days divided by those opened, bots included. Around 1 the backlog is stable; well below 1 it grows.
Time to First Response and Issue Response Time: the median time to the first comment (on a pull or merge request also a review) by someone other than the author, over the 15 latest pull or merge requests and the 15 latest issues opened by people between 90 and 7 days ago. The week's margin gives every item time to get an answer. Items without an answer are counted apart. A few days is normal for a volunteer project; no response at all means contributions or questions go unheard, or that one person works alone.
Release Frequency: the final releases published in the last 12 months, from GitHub or GitLab releases. Pre-releases and drafts are left out and counted apart. When a GitHub repository has no releases, its version tags (such as 1.2.3) are dated through one GraphQL call, which needs a GITHUB_TOKEN.
A metric the API gives no data for says "not measured" with the reason, for example a switched-off issue tracker, or a missing token for the calls per sampled item.
No personal data is stored. Logins, email addresses and profile companies are used only while counting; the result holds counts, dates and durations. A domain or company is named only when at least two authors share it, so it names an organisation and not a person.