|
Articles
|
|
 |
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.
...
|
|
06 May, 2008
Views: 250
|
|
 |
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...
|
|
06 May, 2008
Views: 267
|
|
 |
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...
|
|
06 May, 2008
Views: 248
|
|
 |
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...
|
|
06 May, 2008
Views: 273
|
|
 |
Null Dereference
Null Dereference
Abstract
The program can potentially dereference a null pointer, thereby raising a NullPointerException.
Description
Null...
|
|
06 May, 2008
Views: 398
|
|
 |
Memory Leak
Memory Leak
Abstract
Memory is allocated but never freed.
Description
Memory leaks have two common and sometimes overlapping causes:
...
|
|
06 May, 2008
Views: 558
|
|
 |
Leftover Debug Code
Leftover Debug Code
Abstract
Debug code can create unintended entry points in a deployed web application.
Description
A common development...
|
|
06 May, 2008
Views: 337
|
|
 |
Double Free
Double Free
Abstract
Calling free() twice on the same memory address can lead to a buffer overflow.
Description
Double free errors occur...
|
|
06 May, 2008
Views: 253
|
|
 |
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...
|
|
06 May, 2008
Views: 255
|
|
 |
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...
|
|
06 May, 2008
Views: 229
|
|