Adding method to calculate code health determination