Added code metrics. Fixed CS.