]>
Commit | Line | Data |
---|---|---|
1 | <?xml version="1.0" encoding="UTF-8"?> | |
2 | <pmd> | |
3 | <useProjectRuleSet>false</useProjectRuleSet> | |
4 | <ruleSetFile>.ruleset</ruleSetFile> | |
5 | <rules> | |
6 | <rule> | |
7 | <name>AbstractClassWithoutAbstractMethod</name> | |
8 | <ruleset>Design Rules</ruleset> | |
9 | </rule> | |
10 | <rule> | |
11 | <name>AbstractClassWithoutAnyMethod</name> | |
12 | <ruleset>Design Rules</ruleset> | |
13 | </rule> | |
14 | <rule> | |
15 | <name>AccessorClassGeneration</name> | |
16 | <ruleset>Design Rules</ruleset> | |
17 | </rule> | |
18 | <rule> | |
19 | <name>AddEmptyString</name> | |
20 | <ruleset>Optimization Rules</ruleset> | |
21 | </rule> | |
22 | <rule> | |
23 | <name>AppendCharacterWithChar</name> | |
24 | <ruleset>String and StringBuffer Rules</ruleset> | |
25 | </rule> | |
26 | <rule> | |
27 | <name>ArrayIsStoredDirectly</name> | |
28 | <ruleset>Security Code Guidelines</ruleset> | |
29 | </rule> | |
30 | <rule> | |
31 | <name>AssignmentInOperand</name> | |
32 | <ruleset>Controversial Rules</ruleset> | |
33 | </rule> | |
34 | <rule> | |
35 | <name>AssignmentToNonFinalStatic</name> | |
36 | <ruleset>Design Rules</ruleset> | |
37 | </rule> | |
38 | <rule> | |
39 | <name>AtLeastOneConstructor</name> | |
40 | <ruleset>Controversial Rules</ruleset> | |
41 | </rule> | |
42 | <rule> | |
43 | <name>AvoidAccessibilityAlteration</name> | |
44 | <ruleset>Controversial Rules</ruleset> | |
45 | </rule> | |
46 | <rule> | |
47 | <name>AvoidArrayLoops</name> | |
48 | <ruleset>Optimization Rules</ruleset> | |
49 | </rule> | |
50 | <rule> | |
51 | <name>AvoidAssertAsIdentifier</name> | |
52 | <ruleset>Migration Rules</ruleset> | |
53 | </rule> | |
54 | <rule> | |
55 | <name>AvoidCallingFinalize</name> | |
56 | <ruleset>Finalizer Rules</ruleset> | |
57 | </rule> | |
58 | <rule> | |
59 | <name>AvoidCatchingNPE</name> | |
60 | <ruleset>Strict Exception Rules</ruleset> | |
61 | </rule> | |
62 | <rule> | |
63 | <name>AvoidCatchingThrowable</name> | |
64 | <ruleset>Strict Exception Rules</ruleset> | |
65 | </rule> | |
66 | <rule> | |
67 | <name>AvoidConstantsInterface</name> | |
68 | <ruleset>Design Rules</ruleset> | |
69 | </rule> | |
70 | <rule> | |
71 | <name>AvoidDecimalLiteralsInBigDecimalConstructor</name> | |
72 | <ruleset>Basic Rules</ruleset> | |
73 | </rule> | |
74 | <rule> | |
75 | <name>AvoidDeeplyNestedIfStmts</name> | |
76 | <ruleset>Design Rules</ruleset> | |
77 | </rule> | |
78 | <rule> | |
79 | <name>AvoidDollarSigns</name> | |
80 | <ruleset>Naming Rules</ruleset> | |
81 | </rule> | |
82 | <rule> | |
83 | <name>AvoidDuplicateLiterals</name> | |
84 | <ruleset>String and StringBuffer Rules</ruleset> | |
85 | </rule> | |
86 | <rule> | |
87 | <name>AvoidEnumAsIdentifier</name> | |
88 | <ruleset>Migration Rules</ruleset> | |
89 | </rule> | |
90 | <rule> | |
91 | <name>AvoidFieldNameMatchingMethodName</name> | |
92 | <ruleset>Naming Rules</ruleset> | |
93 | </rule> | |
94 | <rule> | |
95 | <name>AvoidFieldNameMatchingTypeName</name> | |
96 | <ruleset>Naming Rules</ruleset> | |
97 | </rule> | |
98 | <rule> | |
99 | <name>AvoidInstanceofChecksInCatchClause</name> | |
100 | <ruleset>Design Rules</ruleset> | |
101 | </rule> | |
102 | <rule> | |
103 | <name>AvoidMultipleUnaryOperators</name> | |
104 | <ruleset>Basic Rules</ruleset> | |
105 | </rule> | |
106 | <rule> | |
107 | <name>AvoidPrintStackTrace</name> | |
108 | <ruleset>Java Logging Rules</ruleset> | |
109 | </rule> | |
110 | <rule> | |
111 | <name>AvoidProtectedFieldInFinalClass</name> | |
112 | <ruleset>Design Rules</ruleset> | |
113 | </rule> | |
114 | <rule> | |
115 | <name>AvoidReassigningParameters</name> | |
116 | <ruleset>Design Rules</ruleset> | |
117 | </rule> | |
118 | <rule> | |
119 | <name>AvoidRethrowingException</name> | |
120 | <ruleset>Strict Exception Rules</ruleset> | |
121 | </rule> | |
122 | <rule> | |
123 | <name>AvoidStringBufferField</name> | |
124 | <ruleset>String and StringBuffer Rules</ruleset> | |
125 | </rule> | |
126 | <rule> | |
127 | <name>AvoidSynchronizedAtMethodLevel</name> | |
128 | <ruleset>Design Rules</ruleset> | |
129 | </rule> | |
130 | <rule> | |
131 | <name>AvoidThreadGroup</name> | |
132 | <ruleset>Basic Rules</ruleset> | |
133 | </rule> | |
134 | <rule> | |
135 | <name>AvoidThrowingNewInstanceOfSameException</name> | |
136 | <ruleset>Strict Exception Rules</ruleset> | |
137 | </rule> | |
138 | <rule> | |
139 | <name>AvoidThrowingNullPointerException</name> | |
140 | <ruleset>Strict Exception Rules</ruleset> | |
141 | </rule> | |
142 | <rule> | |
143 | <name>AvoidThrowingRawExceptionTypes</name> | |
144 | <ruleset>Strict Exception Rules</ruleset> | |
145 | </rule> | |
146 | <rule> | |
147 | <name>AvoidUsingHardCodedIP</name> | |
148 | <ruleset>Basic Rules</ruleset> | |
149 | </rule> | |
150 | <rule> | |
151 | <name>AvoidUsingNativeCode</name> | |
152 | <ruleset>Controversial Rules</ruleset> | |
153 | </rule> | |
154 | <rule> | |
155 | <name>AvoidUsingOctalValues</name> | |
156 | <ruleset>Basic Rules</ruleset> | |
157 | </rule> | |
158 | <rule> | |
159 | <name>AvoidUsingShortType</name> | |
160 | <ruleset>Controversial Rules</ruleset> | |
161 | </rule> | |
162 | <rule> | |
163 | <name>BadComparison</name> | |
164 | <ruleset>Design Rules</ruleset> | |
165 | </rule> | |
166 | <rule> | |
167 | <name>BigIntegerInstantiation</name> | |
168 | <ruleset>Basic Rules</ruleset> | |
169 | </rule> | |
170 | <rule> | |
171 | <name>BooleanGetMethodName</name> | |
172 | <ruleset>Naming Rules</ruleset> | |
173 | </rule> | |
174 | <rule> | |
175 | <name>BooleanInstantiation</name> | |
176 | <ruleset>Basic Rules</ruleset> | |
177 | </rule> | |
178 | <rule> | |
179 | <name>BooleanInversion</name> | |
180 | <ruleset>Controversial Rules</ruleset> | |
181 | </rule> | |
182 | <rule> | |
183 | <name>BrokenNullCheck</name> | |
184 | <ruleset>Basic Rules</ruleset> | |
185 | </rule> | |
186 | <rule> | |
187 | <name>ByteInstantiation</name> | |
188 | <ruleset>Migration Rules</ruleset> | |
189 | </rule> | |
190 | <rule> | |
191 | <name>CallSuperInConstructor</name> | |
192 | <ruleset>Controversial Rules</ruleset> | |
193 | </rule> | |
194 | <rule> | |
195 | <name>CheckResultSet</name> | |
196 | <ruleset>Basic Rules</ruleset> | |
197 | </rule> | |
198 | <rule> | |
199 | <name>ClassCastExceptionWithToArray</name> | |
200 | <ruleset>Basic Rules</ruleset> | |
201 | </rule> | |
202 | <rule> | |
203 | <name>ClassNamingConventions</name> | |
204 | <ruleset>Naming Rules</ruleset> | |
205 | </rule> | |
206 | <rule> | |
207 | <name>ClassWithOnlyPrivateConstructorsShouldBeFinal</name> | |
208 | <ruleset>Design Rules</ruleset> | |
209 | </rule> | |
210 | <rule> | |
211 | <name>CloneMethodMustImplementCloneable</name> | |
212 | <ruleset>Type Resolution Rules</ruleset> | |
213 | </rule> | |
214 | <rule> | |
215 | <name>CloneThrowsCloneNotSupportedException</name> | |
216 | <ruleset>Clone Implementation Rules</ruleset> | |
217 | </rule> | |
218 | <rule> | |
219 | <name>CloseResource</name> | |
220 | <ruleset>Design Rules</ruleset> | |
221 | </rule> | |
222 | <rule> | |
223 | <name>CollapsibleIfStatements</name> | |
224 | <ruleset>Basic Rules</ruleset> | |
225 | </rule> | |
226 | <rule> | |
227 | <name>CompareObjectsWithEquals</name> | |
228 | <ruleset>Design Rules</ruleset> | |
229 | </rule> | |
230 | <rule> | |
231 | <name>ConfusingTernary</name> | |
232 | <ruleset>Design Rules</ruleset> | |
233 | </rule> | |
234 | <rule> | |
235 | <name>ConsecutiveLiteralAppends</name> | |
236 | <ruleset>String and StringBuffer Rules</ruleset> | |
237 | </rule> | |
238 | <rule> | |
239 | <name>ConstructorCallsOverridableMethod</name> | |
240 | <ruleset>Design Rules</ruleset> | |
241 | </rule> | |
242 | <rule> | |
243 | <name>CouplingBetweenObjects</name> | |
244 | <ruleset>Coupling Rules</ruleset> | |
245 | </rule> | |
246 | <rule> | |
247 | <name>DefaultLabelNotLastInSwitchStmt</name> | |
248 | <ruleset>Design Rules</ruleset> | |
249 | </rule> | |
250 | <rule> | |
251 | <name>DefaultPackage</name> | |
252 | <ruleset>Controversial Rules</ruleset> | |
253 | </rule> | |
254 | <rule> | |
255 | <name>DoNotCallGarbageCollectionExplicitly</name> | |
256 | <ruleset>Controversial Rules</ruleset> | |
257 | </rule> | |
258 | <rule> | |
259 | <name>DoNotExtendJavaLangError</name> | |
260 | <ruleset>Strict Exception Rules</ruleset> | |
261 | </rule> | |
262 | <rule> | |
263 | <name>DoNotThrowExceptionInFinally</name> | |
264 | <ruleset>Strict Exception Rules</ruleset> | |
265 | </rule> | |
266 | <rule> | |
267 | <name>DontImportJavaLang</name> | |
268 | <ruleset>Import Statement Rules</ruleset> | |
269 | </rule> | |
270 | <rule> | |
271 | <name>DontImportSun</name> | |
272 | <ruleset>Controversial Rules</ruleset> | |
273 | </rule> | |
274 | <rule> | |
275 | <name>DoubleCheckedLocking</name> | |
276 | <ruleset>Basic Rules</ruleset> | |
277 | </rule> | |
278 | <rule> | |
279 | <name>DuplicateImports</name> | |
280 | <ruleset>Import Statement Rules</ruleset> | |
281 | </rule> | |
282 | <rule> | |
283 | <name>EmptyCatchBlock</name> | |
284 | <ruleset>Basic Rules</ruleset> | |
285 | </rule> | |
286 | <rule> | |
287 | <name>EmptyFinalizer</name> | |
288 | <ruleset>Finalizer Rules</ruleset> | |
289 | </rule> | |
290 | <rule> | |
291 | <name>EmptyFinallyBlock</name> | |
292 | <ruleset>Basic Rules</ruleset> | |
293 | </rule> | |
294 | <rule> | |
295 | <name>EmptyIfStmt</name> | |
296 | <ruleset>Basic Rules</ruleset> | |
297 | </rule> | |
298 | <rule> | |
299 | <name>EmptyInitializer</name> | |
300 | <ruleset>Basic Rules</ruleset> | |
301 | </rule> | |
302 | <rule> | |
303 | <name>EmptyMethodInAbstractClassShouldBeAbstract</name> | |
304 | <ruleset>Design Rules</ruleset> | |
305 | </rule> | |
306 | <rule> | |
307 | <name>EmptyStatementNotInLoop</name> | |
308 | <ruleset>Basic Rules</ruleset> | |
309 | </rule> | |
310 | <rule> | |
311 | <name>EmptyStaticInitializer</name> | |
312 | <ruleset>Basic Rules</ruleset> | |
313 | </rule> | |
314 | <rule> | |
315 | <name>EmptySwitchStatements</name> | |
316 | <ruleset>Basic Rules</ruleset> | |
317 | </rule> | |
318 | <rule> | |
319 | <name>EmptySynchronizedBlock</name> | |
320 | <ruleset>Basic Rules</ruleset> | |
321 | </rule> | |
322 | <rule> | |
323 | <name>EmptyTryBlock</name> | |
324 | <ruleset>Basic Rules</ruleset> | |
325 | </rule> | |
326 | <rule> | |
327 | <name>EmptyWhileStmt</name> | |
328 | <ruleset>Basic Rules</ruleset> | |
329 | </rule> | |
330 | <rule> | |
331 | <name>EqualsNull</name> | |
332 | <ruleset>Design Rules</ruleset> | |
333 | </rule> | |
334 | <rule> | |
335 | <name>ExceptionAsFlowControl</name> | |
336 | <ruleset>Strict Exception Rules</ruleset> | |
337 | </rule> | |
338 | <rule> | |
339 | <name>ExcessiveClassLength</name> | |
340 | <ruleset>Code Size Rules</ruleset> | |
341 | </rule> | |
342 | <rule> | |
343 | <name>ExcessiveImports</name> | |
344 | <ruleset>Coupling Rules</ruleset> | |
345 | </rule> | |
346 | <rule> | |
347 | <name>ExcessiveMethodLength</name> | |
348 | <ruleset>Code Size Rules</ruleset> | |
349 | </rule> | |
350 | <rule> | |
351 | <name>ExcessiveParameterList</name> | |
352 | <ruleset>Code Size Rules</ruleset> | |
353 | </rule> | |
354 | <rule> | |
355 | <name>ExcessivePublicCount</name> | |
356 | <ruleset>Code Size Rules</ruleset> | |
357 | </rule> | |
358 | <rule> | |
359 | <name>FinalFieldCouldBeStatic</name> | |
360 | <ruleset>Design Rules</ruleset> | |
361 | </rule> | |
362 | <rule> | |
363 | <name>FinalizeDoesNotCallSuperFinalize</name> | |
364 | <ruleset>Finalizer Rules</ruleset> | |
365 | </rule> | |
366 | <rule> | |
367 | <name>FinalizeOnlyCallsSuperFinalize</name> | |
368 | <ruleset>Finalizer Rules</ruleset> | |
369 | </rule> | |
370 | <rule> | |
371 | <name>FinalizeOverloaded</name> | |
372 | <ruleset>Finalizer Rules</ruleset> | |
373 | </rule> | |
374 | <rule> | |
375 | <name>FinalizeShouldBeProtected</name> | |
376 | <ruleset>Finalizer Rules</ruleset> | |
377 | </rule> | |
378 | <rule> | |
379 | <name>ForLoopShouldBeWhileLoop</name> | |
380 | <ruleset>Basic Rules</ruleset> | |
381 | </rule> | |
382 | <rule> | |
383 | <name>IdempotentOperations</name> | |
384 | <ruleset>Design Rules</ruleset> | |
385 | </rule> | |
386 | <rule> | |
387 | <name>ImmutableField</name> | |
388 | <ruleset>Design Rules</ruleset> | |
389 | </rule> | |
390 | <rule> | |
391 | <name>ImportFromSamePackage</name> | |
392 | <ruleset>Import Statement Rules</ruleset> | |
393 | </rule> | |
394 | <rule> | |
395 | <name>InefficientEmptyStringCheck</name> | |
396 | <ruleset>String and StringBuffer Rules</ruleset> | |
397 | </rule> | |
398 | <rule> | |
399 | <name>InefficientStringBuffering</name> | |
400 | <ruleset>String and StringBuffer Rules</ruleset> | |
401 | </rule> | |
402 | <rule> | |
403 | <name>InstantiationToGetClass</name> | |
404 | <ruleset>Design Rules</ruleset> | |
405 | </rule> | |
406 | <rule> | |
407 | <name>InsufficientStringBufferDeclaration</name> | |
408 | <ruleset>String and StringBuffer Rules</ruleset> | |
409 | </rule> | |
410 | <rule> | |
411 | <name>IntegerInstantiation</name> | |
412 | <ruleset>Migration Rules</ruleset> | |
413 | </rule> | |
414 | <rule> | |
415 | <name>JumbledIncrementer</name> | |
416 | <ruleset>Basic Rules</ruleset> | |
417 | </rule> | |
418 | <rule> | |
419 | <name>JUnit4SuitesShouldUseSuiteAnnotation</name> | |
420 | <ruleset>Migration Rules</ruleset> | |
421 | </rule> | |
422 | <rule> | |
423 | <name>JUnit4TestShouldUseAfterAnnotation</name> | |
424 | <ruleset>Migration Rules</ruleset> | |
425 | </rule> | |
426 | <rule> | |
427 | <name>JUnit4TestShouldUseBeforeAnnotation</name> | |
428 | <ruleset>Migration Rules</ruleset> | |
429 | </rule> | |
430 | <rule> | |
431 | <name>JUnit4TestShouldUseTestAnnotation</name> | |
432 | <ruleset>Migration Rules</ruleset> | |
433 | </rule> | |
434 | <rule> | |
435 | <name>JUnitAssertionsShouldIncludeMessage</name> | |
436 | <ruleset>JUnit Rules</ruleset> | |
437 | </rule> | |
438 | <rule> | |
439 | <name>JUnitSpelling</name> | |
440 | <ruleset>JUnit Rules</ruleset> | |
441 | </rule> | |
442 | <rule> | |
443 | <name>JUnitStaticSuite</name> | |
444 | <ruleset>JUnit Rules</ruleset> | |
445 | </rule> | |
446 | <rule> | |
447 | <name>JUnitTestsShouldIncludeAssert</name> | |
448 | <ruleset>JUnit Rules</ruleset> | |
449 | </rule> | |
450 | <rule> | |
451 | <name>JUnitUseExpected</name> | |
452 | <ruleset>Migration Rules</ruleset> | |
453 | </rule> | |
454 | <rule> | |
455 | <name>LocalVariableCouldBeFinal</name> | |
456 | <ruleset>Optimization Rules</ruleset> | |
457 | </rule> | |
458 | <rule> | |
459 | <name>LoggerIsNotStaticFinal</name> | |
460 | <ruleset>Java Logging Rules</ruleset> | |
461 | </rule> | |
462 | <rule> | |
463 | <name>LongInstantiation</name> | |
464 | <ruleset>Migration Rules</ruleset> | |
465 | </rule> | |
466 | <rule> | |
467 | <name>LooseCoupling</name> | |
468 | <ruleset>Type Resolution Rules</ruleset> | |
469 | </rule> | |
470 | <rule> | |
471 | <name>MethodArgumentCouldBeFinal</name> | |
472 | <ruleset>Optimization Rules</ruleset> | |
473 | </rule> | |
474 | <rule> | |
475 | <name>MethodNamingConventions</name> | |
476 | <ruleset>Naming Rules</ruleset> | |
477 | </rule> | |
478 | <rule> | |
479 | <name>MethodReturnsInternalArray</name> | |
480 | <ruleset>Security Code Guidelines</ruleset> | |
481 | </rule> | |
482 | <rule> | |
483 | <name>MethodWithSameNameAsEnclosingClass</name> | |
484 | <ruleset>Naming Rules</ruleset> | |
485 | </rule> | |
486 | <rule> | |
487 | <name>MisleadingVariableName</name> | |
488 | <ruleset>Naming Rules</ruleset> | |
489 | </rule> | |
490 | <rule> | |
491 | <name>MisplacedNullCheck</name> | |
492 | <ruleset>Basic Rules</ruleset> | |
493 | </rule> | |
494 | <rule> | |
495 | <name>MissingBreakInSwitch</name> | |
496 | <ruleset>Design Rules</ruleset> | |
497 | </rule> | |
498 | <rule> | |
499 | <name>MissingSerialVersionUID</name> | |
500 | <ruleset>JavaBean Rules</ruleset> | |
501 | </rule> | |
502 | <rule> | |
503 | <name>MissingStaticMethodInNonInstantiatableClass</name> | |
504 | <ruleset>Design Rules</ruleset> | |
505 | </rule> | |
506 | <rule> | |
507 | <name>MoreThanOneLogger</name> | |
508 | <ruleset>Java Logging Rules</ruleset> | |
509 | </rule> | |
510 | <rule> | |
511 | <name>NcssConstructorCount</name> | |
512 | <ruleset>Code Size Rules</ruleset> | |
513 | </rule> | |
514 | <rule> | |
515 | <name>NcssMethodCount</name> | |
516 | <ruleset>Code Size Rules</ruleset> | |
517 | </rule> | |
518 | <rule> | |
519 | <name>NcssTypeCount</name> | |
520 | <ruleset>Code Size Rules</ruleset> | |
521 | </rule> | |
522 | <rule> | |
523 | <name>NonCaseLabelInSwitchStatement</name> | |
524 | <ruleset>Design Rules</ruleset> | |
525 | </rule> | |
526 | <rule> | |
527 | <name>NonStaticInitializer</name> | |
528 | <ruleset>Design Rules</ruleset> | |
529 | </rule> | |
530 | <rule> | |
531 | <name>NonThreadSafeSingleton</name> | |
532 | <ruleset>Design Rules</ruleset> | |
533 | </rule> | |
534 | <rule> | |
535 | <name>NoPackage</name> | |
536 | <ruleset>Naming Rules</ruleset> | |
537 | </rule> | |
538 | <rule> | |
539 | <name>NullAssignment</name> | |
540 | <ruleset>Controversial Rules</ruleset> | |
541 | </rule> | |
542 | <rule> | |
543 | <name>OptimizableToArrayCall</name> | |
544 | <ruleset>Design Rules</ruleset> | |
545 | </rule> | |
546 | <rule> | |
547 | <name>OverrideBothEqualsAndHashcode</name> | |
548 | <ruleset>Basic Rules</ruleset> | |
549 | </rule> | |
550 | <rule> | |
551 | <name>PackageCase</name> | |
552 | <ruleset>Naming Rules</ruleset> | |
553 | </rule> | |
554 | <rule> | |
555 | <name>PositionLiteralsFirstInComparisons</name> | |
556 | <ruleset>Design Rules</ruleset> | |
557 | </rule> | |
558 | <rule> | |
559 | <name>PreserveStackTrace</name> | |
560 | <ruleset>Design Rules</ruleset> | |
561 | </rule> | |
562 | <rule> | |
563 | <name>ProperCloneImplementation</name> | |
564 | <ruleset>Clone Implementation Rules</ruleset> | |
565 | </rule> | |
566 | <rule> | |
567 | <name>ProperLogger</name> | |
568 | <ruleset>Jakarta Commons Logging Rules</ruleset> | |
569 | </rule> | |
570 | <rule> | |
571 | <name>ReplaceEnumerationWithIterator</name> | |
572 | <ruleset>Migration Rules</ruleset> | |
573 | </rule> | |
574 | <rule> | |
575 | <name>ReplaceHashtableWithMap</name> | |
576 | <ruleset>Migration Rules</ruleset> | |
577 | </rule> | |
578 | <rule> | |
579 | <name>ReplaceVectorWithList</name> | |
580 | <ruleset>Migration Rules</ruleset> | |
581 | </rule> | |
582 | <rule> | |
583 | <name>ReturnEmptyArrayRatherThanNull</name> | |
584 | <ruleset>Design Rules</ruleset> | |
585 | </rule> | |
586 | <rule> | |
587 | <name>ReturnFromFinallyBlock</name> | |
588 | <ruleset>Basic Rules</ruleset> | |
589 | </rule> | |
590 | <rule> | |
591 | <name>ShortInstantiation</name> | |
592 | <ruleset>Migration Rules</ruleset> | |
593 | </rule> | |
594 | <rule> | |
595 | <name>ShortMethodName</name> | |
596 | <ruleset>Naming Rules</ruleset> | |
597 | </rule> | |
598 | <rule> | |
599 | <name>SignatureDeclareThrowsException</name> | |
600 | <ruleset>Type Resolution Rules</ruleset> | |
601 | </rule> | |
602 | <rule> | |
603 | <name>SimpleDateFormatNeedsLocale</name> | |
604 | <ruleset>Design Rules</ruleset> | |
605 | </rule> | |
606 | <rule> | |
607 | <name>SimplifyBooleanAssertion</name> | |
608 | <ruleset>JUnit Rules</ruleset> | |
609 | </rule> | |
610 | <rule> | |
611 | <name>SimplifyBooleanExpressions</name> | |
612 | <ruleset>Design Rules</ruleset> | |
613 | </rule> | |
614 | <rule> | |
615 | <name>SimplifyBooleanReturns</name> | |
616 | <ruleset>Design Rules</ruleset> | |
617 | </rule> | |
618 | <rule> | |
619 | <name>SimplifyConditional</name> | |
620 | <ruleset>Design Rules</ruleset> | |
621 | </rule> | |
622 | <rule> | |
623 | <name>SimplifyStartsWith</name> | |
624 | <ruleset>Optimization Rules</ruleset> | |
625 | </rule> | |
626 | <rule> | |
627 | <name>SingularField</name> | |
628 | <ruleset>Design Rules</ruleset> | |
629 | </rule> | |
630 | <rule> | |
631 | <name>StringBufferInstantiationWithChar</name> | |
632 | <ruleset>String and StringBuffer Rules</ruleset> | |
633 | </rule> | |
634 | <rule> | |
635 | <name>StringInstantiation</name> | |
636 | <ruleset>String and StringBuffer Rules</ruleset> | |
637 | </rule> | |
638 | <rule> | |
639 | <name>StringToString</name> | |
640 | <ruleset>String and StringBuffer Rules</ruleset> | |
641 | </rule> | |
642 | <rule> | |
643 | <name>SuspiciousConstantFieldName</name> | |
644 | <ruleset>Naming Rules</ruleset> | |
645 | </rule> | |
646 | <rule> | |
647 | <name>SuspiciousEqualsMethodName</name> | |
648 | <ruleset>Naming Rules</ruleset> | |
649 | </rule> | |
650 | <rule> | |
651 | <name>SuspiciousHashcodeMethodName</name> | |
652 | <ruleset>Naming Rules</ruleset> | |
653 | </rule> | |
654 | <rule> | |
655 | <name>SuspiciousOctalEscape</name> | |
656 | <ruleset>Controversial Rules</ruleset> | |
657 | </rule> | |
658 | <rule> | |
659 | <name>SwitchDensity</name> | |
660 | <ruleset>Design Rules</ruleset> | |
661 | </rule> | |
662 | <rule> | |
663 | <name>SystemPrintln</name> | |
664 | <ruleset>Java Logging Rules</ruleset> | |
665 | </rule> | |
666 | <rule> | |
667 | <name>TestClassWithoutTestCases</name> | |
668 | <ruleset>JUnit Rules</ruleset> | |
669 | </rule> | |
670 | <rule> | |
671 | <name>TooManyStaticImports</name> | |
672 | <ruleset>Import Statement Rules</ruleset> | |
673 | </rule> | |
674 | <rule> | |
675 | <name>UncommentedEmptyConstructor</name> | |
676 | <ruleset>Design Rules</ruleset> | |
677 | </rule> | |
678 | <rule> | |
679 | <name>UncommentedEmptyMethod</name> | |
680 | <ruleset>Design Rules</ruleset> | |
681 | </rule> | |
682 | <rule> | |
683 | <name>UnconditionalIfStatement</name> | |
684 | <ruleset>Basic Rules</ruleset> | |
685 | </rule> | |
686 | <rule> | |
687 | <name>UnnecessaryBooleanAssertion</name> | |
688 | <ruleset>JUnit Rules</ruleset> | |
689 | </rule> | |
690 | <rule> | |
691 | <name>UnnecessaryCaseChange</name> | |
692 | <ruleset>String and StringBuffer Rules</ruleset> | |
693 | </rule> | |
694 | <rule> | |
695 | <name>UnnecessaryConstructor</name> | |
696 | <ruleset>Controversial Rules</ruleset> | |
697 | </rule> | |
698 | <rule> | |
699 | <name>UnnecessaryConversionTemporary</name> | |
700 | <ruleset>Basic Rules</ruleset> | |
701 | </rule> | |
702 | <rule> | |
703 | <name>UnnecessaryFinalModifier</name> | |
704 | <ruleset>Basic Rules</ruleset> | |
705 | </rule> | |
706 | <rule> | |
707 | <name>UnnecessaryLocalBeforeReturn</name> | |
708 | <ruleset>Design Rules</ruleset> | |
709 | </rule> | |
710 | <rule> | |
711 | <name>UnnecessaryParentheses</name> | |
712 | <ruleset>Controversial Rules</ruleset> | |
713 | </rule> | |
714 | <rule> | |
715 | <name>UnnecessaryReturn</name> | |
716 | <ruleset>Basic Rules</ruleset> | |
717 | </rule> | |
718 | <rule> | |
719 | <name>UnnecessaryWrapperObjectCreation</name> | |
720 | <ruleset>Optimization Rules</ruleset> | |
721 | </rule> | |
722 | <rule> | |
723 | <name>UnsynchronizedStaticDateFormatter</name> | |
724 | <ruleset>Design Rules</ruleset> | |
725 | </rule> | |
726 | <rule> | |
727 | <name>UnusedFormalParameter</name> | |
728 | <ruleset>Unused Code Rules</ruleset> | |
729 | </rule> | |
730 | <rule> | |
731 | <name>UnusedLocalVariable</name> | |
732 | <ruleset>Unused Code Rules</ruleset> | |
733 | </rule> | |
734 | <rule> | |
735 | <name>UnusedModifier</name> | |
736 | <ruleset>Controversial Rules</ruleset> | |
737 | </rule> | |
738 | <rule> | |
739 | <name>UnusedNullCheckInEquals</name> | |
740 | <ruleset>Basic Rules</ruleset> | |
741 | </rule> | |
742 | <rule> | |
743 | <name>UnusedPrivateField</name> | |
744 | <ruleset>Unused Code Rules</ruleset> | |
745 | </rule> | |
746 | <rule> | |
747 | <name>UnusedPrivateMethod</name> | |
748 | <ruleset>Unused Code Rules</ruleset> | |
749 | </rule> | |
750 | <rule> | |
751 | <name>UseArrayListInsteadOfVector</name> | |
752 | <ruleset>Optimization Rules</ruleset> | |
753 | </rule> | |
754 | <rule> | |
755 | <name>UseArraysAsList</name> | |
756 | <ruleset>Optimization Rules</ruleset> | |
757 | </rule> | |
758 | <rule> | |
759 | <name>UseAssertEqualsInsteadOfAssertTrue</name> | |
760 | <ruleset>JUnit Rules</ruleset> | |
761 | </rule> | |
762 | <rule> | |
763 | <name>UseAssertNullInsteadOfAssertTrue</name> | |
764 | <ruleset>JUnit Rules</ruleset> | |
765 | </rule> | |
766 | <rule> | |
767 | <name>UseAssertSameInsteadOfAssertTrue</name> | |
768 | <ruleset>JUnit Rules</ruleset> | |
769 | </rule> | |
770 | <rule> | |
771 | <name>UseCollectionIsEmpty</name> | |
772 | <ruleset>Design Rules</ruleset> | |
773 | </rule> | |
774 | <rule> | |
775 | <name>UseCorrectExceptionLogging</name> | |
776 | <ruleset>Jakarta Commons Logging Rules</ruleset> | |
777 | </rule> | |
778 | <rule> | |
779 | <name>UseEqualsToCompareStrings</name> | |
780 | <ruleset>String and StringBuffer Rules</ruleset> | |
781 | </rule> | |
782 | <rule> | |
783 | <name>UseIndexOfChar</name> | |
784 | <ruleset>String and StringBuffer Rules</ruleset> | |
785 | </rule> | |
786 | <rule> | |
787 | <name>UselessOperationOnImmutable</name> | |
788 | <ruleset>Basic Rules</ruleset> | |
789 | </rule> | |
790 | <rule> | |
791 | <name>UselessOverridingMethod</name> | |
792 | <ruleset>Basic Rules</ruleset> | |
793 | </rule> | |
794 | <rule> | |
795 | <name>UselessStringValueOf</name> | |
796 | <ruleset>String and StringBuffer Rules</ruleset> | |
797 | </rule> | |
798 | <rule> | |
799 | <name>UseLocaleWithCaseConversions</name> | |
800 | <ruleset>Design Rules</ruleset> | |
801 | </rule> | |
802 | <rule> | |
803 | <name>UseNotifyAllInsteadOfNotify</name> | |
804 | <ruleset>Design Rules</ruleset> | |
805 | </rule> | |
806 | <rule> | |
807 | <name>UseSingleton</name> | |
808 | <ruleset>Design Rules</ruleset> | |
809 | </rule> | |
810 | <rule> | |
811 | <name>UseStringBufferForStringAppends</name> | |
812 | <ruleset>Optimization Rules</ruleset> | |
813 | </rule> | |
814 | <rule> | |
815 | <name>UseStringBufferLength</name> | |
816 | <ruleset>String and StringBuffer Rules</ruleset> | |
817 | </rule> | |
818 | <rule> | |
819 | <name>VariableNamingConventions</name> | |
820 | <ruleset>Naming Rules</ruleset> | |
821 | </rule> | |
822 | </rules> | |
823 | <includeDerivedFiles>false</includeDerivedFiles> | |
824 | <violationsAsErrors>true</violationsAsErrors> | |
825 | </pmd> |