loading...
 This Article 
   
 Share 
   
 Bibliographic References 
   
 Add to: 
 
Digg
Furl
Spurl
Blink
Simpy
Google
Del.icio.us
Y!MyWeb
 
 Search 
   
12th International Conference on Software Maintenance (ICSM'96)
Experiment on the Automatic Detection of Function Clones in a Software System Using Metrics
Monterey, CA
November 04-November 08
ISBN: 0-8186-7677-9
Jean Mayrand, Telsoft Ventures Inc.
Claude Leblanc, Information Technology Procurement Bell Canada
Ettore M. Merlo, Ecole Polytechnique
This paper presents a technique to automatically identify duplicate and near duplicate functions in a large software system. The identification technique is based on metrics extracted from the source code using the tool Datrix(. This clone identification technique uses 21 function metrics grouped into four points of comparison. Each point of comparison is used to compare functions and determine their cloning level. An ordinal scale of eight cloning levels is defined. The levels range from an exact copy to distinct functions. The metrics, the thresholds and the process used are fully described. The results of applying the clone detection technique to two telecommunication monitoring systems totaling one million lines of source code are provided as examples. The information provided by this study is useful in monitoring the maintainability of large software systems.
Index Terms:
Software clones, software maintenance, product assessment, source code metrics.
Citation:
Jean Mayrand, Claude Leblanc, Ettore M. Merlo, "Experiment on the Automatic Detection of Function Clones in a Software System Using Metrics," icsm, pp.244, 12th International Conference on Software Maintenance (ICSM'96), 1996
Usage of this product signifies your acceptance of the Terms of Use.