Skip to main content
Coverage analytics shows how your code coverage changes over time. Use it to catch coverage drops, compare coverage across branches, and confirm that new tests improve overall coverage.
Coverage data requires the @testdino/playwright reporter with coverage.enabled: true. See the Code Coverage guide for setup.
A time-series chart plots coverage metrics (statements, branches, functions, lines) across the selected period. Each data point represents one test run. For sharded runs, the data point reflects the merged coverage across all shards. Use this chart to:
  • Spot sudden drops that match a specific commit or PR
  • Confirm that adding new tests raised coverage
  • Track progress toward a team coverage target
Toggle individual metrics on or off to focus on a specific coverage type. Hover over a data point to see the exact percentages and the associated commit.

Coverage by Branch

Compare average statement coverage across branches. If a branch has lower coverage than main, tests are missing for the code changes on that branch.

Coverage Diff

The diff view compares coverage between two branches or time periods. It surfaces files where coverage changed, sorted by the largest regressions first.
ColumnDescription
FileSource file path
BaseCoverage percentage on the base branch
CompareCoverage percentage on the compared branch
ChangeDifference in coverage (positive or negative)
Use this view to:
  • Validate that a feature branch maintains or improves coverage before merging
  • Identify files that lost coverage after a refactor
  • Compare coverage across environments or time periods

Filters

Narrow the data by time period, environment, or branch.
FilterWhat it does
Time PeriodShow coverage data within a date range
EnvironmentScope to a specific environment (production, staging, etc.)
BranchFocus on one or more branches
Links to coverage guides and analytics.