Please use this identifier to cite or link to this item: https://hdl.handle.net/10316/114485
Title: Using social media and personality traits to assess software developers' emotional polarity
Authors: Silva, Leo 
Castro, Marília Gurgel de 
Silva, Miriam Bernardino 
Santos, Milena do Carmo Cunha dos 
Kulesza, Uirá
Lima, Margarida 
Madeira, Henrique 
Keywords: Software engineering; Lexicon; Social media; Sentiment analysis; Personality trait; Big Five
Issue Date: 2023
Publisher: PeerJ Inc.
Project: CISUCUID/CEC/00326/2020, funded by the European Social Fund, through the Regional Operational Program Centro 2020 
Serial title, monograph or event: PeerJ Computer Science
Volume: 9
Abstract: Although human factors (e.g., cognitive functions, behaviors and skills, human error models, etc.) are key elements to improve software development productivity and quality, the role of software developers' emotions and their personality traits in software engineering still needs to be studied. A major difficulty is in assessing developers' emotions, leading to the classic problem of having difficulties understanding what cannot be easily measured. Existing approaches to infer emotions, such as facial expressions, self-assessed surveys, and biometric sensors, imply considerable intrusiveness on developers and tend to be used only during normal working periods. This article proposes to assess the feasibility of using social media posts (e.g., developers' posts on Twitter) to accurately determine the polarity of emotions of software developers over extended periods in a non-intrusive manner, allowing the identification of potentially abnormal periods of negative or positive sentiments of developers that may affect software development productivity or software quality. Our results suggested that Twitter data can serve as a valid source for accurately inferring the polarity of emotions. We evaluated 31 combinations of unsupervised lexicon-based techniques using a dataset with 79,029 public posts from Twitter from sixteen software developers, achieving a macro F1-Score of 0.745 and 76.8% of accuracy with the ensemble comprised of SentiStrength, Sentilex-PT, and LIWC2015_PT lexicons. Among other results, we found a statistically significant difference in tweets' polarities posted during working and non-working periods for 31.25% of the participants, suggesting that emotional polarity monitoring outside working hours could also be relevant. We also assessed the Big Five personality traits of the developers and preliminarily used them to ponder the polarities inferences. In this context, Openness, Conscientiousness, and Extraversion were frequently related to neutral and positive posts, while Neuroticism is associated with negative posts. Our results show that the proposed approach is accurate enough to constitute a simple and non-intrusive alternative to existing methods. Tools using this approach can be applied in real software development environments to support software team workers in making decisions to improve the software development process.
URI: https://hdl.handle.net/10316/114485
ISSN: 2376-5992
DOI: 10.7717/peerj-cs.1498
Rights: openAccess
Appears in Collections:FPCEUC - Artigos em Revistas Internacionais
I&D CISUC - Artigos em Revistas Internacionais

Show full item record

Page view(s)

9
checked on Apr 24, 2024

Download(s)

3
checked on Apr 24, 2024

Google ScholarTM

Check

Altmetric

Altmetric


This item is licensed under a Creative Commons License Creative Commons