Codecov

Code coverage done right.®

Welcome to Codecov Documentation. You'll find comprehensive guides and documentation to help you start working with Codecov as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started

Path Regexp

Outlining our regular expression technique used

The Codecov Yaml accepts regexp patterns to filter report content. Detailed below is the strategy of how codecov processes these paths.

Regexp patterns

Before

After

/path

include ^path.*

path/

include ^path/.*

path/*

include ^path/.*

path/to/file.rb$

include ^path/to/file.rb$

*/tests

include .*/tests.*

!path

exclude ^path.*

Logic

if any negative match:
  skip
else if has positive matches:
  if positive match found:
    include
  else:
    skip
else:
  include

Updated about a year ago


Path Regexp


Outlining our regular expression technique used

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.