Research Software MetaCheck (a Pitfall/Warning Detection Tool)
This project provides an automated tool for detecting common metadata quality issues (pitfalls & Warnings)
in software repositories. The tool analyzes SoMEF (Software Metadata Extraction Framework) output
files to identify various problems in repository metadata
files such as codemeta.json, package.json, setup.py, DESCRIPTION, and others.
Overview
MetaCheck identifies 29 different types of metadata quality issues across multiple programming languages (Python, Java, C++, C, R, Rust). These pitfalls range from version mismatches and license template placeholders to broken URLs and improperly formatted metadata fields.
You can visit our catalog to see in details what these pitfalls are, where are they usually detected and how to fix them.
Supported Pitfall Types
The tool detects the following categories of issues:
- Version-related pitfalls: Version mismatches between metadata files and releases
- License-related pitfalls: Template placeholders, copyright-only licenses, missing version specifications
- URL validation pitfalls: Broken links for CI, software requirements, download URLs
- Metadata format pitfalls: Improper field formatting, multiple authors in single fields, etc...
- Identifier pitfalls: Invalid or missing unique identifiers, bare DOIs
- Repository reference pitfalls: Mismatched code repositories, Git shorthand usage
Requirements
- Python 3.11
- Required Python packages:
requests(for URL validation)pathlib(built-in)json(built-in)re(built-in)somef(For extracting metadata from the repositories)
Installation
Using Poetry (Recommended)
-
Clone the repository:
git clone https://github.com/SoftwareUnderstanding/rsmetacheck.git cd rsmetacheck
-
Install with Poetry:
poetry install -
Configure SoMEF (optional but recommended): Initially, the installation process will run
somef configure -ato automatically set it up and install the necessary packages but the rate limit will be low. If you need more, you should reconfigure SoMEF, you can run the following command:poetry run somef configure
Then add your GitHub authentication token to avoid API rate limits when analyzing repositories in batches.
Using pip
Alternatively, you can install directly from GitHub:
pip install git+https://github.com/SoftwareUnderstanding/rsmetacheck.git
Usage
For full usage instructions — including CLI options, GitHub Action integration, GitLab CI/CD setup, output format, and configuration — please refer to the usage documentation.
Troubleshooting
Common Issues
- "There is no valid repository URL" error: Ensure the JSON file that contains the repositories has a valid structure and that you are inputing the correct path
- Network timeouts: Some pitfalls validate URLs and may time out this is normal behavior
Performance Notes
- URL validation pitfalls may take longer due to network requests
- Large datasets may require several minutes to complete analysis
- Progress is displayed in real-time showing which pitfalls are found
Contributing
The system is designed with modularity in mind. Each pitfall detector is implemented as a
separate module in the scripts/ directory, making it easy to add new pitfall types or modify
existing detection logic.
Metadata
Release files for rsmetacheck 0.3.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rsmetacheck-0.3.6.tar.gz | 43.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rsmetacheck-0.3.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 107.1 kB
Release files / rsmetacheck-0.3.6.tar.gz
| Download URL | rsmetacheck-0.3.6.tar.gz |
|---|---|
| Size | 43.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
750bd9342f140cd2f2fb141d0cba905e5b3cb440ef443bec7a358448d2042771
|
|
BLAKE2b-256 checksum How to use checksums |
c842e05364080713bb62b8985767c31bd5caa95f40b128da69d46955868283e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.3 CPython/3.11.16 Linux/6.17.0-1022-azure
|
Release files / rsmetacheck-0.3.6-py3-none-any.whl
| Download URL | rsmetacheck-0.3.6-py3-none-any.whl |
|---|---|
| Size | 63.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
18c5d0e877a51d2c46a7fcfe6f92f874c3c268aae92dbc541a1a64cebf5f61e4
|
|
BLAKE2b-256 checksum How to use checksums |
2a6d79352db927ebaaa3266885c7a93216e09be45fcf37cffccba497ee93d7b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.3 CPython/3.11.16 Linux/6.17.0-1022-azure
|