No No NO. There really Really REALLY has never been a satisfactory set of metrics for code quality. Not for COBOL and not for rails.
Metrics are not so much for code quality as to flag widespread code suckage. I still think this could benefit hiring.