arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2501.01068cs.SE
收藏

自我承认技术债务中的负面情绪:情感如何影响优先级排序

Negativity in Self-Admitted Technical Debt: How Sentiment Influences Prioritization

Nathan Cassee, Neil Ernst, Nicole Novielli, Alexander Serebrenik

AI总结:

本文通过 59 名开发人员参与的实验,研究 SATD 描述中的负面情绪是否影响优先级排序,发现负面情绪会使三分之一到一半的开发人员提高其紧急性、重要性和工作量估计,但多数开发人员认为这种做法不可接受。

摘要:

自我承认技术债务(Self-Admitted Technical Debt,SATD)是软件系统中对技术债务的一种自我承认。为了有效管理 SATD,开发人员需要估计其优先级,并评估修复所述技术债务所需的工作量。软件系统中约四分之一的 SATD 描述在描述技术债务时表达了某种形式的负面情绪或消极情感。在本文中,我们报告了一项由 59 名受访者参与的实验,旨在研究 SATD 描述中表达的负面情绪是否确实会影响 SATD 的优先级排序。受访者由专业开发人员和学生混合组成,在实验中,我们要求参与者对四个情境片段进行优先级排序:两个表达负面情绪,两个表达中性情感。为确保真实性,情境片段基于现有的 SATD。我们发现,负面情绪会导致三分之一到一半的开发人员在优先级排序时,将表达负面情绪的 SATD 赋予更高的优先级。受负面情绪影响的开发人员在为 SATD 排序时,提高其紧急性估计的可能性是降低这些优先级评分的可能性的两倍,提高其重要性和工作量估计的可能性是降低这些评分的可能性的 1.5 倍。我们的研究结果表明,开发人员会主动利用 SATD 中的负面情绪来判断某个技术债务实例应当被处理的紧急程度。然而,我们的研究也揭示了开发人员行为与信念之间的差距。即使有 33% 到 50% 的人使用负面情绪来对 SATD 进行优先级排序,仍有 67% 的开发人员认为将负面情绪作为优先级的代理指标是不可接受的。因此,我们不建议将负面情绪作为优先级的代理指标。不过,我们也认识到,开发人员在描述技术债务时可能不可避免地会表达负面情绪。

英文摘要:

Self-Admitted Technical Debt, or SATD, is a self-admission of technical debt present in a software system. To effectively manage SATD, developers need to estimate its priority and assess the effort required to fix the described technical debt. About a quarter of descriptions of SATD in software systems express some form of negativity or negative emotions when describing technical debt. In this paper, we report on an experiment conducted with 59 respondents to study whether negativity expressed in the description of SATD \textbf{actually} affects the prioritization of SATD. The respondents are a mix of professional developers and students, and in the experiment, we asked participants to prioritize four vignettes: two expressing negativity and two expressing neutral sentiment. To ensure realism, vignettes were based on existing SATD. We find that negativity causes between one-third and half of developers to prioritize SATD, in which negativity is expressed as having more priority. Developers affected by negativity when prioritizing SATD are twice as likely to increase their estimation of urgency and 1.5 times as likely to increase their estimation of importance and effort for SATD compared to the likelihood of decreasing these prioritization scores. Our findings show how developers actively use negativity in SATD to determine how urgently a particular instance of TD should be addressed. However, our study also describes a gap in the actions and belief of developers. Even if 33% to 50% use negativity to prioritize SATD, 67% of developers believe that using negativity as a proxy for priority is unacceptable. Therefore, we would not recommend using negativity as a proxy for priority. However, we also recognize that developers might unavoidably express negativity when describing technical debt.

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

↑