dud vs in working order

dud

noun
  • A lottery ticket that does not give a payout. 

  • A failure of any kind. 

  • A device or machine that is useless because it does not work properly or has failed to work, such as a bomb, or explosive projectile. 

  • A loser; an unlucky person. 

in working order

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