Clone Detection Using Time Series and Dynamic Time Warping Techniques

被引:0
作者
Abdelkader, Mostefai [1 ]
mimoun, Malki [2 ]
机构
[1] Dr Tahar Moulay Univ, Saida, Algeria
[2] EEDIS Lab, Sidi Belabess, Algeria
来源
PROCEEDINGS OF 2015 THIRD IEEE WORLD CONFERENCE ON COMPLEX SYSTEMS (WCCS) | 2015年
关键词
Time series; Dynamic Time Warping; Clone Detection; CODE;
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
This paper presents a novel approach to detect code clones. The proposed approach formulates the clone detection problem as a problem of querying and mining time series data [18]. The approach is composed of three steps. The first step extracts modules (i.e., methods, functions...) from the software system, the second transforms modules to time series and the third one calculates the similarity degree between modules using the DTW (i.e., Dynamic Time Warping) algorithm. Two modules are reported as clones if the DTW similarity value between them is greater than some predefined threshold. The results of the experiment conducted on well known software systems shown that our approach has the potential to detect clones of type I, type II and type III in an effective manner.
引用
收藏
页数:6
相关论文
共 28 条
[1]  
[Anonymous], 2005, Data Mining: Concepts and Techniques
[2]  
[Anonymous], 2004, P KDD WORKSH MIN TEM
[3]  
BASIT H A, 2007, P 6 JOINT M EUR SOFT, P513, DOI DOI 10.1145/1287624.1287698
[4]   Clone detection using abstract syntax trees [J].
Baxter, ID ;
Yahin, A ;
Moura, L ;
Sant'Anna, M ;
Bier, L .
INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, PROCEEDINGS, 1998, :368-377
[5]  
Bellman Richard, 1959, IRE Trans. Autom. Control, V4, P1
[6]   Comparison and evaluation of clone detection tools [J].
Bellon, Stefan ;
Koschke, Rainer ;
Antoniol, Giuliano ;
Krinke, Jens ;
Merlo, Ettore .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2007, 33 (09) :577-591
[7]  
Berndt D. J., 1994, AAAIWS 94 P 3 INT C, P359
[8]  
Christopher D., 2008, INTRO INFORM RETRIEV
[9]   The NiCad Clone Detector [J].
Cordy, James R. ;
Roy, Chanchal K. .
2011 IEEE 19TH INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION (ICPC), 2011, :219-+
[10]  
Ding H, 2008, PROC VLDB ENDOW, V1, P1542