![]() | |
|
Code Correctness: Class Does Not Implement Cloneable
Abstract This class implements a clone() method but does not
implement Cloneable. ...
Poor Logging Practice: Use of a System Output Stream
Abstract Using System.out or System.err rather than a
dedicated logging facility makes it...
Poor Logging Practice: Multiple Loggers Abstract It is a
poor logging practice to use multiple loggers rather than
logging levels in a single...
Poor Logging Practice: Logger Not Declared Static Final
Abstract Loggers should be declared to be static and final.
Description It is good...
Null Dereference Abstract The program can potentially
dereference a null pointer, thereby raising a
NullPointerException. Description Null...
Memory Leak Abstract Memory is allocated but never freed.
Description Memory leaks have two common and sometimes
overlapping causes: ...
Leftover Debug Code Abstract Debug code can create
unintended entry points in a deployed web application.
Description A common development...
Double Free Abstract Calling free() twice on the same memory
address can lead to a buffer overflow. Description Double
free errors occur...
Dead Code: Unused Method Abstract This method is not
reachable from any method outside the class. Description
This method is never called...
Dead Code: Unused Field Abstract This field is never used.
Description This field is never accessed, except perhaps by
dead code. It is...
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...
Dead Code: Expression is Always False Abstract This
expression will always evaluate to false. Description This
expression will always...
Dead Code: Broken Override Abstract This method fails to
override a similar method in its superclass because their
parameter lists do not match....
Code Correctness: null Argument to equals() Abstract The
expression obj.equals(null) should always be false.
Description The program uses...
Code Correctness: Misspelled Method Name Abstract This looks
like an effort to override a common Java method, but it
probably does not have the...
Code Correctness: Erroneous String Compare Abstract Strings
should be compared with the equals() method, not == or !=.
Description ...
Poor Style: Confusing Naming Abstract The class contains a
field and a method with the same name. Description It is
confusing to have a...
Portability Flaw Abstract Functions with inconsistent
implementations across operating systems and operating
system versions cause portability...
Undefined Behavior Abstract The behavior of this function is
undefined unless its control parameter is set to a specific
value. Description ...
Uninitialized Variable Abstract The program can potentially
use a variable before it has been initialized. Description
Stack variables in C...
Unreleased Resource Abstract The program can potentially
fail to release a system resource. Description Most
unreleased resource issues...
Unsafe Mobile Code: Public finalize() Method Abstract The
program violates secure coding principles for mobile code by
declaring a...
Unsafe Mobile Code: Inner Class Abstract The program
violates secure coding principles for mobile code by making
use of an inner class. ...
Unsafe Mobile Code: Dangerous Public Field Abstract The
program violates secure coding principles for mobile code by
declaring a member variable...
Unsafe Mobile Code: Dangerous Array Declaration Abstract The
program violates secure coding principles for mobile code by
declaring an array...
Unsafe Mobile Code: Access Violation bstract The program
violates secure coding principles for mobile code by
returning a private array variable...
Use of Obsolete Methods Abstract The use of deprecated or
obsolete functions may indicate neglected code. Description
As programming...
Using freed memory Abstract Referencing memory after it has
been freed can cause a program to crash. Overview The use of
heap allocated...
|

