Resolving Conflict and Dependency in Refactoring to a Desired Design

Files in This Item:
File Description SizeFormat 
einformatyka_2015_public.pdf1.76 MBAdobe PDFDownload
Title: Resolving Conflict and Dependency in Refactoring to a Desired Design
Authors: Hemati Moghadam, Iman
Ó Cinnéide, Mel
Permanent link: http://hdl.handle.net/10197/6725
Date: Jul-2015
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. 
Funding Details: Science Foundation Ireland
Type of material: Journal Article
Publisher: Wroclaw University of Science and Technology
Keywords: Refactoring;Refactoring scheduling
DOI: 10.5277/e-Inf150103
Language: en
Status of Item: Peer reviewed
Appears in Collections:Computer Science Research Collection

Show full item record

SCOPUSTM   
Citations 50

3
Last Week
0
Last month
checked on Jun 23, 2018

Google ScholarTM

Check

Altmetric


This item is available under the Attribution-NonCommercial-NoDerivs 3.0 Ireland. No item may be reproduced for commercial purposes. For other possible restrictions on use please refer to the publisher's URL where this is made available, or to notes contained in the item itself. Other terms may apply.