Cargando…

Using social media and personality traits to assess software developers’ emotional polarity

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 ma...

Descripción completa

Detalles Bibliográficos
Autores principales: Silva, Leo, Gurgel de Castro, Marília, Bernardino Silva, Miriam, Santos, Milena, Kulesza, Uirá, Lima, Margarida, Madeira, Henrique
Formato: Online Artículo Texto
Lenguaje:English
Publicado: PeerJ Inc. 2023
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10557516/
https://www.ncbi.nlm.nih.gov/pubmed/37810336
http://dx.doi.org/10.7717/peerj-cs.1498
_version_ 1785117106783649792
author Silva, Leo
Gurgel de Castro, Marília
Bernardino Silva, Miriam
Santos, Milena
Kulesza, Uirá
Lima, Margarida
Madeira, Henrique
author_facet Silva, Leo
Gurgel de Castro, Marília
Bernardino Silva, Miriam
Santos, Milena
Kulesza, Uirá
Lima, Margarida
Madeira, Henrique
author_sort Silva, Leo
collection PubMed
description 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.
format Online
Article
Text
id pubmed-10557516
institution National Center for Biotechnology Information
language English
publishDate 2023
publisher PeerJ Inc.
record_format MEDLINE/PubMed
spelling pubmed-105575162023-10-07 Using social media and personality traits to assess software developers’ emotional polarity Silva, Leo Gurgel de Castro, Marília Bernardino Silva, Miriam Santos, Milena Kulesza, Uirá Lima, Margarida Madeira, Henrique PeerJ Comput Sci Network Science and Online Social Networks 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. PeerJ Inc. 2023-09-27 /pmc/articles/PMC10557516/ /pubmed/37810336 http://dx.doi.org/10.7717/peerj-cs.1498 Text en © 2023 Silva et al. https://creativecommons.org/licenses/by/4.0/This is an open access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/) , which permits unrestricted use, distribution, reproduction and adaptation in any medium and for any purpose provided that it is properly attributed. For attribution, the original author(s), title, publication source (PeerJ Computer Science) and either DOI or URL of the article must be cited.
spellingShingle Network Science and Online Social Networks
Silva, Leo
Gurgel de Castro, Marília
Bernardino Silva, Miriam
Santos, Milena
Kulesza, Uirá
Lima, Margarida
Madeira, Henrique
Using social media and personality traits to assess software developers’ emotional polarity
title Using social media and personality traits to assess software developers’ emotional polarity
title_full Using social media and personality traits to assess software developers’ emotional polarity
title_fullStr Using social media and personality traits to assess software developers’ emotional polarity
title_full_unstemmed Using social media and personality traits to assess software developers’ emotional polarity
title_short Using social media and personality traits to assess software developers’ emotional polarity
title_sort using social media and personality traits to assess software developers’ emotional polarity
topic Network Science and Online Social Networks
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10557516/
https://www.ncbi.nlm.nih.gov/pubmed/37810336
http://dx.doi.org/10.7717/peerj-cs.1498
work_keys_str_mv AT silvaleo usingsocialmediaandpersonalitytraitstoassesssoftwaredevelopersemotionalpolarity
AT gurgeldecastromarilia usingsocialmediaandpersonalitytraitstoassesssoftwaredevelopersemotionalpolarity
AT bernardinosilvamiriam usingsocialmediaandpersonalitytraitstoassesssoftwaredevelopersemotionalpolarity
AT santosmilena usingsocialmediaandpersonalitytraitstoassesssoftwaredevelopersemotionalpolarity
AT kuleszauira usingsocialmediaandpersonalitytraitstoassesssoftwaredevelopersemotionalpolarity
AT limamargarida usingsocialmediaandpersonalitytraitstoassesssoftwaredevelopersemotionalpolarity
AT madeirahenrique usingsocialmediaandpersonalitytraitstoassesssoftwaredevelopersemotionalpolarity