[32063] | 1 | <?xml version="1.0"?>
|
---|
| 2 | <ruleset name="Ruleset for josm-mapillary-plugin"
|
---|
| 3 | xmlns="http://pmd.sourceforge.net/ruleset/2.0.0"
|
---|
| 4 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
---|
| 5 | xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 http://pmd.sourceforge.net/ruleset_2_0_0.xsd">
|
---|
| 6 | <description>
|
---|
| 7 | This ruleset checks some rules that you should normally follow for the josm-mapillary-plugin.
|
---|
| 8 | </description>
|
---|
| 9 | <rule ref="rulesets/java/basic.xml"/>
|
---|
| 10 | <rule ref="rulesets/java/braces.xml">
|
---|
| 11 | <exclude name="IfStmtsMustUseBraces"/>
|
---|
| 12 | </rule>
|
---|
| 13 | <rule ref="rulesets/java/clone.xml"/>
|
---|
| 14 |
|
---|
| 15 | <rule ref="rulesets/java/controversial.xml/UnnecessaryConstructor"/>
|
---|
| 16 | <rule ref="rulesets/java/controversial.xml/AssignmentInOperand"/>
|
---|
| 17 | <rule ref="rulesets/java/controversial.xml/DontImportSun"/>
|
---|
| 18 | <rule ref="rulesets/java/controversial.xml/SuspiciousOctalEscape"/>
|
---|
| 19 | <rule ref="rulesets/java/controversial.xml/UnnecessaryParentheses"/>
|
---|
| 20 | <rule ref="rulesets/java/controversial.xml/DefaultPackage"/>
|
---|
| 21 |
|
---|
| 22 | <rule ref="rulesets/java/coupling.xml">
|
---|
| 23 | <exclude name="LoosePackageCoupling" />
|
---|
| 24 | <exclude name="LawOfDemeter" />
|
---|
| 25 | </rule>
|
---|
| 26 | <rule ref="rulesets/java/design.xml">
|
---|
| 27 | <exclude name="AvoidSynchronizedAtMethodLevel" />
|
---|
| 28 | <exclude name="ConfusingTernary" />
|
---|
| 29 | </rule>
|
---|
| 30 | <rule ref="rulesets/java/empty.xml"/>
|
---|
| 31 | <rule ref="rulesets/java/finalizers.xml"/>
|
---|
| 32 | <rule ref="rulesets/java/imports.xml"/>
|
---|
| 33 | <rule ref="rulesets/java/optimizations.xml">
|
---|
| 34 | <exclude name="LocalVariableCouldBeFinal" />
|
---|
| 35 | <exclude name="MethodArgumentCouldBeFinal" />
|
---|
| 36 | </rule>
|
---|
| 37 | <rule ref="rulesets/java/strictexception.xml"/>
|
---|
| 38 | <rule ref="rulesets/java/strings.xml"/>
|
---|
| 39 | <rule ref="rulesets/java/sunsecure.xml"/>
|
---|
| 40 | <rule ref="rulesets/java/typeresolution.xml"/>
|
---|
| 41 | <rule ref="rulesets/java/unnecessary.xml"/>
|
---|
| 42 | <rule ref="rulesets/java/unusedcode.xml"/>
|
---|
| 43 | </ruleset>
|
---|