No state or local agency employing peace officers or parking enforcement employees engaged in the enforcement of this code shall use the number of arrests or citations issued by a peace officer or parking enforcement employees as the sole criterion for promotion, demotion, dismissal, or the earning of any benefit provided by the agency. Those arrests or citations, and their ultimate dispositions, may only be considered in evaluating the overall performance of a peace officer or parking enforcement employees. An evaluation may include, but shall not be limited to, criteria such as attendance, punctuality, work safety, complaints by citizens, commendations, demeanor, formal training, and professional judgment.