楠本研究室

業績一覧

ホーム業績一覧

A Technique to Detect Multi-Grained Code Clones

A Technique to Detect Multi-Grained Code Clones
Proc. of the 11th IEEE International Workshop on Software Clones, pp.54-60 (2017)
概要: It is said that the presence of code clones makes software maintenance more difficult. For such a reason, it is important to understand how code clones are distributed in source code. A variety of code clone detection tools has been developed before now. Recently, some researchers have detected code clones from a large set of source code to find library candidates or overlooked bugs. In general, the smaller the granularity of the detection target is, the longer the detection time. On the other hand, the larger the granularity of the detection target is, the fewer detectable code clones are. In this paper, we propose a technique that detects in order from coarse code clones to fine-grained ones. In the coarse-tofine-grained-detections, code fragments detected as code clones at a certain granularity are excluded from detection targets of more fine-grained detections. Our proposed technique can detect code clones faster than fine-grained detection techniques. Besides, it can detect more code clones than coarse detection techniques. タグ: clones, code, detect, multi-grained, technique
@inproceedings{YusukeYuki2017,
  author = {Yusuke Yuki and Yoshiki Higo and Shinji Kusumoto},
  title = {A Technique to Detect Multi-Grained Code Clones},
  booktitle = {Proc. of the 11th IEEE International Workshop on Software Clones},
  pages = {54--60},
  year = {2017},
  month = {feb}
}