Abstract
Bug reports are vital for software maintenance that allow the developers being informed of the problems encountered in the software. Before bug fixing, developers need to reproduce the bugs which is an extremely time-consuming and tedious task, and it is highly expected to automate this process. However, it is challenging to do so considering the imprecise or incomplete natural language described in reproducing steps, and the missing or ambiguous single source of information in GUI components. In this paper, we propose a context-aware bug reproduction approach ScopeDroid which automatically reproduces crashes from textual bug reports for mobile apps. It first constructs a state transition graph (STG) and extracts the contextual information of components. We then design a multi-modal neural matching network to derive the fuzzy matching matrix between all candidate GUI events and reproducing steps. With the STG and matching information, it plans the exploration path for reproducing the bug, and enriches the initial STG iteratively. We evaluate the approach on 102 bug reports from 69 popular Android apps, and it successfully reproduces 63.7% of the crashes, outper-forming the state-of-the-art baselines by 32.6% and 38.3%. We also evaluate the usefulness and robustness of ScopeDroid with promising results. Furthermore, to train the neural matching network, we develop a heuristic-based automated training data generation method, which can potentially motivate and facilitate other activities as user interface operations.
| Original language | English |
|---|---|
| Title of host publication | Proceedings - 2023 IEEE/ACM 45th International Conference on Software Engineering, ICSE 2023 |
| Editors | Lori Pollock, Massimiliano Di Penta |
| Place of Publication | Piscataway NJ USA |
| Publisher | IEEE, Institute of Electrical and Electronics Engineers |
| Pages | 2336-2348 |
| Number of pages | 13 |
| ISBN (Electronic) | 9781665457019 |
| ISBN (Print) | 9781665457026 |
| DOIs | |
| Publication status | Published - 2023 |
| Event | International Conference on Software Engineering 2023 - Melbourne, Australia Duration: 14 May 2023 → 20 May 2023 Conference number: 45th https://ieeexplore.ieee.org/xpl/conhome/10172484/proceeding (Proceedings) https://conf.researchr.org/home/icse-2023 (Website) https://ieeexplore.ieee.org/xpl/conhome/10449397/proceeding (ICSE-FoSE 2023 Proceedings) https://ieeexplore.ieee.org/xpl/conhome/10172483/proceeding (ICSE-SEET 2023 Proceedings) https://conf.researchr.org/track/icse-2023/icse-2023-NIER? (ICSE-NIER 2023 Proceedings) |
Conference
| Conference | International Conference on Software Engineering 2023 |
|---|---|
| Abbreviated title | ICSE 2023 |
| Country/Territory | Australia |
| City | Melbourne |
| Period | 14/05/23 → 20/05/23 |
| Internet address |
|
Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver