paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Automatic Solution Summarization for Crash Bugs

崩溃缺陷的自动解决方案摘要
ICSE 2021 IEEE/ACM 43rd International Conference on Software Engineering (ICSE)2021匹配度 1/10 · 该论文属于软件工程中的崩溃调试与问答检索,利用崩溃轨迹和知识相似度自动总结 Stack Overflow 解决方案,不涉及静态分析、LLM/Agent、浮点程序分析或贝叶斯程序分析,与用户研究画像的核心方向基本无关。引用 17 inbox
Haoye Wang, Xin Xia, David Lo, John Grundy, Xinyu Wang
crossref: 2026-09-12dblp: 2026-09-12

AI 速览

一句话:提出 CRASOLVER,结合崩溃轨迹结构与知识相似度检索问答并多因子摘要崩溃解决方案。

软件崩溃原因可能隐藏在源代码或开发环境的任意位置;开发者虽可从问答网站找到重复崩溃问题的解决方案,但准确检索并人工筛选答案成本高昂。本文提出 CRASOLVER,针对崩溃轨迹自动总结解决方案:先利用崩溃轨迹的结构信息设计位置相关相似度,并结合官方文档知识相似度,从 Q&A 网站检索相关问答;在获得答案后,通过多因子评分机制生成最终解决方案摘要。作者基于 Stack Overflow 构建了包含 69,478 个 Java 和 33,566 个 Android 异常相关问题的两个库,并用 50 条 Java 与 50 条 Android 崩溃轨迹开展用户研究。结果表明,CRASOLVER 在相关性、有用性和多样性上显著优于四个基线,也验证了相关问答检索组件的有效性。

问题
崩溃 bug 的解决方案常散落在问答网站中,开发者难以准确检索并人工筛选出适用答案。
方法
CRASOLVER 结合崩溃轨迹的结构相似度与官方文档知识相似度检索相关问答,再用多因子评分机制总结解决方案。
评估
在 Stack Overflow 的 Java/Android 异常问答库上,用 50+50 条崩溃轨迹进行用户研究,与四个基线比较相关性、有用性和多样性。
原文摘要(Abstract)

The causes of software crashes can be hidden anywhere in the source code and development environment. When encountering software crashes, recurring bugs that are discussed on Q&A sites could provide developers with solutions to their crashing problems. However, it is difficult for developers to accurately search for relevant content on search engines, and developers have to spend a lot of manual effort to find the right solution from the returned results. In this paper, we present CRASOLVER, an approach that takes into account both the structural information of crash traces and the knowledge of crash-causing bugs to automatically summarize solutions from crash traces. Given a crash trace, CRASOLVER retrieves relevant questions from Q&A sites by combining a proposed position dependent similarity – based on the structural information of the crash trace – with an extra knowledge similarity, based on the knowledge from official documentation sites. After obtaining the answers to these questions from the Q&A site, CRASOLVER summarizes the final solution based on a multi-factor scoring mechanism. To evaluate our approach, we built two repositories of Java and Android exception-related questions from Stack Overflow with size of 69,478 and 33,566 questions respectively. Our user study results using 50 selected Java crash traces and 50 selected Android crash traces show that our approach significantly outperforms four baselines in terms of relevance, usefulness, and diversity. The evaluation also confirms the effectiveness of the relevant question retrieval component in our approach for crash traces.

链接与引用

DOI 原文 · PDF(开放获取) · DBLP

BibTeX
@inproceedings{Wang00GW21,
  title = {Automatic Solution Summarization for Crash Bugs},
  author = {Haoye Wang and Xin Xia and David Lo and John Grundy and Xinyu Wang},
  booktitle = {ICSE},
  year = {2021},
  doi = {10.1109/icse43902.2021.00117}
}