e-Informatica Software Engineering Journal Resolving Conflict and Dependency in Refactoring to a Desired Design

Resolving Conflict and Dependency in Refactoring to a Desired Design

by Iman Hemati Moghadam, Mel Ó Cinnéide
Abstract:
Refactoring is performed to improve software quality while leaving the behaviour of the system unchanged. In practice there are many opportunities for refactoring, however, due to conflicts and dependencies between refactorings, only certain orders of refactorings are applicable. Selecting and ordering an appropriate set of refactorings is a challenging task for a developer. We propose a novel automated approach to scheduling refactorings according to their conflicts and dependencies as well as their contribution to design quality expressed by a desired design. The desired design is an improved version of the current program design, and is produced by the developer. Our approach is capable of detecting conflicts and dependencies between refactorings, and uses a sequence alignment algorithm to identify the degree of similarity between two program designs expressed as sequence of characters, thereby measuring the contribution of a refactoring to achieving the desired design. We evaluated our approach on several sample programs and one non-trivial open source application. Our results demonstrate the ability of the approach to order the input refactorings so as to achieve the desired design even in the presence of intense inter-refactoring conflict and dependency, and when applied to a medium-sized, real-world application.
Reference:
Iman Hemati Moghadam, Mel Ó Cinnéide, “Resolving Conflict and Dependency in Refactoring to a Desired Design”, In e-Informatica Software Engineering Journal, vol. 9, pp. 37-56, 2015.
Bibtex Entry:
@Article{eInformatica2015Art3,
  Title                    = {Resolving Conflict and Dependency in Refactoring to a Desired Design},
  Author                   = {Iman Hemati Moghadam and Mel '{O} Cinn'{e}ide},
  Journal                  = {e-Informatica Software Engineering Journal},
  Year                     = {2015},
  Pages                    = {37--56},
  Volume                   = {9},

  Abstract                 = {Refactoring is performed to improve software quality while leaving the behaviour of the system unchanged.
  In practice there are many opportunities for refactoring, however, due to conflicts and dependencies between refactorings, only certain orders of refactorings are applicable.
  Selecting and ordering an appropriate set of refactorings is a challenging task for a developer.
  We propose a novel automated approach to scheduling refactorings according to their conflicts and dependencies as well as their contribution to design quality expressed by a desired design.
  The desired design is an improved version of the current program design, and is produced by the developer.
  Our approach is capable of detecting conflicts and dependencies between refactorings, and uses a sequence alignment algorithm to identify the degree of similarity between two program designs expressed as sequence of characters, thereby measuring the contribution of a refactoring to achieving the desired design.
  We evaluated our approach on several sample programs and one non-trivial open source application.
  Our results demonstrate the ability of the approach to order the input refactorings so as to achieve the desired design even in the presence of intense inter-refactoring conflict and dependency, and when applied to a medium-sized, real-world application.},
  Doi                      = {10.5277/e-Inf150103},
  Issue                    = {1},
  Url                      = {http://www.e-informatyka.pl/attach/e-Informatica_-_Volume_9/eInformatica2015Art3.pdf}
}

  • 2017-09-25

©2015 e-Informatyka.pl, All rights reserved.

Built on WordPress Theme: Mediaphase Lite by ThemeFurnace.