Sie verfolgen jetzt diese Einreichung
- Aktualisierungen können Sie in Ihrem Feed verfolgter Inhalte sehen.
- Je nach Ihren Kommunikationseinstellungen können Sie auch E-Mails erhalten.
This packages uses the profiler to generate a Cobertura-style XML coverage report. We use this report in conjunction with Hudson/Jenkins to track test coverage. The code sample below illustrates how to use the code. See example.m for details.
%add source code to path
addpath('src');
%import classses, functions
import edu.stanford.covert.test.Coverage;
%turn profiler on
profile('on', '-nohistory');
%run code
...
%turn profiler off
profile('off');
%generate coverage report
report = Coverage('src', '..');
report.exportXML(<output file name>);
Zitieren als
Jonathan Karr (2026). Coverage Report Generator (https://de.mathworks.com/matlabcentral/fileexchange/33972-coverage-report-generator), MATLAB Central File Exchange. Abgerufen .
Quellenangaben
Inspiriert von: absolutepath.m, mlcovr Package, absolutepath
Allgemeine Informationen
- Version 1.3.0.0 (21,8 KB)
Kompatibilität der MATLAB-Version
- Kompatibel mit allen Versionen
Plattform-Kompatibilität
- Windows
- macOS
- Linux
| Version | Veröffentlicht | Versionshinweise | Action |
|---|---|---|---|
| 1.3.0.0 | Correct required products list. |
||
| 1.1.0.0 | Including missing code |
||
| 1.0.0.0 |
