New Inspections in This Release
C++
Name | Description |
|---|---|
Show compiler errors from ReSharper backend. |
C/C++
Name | Description |
|---|---|
Reports memory allocations (using either 'new' or 'malloc()') that were not released before becoming inaccessible. | |
Reports array or pointer variable access expressions where index may be out of bounds of an array or allocated buffer. | |
Expression or declarator value did not evaluate to a constant due to the error during 'constexpr' calculations. | |
Reports conditions that are always true or false and expressions whose value is statically proven to be constant. | |
Dataflow inspection has reached the time or memory limit and cannot be evaluated in either context-sensitive or context-insensitive mode. | |
Reports dereferences of pointers that may contain nullptr. | |
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. |
Reports function parameters that always have the same value. | |
Reports functions that call themselves infinitely unless an exception is thrown. | |
Reports functions whose calls are never used. | |
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. |
Reports loop conditions that are not updated inside the loop. | |
Reports references to local values that escape the function through returns, assignments to global variables, or fields. | |
Reports variables with references to the local variables that escape their scope. | |
Reports references to the contents of invalidated containers. | |
Reports code pieces that are never executed in any control flow and can be removed safely. | |
Reports usages of pointers that refer to memory already deleted by the delete operator or the free(void* ptr) function. | |
Reports variable values that are never used after being assigned. |
Go
Name | Description |
|---|---|
Detects usages of runtime.SetFinalizer. | |
Syntax update: pointer creation with new(). | |
Reports potential resource leaks, such as unclosed files, SQL rows, HTTP response bodies, or other resources that implement io.Closer and require explicit closure. | |
Reports redundant else clauses in if statements that contain a return. | |
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 |
|---|---|
This inspection is for internal use only. | |
This inspection is for internal use only. | |
This is an internal only inspection. | |
This inspection is for internal use only. |