document Code Correctness: Class Does Not Implement Cloneable

Code Correctness: Class Does Not Implement Cloneable Abstract This class implements a clone() method but does not implement Cloneable. ...

 document Poor Logging Practice: Use of a System Output Stream

Poor Logging Practice: Use of a System Output Stream Abstract Using System.out or System.err rather than a dedicated logging facility makes it...

 document Poor Logging Practice: Multiple Loggers

Poor Logging Practice: Multiple Loggers Abstract It is a poor logging practice to use multiple loggers rather than logging levels in a single...

 document Poor Logging Practice: Logger Not Declared Static Final

Poor Logging Practice: Logger Not Declared Static Final Abstract Loggers should be declared to be static and final. Description It is good...

 document Null Dereference

Null Dereference Abstract The program can potentially dereference a null pointer, thereby raising a NullPointerException. Description Null...

 document Memory Leak

Memory Leak Abstract Memory is allocated but never freed. Description Memory leaks have two common and sometimes overlapping causes: ...

document Leftover Debug Code

Leftover Debug Code Abstract Debug code can create unintended entry points in a deployed web application. Description A common development...

document Double Free

Double Free Abstract Calling free() twice on the same memory address can lead to a buffer overflow. Description Double free errors occur...

 document Dead Code: Unused Method

Dead Code: Unused Method Abstract This method is not reachable from any method outside the class. Description This method is never called...

document Dead Code: Unused Field

Dead Code: Unused Field Abstract This field is never used. Description This field is never accessed, except perhaps by dead code. It is...
document Dead Code: Expression is Always True
Dead Code: Expression is Always True Abstract This expression will always evaluate to true. Description This expression will always...

 document Dead Code: Expression is Always False

Dead Code: Expression is Always False Abstract This expression will always evaluate to false. Description This expression will always...

document Dead Code: Broken Override

Dead Code: Broken Override Abstract This method fails to override a similar method in its superclass because their parameter lists do not match....

 document Code Correctness: null Argument to equals()

Code Correctness: null Argument to equals() Abstract The expression obj.equals(null) should always be false. Description The program uses...

 document Code Correctness: Misspelled Method Name

Code Correctness: Misspelled Method Name Abstract This looks like an effort to override a common Java method, but it probably does not have the...

 document Code Correctness: Erroneous String Compare

Code Correctness: Erroneous String Compare Abstract Strings should be compared with the equals() method, not == or !=. Description ...

 document Poor Style: Confusing Naming

Poor Style: Confusing Naming Abstract The class contains a field and a method with the same name. Description It is confusing to have a...

 document Portability Flaw

Portability Flaw Abstract Functions with inconsistent implementations across operating systems and operating system versions cause portability...

 document Undefined Behavior

Undefined Behavior Abstract The behavior of this function is undefined unless its control parameter is set to a specific value. Description ...

 document Uninitialized Variable

Uninitialized Variable Abstract The program can potentially use a variable before it has been initialized. Description Stack variables in C...

document Unreleased Resource

Unreleased Resource Abstract The program can potentially fail to release a system resource. Description Most unreleased resource issues...

document Unsafe Mobile Code: Public finalize() Method

Unsafe Mobile Code: Public finalize() Method Abstract The program violates secure coding principles for mobile code by declaring a...

 document Unsafe Mobile Code: Inner Class

Unsafe Mobile Code: Inner Class Abstract The program violates secure coding principles for mobile code by making use of an inner class. ...

document Unsafe Mobile Code: Dangerous Public Field

Unsafe Mobile Code: Dangerous Public Field Abstract The program violates secure coding principles for mobile code by declaring a member variable...

 document Unsafe Mobile Code: Dangerous Array Declaration

Unsafe Mobile Code: Dangerous Array Declaration Abstract The program violates secure coding principles for mobile code by declaring an array...

 document Unsafe Mobile Code: Access Violation

Unsafe Mobile Code: Access Violation bstract The program violates secure coding principles for mobile code by returning a private array variable...

document Use of Obsolete Methods

Use of Obsolete Methods Abstract The use of deprecated or obsolete functions may indicate neglected code. Description As programming...

 document Using freed memory

Using freed memory Abstract Referencing memory after it has been freed can cause a program to crash. Overview The use of heap allocated...