Main Content

matlab.unittest.plugins.codecoverage.CoverageFormat Class

Namespace: matlab.unittest.plugins.codecoverage

Superclass of all coverage format classes

Since R2024b

Description

The matlab.unittest.plugins.codecoverage.CoverageFormat class is the superclass of all format classes used to access code coverage information. For example, the matlab.unittest.plugins.codecoverage.CoverageReport class, which provides a way to generate interactive code coverage reports in HTML format, is a subclass of the CoverageFormat class.

Only the testing framework subclasses the CoverageFormat class. You cannot subclass or instantiate the CoverageFormat class.

Class Attributes

Abstract
true
HandleCompatible
true

For information on class attributes, see Class Attributes.

Version History

Introduced in R2024b