Inspectopedia 2024.3 Help

Data flow

'nil' dereference   New in this release

Reports possible nil dereferences.

Frozen object modification   New in this release

Reports method calls that attempt to modify frozen objects.

Redundant safe navigation   New in this release

Reports the use of the safe navigation operator (&.) with a non-nil receiver, which can be omitted.

Unreachable code  

Reports unreachable code that will never be executed in any control flow and can be safely removed.

Unused local variable/parameter   New in this release

Reports local variable or parameter declarations and assignments that are unused.

Variable/parameter scope   New in this release

Reports the use of local variables or parameters that may be unsafe: Implicit or explicit variables or parameters that shadow an outer variable or parameter Uninitialized variables or parameters Redundant variable declarations inside blocks.

Last modified: 11 September 2024