Analysis of dependencies between refactorings to solve code smells

Authors

  • Claudia Marcos El Instituto Superior de Ingeniería del Software de Tandil - Argentina
  • Santiago Vidal Consejo Nacional de Investigaciones Científicas y Técnicas - Argentina
  • Andrés Díaz Pace Consejo Nacional de Investigaciones Científicas y Técnicas - Argentina

DOI:

https://doi.org/10.33414/rtyc.33.1-22.2018

Keywords:

code smells, refactoring, software evolution

Abstract

Code smells are symptoms in the source code that can reveal design problems. To fix a smell, a set of refactorings must be applied that allow the restructure of the system. However, by applying a set of refactorings in a given order, problems can arise that prevent them from being applied. For example, a refactoring could depend on a restructuring made by another refactoring that was not yet applied, or a refactoring could reference a system artifact that was modified by a previously applied refactoring. For these reasons, to apply a set of refactorings, the developer must analyze the dependencies that exist between them to be able to establish the order of application. In this line, this work presents a tool that identifies and solves the conflicts originated by dependencies between refactorings and then automatically apply them. The results, although preliminary, indicate that this approach allows identifying and solving a high percentage of conflicts.

Downloads

Download data is not yet available.

Published

2018-10-17

How to Cite

Marcos, C., Vidal, S., & Díaz Pace, A. (2018). Analysis of dependencies between refactorings to solve code smells. Technology and Science Magazine, (33), 1–22. https://doi.org/10.33414/rtyc.33.1-22.2018

Issue

Section

Artículos