school/cs240/record-indexer/checkstyle.xml

59 lines
1.3 KiB
XML
Raw Normal View History

2016-04-06 20:50:11 -07:00
<?xml version="1.0"?>
<!DOCTYPE module PUBLIC
"-//Puppy Crawl//DTD Check Configuration 1.3//EN"
"http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
<module name="Checker">
<module name="FileLength">
<property name="max" value="2000"/>
</module>
<module name="TreeWalker">
<property name="tabWidth" value="4"/>
<module name="NestedForDepth">
<property name="max" value="1"/>
</module>
<module name="NestedIfDepth">
<property name="max" value="2"/>
</module>
<module name="NestedTryDepth">
<property name="max" value="1"/>
</module>
<module name="BooleanExpressionComplexity">
<property name="max" value="5"/>
</module>
<module name="CyclomaticComplexity">
<property name="max" value="10"/>
</module>
<module name="NPathComplexity">
<property name="max" value="200"/>
</module>
<module name="LineLength">
<property name="max" value="100"/>
</module>
<module name="MethodLength">
<property name="max" value="120"/>
<property name="countEmpty" value="false"/>
</module>
<module name="ParameterNumber">
<property name="max" value="7"/>
<property name="tokens" value="METHOD_DEF"/>
</module>
</module>
</module>