applying Dry in the componentStats for program stats