forked from SERG-Delft/andy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
andy-checkstyle-checker.xml
49 lines (37 loc) · 1.65 KB
/
andy-checkstyle-checker.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?xml version="1.0"?>
<!DOCTYPE module PUBLIC
"-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
"https://checkstyle.org/dtds/configuration_1_3.dtd">
<module name="Checker">
<module name="BeforeExecutionExclusionFileFilter">
<property name="fileNamePattern" value="^(?!.*(nl.tudelft.cse1110.andy))" />
</module>
<module name="SuppressWarningsFilter" />
<module name="TreeWalker">
<module name="SuppressWarningsHolder" />
<module name="MethodLength">
<property name="severity" value="error"/>
<property name="tokens" value="METHOD_DEF, CTOR_DEF, COMPACT_CTOR_DEF"/>
<property name="max" value="50"/>
</module>
<module name="CyclomaticComplexity">
<property name="max" value="10"/>
<property name="tokens" value="LITERAL_WHILE, LITERAL_DO"/>
</module>
<module name="NestedIfDepthCheck" >
<property name="max" value="2"/>
</module>
<module name="UnnecessarySemicolonInEnumeration"/>
<module name="UnnecessarySemicolonInTryWithResources"/>
<module name="UnnecessarySemicolonAfterOuterTypeDeclaration"/>
<module name="UnnecessarySemicolonAfterTypeMemberDeclaration"/>
<module name="DeclarationOrderCheck" />
<module name="EmptyStatementCheck" />
<module name="EqualsHashCodeCheck" />
<module name="MissingSwitchDefaultCheck" />
<module name="UnusedLocalVariableCheck" />
<module name="EmptyBlockCheck" />
<module name="EmptyCatchBlockCheck" />
<module name="StringLiteralEqualityCheck" />
</module>
</module>