The difference between patent and latent defects