= 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.
}}}
--------------------------------------------------
Description[[BR]]
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 <= 120" />
</module_summary>
<procedural_detail>
<member_function>
<lines_of_code value="value <= 30"/>
<McCabes_cyclomatic_complexity value="value <= 30" />
<lines_of_comment />
<lines_of_code_per_line_of_comment value="value <= 5" />
<McCabes_cyclomatic_complexity_per_line_of_comment value="value <= 30" />
</member_function>
</procedural_detail>
</CCCC_Project>
}}}
============================
対応するノードの属性に式を記述します。[[BR]]
value にテスト対象の属性値が代入されます。
--------------------------------------------------
[[ReleaseList]]
[[RecentTickets(limit=5)]]
{{{ GoogleAdsense
<script type="text/javascript"><!--
google_ad_client="pub-2645808387286720";
google_ad_host="pub-9941151214016196";
google_alternate_color="FFFFFF";
google_ad_width=250;
google_ad_height=250;
google_ad_format="250x250_as";
google_ad_type="text_image";
google_color_border="003399";
google_color_bg="EEEEEE";
google_color_link="0000FF";
google_color_url="0000FF";
google_color_text="000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
}}}