Code coverage with an integrated development environment
Abstract
A method, apparatus and article of manufacture for collecting coverage data. In one embodiment, a method is provided for collecting coverage data for a code portion which, when compiled and linked, becomes a module of a program. The method comprises configuring the code portion settings such that when the module is instrumented coverage data will be gathered for the module; and instrumenting the code portion according to the settings and only for those statements for which no coverage data exists. Coverage data can then be collected, for example, each instance the module is executed, each instance the module is executed as part of a particular program, or each instance the module is executed by a particular user.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 3 · Forward citations: 17.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of gathering coverage data for a code portion, comprising: selecting the code portion for which coverage data is to be gathered; storing a coverage requirement for the code portion which, when compiled, becomes part of a module that includes the code portion, wherein the coverage requirement specifies that coverage data is collected whenever the code portion is executed by at least one of (i) a particular user and (ii) a particular program that includes the module; and when compiling the code portion, determining whether coverage data has been gathered for the code portion, according
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 17 total)
References Cited — Backward Prior Art (3)
Non-Patent Literature (1)
- "Our First-Generation Dynamic Compilation System", by University of Washington, "www.cs.washington.edu/research/dyncomp/Prototype".