Identifying clones in the Linux kernel

被引:24
作者
Casazza, G [1 ]
Antoniol, G [1 ]
Villano, U [1 ]
Merlo, E [1 ]
Di Penta, M [1 ]
机构
[1] Univ Naples Federico II, DIS, Naples, Italy
来源
FIRST IEEE INTERNATIONAL WORKSHOP ON SOURCE CODE ANALYSIS AND MANIPULATION, PROCEEDINGS | 2001年
关键词
clone detection; source code analysis; metric extraction;
D O I
10.1109/SCAM.2001.972670
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Large multi-platform software systems are likely to encompass hardware-dependent code or sub-systems. However, analysing multi-platform source code is challenging, due to the variety of supported configurations. Often, the system was originally developed for a single platform, and then new target platforms were added. This practice promotes the presence of duplicated code, also said "cloned" code. This paper presents the clone percentage of a multi-platform/multi-million lines of code, Linux kernel version 2.4.0, detected with a metric-based approach. After a brief description of the procedure followed for code analysis and clone identification, the obtained results are commented.
引用
收藏
页码:90 / 97
页数:6
相关论文
共 12 条
[1]  
BAKER BS, 1995, P WORK C REV ENG JUL
[2]  
BOWMAN I, CONCEPTUAL ARCHITECT
[3]  
BOWMAN I, CONCRETE ARCHITECTUR
[4]  
Bowman I. T., 1999, Proceedings of the 1999 International Conference on Software Engineering (IEEE Cat. No.99CB37002), P555, DOI 10.1109/ICSE.1999.841045
[5]   INVESTIGATING REVERSE ENGINEERING TECHNOLOGIES FOR THE CAS PROGRAM UNDERSTANDING PROJECT [J].
BUSS, E ;
DEMORI, R ;
GENTLEMAN, WM ;
HENSHAW, J ;
JOHNSON, H ;
KONTOGIANNIS, K ;
MERLO, E ;
MULLER, HA ;
MYLOPOULOS, J ;
PAUL, S ;
PRAKASH, A ;
STANLEY, M ;
TILLEY, SR ;
TROSTER, J ;
WONG, K .
IBM SYSTEMS JOURNAL, 1994, 33 (03) :477-500
[6]   Loadable kernel modules [J].
de Goyeneche, JM ;
de Sousa, EAF .
IEEE SOFTWARE, 1999, 16 (01) :65-+
[7]  
KONTOGIANNIS RD, 1996, J AUTOMATED SOFTWARE, V3, P77
[8]  
Mayrand J, 1996, INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, PROCEEDINGS, P244, DOI 10.1109/ICSM.1996.565012
[9]  
MCCABE TJ, 1990, AM PROGRAM, V3, P8
[10]  
MOON J, 2000, ESSENCE DISTRIBUTED, V5