Font Size: a A A

Research And Implement Of Design Pattern-Oriented Automatic Refactoring Technology

Posted on:2009-11-21Degree:MasterType:Thesis
Country:ChinaCandidate:K CaiFull Text:PDF
GTID:2178360275470021Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Nowadays, refactoring has become an indispensable technology, which can reorganize the inside structure of software without breaking its outside behaviors. Refactoring is not a simply code modification method, but rather a systematic way to edit code under the constraint of code consistency. The emerging of refactoring technology has provided more flexibility to the software development methodology. Meanwhile, design patterns, which are elegant solutions for common problems that are extracted and summarized from the best practices of software development in the past decades, provide good directions for the code organization. Applying design patterns may bring more extensibility, understandability, flexibility and robustness to the software.If design patterns can be introduced into poor-written code in the process of software development by the support of automated tools, it will effectively avoid over-design which is intended for coping with future requirements, and relief programmer from tedious refactoring details to focus on the more important jobs.Currently, there are several mature tools, like Eclipse, has provided well automated tool support for refactoring. However, these supports mainly focus on primitive refactoring operations, rather than high level ones. So, this paper comes up with a framework to automated introduce design patterns into poor-written code by using combination of primitive refactoring operations. And then we developed an Eclipse refactoring plug-in prototype to use this framework to verify the correctness and effectiveness of the high-level refactoring operations.This Eclipse plug-in prototype mainly focuses on the 23 classical design patterns promoted by GoF. However, our methodology doesn't have this constraint. Once a design pattern can be processed with the method we suggested, it can naturally be supported by our framework.
Keywords/Search Tags:Automated, Refactoring, Design Patterns
PDF Full Text Request
Related items