一句话:提出 Q&A MAESTRO,利用问答网站中代码结构信息,为 Java 运行时异常自动推荐相关 Q&A 帖子并实现 IDE 插件。
程序员常通过 Q&A 站点(如 Stack Overflow)理解程序缺陷的根因,运行时异常是其中一类被积极讨论的重要缺陷。然而,初学者可能难以构思合适的搜索关键词,并且需要在 IDE 与浏览器之间来回切换,十分耗时。本文提出 Q&A MAESTRO,一种自动为 Java 运行时异常寻找合适 Q&A 帖子的方法,其核心是利用编程问答网站中代码片段的结构信息。论文描述了 IDE 插件的使用场景、实现架构与用户界面,并报告了用户研究的结果。此外,还提供了演示视频与演示软件。
Programmers often use Q&A sites (e.g., Stack Overflow) to understand a root cause of program bugs. Runtime exceptions is one of such important class of bugs that is actively discussed on Stack Overflow. However, it may be difficult for beginner programmers to come up with appropriate keywords for search. Moreover, they need to switch their attentions between IDE and browser, and it is time-consuming. To overcome these difficulties, we proposed a method, "Q&A MAESTRO", to find suitable Q&A posts automatically for Java runtime exception by utilizing structure information of codes described in programming Q&A website. In this paper, we describe a usage scenario of IDE-plugin, the architecture and user interface of the implementation, and results of user studies. A video is available at https://youtu.be/4X24jJrMUVw. A demo software is available at https://github.com/FujitsuLaboratories/Q-A-MAESTRO.
@inproceedings{paperbot6625,
title = {Q&A MAESTRO: Q&A Post Recommendation for Fixing Java Runtime Exceptions},
author = {Yusuke Kimura and Takumi Akazaki and Shinji Kikuchi and Sonal Mahajan and Mukul R. Prasad},
booktitle = {ASE},
year = {2021},
doi = {10.1109/ase51524.2021.9678893}
}