Inspectopedia 2025.3 Help

New Inspections in This Release

C++

Name

Description

Compiler errors

Show compiler errors from ReSharper backend.

C/C++

Name

Description

Allocations of memory that were not released

Reports memory allocations (using either 'new' or 'malloc()') that were not released before becoming inaccessible.

Array access expressions where index may be out of bounds

Reports array or pointer variable access expressions where index may be out of bounds of an array or allocated buffer.

Compile-time evaluation failure

Expression or declarator value did not evaluate to a constant due to the error during 'constexpr' calculations.

Conditions that are always true or false

Reports conditions that are always true or false and expressions whose value is statically proven to be constant.

Dataflow inspection timed out

Dataflow inspection has reached the time or memory limit and cannot be evaluated in either context-sensitive or context-insensitive mode.

Dereferences of pointers that may contain nullptr

Reports dereferences of pointers that may contain nullptr.

Endless loop statements

Reports 'for', 'while', 'do-while', and 'goto' statements that exit only by throwing an exception.

Fields that may have not been initialized before their usage

Reports fields that may not have been initialized before being used.

Function parameters that always have the same value

Reports function parameters that always have the same value.

Functions that call themselves infinitely

Reports functions that call themselves infinitely unless an exception is thrown.

Functions whose calls are never used

Reports functions whose calls are never used.

Functions whose return value is always the same constant

Reports functions where the return value is always the same constant.

Local variables that are declared but never accessed for reading

Reports local variables that are declared but never accessed for reading.

Loop conditions that are not updated inside the loop

Reports loop conditions that are not updated inside the loop.

References to local values that escape the function

Reports references to local values that escape the function through returns, assignments to global variables, or fields.

References to local variables that escape their scope

Reports variables with references to the local variables that escape their scope.

References to the contents of invalidated containers

Reports references to the contents of invalidated containers.

Unreachable code

Reports code pieces that are never executed in any control flow and can be removed safely.

Usages of pointers that refer to deleted memory

Reports usages of pointers that refer to memory already deleted by the delete operator or the free(void* ptr) function.

Variable values that are never used after being assigned

Reports variable values that are never used after being assigned.

Go

Name

Description

Detect usages of runtime.SetFinalizer

Detects usages of runtime.SetFinalizer.

Pointer creation with 'new()'

Syntax update: pointer creation with new().

Potential resource leak

Reports potential resource leaks, such as unclosed files, SQL rows, HTTP response bodies, or other resources that implement io.Closer and require explicit closure.

Redundant 'else' in 'if'

Reports redundant else clauses in if statements that contain a return.

Type-safe error unwrapping with 'errors.AsType'

Syntax update: type-safe error unwrapping with errors.AsType Reports usages of errors.As that can be replaced with errors.AsType, a generic function introduced in Go 1.26 that unwraps errors in a type-safe way and returns a typed result directly.

Rust

Name

Description

File metadata for a Rust file (internal)

This inspection is for internal use only.

Partly unknown type (internal)

This inspection is for internal use only.

Unexpanded macro (internal)

This is an internal only inspection.

Unknown type (internal)

This inspection is for internal use only.

Last modified: 04 March 2026