Code Coverage

See the untested code causing errors - or whether it’s partially or fully covered - directly in your stack trace to avoid similar errors from happening in the future.

Code Coverage for Developers

Check and correct code coverage before release in your code host, and find it in the stack trace when things get real.

Aggregate coverage reporting, see changes over time, and get cross-repo analytics so you have visibility across all your services.

Create custom statuses and group coverage in your repo without modifying your test setup using Flags and Components.

Codecov unifies coverage data in one place and visualizes the data very well. It also provides the API to query the data for analytics purposes. For our usage, it provides feedback on pull requests directly and nicely improves the developer experience to shorten the feedback loop so that they can fix their issues more quickly.
Lyft
Jun Li
Staff Software Engineer
Read more
As we’ve created this positive feedback loop of increased coverage, it’s a reward for adding more test coverage. Maybe you’re not refactoring something, you’re just adding some functionality. You get to increase test coverage while paying off tech debt.
UJET
Dave Bullock
CTO
Read more

Getting started is simple

We support every technology (except the ones we don't).
Get started with a few lines of code.

Just run this commmand to sign up for and install Sentry.

npx @sentry/wizard@latest -i nextjs

That's it. Be sure to check out our documentation to ensure you have the latest instructions.

FAQs

You must be on a Sentry Team or Business plan - check your Sentry plan subscription. Additionally, make sure you have Sentry’s GitHub integration installed and Code Mappings configured. This will help Sentry determine which source code files to fetch for coverage information.

Codecov Requirements

You must be an existing Codecov customer. If you’re not, getting started with Codecov takes a few minutes and you can try it for free for 14 days. Sign up here.

There is a direct correlation between poor test coverage and incidents.

Code coverage is a testing technique that informs what code is tested and what is not. It is often represented as a percentage of the number of lines of code tested versus the entire codebase. Without building these tests and having proper test coverage, it’s easy to miss preventable bugs before shipping to production which impacts the user experience and can have your developers scrambling to find fixes.

With code coverage solutions like Codecov, you can get a holistic view of your code coverage so you can do things like understand what code is covered when there are drops in code coverage. You can provide blocking status checks on PRs to prevent merging code that has not been well-tested so you and your team can build more reliable and secure code.

To learn more, check out Codecov’s free ebook.

Of course we have more content

What is code coverage eBook

What is code coverage eBook

To get an understanding of code coverage, we have to talk about testing code. A test runs a piece of code and ensures th...

Bringing Codecov into the Sentry family: where code coverage meets application monitoring

Bringing Codecov into the Sentry family: where code coverage meets application monitoring

Codecov makes coverage actionable for over two dozen test frameworks, and has helped over a million software developers ...

Get monthly product updates from Sentry

Sign up for our newsletter.

And yes, it really is monthly. Ok, maybe the occasional twice a month, but for sure not like one of those daily ones that you just tune out after a while.

By filling out this form, you agree to our privacy policy. This form is protected by reCAPTCHA and Google's Privacy Policy and Terms of Service apply.

Fix it

Get started with the only application monitoring platform that empowers developers to fix application problems without compromising on velocity

© 2024 • Sentry is a registered Trademark
of Functional Software, Inc.