generate the code metrics from exists tools