Algorithm for code clone refinement based on semantic analysis of multiple detection reports using WordNet

Ricardo Sotolongo*, Yan Dongfang, Kaoru Hirota

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

2 Citations (Scopus)

Abstract

An algorithm based on semantic analysis of multiple detection tools' reports using WordNet is proposed oriented on the refinement of code clones. It parses different detection tools' reports looking for new clone specifications, and for refines the location of existing ones using semantic information contained in source code. It is applied to a real complex software system and is compared to three other well-known detection algorithms, discovering 95 clone pairs more than the average detected by other tools; also making the code clones 3 lines longer. The objective is to provide higher quantity of code clones, and more appropriated localization to be used in refactoring processes.

Original languageEnglish
Title of host publication4th International Symposium on Computational Intelligence and Industrial Applications, ISCIIA 2010
Pages191-198
Number of pages8
Publication statusPublished - 2010
Externally publishedYes
Event4th International Symposium on Computational Intelligence and Industrial Applications, ISCIIA 2010 - Harbin, China
Duration: 2 Aug 20108 Aug 2010

Publication series

Name4th International Symposium on Computational Intelligence and Industrial Applications, ISCIIA 2010

Conference

Conference4th International Symposium on Computational Intelligence and Industrial Applications, ISCIIA 2010
Country/TerritoryChina
CityHarbin
Period2/08/108/08/10

Keywords

  • Code clones
  • Component
  • Refinement
  • Semantic analysis
  • Wordnet

Fingerprint

Dive into the research topics of 'Algorithm for code clone refinement based on semantic analysis of multiple detection reports using WordNet'. Together they form a unique fingerprint.

Cite this