Understanding the Impact of Emotions on the Quality of Software Artifacts