First pass at getting the metrics to pass

This is necessary so this can go to master without breaking the
build. I still need to address or whitelist the reek smells before merging.
Test coverage is high, but flay, flog and yardstick need some love.