Free C++ Code Coverage for Open Source Projects

Add code coverage to your open source C++ project for free, with one GitHub sign-in.

Get Started Instantly

covdbg is free for public repositories. No forms and no approval process: sign in once with covdbg login, set source_root in your .covdbg.yaml to point to your repository and run:

# .covdbg.yaml
source_root: .
covdbg -o coverage.covdb myapp.exe

That's it. covdbg reads the git remote of the checkout around your source_root, also when the config is in a subfolder of it, and names it to the license service, which recognizes a public repository.

In CI, nothing to configure

From covdbg 1.5.0, a GitHub Actions workflow on a public repository needs no secret at all. Grant the job id-token: write and covdbg proves which repository it runs in using the token GitHub mints for it:

permissions:
  contents: read
  id-token: write

No token to create, nothing to paste into your repository settings, and nothing for a contributor to ask you for. GitHub does not mint that token for a pull request from a fork, so measure coverage on pushes to your default branch and on pull requests from your own repository; see GitHub Actions.

See our Quick Start examples. They work exactly like any other open source project.

Supported Platforms

  • GitHub
  • GitLab
  • Bitbucket

Using a different git hosting platform? Email our team with a link to your repository.

Learn More

See the Open Source Program page for full details on what's included.