Gendarme(Gendarme 4.2.0.0) | Gendarme(Gendarme 4.2.0.0) |
Gendarme - Rule-based code analysis for Mono.
An ignore-file can be generated automatically (using gd2i) from a XML defect list produced by Gendarme.
The from attribute is the path of a dll to load ("Gendarme.Rules.BadPractice.dll"). Relative paths are relative to the gendarme executable.
The include attribute may be "*" to match every rule in the dll or a list of rule names separated by '|' ("WhizBangRule | MyRule").
The exclude attribute is a list of rule names separated by '|' ("IckyRule"). These will override any rules matched by the include attribute.
The applyTo attribute may be "all", "visible", or "nonvisible". If it is all (the default) then all types in the assemblies are checked, if it is visible then only the externally visible types are checked, if it is nonvisible then only the internally visible types are checked.
The parameter child element is used to customize the behavior of a rule within a dll. It has three required attributes: rule, property, and value. rule is the name of the applicable rule ("AvoidSmallNamespaceRule"), property is the name of a public property in the rule ("Minimum"), value is the value to assign to the property ("10").
Copyright (C) 2005-2010 Novell, Inc (http://www.novell.com)
Mailing lists are listed at the http://groups.google.com/group/gendarme
http://www.mono-project.com/Gendarme