Search-based refactoring detection

  • Authors:
  • Rim Mahouachi;Marouane Kessentini;Mel Ó Cinnéide

  • Affiliations:
  • Missouri University of Science and Technology, Rolla, MO, USA;Missouri University of Science and Technology, Rolla, MO, USA;University College Dublin, Dublin, Ireland

  • Venue:
  • Proceedings of the 15th annual conference companion on Genetic and evolutionary computation
  • Year:
  • 2013

Quantified Score

Hi-index 0.00

Visualization

Abstract

We propose an approach to automate the detection of source code refactoring using structural information. Our approach takes as input a list of possible refactorings, a set of structural metrics and the initial and revised versions of the source code. It generates as output a sequence of detected changes in terms of refactorings. In this case, a solution is defined as the sequence of refactoring operations that minimizes the metrics variation between the revised version of the software and the version yielded by the application of the refactoring sequence to the initial version of the software. We use and adapt global and local heuristic search algorithms to explore the space of possible solutions.