<< Performances des programmes Performances des programmes covStart >>

Scilab Help >> Performances des programmes > covMerge

covMerge

Merges coverage results and exports to a file

Syntax

covMerge(binaryFiles, binaryFile)

Arguments

binaryFiles

a set of coverage binary files

binaryFile

a binary file

Description

This command is used to merge coverage results and export them to a single file. It is used for in-depth analysis for a set of functions and runs. This will output only the results for the passed paths.

Example

covStart(isnan)
for i=1:1e5; isnan(i); end
covWrite("binary", "TMPDIR/isnan1")  // write runtime information
covStop();                             // clear instrumentation

covStart(isnan)
for i=1:1e5; isnan(string(i)); end
covWrite("binary", "TMPDIR/isnan2")  // write other runtime information
covStop();

covMerge(["TMPDIR/isnan1" "TMPDIR/isnan2"], "TMPDIR/isnan") // merge them
covWrite("html", "TMPDIR/isnan", "TMPDIR/coverage") // render the information as HTML

See also


Report an issue
<< Performances des programmes Performances des programmes covStart >>