Researchers have shown a growing interest in the affective states (i.e., emotions and moods) of developers while performing software engineering tasks. We investigate the association between developers’ sentiment polarity—i.e., negativity and positivity—and bug introduction. To pursue our research objective, we executed a case-control study in the Mining Software Repository (MSR) context. Our exposures are developers’ negativity and positivity captured, by using sentiment analysis, from commit comments of software repositories; while our “disease” is bug introduction—i.e., if the changes of a commit introduce bugs. We found that developers’ negativity is associated to bug introduction, as well as developers’ positivity. These findings seem to foster a continuous monitoring of developers’ affective states so as to prevent the introduction of bugs or discover bugs as early as possible.

Sentiment Polarity and Bug Introduction

Romano S.;Scanniello G.;
2020

Abstract

Researchers have shown a growing interest in the affective states (i.e., emotions and moods) of developers while performing software engineering tasks. We investigate the association between developers’ sentiment polarity—i.e., negativity and positivity—and bug introduction. To pursue our research objective, we executed a case-control study in the Mining Software Repository (MSR) context. Our exposures are developers’ negativity and positivity captured, by using sentiment analysis, from commit comments of software repositories; while our “disease” is bug introduction—i.e., if the changes of a commit introduce bugs. We found that developers’ negativity is associated to bug introduction, as well as developers’ positivity. These findings seem to foster a continuous monitoring of developers’ affective states so as to prevent the introduction of bugs or discover bugs as early as possible.
978-3-030-64147-4
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: http://hdl.handle.net/11386/4779864
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 2
  • ???jsp.display-item.citation.isi??? ND
social impact