imperfectly vs to a degree

imperfectly

adv
  • In an imperfect manner or degree; not fully or completely. 

to a degree

prep
  • Somewhat, a little 

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