Differential coverage: automating coverage analysis

Henry Cox
8/18/2020
4 citations
cs.SE

Official code: henry2cox/lcov (7 stars, Shell, GPL-2.0, last commit 2026-11-14).

Abstract

While it is easy to automate coverage data collection, it is a time consuming/difficult/expensive manual process to analyze the data so that it can be acted upon. Complexity arises from numerous sources, of which untested or poorly tested legacy code and third-party libraries are two of the most common.

Show full abstract

Differential coverage and date binning are methods of combining coverage data and project/file history to determine if goals have been met and to identify areas of code which should be prioritized. These methods can be applied to any coverage metric which can be associated with a location -- statement, function, expression, toggle, etc. -- and to any language, including both software (C++, Python, etc.) and hardware description languages (SystemVerilog, VHDL). The goal of these approaches is to reduce the cost and the barrier to entry of using coverage data analysis in large-scale projects. The approach is realized in gendiffcov, a recently released open-source tool.

View on arXivView PDF

Code Implementations(1)

henry2cox/lcovOfficial100%
GPL-2.0

LCOV - differential coverage + date/owner binning

77Shell, PerlJul 27, 20202 weeks agoGPL-2.0

Similar Papers

Cite this paper

@article{cox2020differential,
  title  = {Differential coverage: automating coverage analysis},
  author = {Henry Cox},
  year   = {2020},
  eprint = {2008.07947},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2008.07947}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2008.07947.svg)](https://codeofpaper.com/paper/2008.07947)

Discussion