Inspectopedia Help

Embedded

'RecordStore' opened but not safely closed  

Reports Java ME javax.microedition.rms.RecordStore resources that are not opened in front of a try block and closed in the corresponding finally block.

Abstract class with a single direct inheritor  

Reports abstract classes that have precisely one direct inheritor.

Array.length in loop condition  

Reports accesses to the .length property of an array in the condition part of a loop statement.

Connection opened but not safely closed  

Reports Java ME javax.microedition.io.Connection resources that are not opened in front of a try block and closed in the corresponding finally block.

Interface with a single direct inheritor  

Reports interfaces that have precisely one direct inheritor.

Large array allocation with no OutOfMemoryError check  

Reports large array allocations which do not check for java.lang.OutOfMemoryError.

Method call in loop condition  

Reports method calls in the condition part of a loop statement.

Multiplication or division by power of two  

Reports multiplication of an integer value by a constant integer that can be represented as a power of two.

Overly large initializer for array of primitive type  

Reports array initializer expressions for primitive arrays that contain too many elements.

Single character 'startsWith()' or 'endsWith()'  

Reports calls to String.startsWith() and String.endsWith() where single character string literals are passed as an argument.

Synthetic accessor call  

Reports references from a nested class to non-constant private members of an outer class.

Last modified: 18 June 2024