• Showing Page History #79144
  • Showing Page History #72967

c4ju のWiki

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

Latest File Release

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

Recent Tickets

(empty)

readme.txt for c4ju


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

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 にテスト対象の属性値が代入されます。