Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.1.1 - Русский

Change language to:
English - Français - 日本語 - Português -

Please note that the recommended version of Scilab is 2024.1.0. This page might be outdated.
See the recommended documentation of this function

Справка Scilab >> Coverage > covMerge


Merges coverage results and exports to a file


covMerge(binaryFiles, binaryFile)



a set of coverage binary files


a binary file


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.


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

for i=1:1e5; isempty(string(i)); end
covWrite("binary", "TMPDIR/isempty2")  // write other runtime information

covMerge(["TMPDIR/isempty1" "TMPDIR/isempty2"], "TMPDIR/isempty") // merge them
covWrite("html", "TMPDIR/isempty", "TMPDIR/coverage") // render the information as HTML

See also

  • covStart — Instruments some macros to store runtime information on code coverage and execution time
  • covStop — Removes all instrumentation data
  • covWrite — Exports runtime information to files
Report an issue
<< Coverage Coverage covStart >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Jan 03 14:40:13 CET 2022