Skip to content

MozillaSecurity/covdiff

Repository files navigation

covdiff

Compare coverage reports

Task Status codecov black MPLv2

Overview

Covdiff is primarily used to compare coverage reports generated by the fuzzing team and Mozilla CI.

Usage

usage: __main__.py [-h] [-f FILE] reports reports dest

Compare two coverage reports

positional arguments:
  reports                 Reports to compare
  dest                    Path to store results

optional arguments:
  -h, --help              show this help message and exit
  -f FILE, --filter FILE  Path to filter list

Where to get reports?

# Fetch a coverage report from a fuzzmanager instance
wget https://fuzzmanager/covmanager/collections/1234/download/ -O fuzzing.json

# Fetch a coverage report from CI
# Replace `{REVISION}` or use `latest`
wget https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.relman.code-coverage.production.repo.mozilla-central.{REVISION}/artifacts/public/code-coverage-report.json -O ci.json

Contributing

This project includes numerous pre-commit hooks. Before committing, please make sure that these hooks are installed.

pre-commit install

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages