Understanding Code Fragments with Issue Reports
Code comments are vital for software development and maintenance. To supplement the code comments, researchers design automatic tools for method-level comment generation. The prior tools generate comments that explain code functionalities, but cannot generate comments that explain why code was developed as it is. Issue reports contain rich information on how code was maintained. The valuable details of issue reports (e.g. maintenance types, symptoms, and purposes of modifications) are useful to understand source code, especially when programmers learn why code was developed in a specific way. To generate such comments, it is desirable if an approach can automatically build the links between code fragments and issue reports. In this paper, we propose the first approach for this research purpose. Our results show that it relinks more than 70% issue numbers that are written by programmers in code comments. Furthermore, the links built by our tool covers 4X bugs, and 10X other issues than the links written in manual comments. We present samples of our built links, and explain why our links are useful to describe the functionalities and the purpose of code.
Tue 16 NovDisplayed time zone: Hobart change
18:00 - 19:00 | Mining and IssuesNIER track / Research Papers at Koala Chair(s): Hongyu Zhang University of Newcastle | ||
18:00 20mTalk | VizSmith: Automated Visualization Synthesis by Mining Data-Science Notebooks Research Papers Rohan Bavishi University of California at Berkeley, Shadaj Laddad UC Berkeley, Hiroaki Yoshida Fujitsu Laboratories of America, Inc., Mukul Prasad Fujitsu Research of America, Koushik Sen University of California at Berkeley | ||
18:20 20mTalk | ISPY: Automatic Issue-Solution Pair Extraction from Community Live Chats Research Papers Lin Shi Institute of Software at Chinese Academy of Sciences, Ziyou Jiang Institute of Software at Chinese Academy of Sciences, Ye Yang Stevens Institute of Technology, Xiao Chen Institute of Software at Chinese Academy of Sciences, YuMin Zhang Institute of Software Chinese Academy of Sciences, Fangwen Mu Institute of Software Chinese Academy of Sciences, Hanzhi Jiang Institute of Software at Chinese Academy of Sciences, Qing Wang Institute of Software at Chinese Academy of Sciences Pre-print | ||
18:40 10mTalk | Understanding Code Fragments with Issue Reports NIER track | ||
18:50 10mTalk | An Empirical Study on Obsolete Issue Reports NIER track |