on the surface vs to all intents and purposes

on the surface

prep
  • apparently, outwardly; superficially 

to all intents and purposes

prep
  • For every functional purpose; in every practical sense; in every important respect; practically speaking. 

How often have the words on the surface and to all intents and purposes occurred in a corpus of books? (source: Google Ngram Viewer )