2019 · 87 citations · 14 references
ComputingComputer ScienceProgramming LanguagesRequirements EngineeringSoftware EngineeringSoftware DeploymentSoftware MetricsSoftware Quality AssuranceSoftware TestingCode CoverageCode Coverage MeasurementCode ReviewCoverageUsefulness Assessment
Code coverage is a measure of the degree to which a test suite exercises a software system. Although coverage is well established in software engineering research, deployment in industry is often inhibited by the perceived usefulness and the computational costs of analyzing coverage at scale. At Google, coverage information is computed for one billion lines of code daily, for seven programming languages. A key aspect of making coverage information actionable is to apply it at the level of changesets and code review. This paper describes Google’s code coverage infrastructure and how the computed code coverage information is visualized and used. It also describes the challenges and solutions for adopting code coverage at scale. To study how code coverage is adopted and perceived by developers, this paper analyzes adoption rates, error rates, and average code coverage ratios over a five-year period, and it reports on 512 responses, received from surveying 3000 developers. Finally, this paper provides concrete suggestions for how to implement and use code coverage in an industrial setting.
14
Sergey Melnik, Andrey Gubarev, Jing Jing Long et al. · Proceedings of the VLDB Endowment · 2010 · 709 citations
Are mutants a valid substitute for real faults in software testing?
René Just, Darioush Jalali, Laura Inozemtseva et al. · 2014 · 592 citations