Inspectopedia
 
2024.3

Suspicious names combination

Warning
New
Last modified: 03 December 2024

Reports the assignments and function calls where the name of the variable or parameter probably doesn't match the name of the assigned or passed value.

The following sets of names are supported:

  • needle, haystack

  • x, y

  • top, bottom, left, right

  • year, month, week, day, hour, minute, second