rulesets.size.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of CodeNarc Show documentation
Show all versions of CodeNarc Show documentation
The CodeNarc project provides a static analysis tool for Groovy code.
<ruleset xmlns="http://codenarc.org/ruleset/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://codenarc.org/ruleset/1.0 http://codenarc.org/ruleset-schema.xsd" xsi:noNamespaceSchemaLocation="http://codenarc.org/ruleset-schema.xsd"> <description> Size and complexity rule set. These rules check against thresholds for code size and complexity. </description> <rule class='org.codenarc.rule.size.AbcMetricRule'/> <rule class='org.codenarc.rule.size.ClassSizeRule'/> <rule class='org.codenarc.rule.size.CrapMetricRule'/> <rule class='org.codenarc.rule.size.CyclomaticComplexityRule'/> <rule class='org.codenarc.rule.size.MethodCountRule'/> <rule class='org.codenarc.rule.size.MethodSizeRule'/> <rule class='org.codenarc.rule.size.NestedBlockDepthRule'/> <rule class='org.codenarc.rule.size.ParameterCountRule'/> </ruleset>