Package texlive-chklref

Check for problems with labels in LaTeX

http://tug.org/texlive/

It is quite common that after modifying a TeX file, many unused
labels remain in it. The purpose of chklref is to automatically
find these useless labels. It also looks for "non starred"
mathematical environments with no labels and advises the user
to use a starred version instead.

General Commands

chklref manual page for chklref 3.1.2