Inspectopedia Help

Probable bugs

Name

Language

'@Deferred' result is unused  

Kotlin

'catch' block may ignore exception  

Kotlin

'equals()' and 'hashCode()' not paired  

Kotlin

'equals()' between objects of inconvertible types  

Kotlin

'lateinit var' property overrides 'lateinit var' property  

Kotlin

Ambiguous coroutineContext due to CoroutineScope receiver of suspend function  

Kotlin

Ambiguous non-local 'break' or 'continue'  

Kotlin

Ambiguous unary operator use with number constant  

Kotlin

Array property in data class  

Kotlin

Arrays comparison via '==' and '!='  

Kotlin

Augmented assignment creates a new collection under the hood  

Kotlin

Constant conditions  

Kotlin

Constructor can never be complete  

Kotlin

Control flow with empty body  

Kotlin

Convert 'object' to 'data object'  

Kotlin

Convert equality check with 'NaN' to 'isNaN' call  

Kotlin

Covariant 'equals()'  

Kotlin

Delegating to 'var' property  

Kotlin

Existing backing field without assignment  

Kotlin

Extension property conflicting with synthetic one  

Kotlin

External interface contains non-nullable boolean property  

Kotlin

External interface contains val property  

Kotlin

Implicit 'Nothing?' type  

Kotlin

Implicit (unsafe) cast from dynamic type  

Kotlin

Incomplete destructuring declaration  

Kotlin

Iterated elements are not used in forEach  

Kotlin

Leaking 'this' in constructor  

Kotlin

Main function should return 'Unit'  

Kotlin

Private data class constructor is exposed via the 'copy' method  

Kotlin

Range with start greater than endInclusive is empty  

Kotlin

Recursive equals call  

Kotlin

Recursive property accessor  

Kotlin

Redundant assignment  

Kotlin

Sealed subclass without state and overridden equals  

Kotlin

Serializable object must implement 'readResolve'  

Kotlin

Suspicious 'var' property: its setter does not influence its getter result  

Kotlin

Suspicious callable reference used as lambda result  

Kotlin

Suspicious combination of == and ===  

Kotlin

Throwable not thrown  

Kotlin

Unresolved reference in KDoc  

Kotlin

Unused equals expression  

Kotlin

Unused result of data class copy  

Kotlin

Unused return value of a function with lambda expression body  

Kotlin

Unused unary operator  

Kotlin

Useless call on collection type  

Kotlin

Useless call on not-null type  

Kotlin

Variable in destructuring declaration uses name of a wrong data class property  

Kotlin

Verify Kotlin documentation  

Kotlin

Last modified: 13 July 2023