Towards Trustworthy Sentiment Analysis in Software Engineering: Dataset Characteristics and Tool Selection

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Obaidi, Martin, Herrmann, Marc, Klünder, Jil, Schneider, Kurt
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911048246755328
author Obaidi, Martin
Herrmann, Marc
Klünder, Jil
Schneider, Kurt
author_facet Obaidi, Martin
Herrmann, Marc
Klünder, Jil
Schneider, Kurt
contents Software development relies heavily on text-based communication, making sentiment analysis a valuable tool for understanding team dynamics and supporting trustworthy AI-driven analytics in requirements engineering. However, existing sentiment analysis tools often perform inconsistently across datasets from different platforms, due to variations in communication style and content. In this study, we analyze linguistic and statistical features of 10 developer communication datasets from five platforms and evaluate the performance of 14 sentiment analysis tools. Based on these results, we propose a mapping approach and questionnaire that recommends suitable sentiment analysis tools for new datasets, using their characteristic features as input. Our results show that dataset characteristics can be leveraged to improve tool selection, as platforms differ substantially in both linguistic and statistical properties. While transformer-based models such as SetFit and RoBERTa consistently achieve strong results, tool effectiveness remains context-dependent. Our approach supports researchers and practitioners in selecting trustworthy tools for sentiment analysis in software engineering, while highlighting the need for ongoing evaluation as communication contexts evolve.
format Preprint
id arxiv_https___arxiv_org_abs_2507_02137
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Towards Trustworthy Sentiment Analysis in Software Engineering: Dataset Characteristics and Tool Selection
Obaidi, Martin
Herrmann, Marc
Klünder, Jil
Schneider, Kurt
Software Engineering
Software development relies heavily on text-based communication, making sentiment analysis a valuable tool for understanding team dynamics and supporting trustworthy AI-driven analytics in requirements engineering. However, existing sentiment analysis tools often perform inconsistently across datasets from different platforms, due to variations in communication style and content. In this study, we analyze linguistic and statistical features of 10 developer communication datasets from five platforms and evaluate the performance of 14 sentiment analysis tools. Based on these results, we propose a mapping approach and questionnaire that recommends suitable sentiment analysis tools for new datasets, using their characteristic features as input. Our results show that dataset characteristics can be leveraged to improve tool selection, as platforms differ substantially in both linguistic and statistical properties. While transformer-based models such as SetFit and RoBERTa consistently achieve strong results, tool effectiveness remains context-dependent. Our approach supports researchers and practitioners in selecting trustworthy tools for sentiment analysis in software engineering, while highlighting the need for ongoing evaluation as communication contexts evolve.
title Towards Trustworthy Sentiment Analysis in Software Engineering: Dataset Characteristics and Tool Selection
topic Software Engineering
url https://arxiv.org/abs/2507.02137