arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.07893cs.SE
收藏

软件工程中的情感分析工具:一项系统性映射研究

Sentiment Analysis Tools in Software Engineering: A Systematic Mapping Study

Martin Obaidi, Lukas Nagel, Alexander Specht, Jil Klünder

AI总结:

该研究通过系统性映射研究分析106篇论文,总结软件工程领域情感分析工具的应用领域、开发方法等情况,发现最佳方法为神经网络、最佳工具为BERT,同时指出反讽识别等未解决问题,旨在帮助相关人员选合适工具。

摘要:

软件开发是一项协作任务。先前的研究表明,开发团队内部的社会层面与软件项目的成功高度相关。团队的情绪已被证明尤为重要。项目经理必须意识到团队内部的负面情绪,因为这种意识能让他们进行干预。情感分析工具提供了一种基于文本沟通确定团队情绪的方法。我们旨在帮助开发人员或利益相关者根据其特定目的选择情感分析工具。因此,我们开展了一项系统性映射研究(SMS)。我们呈现了针对软件工程(SE)领域开发或应用的情感分析工具的系统性映射研究结果。我们的结果总结了来自106篇论文的见解,涉及(1)应用领域、(2)目的、(3)使用的数据集、(4)情感分析工具的开发方法、(5)现有工具的使用情况,以及(6)研究人员面临的困难。我们更详细地分析了哪些工具和方法在性能方面表现如何。根据我们的结果,情感分析频繁应用于开源软件项目,大多数方法是神经网络或支持向量机。我们分析中表现最佳的方法是神经网络,最佳工具是BERT。尽管情感分析在软件工程中频繁使用,但仍存在未解决的问题,例如关于反讽或讽刺的识别,这指出了未来的研究方向。我们开展了系统性映射研究以全面了解情感分析的现状,以便在这方面帮助开发人员或利益相关者。我们的结果包括有趣的发现,例如关于使用的工具及其困难。我们提出了若干关于如何解决这些已识别问题的建议。

英文摘要:

Software development is a collaborative task. Previous research has shown social aspects within development teams to be highly relevant for the success of software projects. A team's mood has been proven to be particularly important. It is paramount for project managers to be aware of negative moods within their teams, as such awareness enables them to intervene. Sentiment analysis tools offer a way to determine the mood of a team based on textual communication. We aim to help developers or stakeholders in their choice of sentiment analysis tools for their specific purpose. Therefore, we conducted a systematic mapping study (SMS). We present the results of our SMS of sentiment analysis tools developed for or applied in the context of software engineering (SE). Our results summarize insights from 106 papers with respect to (1) the application domain, (2) the purpose, (3) the used data sets, (4) the approaches for developing sentiment analysis tools, (5) the usage of already existing tools, and (6) the difficulties researchers face. We analyzed in more detail which tools and approaches perform how in terms of their performance. According to our results, sentiment analysis is frequently applied to open-source software projects, and most approaches are neural networks or support-vector machines. The best performing approach in our analysis is neural networks and the best tool is BERT. Despite the frequent use of sentiment analysis in SE, there are open issues, e.g. regarding the identification of irony or sarcasm, pointing to future research directions. We conducted an SMS to gain an overview of the current state of sentiment analysis in order to help developers or stakeholders in this matter. Our results include interesting findings e.g. on the used tools and their difficulties. We present several suggestions on how to solve these identified problems.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑