최신버전에 맞는 타겟플렛폼 설정.
[Tadpole.git] / com.hangum.tadpole.preference / .pmd
blob0948cc74bd24656044e4cd345547516ea0442520
1 <?xml version="1.0" encoding="UTF-8"?>
2 <pmd>
3 <useProjectRuleSet>false</useProjectRuleSet>
4 <ruleSetFile>.ruleset</ruleSetFile>
5 <excludePatterns/>
6 <includePatterns/>
7 <rules>
8 <rule>
9 <name>ReplaceVectorWithList</name>
10 <ruleset>Migration</ruleset>
11 </rule>
12 <rule>
13 <name>ReplaceHashtableWithMap</name>
14 <ruleset>Migration</ruleset>
15 </rule>
16 <rule>
17 <name>ReplaceEnumerationWithIterator</name>
18 <ruleset>Migration</ruleset>
19 </rule>
20 <rule>
21 <name>AvoidEnumAsIdentifier</name>
22 <ruleset>Migration</ruleset>
23 </rule>
24 <rule>
25 <name>AvoidAssertAsIdentifier</name>
26 <ruleset>Migration</ruleset>
27 </rule>
28 <rule>
29 <name>IntegerInstantiation</name>
30 <ruleset>Migration</ruleset>
31 </rule>
32 <rule>
33 <name>ByteInstantiation</name>
34 <ruleset>Migration</ruleset>
35 </rule>
36 <rule>
37 <name>ShortInstantiation</name>
38 <ruleset>Migration</ruleset>
39 </rule>
40 <rule>
41 <name>LongInstantiation</name>
42 <ruleset>Migration</ruleset>
43 </rule>
44 <rule>
45 <name>JUnit4TestShouldUseBeforeAnnotation</name>
46 <ruleset>Migration</ruleset>
47 </rule>
48 <rule>
49 <name>JUnit4TestShouldUseAfterAnnotation</name>
50 <ruleset>Migration</ruleset>
51 </rule>
52 <rule>
53 <name>JUnit4TestShouldUseTestAnnotation</name>
54 <ruleset>Migration</ruleset>
55 </rule>
56 <rule>
57 <name>JUnit4SuitesShouldUseSuiteAnnotation</name>
58 <ruleset>Migration</ruleset>
59 </rule>
60 <rule>
61 <name>JUnitUseExpected</name>
62 <ruleset>Migration</ruleset>
63 </rule>
64 <rule>
65 <name>ShortVariable</name>
66 <ruleset>Naming</ruleset>
67 </rule>
68 <rule>
69 <name>LongVariable</name>
70 <ruleset>Naming</ruleset>
71 </rule>
72 <rule>
73 <name>ShortMethodName</name>
74 <ruleset>Naming</ruleset>
75 </rule>
76 <rule>
77 <name>VariableNamingConventions</name>
78 <ruleset>Naming</ruleset>
79 </rule>
80 <rule>
81 <name>MethodNamingConventions</name>
82 <ruleset>Naming</ruleset>
83 </rule>
84 <rule>
85 <name>ClassNamingConventions</name>
86 <ruleset>Naming</ruleset>
87 </rule>
88 <rule>
89 <name>AbstractNaming</name>
90 <ruleset>Naming</ruleset>
91 </rule>
92 <rule>
93 <name>AvoidDollarSigns</name>
94 <ruleset>Naming</ruleset>
95 </rule>
96 <rule>
97 <name>MethodWithSameNameAsEnclosingClass</name>
98 <ruleset>Naming</ruleset>
99 </rule>
100 <rule>
101 <name>SuspiciousHashcodeMethodName</name>
102 <ruleset>Naming</ruleset>
103 </rule>
104 <rule>
105 <name>SuspiciousConstantFieldName</name>
106 <ruleset>Naming</ruleset>
107 </rule>
108 <rule>
109 <name>SuspiciousEqualsMethodName</name>
110 <ruleset>Naming</ruleset>
111 </rule>
112 <rule>
113 <name>AvoidFieldNameMatchingTypeName</name>
114 <ruleset>Naming</ruleset>
115 </rule>
116 <rule>
117 <name>AvoidFieldNameMatchingMethodName</name>
118 <ruleset>Naming</ruleset>
119 </rule>
120 <rule>
121 <name>NoPackage</name>
122 <ruleset>Naming</ruleset>
123 </rule>
124 <rule>
125 <name>PackageCase</name>
126 <ruleset>Naming</ruleset>
127 </rule>
128 <rule>
129 <name>MisleadingVariableName</name>
130 <ruleset>Naming</ruleset>
131 </rule>
132 <rule>
133 <name>BooleanGetMethodName</name>
134 <ruleset>Naming</ruleset>
135 </rule>
136 <rule>
137 <name>ShortClassName</name>
138 <ruleset>Naming</ruleset>
139 </rule>
140 <rule>
141 <name>GenericsNaming</name>
142 <ruleset>Naming</ruleset>
143 </rule>
144 <rule>
145 <name>MoreThanOneLogger</name>
146 <ruleset>Java Logging</ruleset>
147 </rule>
148 <rule>
149 <name>LoggerIsNotStaticFinal</name>
150 <ruleset>Java Logging</ruleset>
151 </rule>
152 <rule>
153 <name>SystemPrintln</name>
154 <ruleset>Java Logging</ruleset>
155 </rule>
156 <rule>
157 <name>AvoidPrintStackTrace</name>
158 <ruleset>Java Logging</ruleset>
159 </rule>
160 <rule>
161 <name>GuardLogStatementJavaUtil</name>
162 <ruleset>Java Logging</ruleset>
163 </rule>
164 <rule>
165 <name>NPathComplexity</name>
166 <ruleset>Code Size</ruleset>
167 </rule>
168 <rule>
169 <name>ExcessiveMethodLength</name>
170 <ruleset>Code Size</ruleset>
171 </rule>
172 <rule>
173 <name>ExcessiveParameterList</name>
174 <ruleset>Code Size</ruleset>
175 </rule>
176 <rule>
177 <name>ExcessiveObjectLength</name>
178 <ruleset>Code Size</ruleset>
179 </rule>
180 <rule>
181 <name>ExcessiveTypeLength</name>
182 <ruleset>Code Size</ruleset>
183 </rule>
184 <rule>
185 <name>ExcessivePackageBodyLength</name>
186 <ruleset>Code Size</ruleset>
187 </rule>
188 <rule>
189 <name>ExcessivePackageSpecificationLength</name>
190 <ruleset>Code Size</ruleset>
191 </rule>
192 <rule>
193 <name>CyclomaticComplexity</name>
194 <ruleset>Code Size</ruleset>
195 </rule>
196 <rule>
197 <name>TooManyFields</name>
198 <ruleset>Code Size</ruleset>
199 </rule>
200 <rule>
201 <name>NcssMethodCount</name>
202 <ruleset>Code Size</ruleset>
203 </rule>
204 <rule>
205 <name>NcssObjectCount</name>
206 <ruleset>Code Size</ruleset>
207 </rule>
208 <rule>
209 <name>TooManyMethods</name>
210 <ruleset>Code Size</ruleset>
211 </rule>
212 <rule>
213 <name>EmptyFinalizer</name>
214 <ruleset>Finalizer</ruleset>
215 </rule>
216 <rule>
217 <name>FinalizeOnlyCallsSuperFinalize</name>
218 <ruleset>Finalizer</ruleset>
219 </rule>
220 <rule>
221 <name>FinalizeOverloaded</name>
222 <ruleset>Finalizer</ruleset>
223 </rule>
224 <rule>
225 <name>FinalizeDoesNotCallSuperFinalize</name>
226 <ruleset>Finalizer</ruleset>
227 </rule>
228 <rule>
229 <name>FinalizeShouldBeProtected</name>
230 <ruleset>Finalizer</ruleset>
231 </rule>
232 <rule>
233 <name>AvoidCallingFinalize</name>
234 <ruleset>Finalizer</ruleset>
235 </rule>
236 <rule>
237 <name>DuplicateImports</name>
238 <ruleset>Import Statements</ruleset>
239 </rule>
240 <rule>
241 <name>DontImportJavaLang</name>
242 <ruleset>Import Statements</ruleset>
243 </rule>
244 <rule>
245 <name>UnusedImports</name>
246 <ruleset>Import Statements</ruleset>
247 </rule>
248 <rule>
249 <name>ImportFromSamePackage</name>
250 <ruleset>Import Statements</ruleset>
251 </rule>
252 <rule>
253 <name>TooManyStaticImports</name>
254 <ruleset>Import Statements</ruleset>
255 </rule>
256 <rule>
257 <name>UnnecessaryFullyQualifiedName</name>
258 <ruleset>Import Statements</ruleset>
259 </rule>
260 <rule>
261 <name>IfStmtsMustUseBraces</name>
262 <ruleset>Braces</ruleset>
263 </rule>
264 <rule>
265 <name>WhileLoopsMustUseBraces</name>
266 <ruleset>Braces</ruleset>
267 </rule>
268 <rule>
269 <name>IfElseStmtsMustUseBraces</name>
270 <ruleset>Braces</ruleset>
271 </rule>
272 <rule>
273 <name>ForLoopsMustUseBraces</name>
274 <ruleset>Braces</ruleset>
275 </rule>
276 <rule>
277 <name>TomKytesDespair</name>
278 <ruleset>Tom Kyte's Despair</ruleset>
279 </rule>
280 <rule>
281 <name>TO_DATEWithoutDateFormat</name>
282 <ruleset>PLSQL DATETIME</ruleset>
283 </rule>
284 <rule>
285 <name>TO_DATE_TO_CHAR</name>
286 <ruleset>PLSQL DATETIME</ruleset>
287 </rule>
288 <rule>
289 <name>TO_TIMESTAMPWithoutDateFormat</name>
290 <ruleset>PLSQL DATETIME</ruleset>
291 </rule>
292 <rule>
293 <name>JumbledIncrementer</name>
294 <ruleset>Basic</ruleset>
295 </rule>
296 <rule>
297 <name>ForLoopShouldBeWhileLoop</name>
298 <ruleset>Basic</ruleset>
299 </rule>
300 <rule>
301 <name>OverrideBothEqualsAndHashcode</name>
302 <ruleset>Basic</ruleset>
303 </rule>
304 <rule>
305 <name>DoubleCheckedLocking</name>
306 <ruleset>Basic</ruleset>
307 </rule>
308 <rule>
309 <name>ReturnFromFinallyBlock</name>
310 <ruleset>Basic</ruleset>
311 </rule>
312 <rule>
313 <name>UnconditionalIfStatement</name>
314 <ruleset>Basic</ruleset>
315 </rule>
316 <rule>
317 <name>BooleanInstantiation</name>
318 <ruleset>Basic</ruleset>
319 </rule>
320 <rule>
321 <name>CollapsibleIfStatements</name>
322 <ruleset>Basic</ruleset>
323 </rule>
324 <rule>
325 <name>ClassCastExceptionWithToArray</name>
326 <ruleset>Basic</ruleset>
327 </rule>
328 <rule>
329 <name>AvoidDecimalLiteralsInBigDecimalConstructor</name>
330 <ruleset>Basic</ruleset>
331 </rule>
332 <rule>
333 <name>MisplacedNullCheck</name>
334 <ruleset>Basic</ruleset>
335 </rule>
336 <rule>
337 <name>AvoidThreadGroup</name>
338 <ruleset>Basic</ruleset>
339 </rule>
340 <rule>
341 <name>BrokenNullCheck</name>
342 <ruleset>Basic</ruleset>
343 </rule>
344 <rule>
345 <name>BigIntegerInstantiation</name>
346 <ruleset>Basic</ruleset>
347 </rule>
348 <rule>
349 <name>AvoidUsingOctalValues</name>
350 <ruleset>Basic</ruleset>
351 </rule>
352 <rule>
353 <name>AvoidUsingHardCodedIP</name>
354 <ruleset>Basic</ruleset>
355 </rule>
356 <rule>
357 <name>CheckResultSet</name>
358 <ruleset>Basic</ruleset>
359 </rule>
360 <rule>
361 <name>AvoidMultipleUnaryOperators</name>
362 <ruleset>Basic</ruleset>
363 </rule>
364 <rule>
365 <name>ExtendsObject</name>
366 <ruleset>Basic</ruleset>
367 </rule>
368 <rule>
369 <name>CheckSkipResult</name>
370 <ruleset>Basic</ruleset>
371 </rule>
372 <rule>
373 <name>AvoidBranchingStatementAsLastInLoop</name>
374 <ruleset>Basic</ruleset>
375 </rule>
376 <rule>
377 <name>DontCallThreadRun</name>
378 <ruleset>Basic</ruleset>
379 </rule>
380 <rule>
381 <name>DontUseFloatTypeForLoopIndices</name>
382 <ruleset>Basic</ruleset>
383 </rule>
384 <rule>
385 <name>EmptyCatchBlock</name>
386 <ruleset>Empty Code</ruleset>
387 </rule>
388 <rule>
389 <name>EmptyIfStmt</name>
390 <ruleset>Empty Code</ruleset>
391 </rule>
392 <rule>
393 <name>EmptyWhileStmt</name>
394 <ruleset>Empty Code</ruleset>
395 </rule>
396 <rule>
397 <name>EmptyTryBlock</name>
398 <ruleset>Empty Code</ruleset>
399 </rule>
400 <rule>
401 <name>EmptyFinallyBlock</name>
402 <ruleset>Empty Code</ruleset>
403 </rule>
404 <rule>
405 <name>EmptySwitchStatements</name>
406 <ruleset>Empty Code</ruleset>
407 </rule>
408 <rule>
409 <name>EmptySynchronizedBlock</name>
410 <ruleset>Empty Code</ruleset>
411 </rule>
412 <rule>
413 <name>EmptyStatementNotInLoop</name>
414 <ruleset>Empty Code</ruleset>
415 </rule>
416 <rule>
417 <name>EmptyInitializer</name>
418 <ruleset>Empty Code</ruleset>
419 </rule>
420 <rule>
421 <name>EmptyStatementBlock</name>
422 <ruleset>Empty Code</ruleset>
423 </rule>
424 <rule>
425 <name>EmptyStaticInitializer</name>
426 <ruleset>Empty Code</ruleset>
427 </rule>
428 <rule>
429 <name>UnnecessaryConversionTemporary</name>
430 <ruleset>Unnecessary</ruleset>
431 </rule>
432 <rule>
433 <name>UnnecessaryReturn</name>
434 <ruleset>Unnecessary</ruleset>
435 </rule>
436 <rule>
437 <name>UnnecessaryFinalModifier</name>
438 <ruleset>Unnecessary</ruleset>
439 </rule>
440 <rule>
441 <name>UselessOverridingMethod</name>
442 <ruleset>Unnecessary</ruleset>
443 </rule>
444 <rule>
445 <name>UselessOperationOnImmutable</name>
446 <ruleset>Unnecessary</ruleset>
447 </rule>
448 <rule>
449 <name>UnusedNullCheckInEquals</name>
450 <ruleset>Unnecessary</ruleset>
451 </rule>
452 <rule>
453 <name>UselessParentheses</name>
454 <ruleset>Unnecessary</ruleset>
455 </rule>
456 <rule>
457 <name>UseUtilityClass</name>
458 <ruleset>Design</ruleset>
459 </rule>
460 <rule>
461 <name>SimplifyBooleanReturns</name>
462 <ruleset>Design</ruleset>
463 </rule>
464 <rule>
465 <name>SimplifyBooleanExpressions</name>
466 <ruleset>Design</ruleset>
467 </rule>
468 <rule>
469 <name>SwitchStmtsShouldHaveDefault</name>
470 <ruleset>Design</ruleset>
471 </rule>
472 <rule>
473 <name>AvoidDeeplyNestedIfStmts</name>
474 <ruleset>Design</ruleset>
475 </rule>
476 <rule>
477 <name>AvoidReassigningParameters</name>
478 <ruleset>Design</ruleset>
479 </rule>
480 <rule>
481 <name>SwitchDensity</name>
482 <ruleset>Design</ruleset>
483 </rule>
484 <rule>
485 <name>ConstructorCallsOverridableMethod</name>
486 <ruleset>Design</ruleset>
487 </rule>
488 <rule>
489 <name>AccessorClassGeneration</name>
490 <ruleset>Design</ruleset>
491 </rule>
492 <rule>
493 <name>FinalFieldCouldBeStatic</name>
494 <ruleset>Design</ruleset>
495 </rule>
496 <rule>
497 <name>CloseResource</name>
498 <ruleset>Design</ruleset>
499 </rule>
500 <rule>
501 <name>NonStaticInitializer</name>
502 <ruleset>Design</ruleset>
503 </rule>
504 <rule>
505 <name>DefaultLabelNotLastInSwitchStmt</name>
506 <ruleset>Design</ruleset>
507 </rule>
508 <rule>
509 <name>NonCaseLabelInSwitchStatement</name>
510 <ruleset>Design</ruleset>
511 </rule>
512 <rule>
513 <name>OptimizableToArrayCall</name>
514 <ruleset>Design</ruleset>
515 </rule>
516 <rule>
517 <name>BadComparison</name>
518 <ruleset>Design</ruleset>
519 </rule>
520 <rule>
521 <name>EqualsNull</name>
522 <ruleset>Design</ruleset>
523 </rule>
524 <rule>
525 <name>ConfusingTernary</name>
526 <ruleset>Design</ruleset>
527 </rule>
528 <rule>
529 <name>InstantiationToGetClass</name>
530 <ruleset>Design</ruleset>
531 </rule>
532 <rule>
533 <name>IdempotentOperations</name>
534 <ruleset>Design</ruleset>
535 </rule>
536 <rule>
537 <name>SimpleDateFormatNeedsLocale</name>
538 <ruleset>Design</ruleset>
539 </rule>
540 <rule>
541 <name>ImmutableField</name>
542 <ruleset>Design</ruleset>
543 </rule>
544 <rule>
545 <name>UseLocaleWithCaseConversions</name>
546 <ruleset>Design</ruleset>
547 </rule>
548 <rule>
549 <name>AvoidProtectedFieldInFinalClass</name>
550 <ruleset>Design</ruleset>
551 </rule>
552 <rule>
553 <name>AssignmentToNonFinalStatic</name>
554 <ruleset>Design</ruleset>
555 </rule>
556 <rule>
557 <name>MissingStaticMethodInNonInstantiatableClass</name>
558 <ruleset>Design</ruleset>
559 </rule>
560 <rule>
561 <name>AvoidSynchronizedAtMethodLevel</name>
562 <ruleset>Design</ruleset>
563 </rule>
564 <rule>
565 <name>MissingBreakInSwitch</name>
566 <ruleset>Design</ruleset>
567 </rule>
568 <rule>
569 <name>UseNotifyAllInsteadOfNotify</name>
570 <ruleset>Design</ruleset>
571 </rule>
572 <rule>
573 <name>AvoidInstanceofChecksInCatchClause</name>
574 <ruleset>Design</ruleset>
575 </rule>
576 <rule>
577 <name>AbstractClassWithoutAbstractMethod</name>
578 <ruleset>Design</ruleset>
579 </rule>
580 <rule>
581 <name>SimplifyConditional</name>
582 <ruleset>Design</ruleset>
583 </rule>
584 <rule>
585 <name>CompareObjectsWithEquals</name>
586 <ruleset>Design</ruleset>
587 </rule>
588 <rule>
589 <name>PositionLiteralsFirstInComparisons</name>
590 <ruleset>Design</ruleset>
591 </rule>
592 <rule>
593 <name>PositionLiteralsFirstInCaseInsensitiveComparisons</name>
594 <ruleset>Design</ruleset>
595 </rule>
596 <rule>
597 <name>UnnecessaryLocalBeforeReturn</name>
598 <ruleset>Design</ruleset>
599 </rule>
600 <rule>
601 <name>NonThreadSafeSingleton</name>
602 <ruleset>Design</ruleset>
603 </rule>
604 <rule>
605 <name>UncommentedEmptyMethodBody</name>
606 <ruleset>Design</ruleset>
607 </rule>
608 <rule>
609 <name>UncommentedEmptyConstructor</name>
610 <ruleset>Design</ruleset>
611 </rule>
612 <rule>
613 <name>AvoidConstantsInterface</name>
614 <ruleset>Design</ruleset>
615 </rule>
616 <rule>
617 <name>UnsynchronizedStaticDateFormatter</name>
618 <ruleset>Design</ruleset>
619 </rule>
620 <rule>
621 <name>PreserveStackTrace</name>
622 <ruleset>Design</ruleset>
623 </rule>
624 <rule>
625 <name>UseCollectionIsEmpty</name>
626 <ruleset>Design</ruleset>
627 </rule>
628 <rule>
629 <name>ClassWithOnlyPrivateConstructorsShouldBeFinal</name>
630 <ruleset>Design</ruleset>
631 </rule>
632 <rule>
633 <name>EmptyMethodInAbstractClassShouldBeAbstract</name>
634 <ruleset>Design</ruleset>
635 </rule>
636 <rule>
637 <name>SingularField</name>
638 <ruleset>Design</ruleset>
639 </rule>
640 <rule>
641 <name>ReturnEmptyArrayRatherThanNull</name>
642 <ruleset>Design</ruleset>
643 </rule>
644 <rule>
645 <name>AbstractClassWithoutAnyMethod</name>
646 <ruleset>Design</ruleset>
647 </rule>
648 <rule>
649 <name>TooFewBranchesForASwitchStatement</name>
650 <ruleset>Design</ruleset>
651 </rule>
652 <rule>
653 <name>LogicInversion</name>
654 <ruleset>Design</ruleset>
655 </rule>
656 <rule>
657 <name>UseVarargs</name>
658 <ruleset>Design</ruleset>
659 </rule>
660 <rule>
661 <name>FieldDeclarationsShouldBeAtStartOfClass</name>
662 <ruleset>Design</ruleset>
663 </rule>
664 <rule>
665 <name>GodClass</name>
666 <ruleset>Design</ruleset>
667 </rule>
668 <rule>
669 <name>AvoidProtectedMethodInFinalClassNotExtending</name>
670 <ruleset>Design</ruleset>
671 </rule>
672 <rule>
673 <name>AvoidDeeplyNestedIfStmts</name>
674 <ruleset>Basic Velocity</ruleset>
675 </rule>
676 <rule>
677 <name>CollapsibleIfStatements</name>
678 <ruleset>Basic Velocity</ruleset>
679 </rule>
680 <rule>
681 <name>ExcessiveTemplateLength</name>
682 <ruleset>Basic Velocity</ruleset>
683 </rule>
684 <rule>
685 <name>AvoidReassigningParameters</name>
686 <ruleset>Basic Velocity</ruleset>
687 </rule>
688 <rule>
689 <name>EmptyIfStmt</name>
690 <ruleset>Basic Velocity</ruleset>
691 </rule>
692 <rule>
693 <name>EmptyForeachStmt</name>
694 <ruleset>Basic Velocity</ruleset>
695 </rule>
696 <rule>
697 <name>UnusedMacroParameter</name>
698 <ruleset>Basic Velocity</ruleset>
699 </rule>
700 <rule>
701 <name>NoInlineJavaScript</name>
702 <ruleset>Basic Velocity</ruleset>
703 </rule>
704 <rule>
705 <name>NoInlineStyles</name>
706 <ruleset>Basic Velocity</ruleset>
707 </rule>
708 <rule>
709 <name>MethodReturnsInternalArray</name>
710 <ruleset>Security Code Guidelines</ruleset>
711 </rule>
712 <rule>
713 <name>ArrayIsStoredDirectly</name>
714 <ruleset>Security Code Guidelines</ruleset>
715 </rule>
716 <rule>
717 <name>EmptyCatchBlock</name>
718 <ruleset>Empty Code</ruleset>
719 </rule>
720 <rule>
721 <name>EmptyIfStmt</name>
722 <ruleset>Empty Code</ruleset>
723 </rule>
724 <rule>
725 <name>EmptyWhileStmt</name>
726 <ruleset>Empty Code</ruleset>
727 </rule>
728 <rule>
729 <name>EmptyTryBlock</name>
730 <ruleset>Empty Code</ruleset>
731 </rule>
732 <rule>
733 <name>EmptyFinallyBlock</name>
734 <ruleset>Empty Code</ruleset>
735 </rule>
736 <rule>
737 <name>EmptySwitchStatements</name>
738 <ruleset>Empty Code</ruleset>
739 </rule>
740 <rule>
741 <name>EmptySynchronizedBlock</name>
742 <ruleset>Empty Code</ruleset>
743 </rule>
744 <rule>
745 <name>EmptyStatementNotInLoop</name>
746 <ruleset>Empty Code</ruleset>
747 </rule>
748 <rule>
749 <name>EmptyInitializer</name>
750 <ruleset>Empty Code</ruleset>
751 </rule>
752 <rule>
753 <name>EmptyStatementBlock</name>
754 <ruleset>Empty Code</ruleset>
755 </rule>
756 <rule>
757 <name>EmptyStaticInitializer</name>
758 <ruleset>Empty Code</ruleset>
759 </rule>
760 <rule>
761 <name>UnusedPrivateField</name>
762 <ruleset>Unused Code</ruleset>
763 </rule>
764 <rule>
765 <name>UnusedLocalVariable</name>
766 <ruleset>Unused Code</ruleset>
767 </rule>
768 <rule>
769 <name>UnusedPrivateMethod</name>
770 <ruleset>Unused Code</ruleset>
771 </rule>
772 <rule>
773 <name>UnusedFormalParameter</name>
774 <ruleset>Unused Code</ruleset>
775 </rule>
776 <rule>
777 <name>UnusedModifier</name>
778 <ruleset>Unused Code</ruleset>
779 </rule>
780 <rule>
781 <name>AvoidCatchingThrowable</name>
782 <ruleset>Strict Exceptions</ruleset>
783 </rule>
784 <rule>
785 <name>SignatureDeclareThrowsException</name>
786 <ruleset>Strict Exceptions</ruleset>
787 </rule>
788 <rule>
789 <name>ExceptionAsFlowControl</name>
790 <ruleset>Strict Exceptions</ruleset>
791 </rule>
792 <rule>
793 <name>AvoidCatchingNPE</name>
794 <ruleset>Strict Exceptions</ruleset>
795 </rule>
796 <rule>
797 <name>AvoidThrowingRawExceptionTypes</name>
798 <ruleset>Strict Exceptions</ruleset>
799 </rule>
800 <rule>
801 <name>AvoidThrowingNullPointerException</name>
802 <ruleset>Strict Exceptions</ruleset>
803 </rule>
804 <rule>
805 <name>AvoidRethrowingException</name>
806 <ruleset>Strict Exceptions</ruleset>
807 </rule>
808 <rule>
809 <name>DoNotExtendJavaLangError</name>
810 <ruleset>Strict Exceptions</ruleset>
811 </rule>
812 <rule>
813 <name>DoNotThrowExceptionInFinally</name>
814 <ruleset>Strict Exceptions</ruleset>
815 </rule>
816 <rule>
817 <name>AvoidThrowingNewInstanceOfSameException</name>
818 <ruleset>Strict Exceptions</ruleset>
819 </rule>
820 <rule>
821 <name>AvoidCatchingGenericException</name>
822 <ruleset>Strict Exceptions</ruleset>
823 </rule>
824 <rule>
825 <name>AvoidLosingExceptionInformation</name>
826 <ruleset>Strict Exceptions</ruleset>
827 </rule>
828 <rule>
829 <name>UseConcatOnce</name>
830 <ruleset>XPath in XSL</ruleset>
831 </rule>
832 <rule>
833 <name>AvoidAxisNavigation</name>
834 <ruleset>XPath in XSL</ruleset>
835 </rule>
836 <rule>
837 <name>UnnecessaryConversionTemporary</name>
838 <ruleset>Unnecessary</ruleset>
839 </rule>
840 <rule>
841 <name>UnnecessaryReturn</name>
842 <ruleset>Unnecessary</ruleset>
843 </rule>
844 <rule>
845 <name>UnnecessaryFinalModifier</name>
846 <ruleset>Unnecessary</ruleset>
847 </rule>
848 <rule>
849 <name>UselessOverridingMethod</name>
850 <ruleset>Unnecessary</ruleset>
851 </rule>
852 <rule>
853 <name>UselessOperationOnImmutable</name>
854 <ruleset>Unnecessary</ruleset>
855 </rule>
856 <rule>
857 <name>UnusedNullCheckInEquals</name>
858 <ruleset>Unnecessary</ruleset>
859 </rule>
860 <rule>
861 <name>UselessParentheses</name>
862 <ruleset>Unnecessary</ruleset>
863 </rule>
864 <rule>
865 <name>AssignmentInOperand</name>
866 <ruleset>Basic Ecmascript</ruleset>
867 </rule>
868 <rule>
869 <name>UnreachableCode</name>
870 <ruleset>Basic Ecmascript</ruleset>
871 </rule>
872 <rule>
873 <name>InnaccurateNumericLiteral</name>
874 <ruleset>Basic Ecmascript</ruleset>
875 </rule>
876 <rule>
877 <name>ConsistentReturn</name>
878 <ruleset>Basic Ecmascript</ruleset>
879 </rule>
880 <rule>
881 <name>ScopeForInVariable</name>
882 <ruleset>Basic Ecmascript</ruleset>
883 </rule>
884 <rule>
885 <name>EqualComparison</name>
886 <ruleset>Basic Ecmascript</ruleset>
887 </rule>
888 <rule>
889 <name>GlobalVariable</name>
890 <ruleset>Basic Ecmascript</ruleset>
891 </rule>
892 <rule>
893 <name>AvoidTrailingComma</name>
894 <ruleset>Basic Ecmascript</ruleset>
895 </rule>
896 <rule>
897 <name>UseBaseWithParseInt</name>
898 <ruleset>Basic Ecmascript</ruleset>
899 </rule>
900 <rule>
901 <name>IfStmtsMustUseBraces</name>
902 <ruleset>Braces</ruleset>
903 </rule>
904 <rule>
905 <name>IfElseStmtsMustUseBraces</name>
906 <ruleset>Braces</ruleset>
907 </rule>
908 <rule>
909 <name>WhileLoopsMustUseBraces</name>
910 <ruleset>Braces</ruleset>
911 </rule>
912 <rule>
913 <name>ForLoopsMustUseBraces</name>
914 <ruleset>Braces</ruleset>
915 </rule>
916 <rule>
917 <name>BeanMembersShouldSerialize</name>
918 <ruleset>JavaBeans</ruleset>
919 </rule>
920 <rule>
921 <name>MissingSerialVersionUID</name>
922 <ruleset>JavaBeans</ruleset>
923 </rule>
924 <rule>
925 <name>LocalVariableCouldBeFinal</name>
926 <ruleset>Optimization</ruleset>
927 </rule>
928 <rule>
929 <name>MethodArgumentCouldBeFinal</name>
930 <ruleset>Optimization</ruleset>
931 </rule>
932 <rule>
933 <name>AvoidInstantiatingObjectsInLoops</name>
934 <ruleset>Optimization</ruleset>
935 </rule>
936 <rule>
937 <name>UseArrayListInsteadOfVector</name>
938 <ruleset>Optimization</ruleset>
939 </rule>
940 <rule>
941 <name>SimplifyStartsWith</name>
942 <ruleset>Optimization</ruleset>
943 </rule>
944 <rule>
945 <name>UseStringBufferForStringAppends</name>
946 <ruleset>Optimization</ruleset>
947 </rule>
948 <rule>
949 <name>UseArraysAsList</name>
950 <ruleset>Optimization</ruleset>
951 </rule>
952 <rule>
953 <name>AvoidArrayLoops</name>
954 <ruleset>Optimization</ruleset>
955 </rule>
956 <rule>
957 <name>UnnecessaryWrapperObjectCreation</name>
958 <ruleset>Optimization</ruleset>
959 </rule>
960 <rule>
961 <name>AddEmptyString</name>
962 <ruleset>Optimization</ruleset>
963 </rule>
964 <rule>
965 <name>RedundantFieldInitializer</name>
966 <ruleset>Optimization</ruleset>
967 </rule>
968 <rule>
969 <name>PrematureDeclaration</name>
970 <ruleset>Optimization</ruleset>
971 </rule>
972 <rule>
973 <name>JUnitStaticSuite</name>
974 <ruleset>JUnit</ruleset>
975 </rule>
976 <rule>
977 <name>JUnitSpelling</name>
978 <ruleset>JUnit</ruleset>
979 </rule>
980 <rule>
981 <name>JUnitAssertionsShouldIncludeMessage</name>
982 <ruleset>JUnit</ruleset>
983 </rule>
984 <rule>
985 <name>JUnitTestsShouldIncludeAssert</name>
986 <ruleset>JUnit</ruleset>
987 </rule>
988 <rule>
989 <name>TestClassWithoutTestCases</name>
990 <ruleset>JUnit</ruleset>
991 </rule>
992 <rule>
993 <name>UnnecessaryBooleanAssertion</name>
994 <ruleset>JUnit</ruleset>
995 </rule>
996 <rule>
997 <name>UseAssertEqualsInsteadOfAssertTrue</name>
998 <ruleset>JUnit</ruleset>
999 </rule>
1000 <rule>
1001 <name>UseAssertSameInsteadOfAssertTrue</name>
1002 <ruleset>JUnit</ruleset>
1003 </rule>
1004 <rule>
1005 <name>UseAssertNullInsteadOfAssertTrue</name>
1006 <ruleset>JUnit</ruleset>
1007 </rule>
1008 <rule>
1009 <name>SimplifyBooleanAssertion</name>
1010 <ruleset>JUnit</ruleset>
1011 </rule>
1012 <rule>
1013 <name>JUnitTestContainsTooManyAsserts</name>
1014 <ruleset>JUnit</ruleset>
1015 </rule>
1016 <rule>
1017 <name>UseAssertTrueInsteadOfAssertEquals</name>
1018 <ruleset>JUnit</ruleset>
1019 </rule>
1020 <rule>
1021 <name>CommentRequired</name>
1022 <ruleset>Comments</ruleset>
1023 </rule>
1024 <rule>
1025 <name>CommentSize</name>
1026 <ruleset>Comments</ruleset>
1027 </rule>
1028 <rule>
1029 <name>CommentContent</name>
1030 <ruleset>Comments</ruleset>
1031 </rule>
1032 <rule>
1033 <name>NoLongScripts</name>
1034 <ruleset>Basic JSP</ruleset>
1035 </rule>
1036 <rule>
1037 <name>NoScriptlets</name>
1038 <ruleset>Basic JSP</ruleset>
1039 </rule>
1040 <rule>
1041 <name>NoInlineStyleInformation</name>
1042 <ruleset>Basic JSP</ruleset>
1043 </rule>
1044 <rule>
1045 <name>NoClassAttribute</name>
1046 <ruleset>Basic JSP</ruleset>
1047 </rule>
1048 <rule>
1049 <name>NoJspForward</name>
1050 <ruleset>Basic JSP</ruleset>
1051 </rule>
1052 <rule>
1053 <name>IframeMissingSrcAttribute</name>
1054 <ruleset>Basic JSP</ruleset>
1055 </rule>
1056 <rule>
1057 <name>NoHtmlComments</name>
1058 <ruleset>Basic JSP</ruleset>
1059 </rule>
1060 <rule>
1061 <name>DuplicateJspImports</name>
1062 <ruleset>Basic JSP</ruleset>
1063 </rule>
1064 <rule>
1065 <name>JspEncoding</name>
1066 <ruleset>Basic JSP</ruleset>
1067 </rule>
1068 <rule>
1069 <name>NoInlineScript</name>
1070 <ruleset>Basic JSP</ruleset>
1071 </rule>
1072 <rule>
1073 <name>NoUnsanitizedJSPExpression</name>
1074 <ruleset>Basic JSP</ruleset>
1075 </rule>
1076 <rule>
1077 <name>DontNestJsfInJstlIteration</name>
1078 <ruleset>Basic JSF</ruleset>
1079 </rule>
1080 <rule>
1081 <name>ProperCloneImplementation</name>
1082 <ruleset>Clone Implementation</ruleset>
1083 </rule>
1084 <rule>
1085 <name>CloneThrowsCloneNotSupportedException</name>
1086 <ruleset>Clone Implementation</ruleset>
1087 </rule>
1088 <rule>
1089 <name>CloneMethodMustImplementCloneable</name>
1090 <ruleset>Clone Implementation</ruleset>
1091 </rule>
1092 <rule>
1093 <name>CallSuperFirst</name>
1094 <ruleset>Android</ruleset>
1095 </rule>
1096 <rule>
1097 <name>CallSuperLast</name>
1098 <ruleset>Android</ruleset>
1099 </rule>
1100 <rule>
1101 <name>DoNotHardCodeSDCard</name>
1102 <ruleset>Android</ruleset>
1103 </rule>
1104 <rule>
1105 <name>UnnecessaryConstructor</name>
1106 <ruleset>Controversial</ruleset>
1107 </rule>
1108 <rule>
1109 <name>NullAssignment</name>
1110 <ruleset>Controversial</ruleset>
1111 </rule>
1112 <rule>
1113 <name>OnlyOneReturn</name>
1114 <ruleset>Controversial</ruleset>
1115 </rule>
1116 <rule>
1117 <name>AssignmentInOperand</name>
1118 <ruleset>Controversial</ruleset>
1119 </rule>
1120 <rule>
1121 <name>AtLeastOneConstructor</name>
1122 <ruleset>Controversial</ruleset>
1123 </rule>
1124 <rule>
1125 <name>DontImportSun</name>
1126 <ruleset>Controversial</ruleset>
1127 </rule>
1128 <rule>
1129 <name>SuspiciousOctalEscape</name>
1130 <ruleset>Controversial</ruleset>
1131 </rule>
1132 <rule>
1133 <name>CallSuperInConstructor</name>
1134 <ruleset>Controversial</ruleset>
1135 </rule>
1136 <rule>
1137 <name>UnnecessaryParentheses</name>
1138 <ruleset>Controversial</ruleset>
1139 </rule>
1140 <rule>
1141 <name>DefaultPackage</name>
1142 <ruleset>Controversial</ruleset>
1143 </rule>
1144 <rule>
1145 <name>BooleanInversion</name>
1146 <ruleset>Controversial</ruleset>
1147 </rule>
1148 <rule>
1149 <name>DataflowAnomalyAnalysis</name>
1150 <ruleset>Controversial</ruleset>
1151 </rule>
1152 <rule>
1153 <name>AvoidFinalLocalVariable</name>
1154 <ruleset>Controversial</ruleset>
1155 </rule>
1156 <rule>
1157 <name>AvoidUsingShortType</name>
1158 <ruleset>Controversial</ruleset>
1159 </rule>
1160 <rule>
1161 <name>AvoidUsingVolatile</name>
1162 <ruleset>Controversial</ruleset>
1163 </rule>
1164 <rule>
1165 <name>AvoidUsingNativeCode</name>
1166 <ruleset>Controversial</ruleset>
1167 </rule>
1168 <rule>
1169 <name>AvoidAccessibilityAlteration</name>
1170 <ruleset>Controversial</ruleset>
1171 </rule>
1172 <rule>
1173 <name>DoNotCallGarbageCollectionExplicitly</name>
1174 <ruleset>Controversial</ruleset>
1175 </rule>
1176 <rule>
1177 <name>OneDeclarationPerLine</name>
1178 <ruleset>Controversial</ruleset>
1179 </rule>
1180 <rule>
1181 <name>AvoidPrefixingMethodParameters</name>
1182 <ruleset>Controversial</ruleset>
1183 </rule>
1184 <rule>
1185 <name>AvoidLiteralsInIfCondition</name>
1186 <ruleset>Controversial</ruleset>
1187 </rule>
1188 <rule>
1189 <name>UseObjectForClearerAPI</name>
1190 <ruleset>Controversial</ruleset>
1191 </rule>
1192 <rule>
1193 <name>UseConcurrentHashMap</name>
1194 <ruleset>Controversial</ruleset>
1195 </rule>
1196 <rule>
1197 <name>AvoidDuplicateLiterals</name>
1198 <ruleset>String and StringBuffer</ruleset>
1199 </rule>
1200 <rule>
1201 <name>StringInstantiation</name>
1202 <ruleset>String and StringBuffer</ruleset>
1203 </rule>
1204 <rule>
1205 <name>StringToString</name>
1206 <ruleset>String and StringBuffer</ruleset>
1207 </rule>
1208 <rule>
1209 <name>InefficientStringBuffering</name>
1210 <ruleset>String and StringBuffer</ruleset>
1211 </rule>
1212 <rule>
1213 <name>UnnecessaryCaseChange</name>
1214 <ruleset>String and StringBuffer</ruleset>
1215 </rule>
1216 <rule>
1217 <name>UseStringBufferLength</name>
1218 <ruleset>String and StringBuffer</ruleset>
1219 </rule>
1220 <rule>
1221 <name>AppendCharacterWithChar</name>
1222 <ruleset>String and StringBuffer</ruleset>
1223 </rule>
1224 <rule>
1225 <name>ConsecutiveAppendsShouldReuse</name>
1226 <ruleset>String and StringBuffer</ruleset>
1227 </rule>
1228 <rule>
1229 <name>ConsecutiveLiteralAppends</name>
1230 <ruleset>String and StringBuffer</ruleset>
1231 </rule>
1232 <rule>
1233 <name>UseIndexOfChar</name>
1234 <ruleset>String and StringBuffer</ruleset>
1235 </rule>
1236 <rule>
1237 <name>InefficientEmptyStringCheck</name>
1238 <ruleset>String and StringBuffer</ruleset>
1239 </rule>
1240 <rule>
1241 <name>InsufficientStringBufferDeclaration</name>
1242 <ruleset>String and StringBuffer</ruleset>
1243 </rule>
1244 <rule>
1245 <name>UselessStringValueOf</name>
1246 <ruleset>String and StringBuffer</ruleset>
1247 </rule>
1248 <rule>
1249 <name>StringBufferInstantiationWithChar</name>
1250 <ruleset>String and StringBuffer</ruleset>
1251 </rule>
1252 <rule>
1253 <name>UseEqualsToCompareStrings</name>
1254 <ruleset>String and StringBuffer</ruleset>
1255 </rule>
1256 <rule>
1257 <name>AvoidStringBufferField</name>
1258 <ruleset>String and StringBuffer</ruleset>
1259 </rule>
1260 <rule>
1261 <name>NPathComplexity</name>
1262 <ruleset>Code Size</ruleset>
1263 </rule>
1264 <rule>
1265 <name>ExcessiveMethodLength</name>
1266 <ruleset>Code Size</ruleset>
1267 </rule>
1268 <rule>
1269 <name>ExcessiveParameterList</name>
1270 <ruleset>Code Size</ruleset>
1271 </rule>
1272 <rule>
1273 <name>ExcessiveClassLength</name>
1274 <ruleset>Code Size</ruleset>
1275 </rule>
1276 <rule>
1277 <name>CyclomaticComplexity</name>
1278 <ruleset>Code Size</ruleset>
1279 </rule>
1280 <rule>
1281 <name>StdCyclomaticComplexity</name>
1282 <ruleset>Code Size</ruleset>
1283 </rule>
1284 <rule>
1285 <name>ModifiedCyclomaticComplexity</name>
1286 <ruleset>Code Size</ruleset>
1287 </rule>
1288 <rule>
1289 <name>ExcessivePublicCount</name>
1290 <ruleset>Code Size</ruleset>
1291 </rule>
1292 <rule>
1293 <name>TooManyFields</name>
1294 <ruleset>Code Size</ruleset>
1295 </rule>
1296 <rule>
1297 <name>NcssMethodCount</name>
1298 <ruleset>Code Size</ruleset>
1299 </rule>
1300 <rule>
1301 <name>NcssTypeCount</name>
1302 <ruleset>Code Size</ruleset>
1303 </rule>
1304 <rule>
1305 <name>NcssConstructorCount</name>
1306 <ruleset>Code Size</ruleset>
1307 </rule>
1308 <rule>
1309 <name>TooManyMethods</name>
1310 <ruleset>Code Size</ruleset>
1311 </rule>
1312 <rule>
1313 <name>UseCorrectExceptionLogging</name>
1314 <ruleset>Jakarta Commons Logging</ruleset>
1315 </rule>
1316 <rule>
1317 <name>ProperLogger</name>
1318 <ruleset>Jakarta Commons Logging</ruleset>
1319 </rule>
1320 <rule>
1321 <name>GuardDebugLogging</name>
1322 <ruleset>Jakarta Commons Logging</ruleset>
1323 </rule>
1324 <rule>
1325 <name>GuardLogStatement</name>
1326 <ruleset>Jakarta Commons Logging</ruleset>
1327 </rule>
1328 <rule>
1329 <name>MistypedCDATASection</name>
1330 <ruleset>Basic XML</ruleset>
1331 </rule>
1332 <rule>
1333 <name>CouplingBetweenObjects</name>
1334 <ruleset>Coupling</ruleset>
1335 </rule>
1336 <rule>
1337 <name>ExcessiveImports</name>
1338 <ruleset>Coupling</ruleset>
1339 </rule>
1340 <rule>
1341 <name>LooseCoupling</name>
1342 <ruleset>Coupling</ruleset>
1343 </rule>
1344 <rule>
1345 <name>LoosePackageCoupling</name>
1346 <ruleset>Coupling</ruleset>
1347 </rule>
1348 <rule>
1349 <name>LawOfDemeter</name>
1350 <ruleset>Coupling</ruleset>
1351 </rule>
1352 <rule>
1353 <name>UnnecessaryParentheses</name>
1354 <ruleset>Unnecessary</ruleset>
1355 </rule>
1356 <rule>
1357 <name>UnnecessaryBlock</name>
1358 <ruleset>Unnecessary</ruleset>
1359 </rule>
1360 <rule>
1361 <name>UseProperClassLoader</name>
1362 <ruleset>J2EE</ruleset>
1363 </rule>
1364 <rule>
1365 <name>MDBAndSessionBeanNamingConvention</name>
1366 <ruleset>J2EE</ruleset>
1367 </rule>
1368 <rule>
1369 <name>RemoteSessionInterfaceNamingConvention</name>
1370 <ruleset>J2EE</ruleset>
1371 </rule>
1372 <rule>
1373 <name>LocalInterfaceSessionNamingConvention</name>
1374 <ruleset>J2EE</ruleset>
1375 </rule>
1376 <rule>
1377 <name>LocalHomeNamingConvention</name>
1378 <ruleset>J2EE</ruleset>
1379 </rule>
1380 <rule>
1381 <name>RemoteInterfaceNamingConvention</name>
1382 <ruleset>J2EE</ruleset>
1383 </rule>
1384 <rule>
1385 <name>DoNotCallSystemExit</name>
1386 <ruleset>J2EE</ruleset>
1387 </rule>
1388 <rule>
1389 <name>StaticEJBFieldShouldBeFinal</name>
1390 <ruleset>J2EE</ruleset>
1391 </rule>
1392 <rule>
1393 <name>DoNotUseThreads</name>
1394 <ruleset>J2EE</ruleset>
1395 </rule>
1396 </rules>
1397 <includeDerivedFiles>false</includeDerivedFiles>
1398 <violationsAsErrors>true</violationsAsErrors>
1399 <fullBuildEnabled>true</fullBuildEnabled>
1400 </pmd>