Code Coverage | Datadog
Software Delivery

Code Coverage

Track, enforce, and improve test coverage across your entire codebase in one platform

Track, enforce, and improve test coverage across your entire codebase in one platform
Track, enforce, and improve test coverage across your entire codebase in one platform
Track, enforce, and improve test coverage across your entire codebase in one platform
Track, enforce, and improve test coverage across your entire codebase in one platform

Feature Overview

Datadog Code Coverage gives you a unified view of your code coverage across lines, files, branches, and both mono- and multi-repo environments. By detecting untested changes early and enforcing consistent coverage thresholds through automated PR gates, you can maintain reliable, high-quality code even as development accelerates. Coverage insights surface directly in your pull requests, helping you quickly address gaps and uphold consistent testing standards across every repo.


Gain unified visibility into test coverage across every repository

  • Visualize coverage across lines, files, services, codeowners, and both mono- and multi-repo codebases to quickly identify untested areas
  • Detect missing tests with line-level annotations that pinpoint exactly where coverage gaps exist
  • Track coverage trends across branches and commits to monitor how code quality evolves over time
Code coverage dashboard showing overall coverage, patch coverage, and coverage trends
Code coverage dashboard showing overall coverage, patch coverage, and coverage trends

Enforce consistent testing standards with automated PR quality gates

  • Apply overall and patch coverage thresholds to automatically block untested code from merging
  • Standardize testing requirements across repositories to reduce variability and ensure consistent quality
  • Surface coverage results directly in PR comments so developers receive instant feedback on what needs to be fixed
Pull request quality gate configuration showing code coverage rules and settings
Pull request quality gate configuration showing code coverage rules and settings

Improve test reliability with context-driven insights

  • Automatically generate tests for uncovered code with Bits AI Dev Agent, using repository context
  • Quickly understand whether untested code aligns with critical systems or frequently executed paths
  • Proactively strengthen your test suites by identifying gaps before they lead to production issues
Code coverage insights showing test suggestions and AI-powered improvements
Code coverage insights showing test suggestions and AI-powered improvements

What's Next

Get started today with a 14-day free-trial of the entire Datadog product suite


Learn more

Request a Demo

View documentation