homework for Software Statistics