source: osm/applications/editors/josm/plugins/MicrosoftStreetside/config/pmd/ruleset.xml@ 34529

Last change on this file since 34529 was 34329, checked in by renerr18, 7 years ago

StreetsideLayer and StreetsideData changes in correspondence with current Mapillary & JOSM versions

File size: 2.0 KB
Line 
1<?xml version="1.0"?>
2<ruleset name="Ruleset for ms-streetside-josm-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 ms-streetside-josm-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
21 <rule ref="rulesets/java/coupling.xml">
22 <exclude name="LoosePackageCoupling" />
23 <exclude name="LawOfDemeter" />
24 </rule>
25 <rule ref="rulesets/java/design.xml">
26 <exclude name="AvoidSynchronizedAtMethodLevel" />
27 <exclude name="ConfusingTernary" />
28 </rule>
29 <rule ref="rulesets/java/empty.xml"/>
30 <rule ref="rulesets/java/finalizers.xml"/>
31 <rule ref="rulesets/java/imports.xml"/>
32 <rule ref="rulesets/java/naming.xml">
33 <exclude name="ShortVariable"/>
34 <exclude name="LongVariable"/>
35 <exclude name="AbstractNaming"/>
36 </rule>
37 <rule ref="rulesets/java/optimizations.xml">
38 <exclude name="LocalVariableCouldBeFinal" />
39 <exclude name="MethodArgumentCouldBeFinal" />
40 <exclude name="AvoidInstantiatingObjectsInLoops" />
41 </rule>
42 <rule ref="rulesets/java/strictexception.xml"/>
43 <rule ref="rulesets/java/strings.xml"/>
44 <rule ref="rulesets/java/sunsecure.xml"/>
45 <rule ref="rulesets/java/typeresolution.xml"/>
46 <rule ref="rulesets/java/unnecessary.xml">
47 <exclude name="UselessParentheses" />
48 </rule>
49 <rule ref="rulesets/java/unusedcode.xml"/>
50</ruleset>
Note: See TracBrowser for help on using the repository browser.