Inspectopedia 2024.3 Help

Probable bugs

'equals()' between objects of inconvertible types  

Reports calls to equals() where the target and argument are of incompatible types.

Division by zero  

Reports divisions by zero or remainders by zero.

Exhaustiveness check for switch expressions   New in this release

Reports switch expressions that do not cover all possible outcomes of the matched expression.

Inaccessible element   New in this release

Reports references which exceed access rights.

Incompatible 'in' argument types   New in this release

Reports usages of membership operator in with items and containers of incompatible types.

Incorrect range arguments   New in this release

Reports types used in ranges that do not have a next() or previous() method or do not implement the java.lang.Comparable interface.

Infinite loop statement  

Reports for, while, or do statements which can only exit by throwing an exception.

Infinite recursion  

Reports methods which must either recurse infinitely or throw an exception.

Labeled statement inspection   New in this release

Reports labels already used in parent workflow.

Named arguments of constructor call   New in this release

Reports named arguments of a default class constructor call which don't correspond to properties of this class.

Non short-circuit boolean   New in this release

Reports the non-short-circuit forms of boolean operators 'and' and 'or' ( & and | ).

Non-extending permitted subclasses   New in this release

Reports permitted classes that do not extend the sealed base class.

Result of object allocation ignored  

Reports object allocation where the result of this operation is ignored.

Second unsafe call   New in this release

Reports possible NullPointerException during chain methods or properties call.

Unresolved GroovyDoc reference   New in this release

Reports unresolved references inside GroovyDoc comments.

Unresolved reference expression   New in this release

Reports reference expressions which cannot be resolved.

Untyped reference expression   New in this release

Reports reference expressions whose type can't be determined.

Last modified: 11 September 2024