Coverage Report Generator

バージョン 1.3.0.0 (21.8 KB) 作成者: Jonathan Karr
Generates Cobertura-style XML coverage report
ダウンロード: 838
更新 2013/3/25

ライセンスの表示

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>);

引用

Jonathan Karr (2024). Coverage Report Generator (https://www.mathworks.com/matlabcentral/fileexchange/33972-coverage-report-generator), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2010b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersVerification, Validation, and Test についてさらに検索
謝辞

ヒントを得たファイル: absolutepath.m, mlcovr Package, absolutepath

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Coverage/

Coverage/lib/absolutepath/

Coverage/lib/util/strutil/

Coverage/src/+edu/+stanford/+covert/+test/

バージョン 公開済み リリース ノート
1.3.0.0

Correct required products list.

1.1.0.0

Including missing code

1.0.0.0