pmd-eclipse source codefalseAbstractClassWithoutAbstractMethodDesign RulesAbstractNamingNaming RulesAccessorClassGenerationDesign RulesAppendCharacterWithCharString and StringBuffer RulesArrayIsStoredDirectlySecurity Code GuidelinesAssignmentInOperandControversial RulesAssignmentToNonFinalStaticDesign RulesAvoidArrayLoopsOptimization RulesAvoidAssertAsIdentifierMigration RulesAvoidCallingFinalizeFinalizer RulesAvoidCatchingNPEStrict Exception RulesAvoidCatchingThrowableStrict Exception RulesAvoidConstantsInterfaceDesign RulesAvoidDecimalLiteralsInBigDecimalConstructorBasic RulesAvoidDeeplyNestedIfStmtsDesign RulesAvoidDollarSignsNaming RulesAvoidDuplicateLiteralsString and StringBuffer RulesAvoidEnumAsIdentifierMigration RulesAvoidFieldNameMatchingMethodNameNaming RulesAvoidFieldNameMatchingTypeNameNaming RulesAvoidInstanceofChecksInCatchClauseDesign RulesAvoidInstantiatingObjectsInLoopsOptimization RulesAvoidNonConstructorMethodsWithClassNameNaming RulesAvoidPrintStackTraceJava Logging RulesAvoidProtectedFieldInFinalClassDesign RulesAvoidReassigningParametersDesign RulesAvoidSynchronizedAtMethodLevelDesign RulesAvoidThreadGroupBasic RulesAvoidThrowingNullPointerExceptionStrict Exception RulesAvoidThrowingRawExceptionTypesStrict Exception RulesBadComparisonDesign RulesBooleanInstantiationBasic RulesBooleanInversionControversial RulesCallSuperInConstructorControversial RulesClassCastExceptionWithToArrayBasic RulesClassNamingConventionsNaming RulesCloneMethodMustImplementCloneableType Resolution RulesCloneThrowsCloneNotSupportedExceptionClone Implementation RulesCloseResourceDesign RulesCollapsibleIfStatementsBasic RulesCompareObjectsWithEqualsDesign RulesConfusingTernaryDesign RulesConsecutiveLiteralAppendsString and StringBuffer RulesConstructorCallsOverridableMethodDesign RulesCouplingBetweenObjectsCoupling RulesCyclomaticComplexityCode Size RulesDefaultLabelNotLastInSwitchStmtDesign RulesDefaultPackageControversial RulesDontImportJavaLangImport Statement RulesDontImportSunControversial RulesDoubleCheckedLockingBasic RulesDuplicateImportsImport Statement RulesEmptyCatchBlockBasic RulesEmptyFinalizerFinalizer RulesEmptyFinallyBlockBasic RulesEmptyIfStmtBasic RulesEmptyStatementNotInLoopBasic RulesEmptyStaticInitializerBasic RulesEmptySwitchStatementsBasic RulesEmptySynchronizedBlockBasic RulesEmptyTryBlockBasic RulesEmptyWhileStmtBasic RulesEqualsNullDesign RulesExceptionAsFlowControlStrict Exception RulesExcessiveClassLengthCode Size RulesExcessiveImportsCoupling RulesExcessiveMethodLengthCode Size RulesExcessiveParameterListCode Size RulesExcessivePublicCountCode Size RulesFinalFieldCouldBeStaticDesign RulesFinalizeDoesNotCallSuperFinalizeFinalizer RulesFinalizeOnlyCallsSuperFinalizeFinalizer RulesFinalizeOverloadedFinalizer RulesFinalizeShouldBeProtectedFinalizer RulesForLoopShouldBeWhileLoopBasic RulesForLoopsMustUseBracesBraces RulesIdempotentOperationsDesign RulesIfElseStmtsMustUseBracesBraces RulesIfStmtsMustUseBracesBraces RulesImmutableFieldDesign RulesImportFromSamePackageImport Statement RulesInefficientEmptyStringCheckString and StringBuffer RulesInefficientStringBufferingString and StringBuffer RulesInstantiationToGetClassDesign RulesInsufficientStringBufferDeclarationString and StringBuffer RulesJumbledIncrementerBasic RulesLocalVariableCouldBeFinalOptimization RulesLoggerIsNotStaticFinalJava Logging RulesLooseCouplingType Resolution RulesMethodNamingConventionsNaming RulesMethodReturnsInternalArraySecurity Code GuidelinesMethodWithSameNameAsEnclosingClassNaming RulesMisleadingVariableNameNaming RulesMisplacedNullCheckBasic RulesMissingBreakInSwitchDesign RulesMissingSerialVersionUIDJavaBean RulesMissingStaticMethodInNonInstantiatableClassDesign RulesNoPackageNaming RulesNonCaseLabelInSwitchStatementDesign RulesNonStaticInitializerDesign RulesNonThreadSafeSingletonDesign RulesNullAssignmentControversial RulesOnlyOneReturnControversial RulesOptimizableToArrayCallDesign RulesOverrideBothEqualsAndHashcodeBasic RulesPackageCaseNaming RulesPositionLiteralsFirstInComparisonsDesign RulesPreserveStackTraceDesign RulesProperCloneImplementationClone Implementation RulesProperLoggerJakarta Commons Logging RulesReplaceEnumerationWithIteratorMigration RulesReplaceHashtableWithMapMigration RulesReplaceVectorWithListMigration RulesReturnFromFinallyBlockBasic RulesShortMethodNameNaming RulesSignatureDeclareThrowsExceptionStrict Exception RulesSimpleDateFormatNeedsLocaleDesign RulesSimplifyBooleanAssertionJUnit RulesSimplifyBooleanExpressionsDesign RulesSimplifyBooleanReturnsDesign RulesSimplifyConditionalDesign RulesSimplifyStartsWithOptimization RulesSingularFieldControversial RulesStringInstantiationString and StringBuffer RulesStringToStringString and StringBuffer RulesSuspiciousConstantFieldNameNaming RulesSuspiciousEqualsMethodNameNaming RulesSuspiciousHashcodeMethodNameNaming RulesSuspiciousOctalEscapeControversial RulesSwitchDensityDesign RulesSwitchStmtsShouldHaveDefaultDesign RulesSystemPrintlnJava Logging RulesTestClassWithoutTestCasesJUnit RulesTooManyFieldsCode Size RulesUncommentedEmptyConstructorDesign RulesUncommentedEmptyMethodDesign RulesUnconditionalIfStatementBasic RulesUnnecessaryBooleanAssertionJUnit RulesUnnecessaryCaseChangeString and StringBuffer RulesUnnecessaryConstructorControversial RulesUnnecessaryConversionTemporaryBasic RulesUnnecessaryFinalModifierBasic RulesUnnecessaryLocalBeforeReturnDesign RulesUnnecessaryParenthesesControversial RulesUnnecessaryReturnBasic RulesUnsynchronizedStaticDateFormatterDesign RulesUnusedFormalParameterUnused Code RulesUnusedImportsImport Statement RulesUnusedLocalVariableUnused Code RulesUnusedModifierControversial RulesUnusedNullCheckInEqualsBasic RulesUnusedPrivateFieldUnused Code RulesUnusedPrivateMethodUnused Code RulesUseArrayListInsteadOfVectorOptimization RulesUseArraysAsListOptimization RulesUseAssertEqualsInsteadOfAssertTrueJUnit RulesUseAssertNullInsteadOfAssertTrueJUnit RulesUseAssertSameInsteadOfAssertTrueJUnit RulesUseCorrectExceptionLoggingJakarta Commons Logging RulesUseIndexOfCharString and StringBuffer RulesUseLocaleWithCaseConversionsDesign RulesUseNotifyAllInsteadOfNotifyDesign RulesUseSingletonDesign RulesUseStringBufferForStringAppendsOptimization RulesUseStringBufferLengthString and StringBuffer RulesUselessOperationOnImmutableBasic RulesUselessOverridingMethodBasic RulesVariableNamingConventionsNaming RulesWhileLoopsMustUseBracesBraces Rulesfalse