Inspectopedia 2025.3 Help

Redundancies in Code

'if' expression can be replaced with its condition  

'if' expression can be replaced with its condition.

Format string can be replaced with an interpolated string  

Format string can be replaced with an interpolated string.

Lambda expression can be replaced with built-in function  

Lambda expression can be replaced with built-in function.

Lambda expression can be replaced with inner expression  

Lambda expression can be replaced with inner expression.

Lambda expression can be simplified  

Lambda expression can be simplified.

Nested record update can be simplified  

Nested record update can be simplified.

Redundant '.' in indexer  

Redundant '.' in indexer.

Redundant 'as' pattern  

Redundant 'as' pattern.

Redundant 'Attribute' suffix  

Redundant 'Attribute' suffix.

Redundant 'new' keyword  

Redundant 'new' keyword.

Redundant 'open' directive  

Redundant 'open' directive.

Redundant application  

Redundant application.

Redundant attribute parentheses argument  

Redundant attribute parentheses argument.

Redundant concatenation with empty list  

Redundant concatenation with empty list.

Redundant identifier escaping  

Redundant identifier escaping.

Redundant name qualifier  

Redundant name qualifier.

Redundant RequireQualifiedAccess attribute  

Redundant RequireQualifiedAccess attribute.

Redundant string interpolation  

Redundant string interpolation.

Redundant union case fields matching  

Redundant union case fields matching.

Remove redundant parentheses  

Remove redundant parentheses.

Shorthand lambda can be used  

Shorthand lambda can be used.

Use `_` self id  

Use `_` self id.

Last modified: 02 March 2026