Replace MetricFu for CodeClimate