Skip to main navigation Skip to search Skip to main content

Identifying accurate refactoring opportunities using metrics

  • Yixin Bian*
  • , Xiaohong Su
  • , Peijun Ma
  • *Corresponding author for this work
  • Harbin Institute of Technology

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

Abstract

Cloned code, also known as duplicated code, is among the bad “code smells.” Refactoring can be used to remove clones and makes a software system more maintainable. However, there is a problem that causes the output results of the clone code detection tool cannot be directly refactored. The problem is not all the clone groups are suitable for refactoring. To address it, we propose a metric method to identify clone groups that are suitable for refactoring. The results of several large-scale software system studies indicate that our method can significantly increase the accuracy of identifying clone groups that are suitable for refactoring. It is not only beneficial to the following study of refactoring, but also it connects the entire process from clone detection to clone refactoring.

Original languageEnglish
Title of host publicationInternational Conference on Soft Computing Techniques and Engineering Application, ICSCTEA 2013, Proceedings
EditorsXiaolong Li, Srikanta Patnaik
PublisherSpringer Verlag
Pages141-146
Number of pages6
ISBN (Electronic)9788132216940
DOIs
StatePublished - 2014
EventInternational Conference on Soft Computing Techniques and Engineering Application, ICSCTEA 2013 - Kunming, China
Duration: 25 Sep 201327 Sep 2013

Publication series

NameAdvances in Intelligent Systems and Computing
Volume250
ISSN (Print)2194-5357

Conference

ConferenceInternational Conference on Soft Computing Techniques and Engineering Application, ICSCTEA 2013
Country/TerritoryChina
CityKunming
Period25/09/1327/09/13

Keywords

  • Cloned code
  • Metric
  • Refactoring

Fingerprint

Dive into the research topics of 'Identifying accurate refactoring opportunities using metrics'. Together they form a unique fingerprint.

Cite this