Experiment on the automatic detection of function clones in a software system using metrics
- 1 January 1996
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 10636773,p. 244-253
- https://doi.org/10.1109/icsm.1996.565012
Abstract
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/sup TM/. 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.Keywords
This publication has 6 references indexed in Scilit:
- System acquisition based on software product assessmentPublished by Institute of Electrical and Electronics Engineers (IEEE) ,2002
- On finding duplication and near-duplication in large software systemsPublished by Institute of Electrical and Electronics Engineers (IEEE) ,2002
- Pattern matching for design concept localizationPublished by Institute of Electrical and Electronics Engineers (IEEE) ,2002
- Pattern matching for clone and concept detectionAutomated Software Engineering, 1996
- Investigating reverse engineering technologies for the CAS program understanding projectIBM Systems Journal, 1994
- An Experiment in Software Error Data Collection and AnalysisIEEE Transactions on Software Engineering, 1979