defect vs flaw

defect

noun
  • A fault or malfunction. 

  • A part by which a figure or quantity is wanting or deficient. 

  • The quantity or amount by which anything falls short. 

verb
  • To desert one's army, to flee from combat. 

  • To abandon or turn against; to cease or change one's loyalty, especially from a military organisation or political party. 

  • To flee one's country and seek asylum. 

  • To join the enemy army. 

flaw

noun
  • A defect, fault, or imperfection, especially one that is hidden. 

  • A storm of short duration. 

  • An inclusion, stain, or other defect of a diamond or other gemstone. 

  • A sudden burst of noise and disorder 

  • A crack or breach, a gap or fissure; a defect of continuity or cohesion. 

  • A defect or error in a contract or other document which may make the document invalid or ineffective. 

  • A sudden burst or gust of wind of short duration; windflaw. 

verb
  • To add a flaw to, to make imperfect or defective. 

  • To become imperfect or defective; to crack or break. 

How often have the words defect and flaw occurred in a corpus of books? (source: Google Ngram Viewer )