- 18.07 (released) ...
CA005 - Useless object test local
For local variables and feature arguments it is unnecessary to use an object test to check their attachment status.
Scope feature Status Enabled Severity Suggestion Applicability All Score 40
Example of violation
Remove the object test local, or replace the object test and use a comparison to
In the example, it can simply be: