Inspectopedia 2025.3 Help

Data flow analysis

Constant condition  

Reports conditions in code that always evaluate to true or false.

Data flow analysis  

Write your description here.

Error may be not nil  

Reports instances where variables might have nil or an unexpected value because of the associated error that is not checked for being non-nil, as in v, err := foo().

Interprocedural potential nil dereference  

This inspection detects potential nil dereferences, taking into account all function calls.

Potential nil dereference  

Reports instances where pointers that might be nil are dereferenced.

Potential resource leak   New in this release

Reports potential resource leaks, such as unclosed files, SQL rows, HTTP response bodies, or other resources that implement io.Closer and require explicit closure.

Last modified: 03 November 2025