We use a few cookies

Essential cookies keep the library working. With your permission, we'd also like to use analytics to see what's useful and improve the experience. Read our Privacy Policy or Cookie Policy.

Skip to main content
Home/e-Resources/Mathematics/Resolving Conflict and Dependency in Refactoring to~a~Desired Design
PeriodicalsMathematics

Resolving Conflict and Dependency in Refactoring to~a~Desired Design

Checking your access to this record.

Abstract & Overview

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\nopen 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.

Cite this record

Iman Hemati Moghadam, Mel Ó Cinnéide (2015). Resolving Conflict and Dependency in Refactoring to~a~Desired Design. e-Informatica Software Engineering Journal, 9(1), 37–56. https://doi.org/10.5277/e-inf150103

Copy in another style

Moghadam, I. H., & Cinnéide, M. Ó. (2015). Resolving Conflict and Dependency in Refactoring to~a~Desired Design. e-Informatica Software Engineering Journal, 9(1), 37–56. https://doi.org/10.5277/e-inf150103
Author names are used as deposited, so check their order before you submit.

Metadata is harvested from open-access indexes and can be incomplete. Check a citation against the published version before relying on it — see our open access & attribution policy.