NAnt
Help
Task Reference
<codestats> |
NAnt.Contrib.Tasks () |
Generates Statistics from Source Code
Scans files in a fileset counting lines
| 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 |
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>