bad egg vs wrongdoer

bad egg

noun
  • Someone whose behaviour is reprehensible or irresponsible; a rogue. 

  • An egg that has gone bad; a rotten egg. 

wrongdoer

noun
  • Someone who does wrong, whether morally, ethically, or in contravention of a law. 

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