Inspectopedia Help

Unused symbols

Redundant property initializer  

Reports the fields with default initializers that are always overwritten in the class constructor.

Unused declaration  

Reports the classes, methods, functions, constants, or properties that are not used or not reachable from entry points.

Unused import  

Reports the imports that are never used.

Unused local variable  

Reports the variables that are considered unused in the following cases: The value of the variable is not used anywhere or is overwritten immediately.

Unused parameter  

Reports the parameters that are considered unused in the following cases: The parameter is passed by value, and the value is not used anywhere or is overwritten immediately.

Unused private method  

Reports the private methods that are never used.

Unused private property  

Reports the private properties that are never used.

Last modified: 18 June 2024