acceptable vs up to code

acceptable

adj
  • worthy, decent, sure of being accepted or received with at least moderate pleasure 

  • Barely worthy, less than excellent; passable. 

up to code

How often have the words acceptable and up to code occurred in a corpus of books? (source: Google Ngram Viewer )