Object Oriented Refactoring Lifecycle Survey

1714 Words Dec 8th, 2015 7 Pages
Object Oriented Refactoring Lifecycle Survey
K L K Pratik Rao, Himanshu Jangra, Rishika Reddy, Harika M
Computer Science & Engineering Dept., University of Texas at Arlington
Arlington, Texas, USA
Klkpratik.rao@mavs.uta.edu
Himanshu.jangra@mavs.uta.edu rishika@mavs.uta.edu harika@mavs.uta.edu

Abstract—

Index Terms—
1. INTRODUCTION
2. RELATED WORK
2.1 Serge Demeyer and Stephane Ducasse 's
Refactoring Process

This is a five step technique based on class diagram.
Step 1: Create Subclass
Step 2: Move Attribute
Step 3: Move Method
Step 4: Split Method + Move Method
Step 5: Clean-up

The advantage of this technique is that it’s easier to find elements which are easily passed by because these elements change their position after the making of a subclass. That is, it is easy to make a list, manage and change elements.

The disadvantage point is that it can make an error to move essential elements because it creates the subclass in advance and starts to refactor or recognize different elements as the same one erroneously without different definitions.

2.2 Martin Fowler 's Refactoring Process
It is a four step technique based on class diagram.
Step 1: Extract Method
Step 2: Move Method
Step 3: Apply Extract and Move Method (reapply step
1 and 2 which is insufficient)
Step 4: Replace Temp with Query

The advantage of this technique is to abstract elements, move repeatedly and change to the right position so that it can optimize for improved system performance with…

More about Object Oriented Refactoring Lifecycle Survey

Open Document