header icons

tools.cdt Practices



Name Mnemo Priority Category Count Source
BC: Impossible cast BC_IMPOSSIBLE_CAST 1 COR REL 2 FindBugs Rules 3.0.0
Switch Statements Should Have Default SwitchStmtsShouldHaveDefault 1 REL 792 PMD Design Rules 5.1.2
Double Checked Locking DoubleCheckedLocking 1 REL 2 PMD Basic Rules 5.1.2
Broken NullCheck BrokenNullCheck 1 REL 11 PMD Basic Rules 5.1.2
Position Literals First In Comparisons PositionLiteralsFirstInComparisons 2 REL 767 PMD Design Rules 5.1.2
Confusing Ternary ConfusingTernary 2 ANA 3393 PMD Design Rules 5.1.2
Unconditional If Statement UnconditionalIfStatement 2 ANA 2 PMD Basic Rules 5.1.2
Jumbled Incrementer JumbledIncrementer 2 CHA REL 9 PMD Basic Rules 5.1.2
Boolean Instantiation BooleanInstantiation 2 ANA 126 PMD Basic Rules 5.1.2
Non Case Label In Switch Statement NonCaseLabelInSwitchStatement 2 ANA 2 PMD Design Rules 5.1.2
DMI: Invocation of hashCode on an array DMI_INVOKING_HASHCODE_ON_ARRAY 2 COR 1 FindBugs Rules 3.0.0
Override Both Equals And Hash code OverrideBothEqualsAndHashcode 2 CHA REU 60 PMD Basic Rules 5.1.2
Return From Finally Block ReturnFromFinallyBlock 2 REL 5 PMD Basic Rules 5.1.2
Preserve Stack Trace PreserveStackTrace 2 ANA 199 PMD Design Rules 5.1.2
Non Static Initializer NonStaticInitializer 2 ANA 239 PMD Design Rules 5.1.2
Missing Break In Switch MissingBreakInSwitch 2 REL CHA 176 PMD Design Rules 5.1.2
Constructor Calls Overridable Method ConstructorCallsOverridableMethod 2 REL 266 PMD Design Rules 5.1.2
Avoid Branching Statement As Last In Loop AvoidBranchingStatementAsLastInLoop 2 ANA 44 PMD Basic Rules 5.1.2
EC: equals() used to compare array and nonarray EC_ARRAY_AND_NONARRAY 2 COR 4 FindBugs Rules 3.0.0
Position Literals First In Case Insensitive Comparisons PositionLiteralsFirstInCaseInsensitiveComparisons 2 REL 65 PMD Design Rules 5.1.2
Avoid Using Hard Coded IP AvoidUsingHardCodedIP 2 CHA REU POR 22 PMD Basic Rules 5.1.2
Avoid Deeply Nested If Statements AvoidDeeplyNestedIfStmts 2 ANA CHA TES 1137 PMD Design Rules 5.1.2
Non Thread Safe Singleton NonThreadSafeSingleton 2 REL 140 PMD Design Rules 5.1.2
Eq: equals method always returns false EQ_ALWAYS_FALSE 2 COR REU 2 FindBugs Rules 3.0.0
God Class GodClass 2 ANA CHA 1122 PMD Design Rules 5.1.2
Avoid Reassigning Parameters AvoidReassigningParameters 2 CHA 1940 PMD Design Rules 5.1.2
Class With Only Private Constructors Should Be Final ClassWithOnlyPrivateConstructorsShouldBeFinal 2 ANA 335 PMD Design Rules 5.1.2