]> source.dussan.org Git - sonarqube.git/blob
d6798e01b1eef56a6328e786d425a711970a555f
[sonarqube.git] /
1 <profile>\r
2   <name>Sonar way</name>\r
3   <language>java</language>\r
4   <rules>\r
5     <rule>\r
6       <repositoryKey>checkstyle</repositoryKey>\r
7       <key>com.puppycrawl.tools.checkstyle.checks.coding.ParameterAssignmentCheck</key>\r
8     </rule>\r
9     <rule>\r
10       <repositoryKey>checkstyle</repositoryKey>\r
11       <key>com.puppycrawl.tools.checkstyle.checks.design.HideUtilityClassConstructorCheck</key>\r
12     </rule>\r
13     <rule>\r
14       <repositoryKey>checkstyle</repositoryKey>\r
15       <key>com.puppycrawl.tools.checkstyle.checks.coding.SimplifyBooleanExpressionCheck</key>\r
16     </rule>\r
17     <rule>\r
18       <repositoryKey>checkstyle</repositoryKey>\r
19       <key>com.puppycrawl.tools.checkstyle.checks.naming.StaticVariableNameCheck</key>\r
20     </rule>\r
21     <rule>\r
22       <repositoryKey>checkstyle</repositoryKey>\r
23       <key>com.puppycrawl.tools.checkstyle.checks.modifier.ModifierOrderCheck</key>\r
24     </rule>\r
25     <rule>\r
26       <repositoryKey>checkstyle</repositoryKey>\r
27       <key>com.puppycrawl.tools.checkstyle.checks.naming.MethodNameCheck</key>\r
28     </rule>\r
29     <rule>\r
30       <repositoryKey>checkstyle</repositoryKey>\r
31       <key>com.puppycrawl.tools.checkstyle.checks.design.FinalClassCheck</key>\r
32     </rule>\r
33     <rule>\r
34       <repositoryKey>checkstyle</repositoryKey>\r
35       <key>com.puppycrawl.tools.checkstyle.checks.coding.EmptyStatementCheck</key>\r
36     </rule>\r
37     <rule>\r
38       <repositoryKey>checkstyle</repositoryKey>\r
39       <key>com.puppycrawl.tools.checkstyle.checks.coding.InnerAssignmentCheck</key>\r
40     </rule>\r
41     <rule>\r
42       <repositoryKey>checkstyle</repositoryKey>\r
43       <key>com.puppycrawl.tools.checkstyle.checks.coding.DoubleCheckedLockingCheck</key>\r
44     </rule>\r
45     <rule>\r
46       <repositoryKey>checkstyle</repositoryKey>\r
47       <key>com.puppycrawl.tools.checkstyle.checks.imports.UnusedImportsCheck</key>\r
48     </rule>\r
49     <rule>\r
50       <repositoryKey>checkstyle</repositoryKey>\r
51       <key>com.puppycrawl.tools.checkstyle.checks.coding.StringLiteralEqualityCheck</key>\r
52     </rule>\r
53     <rule>\r
54       <repositoryKey>checkstyle</repositoryKey>\r
55       <key>com.puppycrawl.tools.checkstyle.checks.modifier.RedundantModifierCheck</key>\r
56     </rule>\r
57     <rule>\r
58       <repositoryKey>checkstyle</repositoryKey>\r
59       <key>com.puppycrawl.tools.checkstyle.checks.coding.RedundantThrowsCheck</key>\r
60     </rule>\r
61     <rule>\r
62       <repositoryKey>checkstyle</repositoryKey>\r
63       <key>com.puppycrawl.tools.checkstyle.checks.coding.IllegalThrowsCheck</key>\r
64     </rule>\r
65     <rule>\r
66       <repositoryKey>checkstyle</repositoryKey>\r
67       <key>com.puppycrawl.tools.checkstyle.checks.sizes.AnonInnerLengthCheck</key>\r
68     </rule>\r
69     <rule>\r
70       <repositoryKey>checkstyle</repositoryKey>\r
71       <key>com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck</key>\r
72     </rule>\r
73     <rule>\r
74       <repositoryKey>checkstyle</repositoryKey>\r
75       <key>com.puppycrawl.tools.checkstyle.checks.naming.ConstantNameCheck</key>\r
76     </rule>\r
77     <rule>\r
78       <repositoryKey>checkstyle</repositoryKey>\r
79       <key>com.puppycrawl.tools.checkstyle.checks.naming.PackageNameCheck</key>\r
80     </rule>\r
81     <rule>\r
82       <repositoryKey>checkstyle</repositoryKey>\r
83       <key>com.puppycrawl.tools.checkstyle.checks.coding.DefaultComesLastCheck</key>\r
84     </rule>\r
85     <rule>\r
86       <repositoryKey>checkstyle</repositoryKey>\r
87       <key>com.puppycrawl.tools.checkstyle.checks.coding.EqualsHashCodeCheck</key>\r
88     </rule>\r
89     <rule>\r
90       <repositoryKey>checkstyle</repositoryKey>\r
91       <key>com.puppycrawl.tools.checkstyle.checks.coding.SimplifyBooleanReturnCheck</key>\r
92     </rule>\r
93     <rule>\r
94       <repositoryKey>checkstyle</repositoryKey>\r
95       <key>com.puppycrawl.tools.checkstyle.checks.coding.HiddenFieldCheck</key>\r
96       <parameters>\r
97         <parameter>\r
98           <key>tokens</key>\r
99           <value>VARIABLE_DEF</value>\r
100         </parameter>\r
101         <parameter>\r
102           <key>ignoreConstructorParameter</key>\r
103           <value>true</value>\r
104         </parameter>\r
105         <parameter>\r
106           <key>ignoreSetter</key>\r
107           <value>true</value>\r
108         </parameter>\r
109         <parameter>\r
110           <key>ignoreAbstractMethods</key>\r
111           <value>true</value>\r
112         </parameter>\r
113       </parameters>\r
114     </rule>\r
115     <rule>\r
116       <repositoryKey>checkstyle</repositoryKey>\r
117       <key>com.puppycrawl.tools.checkstyle.checks.naming.LocalFinalVariableNameCheck</key>\r
118     </rule>\r
119     <rule>\r
120       <repositoryKey>checkstyle</repositoryKey>\r
121       <key>com.puppycrawl.tools.checkstyle.checks.design.VisibilityModifierCheck</key>\r
122     </rule>\r
123     <rule>\r
124       <repositoryKey>checkstyle</repositoryKey>\r
125       <key>com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck</key>\r
126     </rule>\r
127     <rule>\r
128       <repositoryKey>checkstyle</repositoryKey>\r
129       <key>com.puppycrawl.tools.checkstyle.checks.naming.LocalVariableNameCheck</key>\r
130     </rule>\r
131     <rule>\r
132       <repositoryKey>checkstyle</repositoryKey>\r
133       <key>com.puppycrawl.tools.checkstyle.checks.naming.ParameterNameCheck</key>\r
134     </rule>\r
135     <rule>\r
136       <repositoryKey>checkstyle</repositoryKey>\r
137       <key>com.puppycrawl.tools.checkstyle.checks.metrics.BooleanExpressionComplexityCheck</key>\r
138     </rule>\r
139     <rule>\r
140       <repositoryKey>checkstyle</repositoryKey>\r
141       <key>com.puppycrawl.tools.checkstyle.checks.metrics.CyclomaticComplexityCheck</key>\r
142       <parameters>\r
143         <parameter>\r
144           <key>max</key>\r
145           <value>10</value>\r
146         </parameter>\r
147       </parameters>\r
148     </rule>\r
149   </rules>\r
150 </profile>