Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
rule.pmd-unit-tests.JUnitAssertionsShouldIncludeMessage.name=JUnit assertions should include a message
rule.pmd-unit-tests.JUnitSpelling.name=JUnit spelling
rule.pmd-unit-tests.JUnitStaticSuite.name=JUnit static suite
rule.pmd-unit-tests.JUnitTestsShouldIncludeAssert.name=JUnit tests should include an assert
rule.pmd-unit-tests.SimplifyBooleanAssertion.name=Simplify boolean assertion
rule.pmd-unit-tests.TestClassWithoutTestCases.name=Test class without test cases (JUnit 3.x only)
rule.pmd-unit-tests.UnnecessaryBooleanAssertion.name=Unnecessary boolean assertion
rule.pmd-unit-tests.UseAssertEqualsInsteadOfAssertTrue.name=Use assertEquals instead of assertTrue
rule.pmd-unit-tests.UseAssertNullInsteadOfAssertTrue.name=Use assertNull instead of assertTrue
rule.pmd-unit-tests.UseAssertSameInsteadOfAssertTrue.name=Use assertSame instead of assertTrue
rule.pmd.AbstractClassWithoutAbstractMethod.name=Abstract Class Without Abstract Method
rule.pmd.AbstractClassWithoutAnyMethod.name=Abstract class without any methods
rule.pmd.AbstractNaming.name=Abstract naming
rule.pmd.AccessorClassGeneration.name=Accessor Class Generation
rule.pmd.AddEmptyString.name=Add Empty String
rule.pmd.AppendCharacterWithChar.name=Append Character With Char
rule.pmd.ArrayIsStoredDirectly.name=Security - Array is stored directly
rule.pmd.AssignmentInOperand.name=Assignment In Operand
rule.pmd.AssignmentToNonFinalStatic.name=Assignment To Non Final Static
rule.pmd.AtLeastOneConstructor.name=At Least One Constructor
rule.pmd.AvoidAccessibilityAlteration.name=Avoid Accessibility Alteration
rule.pmd.AvoidArrayLoops.name=Avoid Array Loops
rule.pmd.AvoidAssertAsIdentifier.name=Avoid Assert As Identifier
rule.pmd.AvoidCallingFinalize.name=Avoid Calling Finalize
rule.pmd.AvoidCatchingGenericException.name=Avoid Catching Generic Exception
rule.pmd.AvoidCatchingNPE.name=Avoid Catching NPE
rule.pmd.AvoidCatchingThrowable.name=Avoid Catching Throwable
rule.pmd.AvoidConstantsInterface.name=Avoid Constants Interface
rule.pmd.AvoidDecimalLiteralsInBigDecimalConstructor.name=Avoid Decimal Literals In Big Decimal Constructor
rule.pmd.AvoidDeeplyNestedIfStmts.name=Avoid Deeply Nested If Stmts
rule.pmd.AvoidDeeplyNestedIfStmts.param.problemDepth=The if statement depth reporting threshold. Default is 3.
rule.pmd.AvoidDollarSigns.name=Naming - Avoid dollar signs
rule.pmd.AvoidDuplicateLiterals.name=Avoid Duplicate Literals
rule.pmd.AvoidDuplicateLiterals.param.exceptionfile=File containing strings to skip (one string per line), only used if exceptionlist is not set.
rule.pmd.AvoidDuplicateLiterals.param.exceptionlist=Strings in that list are skipped.
rule.pmd.AvoidDuplicateLiterals.param.separator=Separator used in the exceptionlist. Default is ,
rule.pmd.AvoidDuplicateLiterals.param.skipAnnotations=Skip literals within Annotations. Default is false.
rule.pmd.AvoidDuplicateLiterals.param.threshold=The number of duplicate literals reporting threshold. Default is 4.
rule.pmd.AvoidEnumAsIdentifier.name=Avoid Enum As Identifier
rule.pmd.AvoidFieldNameMatchingMethodName.name=Naming - Avoid field name matching method name
rule.pmd.AvoidFieldNameMatchingTypeName.name=Naming - Avoid field name matching type name
rule.pmd.AvoidFinalLocalVariable.name=Avoid Final Local Variable
rule.pmd.AvoidInstanceofChecksInCatchClause.name=Avoid Instanceof Checks In Catch Clause
rule.pmd.AvoidInstantiatingObjectsInLoops.name=Avoid instantiating objects in loops
rule.pmd.AvoidLiteralsInIfCondition.name=Avoid Literals In If Condition
rule.pmd.AvoidLosingExceptionInformation.name=Avoid Losing Exception Information
rule.pmd.AvoidMultipleUnaryOperators.name=Avoid Multiple Unary Operators
rule.pmd.AvoidPrintStackTrace.name=Avoid Print Stack Trace
rule.pmd.AvoidProtectedFieldInFinalClass.name=Avoid Protected Field In Final Class
rule.pmd.AvoidReassigningParameters.name=Avoid Reassigning Parameters
rule.pmd.AvoidRethrowingException.name=Avoid Rethrowing Exception
rule.pmd.AvoidStringBufferField.name=Avoid StringBuffer field
rule.pmd.AvoidSynchronizedAtMethodLevel.name=Avoid Synchronized At Method Level
rule.pmd.AvoidThreadGroup.name=Avoid Thread Group
rule.pmd.AvoidThrowingNewInstanceOfSameException.name=Strict Exception - Avoid throwing new instance of same exception
rule.pmd.AvoidThrowingNullPointerException.name=Avoid Throwing Null Pointer Exception
rule.pmd.AvoidThrowingRawExceptionTypes.name=Avoid Throwing Raw Exception Types
rule.pmd.AvoidUsingHardCodedIP.name=Avoid Using Hard Coded IP
rule.pmd.AvoidUsingHardCodedIP.param.pattern=Regular Expression. Default is ^[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}$
rule.pmd.AvoidUsingNativeCode.name=Avoid Using Native Code
rule.pmd.AvoidUsingOctalValues.name=Avoid Using Octal Values
rule.pmd.AvoidUsingShortType.name=Avoid Using Short Type
rule.pmd.AvoidUsingVolatile.name=Avoid Using Volatile
rule.pmd.BadComparison.name=Bad Comparison
rule.pmd.BeanMembersShouldSerialize.name=Bean Members Should Serialize
rule.pmd.BeanMembersShouldSerialize.param.prefix=A variable prefix to skip, i.e., m_
rule.pmd.BigIntegerInstantiation.name=Big Integer Instantiation
rule.pmd.BooleanGetMethodName.name=Boolean Get Method Name
rule.pmd.BooleanGetMethodName.param.checkParameterizedMethods=Check parameterized methods. Default is false.
rule.pmd.BooleanInstantiation.name=Boolean Instantiation
rule.pmd.BooleanInversion.name=Boolean Inversion
rule.pmd.BrokenNullCheck.name=Broken Null Check
rule.pmd.ByteInstantiation.name=Java5 migration - Byte instantiation
rule.pmd.CallSuperFirst.name=Android - call super first
rule.pmd.CallSuperInConstructor.name=Call Super In Constructor
rule.pmd.CallSuperLast.name=Android - call super last
rule.pmd.CheckResultSet.name=Check ResultSet
rule.pmd.ClassCastExceptionWithToArray.name=Class Cast Exception With To Array
rule.pmd.ClassNamingConventions.name=Naming - Class naming conventions
rule.pmd.ClassWithOnlyPrivateConstructorsShouldBeFinal.name=Class with only private constructors should be final
rule.pmd.CloneMethodMustImplementCloneable.name=Clone method must implement Cloneable
rule.pmd.CloneThrowsCloneNotSupportedException.name=Clone Throws Clone Not Supported Exception
rule.pmd.CloseResource.name=Close Resource
rule.pmd.CloseResource.param.closeTargets=Methods which may close this resource. Default is 'close'.
rule.pmd.CloseResource.param.types=Resources to check. Default value is 'Connection,Statement,ResultSet',
rule.pmd.CollapsibleIfStatements.name=Collapsible If Statements
rule.pmd.CompareObjectsWithEquals.name=Compare Objects With Equals
rule.pmd.ConfusingTernary.name=Confusing Ternary
rule.pmd.ConsecutiveLiteralAppends.name=Consecutive Literal Appends
rule.pmd.ConsecutiveLiteralAppends.param.threshold=The report threshold. Default is 1.
rule.pmd.ConstructorCallsOverridableMethod.name=Constructor Calls Overridable Method
rule.pmd.CouplingBetweenObjects.name=Coupling between objects
rule.pmd.CouplingBetweenObjects.param.threshold=The unique type reporting threshold. Default is 20.
rule.pmd.CyclomaticComplexity.name=Code size - cyclomatic complexity
rule.pmd.CyclomaticComplexity.param.reportLevel=The Cyclomatic Complexity reporting threshold. Default is 10.
rule.pmd.CyclomaticComplexity.param.showClassesComplexity=Indicate if class average violation should be added to the report. Default is true.
rule.pmd.CyclomaticComplexity.param.showMethodsComplexity=Indicate if method average violation should be added to the report. Default is true.
rule.pmd.DataflowAnomalyAnalysis.name=Dataflow Anomaly Analysis
rule.pmd.DataflowAnomalyAnalysis.param.maxpaths=The maximum number of checked paths per method. A lower value will increase the performance of the rule but may decrease the number of found anomalies. Default is 1000.
rule.pmd.DataflowAnomalyAnalysis.param.maxviolations=The maximum number of violations per class. Default is 100.
rule.pmd.DefaultLabelNotLastInSwitchStmt.name=Default label not last in switch statement
rule.pmd.DefaultPackage.name=Default Package
rule.pmd.DoNotCallGarbageCollectionExplicitly.name=Do not call garbage collection explicitly
rule.pmd.DoNotCallSystemExit.name=Do Not Call System Exit
rule.pmd.DoNotExtendJavaLangError.name=Do Not Extend Java Lang Error
rule.pmd.DoNotHardCodeSDCard.name=Android - Do Not Hard Code SD Card
rule.pmd.DoNotThrowExceptionInFinally.name=Strict Exception - Do not throw exception in finally
rule.pmd.DoNotUseThreads.name=Do Not Use Threads
rule.pmd.DontCallThreadRun.name=Dont Call Thread Run
rule.pmd.DontImportJavaLang.name=Dont Import Java Lang
rule.pmd.DontImportSun.name=Dont Import Sun
rule.pmd.DontNestJsfInJstlIteration.name=Dont Nest Jsf In Jstl Iteration
rule.pmd.DoubleCheckedLocking.name=Double checked locking
rule.pmd.DuplicateImports.name=Duplicate Imports
rule.pmd.EmptyCatchBlock.name=Empty Catch Block
rule.pmd.EmptyCatchBlock.param.allowCommentedBlocks=Empty blocks containing comments will be skipped. Default is false.
rule.pmd.EmptyFinalizer.name=Empty Finalizer
rule.pmd.EmptyFinallyBlock.name=Empty Finally Block
rule.pmd.EmptyIfStmt.name=Empty If Stmt
rule.pmd.EmptyInitializer.name=Basic - Empty Initializer
rule.pmd.EmptyMethodInAbstractClassShouldBeAbstract.name=Empty Method In Abstract Class Should Be Abstract
rule.pmd.EmptyStatementNotInLoop.name=Empty Statement Not In Loop
rule.pmd.EmptyStaticInitializer.name=Empty Static Initializer
rule.pmd.EmptySwitchStatements.name=Empty Switch Statements
rule.pmd.EmptySynchronizedBlock.name=Empty Synchronized Block
rule.pmd.EmptyTryBlock.name=Empty Try Block
rule.pmd.EmptyWhileStmt.name=Empty While Stmt
rule.pmd.EqualsNull.name=Equals Null
rule.pmd.ExceptionAsFlowControl.name=Exception As Flow Control
rule.pmd.ExcessiveClassLength.name=Excessive Class Length
rule.pmd.ExcessiveClassLength.param.minimum=The class size reporting threshold. Default is 1000.
rule.pmd.ExcessiveImports.name=Coupling - excessive imports
rule.pmd.ExcessiveImports.param.minimum=The import count reporting threshold. Default is 30.
rule.pmd.ExcessiveMethodLength.name=Excessive Method Length
rule.pmd.ExcessiveMethodLength.param.minimum=The method size reporting threshold. Default is 100.
rule.pmd.ExcessiveParameterList.name=Excessive Parameter List
rule.pmd.ExcessiveParameterList.param.minimum=The parameter count reporting threshold. Default is 10.
rule.pmd.ExcessivePublicCount.name=Excessive Public Count
rule.pmd.ExcessivePublicCount.param.minimum=The public item reporting threshold. Default is 45.
rule.pmd.FinalFieldCouldBeStatic.name=Final Field Could Be Static
rule.pmd.FinalizeDoesNotCallSuperFinalize.name=Finalize Does Not Call Super Finalize
rule.pmd.FinalizeOnlyCallsSuperFinalize.name=Finalize Only Calls Super Finalize
rule.pmd.FinalizeOverloaded.name=Finalize Overloaded
rule.pmd.FinalizeShouldBeProtected.name=Finalize Should Be Protected
rule.pmd.ForLoopShouldBeWhileLoop.name=For Loop Should Be While Loop
rule.pmd.ForLoopsMustUseBraces.name=For Loops Must Use Braces
rule.pmd.GenericsNaming.name=Generics Naming
rule.pmd.GuardDebugLogging.name=Guard Debug Logging
rule.pmd.IdempotentOperations.name=Idempotent Operations
rule.pmd.IfElseStmtsMustUseBraces.name=If Else Stmts Must Use Braces
rule.pmd.IfStmtsMustUseBraces.name=If Stmts Must Use Braces
rule.pmd.ImmutableField.name=Immutable Field
rule.pmd.ImportFromSamePackage.name=Import From Same Package
rule.pmd.InefficientEmptyStringCheck.name=Inefficient Empty String Check
rule.pmd.InefficientStringBuffering.name=Inefficient String Buffering
rule.pmd.InstantiationToGetClass.name=Instantiation To Get Class
rule.pmd.InsufficientStringBufferDeclaration.name=Insufficient String Buffer Declaration
rule.pmd.IntegerInstantiation.name=Integer Instantiation
rule.pmd.JumbledIncrementer.name=Jumbled Incrementer
rule.pmd.LocalHomeNamingConvention.name=Local Home Naming Convention
rule.pmd.LocalInterfaceSessionNamingConvention.name=Local Interface Session Naming Convention
rule.pmd.LocalVariableCouldBeFinal.name=Local variable could be final
rule.pmd.LoggerIsNotStaticFinal.name=Logger Is Not Static Final
rule.pmd.LongInstantiation.name=Java5 migration - Long instantiation
rule.pmd.LongVariable.name=Long Variable
rule.pmd.LongVariable.param.minimum=The variable length reporting threshold. Default is 17.
rule.pmd.LooseCoupling.name=Loose coupling
rule.pmd.MDBAndSessionBeanNamingConvention.name=Message Driven Bean And Session Bean Naming Convention
rule.pmd.MethodArgumentCouldBeFinal.name=Method Argument Could Be Final
rule.pmd.MethodNamingConventions.name=Naming - Method naming conventions
rule.pmd.MethodReturnsInternalArray.name=Security - Method returns internal array
rule.pmd.MethodWithSameNameAsEnclosingClass.name=Naming - Method with same name as enclosing class
rule.pmd.MisleadingVariableName.name=Naming - Misleading variable name
rule.pmd.MisplacedNullCheck.name=Misplaced Null Check
rule.pmd.MissingBreakInSwitch.name=Missing Break In Switch
rule.pmd.MissingSerialVersionUID.name=Missing Serial Version UID
rule.pmd.MissingStaticMethodInNonInstantiatableClass.name=Missing Static Method In Non Instantiatable Class
rule.pmd.MoreThanOneLogger.name=More Than One Logger
rule.pmd.NPathComplexity.name=NPath complexity
rule.pmd.NPathComplexity.param.minimum=The npath reporting threshold. Default is 200.
rule.pmd.NcssConstructorCount.name=Ncss Constructor Count
rule.pmd.NcssConstructorCount.param.minimum=The constructor NCSS count reporting threshold. Default is 100.
rule.pmd.NcssMethodCount.name=Ncss Method Count
rule.pmd.NcssMethodCount.param.minimum=The method NCSS count reporting threshold. Default is 100.
rule.pmd.NcssTypeCount.name=Ncss Type Count
rule.pmd.NcssTypeCount.param.minimum=The type NCSS count reporting threshold. Default is 1500.
rule.pmd.NoPackage.name=No package
rule.pmd.NonCaseLabelInSwitchStatement.name=Non Case Label In Switch Statement
rule.pmd.NonStaticInitializer.name=Non Static Initializer
rule.pmd.NonThreadSafeSingleton.name=Non Thread Safe Singleton
rule.pmd.NonThreadSafeSingleton.param.checkNonStaticFields=Do not set this to true and checkNonStaticMethods to false. Default is false.
rule.pmd.NonThreadSafeSingleton.param.checkNonStaticMethods=Do not set this to false and checkNonStaticFields to true. Default is true.
rule.pmd.NullAssignment.name=Null Assignment
rule.pmd.OnlyOneReturn.name=Only One Return
rule.pmd.OptimizableToArrayCall.name=Optimizable To Array Call
rule.pmd.OverrideBothEqualsAndHashcode.name=Override both equals and hashcode
rule.pmd.PackageCase.name=Package case
rule.pmd.PositionLiteralsFirstInComparisons.name=Position Literals First In Comparisons
rule.pmd.PreserveStackTrace.name=Preserve Stack Trace
rule.pmd.ProperCloneImplementation.name=Proper clone implementation
rule.pmd.ProperLogger.name=Proper Logger
rule.pmd.ProperLogger.param.staticLoggerName=Default is LOG
rule.pmd.ProtectLogD.name=Android - Protect LOGD
rule.pmd.ProtectLogV.name=Android - Protect LOGV
rule.pmd.RemoteInterfaceNamingConvention.name=Remote Interface Naming Convention
rule.pmd.RemoteSessionInterfaceNamingConvention.name=Remote Session Interface Naming Convention
rule.pmd.ReplaceEnumerationWithIterator.name=Replace Enumeration With Iterator
rule.pmd.ReplaceHashtableWithMap.name=Replace Hashtable With Map
rule.pmd.ReplaceVectorWithList.name=Replace Vector With List
rule.pmd.ReturnEmptyArrayRatherThanNull.name=Return empty array rather than null
rule.pmd.ReturnFromFinallyBlock.name=Return From Finally Block
rule.pmd.ShortInstantiation.name=Java5 migration - Short instantiation
rule.pmd.ShortMethodName.name=Naming - Short method name
rule.pmd.ShortVariable.name=Short Variable
rule.pmd.SignatureDeclareThrowsException.name=Signature Declare Throws Exception
rule.pmd.SimpleDateFormatNeedsLocale.name=Simple Date Format Needs Locale
rule.pmd.SimplifyBooleanExpressions.name=Avoid unnecessary comparisons in boolean expressions
rule.pmd.SimplifyBooleanReturns.name=Simplify boolean returns
rule.pmd.SimplifyConditional.name=Simplify Conditional
rule.pmd.SimplifyStartsWith.name=Simplify Starts With
rule.pmd.SingularField.name=Singular Field
rule.pmd.StaticEJBFieldShouldBeFinal.name=Static EJB Field Should Be Final
rule.pmd.StringBufferInstantiationWithChar.name=String Buffer Instantiation With Char
rule.pmd.StringInstantiation.name=String Instantiation
rule.pmd.StringToString.name=String To String
rule.pmd.SuspiciousConstantFieldName.name=Naming - Suspicious constant field name
rule.pmd.SuspiciousEqualsMethodName.name=Naming - Suspicious equals method name
rule.pmd.SuspiciousHashcodeMethodName.name=Naming - Suspicious Hashcode method name
rule.pmd.SuspiciousOctalEscape.name=Suspicious Octal Escape
rule.pmd.SwitchDensity.name=Switch Density
rule.pmd.SwitchDensity.param.minimum=The switch statement ratio reporting threshold. Default is 10.
rule.pmd.SwitchStmtsShouldHaveDefault.name=Switch statements should have default
rule.pmd.SystemPrintln.name=System Println
rule.pmd.TooFewBranchesForASwitchStatement.name=Too few branches for a switch statement
rule.pmd.TooFewBranchesForASwitchStatement.param.minimumNumberCaseForASwitch=Minimum number of branches for a switch. Default is 3.
rule.pmd.TooManyFields.name=Too Many Fields
rule.pmd.TooManyFields.param.maxfields=The field count reporting threshold. Default is 15.
rule.pmd.TooManyMethods.name=Too many methods
rule.pmd.TooManyMethods.param.maxmethods=The method count reporting threshold. Default is 10.
rule.pmd.TooManyStaticImports.name=Too Many Static Imports
rule.pmd.TooManyStaticImports.param.maximumStaticImports=All static imports can be disallowed by setting this to 0. Default is 4.
rule.pmd.UncommentedEmptyConstructor.name=Uncommented Empty Constructor
rule.pmd.UncommentedEmptyConstructor.param.ignoreExplicitConstructorInvocation=Ignore explicit constructor invocation when deciding whether constructor is empty or not. Default is false.
rule.pmd.UncommentedEmptyMethod.name=Uncommented Empty Method
rule.pmd.UnconditionalIfStatement.name=Unconditional If Statement
rule.pmd.UnnecessaryCaseChange.name=Unnecessary Case Change
rule.pmd.UnnecessaryConstructor.name=Unnecessary constructor
rule.pmd.UnnecessaryConversionTemporary.name=Unnecessary Conversion Temporary
rule.pmd.UnnecessaryFinalModifier.name=Unnecessary Final Modifier
rule.pmd.UnnecessaryLocalBeforeReturn.name=Unnecessary Local Before Return
rule.pmd.UnnecessaryParentheses.name=Unnecessary parentheses
rule.pmd.UnnecessaryReturn.name=Unnecessary Return
rule.pmd.UnnecessaryWrapperObjectCreation.name=Unnecessary Wrapper Object Creation
rule.pmd.UnsynchronizedStaticDateFormatter.name=Unsynchronized Static Date Formatter
rule.pmd.UnusedFormalParameter.name=Unused formal parameter
rule.pmd.UnusedImports.name=Unused imports
rule.pmd.UnusedLocalVariable.name=Unused local variable
rule.pmd.UnusedModifier.name=Unused Modifier
rule.pmd.UnusedNullCheckInEquals.name=Unused Null Check In Equals
rule.pmd.UnusedPrivateField.name=Unused Private Field
rule.pmd.UnusedPrivateMethod.name=Unused private method
rule.pmd.UseArrayListInsteadOfVector.name=Use Array List Instead Of Vector
rule.pmd.UseArraysAsList.name=Use Arrays As List
rule.pmd.UseCollectionIsEmpty.name=Use Collection Is Empty
rule.pmd.UseConcurrentHashMap.name=Use ConcurrentHashMap
rule.pmd.UseCorrectExceptionLogging.name=Use Correct Exception Logging
rule.pmd.UseEqualsToCompareStrings.name=Use Equals To Compare Strings
rule.pmd.UseIndexOfChar.name=Use Index Of Char
rule.pmd.UseLocaleWithCaseConversions.name=Use Locale With Case Conversions
rule.pmd.UseNotifyAllInsteadOfNotify.name=Use Notify All Instead Of Notify
rule.pmd.UseProperClassLoader.name=Use Proper Class Loader
rule.pmd.UseSingleton.name=Use Singleton
rule.pmd.UseStringBufferForStringAppends.name=Use String Buffer For String Appends
rule.pmd.UseStringBufferLength.name=Use String Buffer Length
rule.pmd.UselessOperationOnImmutable.name=Useless Operation On Immutable
rule.pmd.UselessOverridingMethod.name=Useless Overriding Method
rule.pmd.UselessOverridingMethod.param.ignoreAnnotations=Ignore annotations. Default is false.
rule.pmd.UselessStringValueOf.name=Useless String Value Of
rule.pmd.VariableNamingConventions.name=Naming - Variable naming conventions
rule.pmd.VariableNamingConventions.param.memberPrefix=A prefix for member variables
rule.pmd.VariableNamingConventions.param.memberSuffix=A suffix for member variables
rule.pmd.VariableNamingConventions.param.staticPrefix=A prefix for static variables
rule.pmd.VariableNamingConventions.param.staticSuffix=A suffix for static variables
rule.pmd.WhileLoopsMustUseBraces.name=While Loops Must Use Braces
rule.pmd.XPathRule.name=XPath rule template
rule.pmd.XPathRule.param.message=Message to display when a violation occurs.
rule.pmd.XPathRule.param.xpath=XPath expressions.
New to GrepCode? Check out our FAQ X