Class: matlab.unittest.plugins.CodeCoveragePlugin
Package: matlab.unittest.plugins
Construct CodeCoveragePlugin
for packages
matlab.unittest.plugins.CodeCoveragePlugin.forPackage(
creates a plugin that produces a code coverage report for one or more packages. The
plugin reports on the source code inside package
)package
.
matlab.unittest.plugins.CodeCoveragePlugin.forPackage(
produces a code coverage report with additional options specified by one or more package
,Name,Value
)Name,Value
pair arguments. For example, matlab.unittest.plugins.CodeCoveragePlugin.forPackage('myprojA','IncludingSubpackages',true)
produces a code coverage report for source code in the myprojA
package and its subpackages.
matlab.unittest.plugins.CodeCoveragePlugin.forFile
| matlab.unittest.plugins.CodeCoveragePlugin.forFolder