<codestats>

Generates Statistics from Source Code

Scans files in a fileset counting lines

Parameters

Attribute Type Description Required
outputFile string If you want to save the output (in xml) specify the file name here False
failonerror bool False
if bool False
unless bool False
verbose bool False

Nested Elements:

<fileset>

The file set to work on

</fileset>

Examples

Count all .cs files for a project

Verbose mode is suported and will print a summary to the Log

Output can be saved to an xml file

                <codestats outputFile="test.xml" verbose="true">
                    <fileset>
                        <includes name="**.cs" />
                    </fileset>
                </codestats>