Rewrote in Python for speed as well as adding a capability to enforce a
per-file code coverage minimum.