<codestats>

[This is preliminary documentation and subject to change.]

Generates Statistics from source code.

Scans files in a fileset counting lines.

Parameters

AttributeTypeDescriptionRequired
outputFilestring If you want to save the output (in xml) specify the file name here False
failonerrorbool Determines if task failure stops the build, or is just reported. The default is true. False
ifbool If true then the task will be executed; otherwise, skipped. The default is true. False
unlessbool Opposite of if. If false then the task will be executed; otherwise, skipped. The default is false. False
verbosebool Determines whether the task should report detailed build log messages. The default is false. False

Nested Elements:

<fileset>

The file set to work on

</fileset>

Examples

Requirements

Assembly: NAnt.Contrib.Tasks (0.85.1869.0)