Skip to content

MOcov

MOcov is a coverage report generator for Matlab and GNU-Octave.

Features

  • Runs on both the Matlab and GNU Octave platforms.
  • Can be used directly with continuous integration services, such as coveralls.io.
  • Integrates with MOxUnit, a unit test framework for Matlab and GNU Octave.
  • Supports the Matlab profiler.
  • Writes coverage reports in HTML, JSON and XML formats.
  • Distributed under the MIT license, a permissive free software license.

Compatibility notes

  • Because GNU Octave 3.8 and 4.0 do not support classdef syntax, 'old-style' object-oriented syntax is used for the class definitions.

Limitations

  • The 'file' coverage method uses a very simple parser, which may not work as expected in all cases.
  • Currently there is only support to generate coverage reports for files in a single directory (and its subdirectory).