Ettore Merlo et Thierry M. Lavoie
Rapport technique (2009)
Document en libre accès dans PolyPublie et chez l'éditeur officiel |
|
Libre accès au plein texte de ce document Version officielle de l'éditeur Conditions d'utilisation: Tous droits réservés Télécharger (571kB) |
Abstract
Clone detection has been presented in the literature at different levels of fragment granularity from functions, to syntactic blocks, to variable length strings of source code or tokens. String matching approaches, prefix and suffix trees, metrics, syntactic approaches and others can be used to compare fragments for similarity. Inclusion relations between source code lines may cause some clone relations to be redundant, when clones code fragments subsume each other. This may occur between nested blocks of source code, for example. An original method to analyze this kind of redundancy in clone relations is presented. The proposed method is based on efficiently combining clone subsumption information together with clone similarity relations on code fragments. The amount of redundancy in clone relations has been evaluated on two open source Java systems, Tomcat and Eclipse. Experimental results are presented. Execution time performance of redundancy analysis is measured and reported. Results are discussed together with further proposed research.
Mots clés
clone structural redundancy analysis, clone detection, software metrics, software analysis, open source code analysis
Sujet(s): |
2700 Technologie de l'information > 2705 Logiciels et développement 2700 Technologie de l'information > 2706 Génie logiciel |
---|---|
Département: | Département de génie informatique et génie logiciel |
Organismes subventionnaires: | CRSNG/NSERC |
URL de PolyPublie: | https://publications.polymtl.ca/2646/ |
Numéro du rapport: | EPM-RT-2009-05 |
Date du dépôt: | 06 oct. 2017 13:50 |
Dernière modification: | 03 oct. 2024 19:03 |
Citer en APA 7: | Merlo, E., & Lavoie, T. M. (2009). Detection of redundant clone relations based on clone subsumption. (Rapport technique n° EPM-RT-2009-05). https://publications.polymtl.ca/2646/ |
---|---|
Statistiques
Total des téléchargements à partir de PolyPublie
Téléchargements par année
Provenance des téléchargements