Create cpancover.json.
Fix up getting criteria.