Exports runtime information to files
covWrite("html", dir) covWrite("binary", binaryFile) covWrite("html", binaryFile, dir)
exports the coverage data as HTML files
store the coverage data as binary for later use
output directory as a string
stored binary filename as a string
This command is used to export, store or "load and export" runtime instrumentation data to the file system. The major usage is to export the current runtime information to HTML files on a directory using covWrite("html", "TMPDIR/coverage")
.
This command is used to export, store or "load and export" runtime instrumentation data to the file system.
covStart(isempty) for i=1:1e5; isempty(i); end covWrite("binary", "TMPDIR/isempty1") // write runtime information covStop(); // clear instrumentation covStart(isempty) for i=1:1e5; isempty(string(i)); end covWrite("binary", "TMPDIR/isempty2") // write other runtime information covStop(); covMerge(["TMPDIR/isempty1" "TMPDIR/isempty2"], "TMPDIR/isempty") // merge them covWrite("html", "TMPDIR/isempty", "TMPDIR/coverage") // render the information as HTML | ![]() | ![]() |