Aiding comprehension of cloning through categorization

被引:31
作者
Kapser, C [1 ]
Godfrey, MW [1 ]
机构
[1] Univ Waterloo, Sch Comp Sci, Sofware Architecture Grp, SWAG, Waterloo, ON N2L 3G1, Canada
来源
7TH INTERNATIONAL WORKSHOP ON PRINCIPLES OF SOFTWARE EVOLUTION | 2004年
关键词
D O I
10.1109/IWPSE.2004.1334772
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Management of duplicated code in software systems is important in ensuring its graceful evolution. Commonly clone detection tools return large numbers of detected clones with little or no information about them, making clone management impractical and unscalable. We have used a taxonomy of clones to augment current clone detection tools in order to increase the user comprehension of duplication of code within software systems and filter false positives from the clone set. We support our arguments by means of 2 case studies, where we found that as much as 53% of clones can be grouped to form Function clones or Partial Function clones and we were able to filter out as many as 65% of clones as false positives from the reported clone pairs.
引用
收藏
页码:85 / 94
页数:10
相关论文
共 22 条
[1]  
ANTONIOL G, 2002, INFORMATION SOFTWARE, V44
[2]  
Baker B.S., 1995, FINDING DUPLICATION
[3]  
BAKER BS, 1992, P 24 S INT COMP SCI, P49
[4]  
Balazinska M., 1999, Proceedings Sixth International Software Metrics Symposium (Cat. No.PR00403), P292, DOI 10.1109/METRIC.1999.809750
[5]   Advanced clone-analysis to support object-oriented system refactoring [J].
Balazinska, M ;
Merlo, E ;
Dagenais, M ;
Lagüe, B ;
Kontogiannis, K .
SEVENTH WORKING CONFERENCE ON REVERSE ENGINEERING - PROCEEDINGS, 2000, :98-107
[6]  
BALAZINSKA M, 1999, P 6 WORK C REV ENG, P326
[7]   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
[8]   Identifying clones in the Linux kernel [J].
Casazza, G ;
Antoniol, G ;
Villano, U ;
Merlo, E ;
Di Penta, M .
FIRST IEEE INTERNATIONAL WORKSHOP ON SOURCE CODE ANALYSIS AND MANIPULATION, PROCEEDINGS, 2001, :90-97
[9]  
Ducasse S., 1999, Proceedings IEEE International Conference on Software Maintenance - 1999 (ICSM'99). `Software Maintenance for Business Change' (Cat. No.99CB36360), P109, DOI 10.1109/ICSM.1999.792593
[10]  
Godfrey M., 2000, Evolution in open source software: a case study. Proceedings 2000 International Conference on Software Maintenance IEEE