Y. Sabi, Y. Higo, and S. Kusumoto, "Rearranging the Order of Program Statements for Code Clone Detection," In Proc. of the 11th IEEE International Workshop on Software Clones, pp. 15-21 February 2017.
ID 473
分類 国際会議
タグ clone code detection order program rearranging statements
表題 (title) Rearranging the Order of Program Statements for Code Clone Detection
表題 (英文)
著者名 (author) Yusuke Sabi, Yoshiki Higo, Shinji Kusumoto
英文著者名 (author) ,Yoshiki Higo,Shinji Kusumoto
編者名 (editor)
編者名 (英文)
キー (key) ,Yoshiki Higo,Shinji Kusumoto
書籍・会議録表題 (booktitle) Proc. of the 11th IEEE International Workshop on Software Clones
書籍・会議録表題(英文)
巻数 (volume)
号数 (number)
ページ範囲 (pages) 15-21
組織名 (organization)
出版元 (publisher)
出版元 (英文)
出版社住所 (address)
刊行月 (month) 2
出版年 (year) 2017
採択率 (acceptance)
URL
付加情報 (note)
注釈 (annote)
内容梗概 (abstract) code clone is a code fragment identical or similar
to another code fragment in source code. Some of code clones
are considered as a factor of bug replications and make it more
difficult to maintain software. Various code clone detection tools
have been proposed so far. However, in most algorithms adopted
by existing clone detection tools, if program statements are
reordered, they are not detected as code clones. In this research,
we examined how clone detection results change by rearranging
the order of program statements. We performed preprocessing
to rearranging the order of program statements using program
dependency graph (PDG). We compared clone detection results
with and without preprocessing. As a result, by rearranging the
order of program statements, the number of detected code clones
is almost the same in most projects. We classified newly detected
or disappeared clones manually. From our experimental results,
we show that there is no newly detected clone whose statements
are reordered and that there are four disappeared clones whose
statements are reordered. We think three out of the four clones
occurred by copy-and-paste operations. Therefore, we conclude
that rearranging the order of program statements is not effective
to detect reordered code clones.
論文電子ファイル p15-sabi.pdf (application/pdf) [一般閲覧可]
BiBTeXエントリ
@inproceedings{id473,
         title = {Rearranging the Order of Program Statements for Code Clone Detection},
        author = {Yusuke Sabi and  Yoshiki Higo and  Shinji Kusumoto},
     booktitle = {Proc. of the 11th IEEE International Workshop on Software Clones},
         pages = {15-21},
         month = {2},
          year = {2017},
}