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

Bug优先级变更预测:对Apache软件的探索性研究

Bug Priority Change Prediction: An Exploratory Study on Apache Software

Central China Normal University(华中师范大学);Wuhan University(武汉大学);Huazhong University of Science and Technology(华中科技大学)

Guangzong Cai, Zengyang Li, Peng Liang, Ran Mo, Hui Liu, Yutao Ma

AI总结:

本文提出基于bug修复演变特征和类别不平衡处理策略的bug优先级变更预测方法,通过实验验证其在Apache项目中的有效性。

摘要:

在软件开发过程中,bug修复是一项关键活动。在诸如JIRA之类的问题跟踪系统中,每个bug报告都会被分配一个优先级级别,以指示bug的紧急程度和重要性。优先级可能在bug修复过程中发生变化,表明随着bug修复的进行,bug的紧急程度和重要性也会发生变化。然而,手动评估bug的优先级变更是一个繁琐的过程,严重依赖于开发人员和项目经理的主观判断,导致优先级变更错误,从而阻碍了及时的bug修复。鉴于对bug优先级变更预测的研究较少,我们提出了一种基于bug修复演变特征和类别不平衡处理策略的新型bug报告优先级变更预测方法。具体来说,我们将bug生命周期分为两个阶段:bug报告和bug修复,并为每个阶段构建bug优先级变更预测模型。为了评估我们方法的性能,我们在由32个非平凡Apache项目构建的bug数据集上进行了实验。实验结果表明,我们提出的bug修复演变特征和所采用的类别不平衡处理策略可以有效提高预测模型的性能。构建的bug报告阶段预测模型的F1分数达到0.798,而构建的bug修复阶段预测模型的F1加权和F1宏分别为0.712和0.613。此外,我们探讨了我们预测模型在跨项目中的适用性以及在不同优先级级别上的性能。研究发现,模型性能在不同项目中存在显著差异,尽管总体得分仍然不错。同时,不同优先级级别的预测性能保持相对一致的高水平。

英文摘要:

Bug fixing is a critical activity in the software development process. In issue tracking systems such as JIRA, each bug report is assigned a priority level to indicate the urgency and importance level of the bug. The priority may change during the bug fixing process, indicating that the urgency and importance level of the bug will change with the bug fixing. However, manually evaluating priority changes for bugs is a tedious process that heavily relies on the subjective judgment of developers and project managers, leading to incorrect priority changes and thus hindering timely bug fixes. Given the lack of research on bug priority change prediction, we propose a novel two-phase bug report priority change prediction method based on bug fixing evolution features and class imbalance handling strategy. Specifically, we divided the bug lifecycle into two phases: bug reporting and bug fixing, and constructed bug priority change prediction models for each phase. To evaluate the performance of our method, we conducted experiments on a bug dataset constructed from 32 non-trivial Apache projects. The experimental results show that our proposed bug fixing evolution features and the adopted class imbalance handling strategy can effectively improve the performance of prediction models. The F1-score of the prediction model constructed for the bug reporting phase reached 0.798, while the F1-weighted and F1-macro of the prediction model constructed for the bug fixing phase were 0.712 and 0.613, respectively. Furthermore, we explored the cross-project applicability of our prediction models and their performance at different priority levels. The findings indicate large variations in model performance across different projects, although the overall scores remain decent. Meanwhile, the predictive performance across various priority levels remained relatively consistently high.

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

↑