APSEC 2022
Tue 6 - Fri 9 December 2022
Fri 9 Dec 2022 13:00 - 13:20 at Room1 - Source Code Analysis 2 Chair(s): Yoshiki Higo

During software maintenance, it is often important to understand the reasons for code changes, so tools are being developed to automatically detect changes due to refactoring. Among these, RefDiff supports multiple programming languages by representing code changes (so-called diffs) by means of a language-independent abstract syntax tree containing nodes for the code parts removed and added during the change. Corresponding nodes, i.e., nodes participating in a refactoring, are matched based on text similarity, which leads to good precision, but the algorithmic limitation of computing text similarity also entail a large number of false negatives. To overcome this, we trained a neural network to classify to identify features in diffs to be used for identifying refactorings. The main contribution of this paper is an approach for encoding differences between nodes in the syntax trees into image data for neural network matching. We have shown that the diff feature matching network not only improves the precision of RefDiff 2.0 to 98.6% and recall to 93.2%, but also continues to support detection tasks in multiple programming languages, with excellent robustness.

Fri 9 Dec

Displayed time zone: Osaka, Sapporo, Tokyo change

13:00 - 14:00
Source Code Analysis 2Technical Track / ERA - Early Research Achievements at Room1
Chair(s): Yoshiki Higo Osaka University
13:00
20m
Paper
Diff Feature Matching Network in Refactoring DetectionBest Paper Award
Technical Track
Tan Liang , Christoph Bockisch Philipps-Universität Marburg
13:20
15m
Paper
Reusing My Own Code: Preliminary Results for Competitive Coding in Jupyter Notebooks
ERA - Early Research Achievements
Natanon Ritta Mahidol University, Tasha Settewong Mahidol University, Raula Gaikovina Kula Nara Institute of Science and Technology, Chaiyong Rakhitwetsagul Mahidol University, Thailand, Thanwadee Sunetnanta Mahidol University, Kenichi Matsumoto Nara Institute of Science and Technology
13:35
20m
Paper
An Experimental Comparison of Clone Detection Techniques using Java Bytecode
Technical Track
Jean-Guy Schneider Monash University, Sung Une (Sunny) Lee CSIRO's Data61