Prioritizing the solutions using program contribution analysis