Compare

gocov vs Codecov

Both put coverage on pull requests and can hold a merge. gocov is open source, free to self-host in production, works the same on GitHub, GitLab and Bitbucket, and needs no upload secret. Codecov does more besides coverage.

At a glance

gocov and Codecov, side by side

The points that usually decide between coverage tools.

gocovCodecov
Source code Open source, AGPL-3.0 Source-available under the Functional Source License; Codecov says it is not open source
Self-hosting Free: the image the hosted service runs, with a production setup in the repository A free self-hosted setup that its README calls a quick proof of concept, not hardened for security
Private repositories Free during early access; paid plans to be announced Free for 1 user; Team $4–5 per user a month, up to 10 users; Pro $12 per user a month
Public repositories Free Free
Bitbucket Cloud pull requests Comment, build status, Code Insights report and annotations on untested lines in the diff Comment and build status; its Bitbucket integration posts no Code Insights report or annotations
GitLab and Bitbucket connection A one-time grant by a workspace owner A "Team Bot": one user's OAuth token, from an account that must have admin access
GitHub line annotations In the gocov coverage check run On by default; Codecov's docs say they will be deprecated
Private uploads without a stored secret GitHub Actions, GitLab CI and Bitbucket Pipelines GitHub Actions, through codecov-action's OIDC option; a repository token elsewhere
Diff coverage gate Minimum total, minimum diff coverage and maximum drop Project and patch statuses with targets and thresholds, in codecov.yml
Report formats 8, detected from the file Around 26

Based on Codecov's public documentation and pricing as of December 2026.

Where gocov is different

Open source, on every forge, with nothing to paste.

Open source, server and all

AGPL-3.0. Self-host the same image the hosted service runs, with a production setup in the repository — not a proof of concept.

Bitbucket gets the full treatment

A Code Insights report and annotations on untested lines in the pull request diff, not just a comment.

No secrets in CI

Uploads prove which repository they come from with the forge's identity token on GitHub Actions, GitLab CI and Bitbucket Pipelines.

Same product, hosted or self-hosted

The hosted service runs the same image you can run yourself, so every feature is in both.

Choosing

When Codecov may be the better fit

gocov focuses on coverage in pull requests. If these matter more to you, Codecov is worth a look.

  • Test analytics and bundle analysis. Codecov also tracks flaky tests from JUnit results and JavaScript bundle sizes. gocov does coverage and nothing else.
  • More report formats. Codecov reads around 26; gocov reads the 8 that the common test tools write.
  • Self-managed forges. Codecov's enterprise plans connect to GitHub Enterprise Server, self-managed GitLab and Bitbucket Data Center.
  • Published prices. Codecov lists its per-user prices for private repositories today; gocov's paid plans are not announced yet.
  • Your history. gocov starts measuring from your first upload; it does not import Codecov's history.

Switching

From codecov.yml to a gocov gate

The migration guide maps codecov.yml's statuses to a coverage gate and flags to parts, swaps the upload step, and keeps Codecov running until the numbers agree.

Read the migration guide

Try gocov next to Codecov.

Moving from Codecov or Coveralls? The migration guide maps your settings over and keeps the old tool running until the numbers agree.