Looking for something that can go through the relationships defined in models and can check the DB for orphaned records/broken links between tables.
This might depend on what action you want to take with the orphans. Perhaps you just want to delete them? That would be easily solved with a couple of SQL queries.