Inspectopedia Help

Data Flow Analysis

Array Index Out Of Bounds   New in this release

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

Constant Function Result   New in this release

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

Constant Parameter   New in this release

Reports function parameters that always have the same value.

Constant condition  

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

Context-sensitive analysis   New in this release

Reports the issues found by the context-sensitive data flow analyser.

Dangling Pointer   New in this release

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

Endless Loop   New in this release

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

Infinite Recursion   New in this release

Reports methods and functions with infinite recursion.

Interprocedural analysis   New in this release

Interprocedural summary-based static code analysis.

Local Value Escapes Scope   New in this release

Reports the references to local values that escape the function Example: int *escapeLocalScope() { int lv = 100; return &lv; }.

Loop condition isn't updated inside the loop   New in this release

Reports the loop conditions that are not updated inside the loop.

Memory Leak   New in this release

Reports the allocations of memory (either new operator or malloc() function) that were not released before they become non-accessible.

Not Initialized Field   New in this release

Reports the fields that may have not been initialized before their usage.

Null Dereference   New in this release

Reports dereferences of the pointers that may contain nullptr.

Unreachable Calls Of Function   New in this release

Reports the functions which calls are never used.

Unreachable Code   New in this release

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

Unused Local Variable   New in this release

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

Unused Parameter   New in this release

Reports the parameters that are declared but never accessed for reading and can be removed safely.

Unused Value   New in this release

Reports the variable values that are never used after being assigned.

Last modified: 11 September 2024