inside joke vs pun

inside joke

noun
  • A joke that is understood or meant to be understood only by certain people who are aware of the details. 

pun

noun
  • A joke or type of wordplay in which similar definitions or sounds of two words or phrases, or different definitions of the same word, are deliberately confused. 

verb
  • To make or tell a pun; to make a play on words. 

  • To beat; strike with force; to ram; to pound, as in a mortar; reduce to powder, to pulverize. 

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