最近の更新 (Recent Changes)

2012-03-31
2011-10-16

最新リリース情報

c4ju (1.0.2.0)2012-02-18 21:26


Wikiガイド(Guide)


c4ju のWiki

c4ju 開発プロジェクトWikiページへようこそ。


Name

c4ju - CCCC output xml to junit xml

Usage

    c4ju [options] file1.xml ...
    Process files listed on command line.
    If the filenames include '-', read a list of files from standard input.


Command Line Options

    --help                  : generate help message.
    --out_xmlfile=<path>    : path of xml report.
    --filter=<path>         : path of test filter xml.
    --excluding=<file>      : read the ignore list from a file.
    --verbose               : displays detailed messages.


Description
CCCC 出力xml から filter xml に記述した式でテストを行い xml report を出力します。

sample filter xml

<?xml version="1.0" encoding="utf-8"?>
<CCCC_Project>
<module_summary>
<lines_of_code value="value &lt;= 120" />
</module_summary>
<procedural_detail>
<member_function>
<lines_of_code value="value &lt;= 30"/>
<McCabes_cyclomatic_complexity value="value &lt;= 30" />
<lines_of_comment />
<lines_of_code_per_line_of_comment value="value &lt;= 5" />
<McCabes_cyclomatic_complexity_per_line_of_comment value="value &lt;= 30" />
</member_function>
</procedural_detail>
</CCCC_Project>

対応するノードの属性に式を記述します。
value にテスト対象の属性値が代入されます。


Use Excluding

--excluding=<file> オプションを使用することで任意のテスト結果を無視(スキップ)することができます。

file には、無視したいテストの条件が書かれたファイルを指定します。 条件には、無視したいテストの名前を一行ごとに記述します。 (正規表現が使用できます。)

sample excluding txt

.*Test.*
.*anonymous.*

最新リリース情報

c4ju (1.0.2.0)2012-02-18 21:26

最近のチケット一覧

(empty)