Research and Implement of Design Pattern-Oriented Automatic Refactoring Technology

Author
CaiKe
Advisor
WuGang
School
Shanghai Jiaotong University
Major
Software Engineering
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2008
Downloads
57
Citations
1

Request the full text

Abstract

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.

Related dissertations

  1. A Environmental Monitoring System for Nuclear Power Plant Based on Refactoring
    ZhangXuePeng ·Nanhua University ·2012 ·Master's thesis
  2. Research and Application of Software Refactoring on NOR Flash Packaged Unit Testing Platform
    FuYiLei ·Shanghai Jiaotong University ·2008 ·Master's thesis
  3. Software Refactoring
    LinZheng ·Shanghai Jiaotong University ·2008 ·Master's thesis
  4. Architecture Research in Legacy CAD System Reconstruction
    HaoAng ·Northwestern University ·2007 ·Master's thesis
  5. A Study on Code Optimization Method of eOLC Control Algorithm
  6. Design and Implementation of Java Refactoring Plug-in Based on Eclipse
  7. The Software Refactoring Technology Based on Data Mining and Its Application to the Software Asset Management
  8. Design and Implementation of Software for Children’s Elementary Painting Education Based on iOS
  9. Design and Implementation of Grain Purchase and Sale Management Information System Based on Web Framework
    SunZhong ·Hunan University ·2014 ·Master's thesis
  10. Research on Network System of Information Distribution and Relative Technology Based on Discrete State Predictor
  11. The Study of Valuables Logistics Monitoring Scheme Based on Internet of Things
  12. The Perspective of People's Jury System under the Judicial Credibility
    LiuZuo ·Liaoning Normal University ·2013 ·Master's thesis
  13. Design of Visual Force
  14. "Hyper realistic" "performers" - Rereading Lucien Floyd's portrait painting
    WangTingZuo ·China Academy of Art ·2013 ·Master's thesis
  15. On paper collage as an art elements in the drawing function
    LiuMei ·Central Academy of Fine Arts ·2014 ·Master's thesis
  16. On the Wander in Miguel De Cervantes Saavedra's Novels
    LiChaoJun ·Xiangtan University ·2013 ·Master's thesis
  17. Electricity Transaction Information Platform Design and Implementation
  18. Research on Software Technology in HVDC Transmission Design Software Package
    LiZhiPeng ·Zhejiang University ·2014 ·Master's thesis
  19. Study on the Design Patterns of Park Tourist Centre in Guangdong Region
    WangJunJun ·Guangzhou University ·2013 ·Master's thesis
  20. Design and Implementation of an ATM Bureau of Communication Navigation Surveillance System