Inspectopedia 2024.3 Help

Data flow

Redundant local variable   New in this release

Reports an unnecessary local variable that does not make a function more comprehensible: a local variable that is immediately returned a local variable that is immediately assigned to another variable and is not used anymore a local variable that always has the same value as another local variable or parameter.

Reuse of local variable   New in this release

Reports reusing a local variable and overwriting its value with a new value that is not related to the original variable usage.

Last modified: 11 September 2024