Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

gd2i(1) [debian man page]

gd2i(Gendarme 												   gd2i(Gendarme

Gendarme Defect To Ignore List SYNOPSIS
gd2i defects.xml list.ignore [--extra-check] [--syntax-check] [--quiet] [--version] [--help] DESCRIPTION
gd2i is small tool to help you create, or update, an ignore-list baseline from an XML list of defects (generated by Gendarme). OPTIONS
defects.xml The, XML formatted, list of defects produced by Gendarme on your project. list.ignore The, text, file listing ignored defects entries for your project. If the file does not already exists (i.e. an update) then it will be created. See gendarme(5) for the format of this file. --extra-check Report ignore entries, from an existing 'list.ignore' file, that does not match any defect, from the 'defects.xml' file. --syntax-check Report syntax error found when processing an existing 'list.ignore' file. --quiet Used to disable progress and other information which is normally written to stdout. --version Display the tool's version number. This will match the Mono version number that this copy of Gendarme was released with. --help Show help about the command-line options. EXIT STATUS
0 The tool returns 0 when no error has occurred. 1 The tool returns 1 if some command-line parameter were not valid. 2 The tool execution was interrupted by a non-handled exception. This is likely a bug inside the tool and should be reported on Nov- ell's bugzilla ( or on the mailing-list. COPYRIGHT
Copyright (C) 2010 Novell, Inc ( MAILING LISTS
Mailing lists are listed at the WEB SITE SEE ALSO
gendarme(1),gendarme(5),mono(1) gd2i(Gendarme

Check Out this Related Man Page

Gendarme(Gendarme												Gendarme(Gendarme

Gendarme - Rule-based code analysis for Mono. FILE FORMATS
ignore-file This file is used to filter out defects from gendarme reports. It uses a line oriented file format where the first characters of the line control the interpretation of the line: # - means that the line is a comment. R: - if the full name of a rule to be filtered. A: - is used to filter out an assembly (the extension can be omitted). T: - is used to filter out a namespace qualified type name. M: - is used to filter out a method. It must contain the full method name as it appears in the report. rules.xml This file is used in conjunction with the --set option to control and configure the rules used by Gendarme. It contains a set of named rules (rule sets) and each rule set contains a list of rules. Rules have required from and include attributes, optional exclude and applyTo attributes, and optional parameter child elements. 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, prop- erty, 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"). gendarme.exe.config Used by debug versions of Gendarme to enable logging for rules. A config file will be generated automatically by the make file. To enable logging for a rule edit the config file, add a switch using the rule's name, and set the value to 1. COPYRIGHT
Copyright (C) 2005-2009 Novell, Inc ( MAILING LISTS
Mailing lists are listed at the WEB SITE SEE ALSO
gendarme(1) Gendarme(Gendarme
Man Page