Automatic solution summarization for crash bugs
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...
Saved in:
Main Authors: | , , , , |
---|---|
Format: | text |
Language: | English |
Published: |
Institutional Knowledge at Singapore Management University
2021
|
Subjects: | |
Online Access: | https://ink.library.smu.edu.sg/sis_research/6712 https://ink.library.smu.edu.sg/context/sis_research/article/7715/viewcontent/icse214.pdf |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Institution: | Singapore Management University |
Language: | English |
id |
sg-smu-ink.sis_research-7715 |
---|---|
record_format |
dspace |
spelling |
sg-smu-ink.sis_research-77152023-04-25T05:20:53Z Automatic solution summarization for crash bugs WANG, Haoye XIA, Xin LO, David GRUNDY, John C. WANG, Xinyu 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. 2021-05-01T07:00:00Z text application/pdf https://ink.library.smu.edu.sg/sis_research/6712 info:doi/10.1109/ICSE43902.2021.00117 https://ink.library.smu.edu.sg/context/sis_research/article/7715/viewcontent/icse214.pdf http://creativecommons.org/licenses/by-nc-nd/4.0/ Research Collection School Of Computing and Information Systems eng Institutional Knowledge at Singapore Management University Java Computer bugs Diversity reception Documentation Search engines Software Software engineering Databases and Information Systems Software Engineering |
institution |
Singapore Management University |
building |
SMU Libraries |
continent |
Asia |
country |
Singapore Singapore |
content_provider |
SMU Libraries |
collection |
InK@SMU |
language |
English |
topic |
Java Computer bugs Diversity reception Documentation Search engines Software Software engineering Databases and Information Systems Software Engineering |
spellingShingle |
Java Computer bugs Diversity reception Documentation Search engines Software Software engineering Databases and Information Systems Software Engineering WANG, Haoye XIA, Xin LO, David GRUNDY, John C. WANG, Xinyu Automatic solution summarization for crash bugs |
description |
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. |
format |
text |
author |
WANG, Haoye XIA, Xin LO, David GRUNDY, John C. WANG, Xinyu |
author_facet |
WANG, Haoye XIA, Xin LO, David GRUNDY, John C. WANG, Xinyu |
author_sort |
WANG, Haoye |
title |
Automatic solution summarization for crash bugs |
title_short |
Automatic solution summarization for crash bugs |
title_full |
Automatic solution summarization for crash bugs |
title_fullStr |
Automatic solution summarization for crash bugs |
title_full_unstemmed |
Automatic solution summarization for crash bugs |
title_sort |
automatic solution summarization for crash bugs |
publisher |
Institutional Knowledge at Singapore Management University |
publishDate |
2021 |
url |
https://ink.library.smu.edu.sg/sis_research/6712 https://ink.library.smu.edu.sg/context/sis_research/article/7715/viewcontent/icse214.pdf |
_version_ |
1770576052150599680 |