Tweet | |
A. Fujimoto, Y. Higo, J. Matsumoto, and S. Kusumoto, "Staged Tree Matching for Detecting Code Move Across Files," In 2020 IEEE/ACM 28th International Conference on Program Comprehension (ICPC), pp. 396-400, July 2020. | |
ID | 659 |
分類 | 国際会議 |
タグ | across code detecting files matching move staged tree |
表題 (title) |
Staged Tree Matching for Detecting Code Move Across Files |
表題 (英文) |
|
著者名 (author) |
Akira Fujimoto,Yoshiki Higo,Junnosuke Matsumoto,Shinji Kusumoto |
英文著者名 (author) |
Akira Fujimoto,Yoshiki Higo,Junnosuke Matsumoto,Shinji Kusumoto |
編者名 (editor) |
|
編者名 (英文) |
|
キー (key) |
Akira Fujimoto,Yoshiki Higo,Junnosuke Matsumoto,Shinji Kusumoto |
書籍・会議録表題 (booktitle) |
2020 IEEE/ACM 28th International Conference on Program Comprehension (ICPC) |
書籍・会議録表題(英文) |
|
巻数 (volume) |
|
号数 (number) |
|
ページ範囲 (pages) |
396-400 |
組織名 (organization) |
|
出版元 (publisher) |
|
出版元 (英文) |
|
出版社住所 (address) |
|
刊行月 (month) |
7 |
出版年 (year) |
2020 |
採択率 (acceptance) |
|
URL |
|
付加情報 (note) |
|
注釈 (annote) |
|
内容梗概 (abstract) |
In software development, developers often need to understand source code differences in their activities. GumTree is a tool that detects tree-based source code differences. GumTree constructs abstract syntax trees from the source code before and after a given change, and then, it identifies inserted/deleted/moved subtrees and updated nodes. Source code differences are detected based on the four kinds of information in GumTree. However, GumTree calculates the difference for each file individually, so that it cannot detect moves of code fragments across files. In this research, we propose (1) to construct a single abstract syntax tree from all source files included in a project and (2) to perform a staged tree matching to detect across-file code moves efficiently and accurately. We have already conducted a pilot experiment on open source projects with our technique. As a result, we were able to detect code moves across files in all the projects, and the number of such code moves was 76,600 in total. |
論文電子ファイル | a-fujimt_202005_ICPC.pdf (application/pdf) [一般閲覧可] |
BiBTeXエントリ |
@inproceedings{id659, title = {Staged Tree Matching for Detecting Code Move across Files}, author = {Akira Fujimoto and Yoshiki Higo and Junnosuke Matsumoto and Shinji Kusumoto}, booktitle = {2020 IEEE/ACM 28th International Conference on Program Comprehension (ICPC)}, pages = {396-400}, month = {7}, year = {2020}, } |