code metrics for heterogeneous software projects