Philippe Herlin fff1fa507e Release v3.1.0
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3650 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-04 21:13:23 +00:00

2 lines
9.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<pmd><useProjectRuleSet>false</useProjectRuleSet><rules><rule><name>IdempotentOperations</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>StringInstantiation</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>ForLoopShouldBeWhileLoop</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>BadComparison</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>LoggerIsNotStaticFinal</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>SwitchDensity</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>CloneThrowsCloneNotSupportedException</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>AvoidDeeplyNestedIfStmts</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>BooleanInstantiation</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>FinalizeShouldBeProtected</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>UnusedFormalParameter</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>FinalFieldCouldBeStatic</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>ConfusingTernary</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>ExplicitCallToFinalize</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>CollapsibleIfStatements</name><ruleset>review-rules-V1.1</ruleset></rule><rule><name>UnusedLocalVariable</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>SystemPrintln</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>EmptyIfStmt</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>LocalVariableCouldBeFinal</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>OnlyOneReturn</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>EmptySwitchStatements</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>SimplifyBooleanExpressions</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>UseStringBufferForStringAppends</name><ruleset>review-rules-V1.1</ruleset></rule><rule><name>ExcessiveMethodLength</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>EmptyTryBlock</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>AvoidInstanceofChecksInCatchClause</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>AvoidConcatenatingNonLiteralsInStringBuffer</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>DoubleCheckedLocking</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>SimpleDateFormatNeedsLocale</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>NullAssignment</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>StringToString</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>SuspiciousConstantFieldName</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>UnusedPrivateMethod</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>AvoidThrowingCertainExceptionTypes</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>AvoidProtectedFieldInFinalClass</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>ImportFromSamePackage</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>EmptyWhileStmt</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>FinalizeOverloaded</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>CouplingBetweenObjects</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>ExcessiveImports</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>SingularField</name><ruleset>review-rules-V1.1</ruleset></rule><rule><name>AssignmentInOperand</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>SuspiciousOctalEscape</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>IfElseStmtsMustUseBraces</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>UnusedModifier</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>CloseConnection</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>UnconditionalIfStatement</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>MissingStaticMethodInNonInstantiatableClass</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>UnusedImports</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>EqualsNull</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>UseSingleton</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>ExcessiveClassLength</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>AbstractNaming</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>UnnecessaryConstructor</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>FinalizeDoesNotCallSuperFinalize</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>AvoidInstantiatingObjectsInLoops</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>AbstractClassWithoutAbstractMethod</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>JumbledIncrementer</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>IfStmtsMustUseBraces</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>SimplifyStartsWith</name><ruleset>review-rules-V1.1</ruleset></rule><rule><name>SimplifyBooleanReturns</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>WhileLoopsMustUseBraces</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>UnnecessaryParentheses</name><ruleset>review-rules-V1.1</ruleset></rule><rule><name>SwitchStmtsShouldHaveDefault</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>ConstructorCallsOverridableMethod</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>UnnecessaryReturn</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>BeanMembersShouldSerialize</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>SuspiciousHashcodeMethodName</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>CallSuperInConstructor</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>LongVariable</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>DontImportJavaLang</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>MethodWithSameNameAsEnclosingClass</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>UnnecessaryConversionTemporary</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>EmptyFinallyBlock</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>ExcessiveParameterList</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>UnusedPrivateField</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>EmptySynchronizedBlock</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>InstantiationToGetClass</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>OptimizableToArrayCall</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>AvoidReassigningParameters</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>DontImportSun</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>EmptyCatchBlock</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>ArrayIsStoredDirectly</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>MethodArgumentCouldBeFinal</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>AvoidDollarSigns</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>LooseCoupling</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>NonStaticInitializer</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>AssignmentToNonFinalStatic</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>SimplifyConditional</name><ruleset>review-rules-V1.1</ruleset></rule><rule><name>DefaultLabelNotLastInSwitchStmt</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>ForLoopsMustUseBraces</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>EmptyStatementNotInLoop</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>ImmutableField</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>MethodNamingConventions</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>DuplicateImports</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>ProperCloneImplementation</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>UseNotifyAllInsteadOfNotify</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>UseArrayListInsteadOfVector</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>FinalizeOnlyCallsSuperFinalize</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>AvoidFieldNameMatchingMethodName</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>ExceptionTypeChecking</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>ExceptionAsFlowControl</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>AvoidCatchingNPE</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>UseLocaleWithCaseConversions</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>MethodReturnsInternalArray</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>NonCaseLabelInSwitchStatement</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>AvoidDuplicateLiterals</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>SignatureDeclareThrowsException</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>ClassNamingConventions</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>ReturnFromFinallyBlock</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>AvoidCallingFinalize</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>SuspiciousEqualsMethodName</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>AvoidSynchronizedAtMethodLevel</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>OverrideBothEqualsAndHashcode</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>TooManyFields</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>CloneMethodMustImplementCloneable</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>AvoidFieldNameMatchingTypeName</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>CyclomaticComplexity</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>MissingBreakInSwitch</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>MoreThanOneLogger</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>EmptyFinalizer</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>ExcessivePublicCount</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>AccessorClassGeneration</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>UnnecessaryFinalModifier</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>EmptyStaticInitializer</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>ShortMethodName</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>AvoidCatchingThrowable</name><ruleset>pmd-eclipse</ruleset></rule><rule><name>AvoidNonConstructorMethodsWithClassName</name><ruleset>pmd-eclipse</ruleset></rule></rules></pmd>