Font Size: a A A

Research Of Refactoring Based On Procedure BluePrint

Posted on:2007-10-21Degree:MasterType:Thesis
Country:ChinaCandidate:L B YangFull Text:PDF
GTID:2178360185986583Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
Almost all successful softwares are developed by gradual revolution. Constant amendment of code and design during software revolution results in growing size of code and blurring the design reflected by code. As times go by, it becomes more and more difficult to maintain code. Meanwhile, cost for maintenance is increased and capacity for expansibility is reduced. If there is requirement change during software revolution, it will bring great challenge to modification of the system. To address the problem, the concept of refactoring was proposed in the object oriented domain, and lots of research and practice have been made on refactoring.Refactoring is a kind of method to improve software internal structure without changing the behavior of program. It can make the program more understandable and flexible, and increase software reusability. Automatic tools can reduce manual refactoring effort and contribute to faster refactoring. However, the achievement of fundamental research and tool development which is obtained in software refactoring area mainly concentrates in semiautomatic refactoring based on program's source code. The existing research indicates that, the text form of program source code cannot be the best form to support refactoring. Because the source code lacks direct-viewing and explicit representation of relations between program's elements, it needs to construct other representation supporting refactoring, for example control flow graph, program dependence graph and so on, so that it causes that the analysis and computation expense of program is high, and the process of refactoring also becomes slow.As above questions, the refactoring technique is analyzed and studied from this abstract levels, process level model refactoring. First, the importance of procedure blueprint to the research of refactoring is discussed, and the technique of refactoring's formalisms is analyzed. Secondly, as refactoring based on program's source code has some questions ,a kind of refactoring's formalization framework based-on process blueprint is proposed. Then everything in this formalization framework is discussed, and 27 kinds of refactorings based-on procedure blueprint are proposed. Finally, an automatic tool that supports refactoring based-on process blueprint is designed.
Keywords/Search Tags:Model Refactoring, Procedure Blueprint, Pre-condition, Post-condition, Behavior preservation
PDF Full Text Request
Related items