In-line pinhole and blister detection