This repository was archived by the owner on Feb 12, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
project/core/publishers/Statistics Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,25 @@ namespace ThoughtWorks.CruiseControl.Core.Publishers.Statistics
6666 /// metric on y-axis in the artifacts directory named as <statistic name>.png. This chart would still be a very basic representation.
6767 /// For now at least, exporting the report to Excel for charting/analyis might be a better option.
6868 /// </para>
69+ /// <para>
70+ /// The following are default provided :
71+ /// <code>
72+ /// <FirstMatch name="StartTime" xpath= "/cruisecontrol/build/@date")>
73+ /// <FirstMatch name="Duration" xpath= "/cruisecontrol/build/@buildtime")>
74+ ///
75+ /// <Statistic name="TestCount" xpath= "sum name =//test-results/@total)")>
76+ /// <Statistic name="TestFailures" xpath= "sum name =//test-results/@failures)")>
77+ /// <Statistic name="TestIgnored" xpath= "sum name =//test-results/@not-run)")>
78+ ///
79+ /// <Statistic name="GendarmeDefects" xpath= "count name =//gendarme-output//rule/target/defect)")>
80+ ///
81+ /// <Statistic name="FxCop Warnings" xpath= "count name =//FxCopReport//Message[Issue/@Level='Warning' or Issue/@Level='CriticalWarning'])")>
82+ /// <Statistic name="FxCop Errors" xpath= "count name =//FxCopReport//Message[Issue/@Level='Error' or Issue/@Level='CriticalError'])")>
83+ ///
84+ /// <FirstMatch name="BuildErrorType" xpath= "//failure/builderror/type")>
85+ /// <FirstMatch name="BuildErrorMessage" xpath= "//failure/builderror/message")>
86+ /// </code>
87+ /// </para>
6988 /// </remarks>
7089 /// <example>
7190 /// <code title="Minimalist example">
You can’t perform that action at this time.
0 commit comments