一句话:通过消融实验发现,bug 分派中文本特征反而降低效果,经典 NLP 不足以处理报告中的代码等复杂元素。
随着软件用户增加,问题跟踪系统用于管理 bug 报告,研究者提出 bug 分派方法将报告分配给程序员,并常依据描述使用经典 NLP 分析。然而这一技术选择的真实有效性尚不清楚。本文以当前最优方法为例,通过启用和禁用其文本特征,在六个广泛使用的开源项目的数千条 bug 报告上分析文本特征对分派效果的影响。结果显示,文本特征不但没有提升,反而降低效果:关闭文本特征后基线方法的 f-score 提高 8%。人工检查给出两个原因:经典 NLP 不足以分析 bug 报告,因为它们不是纯自然语言文本且包含代码示例等元素;部分 bug 报告撰写质量差。研究说明亟需更先进技术处理这些复杂元素。
With the increase of software users, programmers use issue tracking systems to manage bug reports and researchers propose bug-triage approaches that assign bug reports to programmers. Programmers assign bug reports often according to their descriptions. Based on by this observation, prior approaches typically use classic natural language processing (NLP) to analyze bug reports. Although the technical choice is straightforward, the true effectiveness of this technical choice is largely unknown. Taking a state-of-the-art approach as an example, we explore the impact of textual features in bug triage. By enabling and disabling the textual features of this approach, we analyze their impacts on assigning thousands bug reports from six widely used open source projects. Our result shows that instead of improving it, textual features in fact reduce the effectiveness. In particular, after we turn off its textual features, the f-scores of the baseline approach are improved by 8%. After manual inspection, we find two reasons to explain our result: (1) classic NLP techniques are insufficient to analyze bug reports, because they are not pure natural language texts and contain other elements (e.g., code samples); and (2) some bug reports are poorly written. Our findings reveal a strong need and sufficient opportunities to explore more advanced techniques to handle these complicated elements in bug reports.
DOI 原文 ·
@inproceedings{paperbot6559,
title = {Revisiting Textual Feature of Bug-Triage Approach},
author = {Zexuan Li and Hao Zhong},
booktitle = {ASE},
year = {2021},
doi = {10.1109/ase51524.2021.9678863}
}