CoverageInstrument[inputDir,outputDir]
instruments files of WL code in directory inputDir for coverage analysis using outputDir for output and returning baseline coverage data.
CoverageInstrument[PacletObject[name]]
instruments a paclet for coverage analysis returning a directory name appropriate for PacletDirectoryLoad.


CoverageInstrument
CoverageInstrument[inputDir,outputDir]
instruments files of WL code in directory inputDir for coverage analysis using outputDir for output and returning baseline coverage data.
CoverageInstrument[PacletObject[name]]
instruments a paclet for coverage analysis returning a directory name appropriate for PacletDirectoryLoad.
Details and Options
- The baselineData output is consumed by CoverageProcess.
Tech Notes
Related Guides
Text
Wolfram Research (2020), CoverageInstrument, Wolfram Language function, https://reference.wolfram.com/language/Instrumentation/ref/CoverageInstrument.html.
CMS
Wolfram Language. 2020. "CoverageInstrument." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/Instrumentation/ref/CoverageInstrument.html.
APA
Wolfram Language. (2020). CoverageInstrument. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/Instrumentation/ref/CoverageInstrument.html
BibTeX
@misc{reference.wolfram_2025_coverageinstrument, author="Wolfram Research", title="{CoverageInstrument}", year="2020", howpublished="\url{https://reference.wolfram.com/language/Instrumentation/ref/CoverageInstrument.html}", note=[Accessed: 18-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_coverageinstrument, organization={Wolfram Research}, title={CoverageInstrument}, year={2020}, url={https://reference.wolfram.com/language/Instrumentation/ref/CoverageInstrument.html}, note=[Accessed: 18-August-2025]}