bad egg vs rotten apple

bad egg

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

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

rotten apple

noun
  • A bad person, especially one who has a corrupting influence on others: a bad apple. 

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