code metrics for heterogeneous software projects (originally: https://bitbucket.org/markfink/metrics)