move getStats to adapter.js

Guess we should also reject here, if we can't parse the report (sorry, I know this is my crappy code you're pasting around).