Model Refactoring Operations Based-on Class Diagram and Procedure Blueprint

Author
YiChangAn
Advisor
LiuJianBin , ChenQinWu
School
Shantou University
Major
Computer Software and Theory
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2007
Downloads
72
Citations
2

Request the full text

Abstract

The requirement of software changes constantly. For the software which has already been developed, when the clients change their demands or when its environment changes, it must be modified. In fact, programming is not the most difficult thing, however, the maintenance cost always occupies more than 60 percent of the total cost, and to maintain software is both boring and time-consuming. To solve that problem, scholars came up with the concept of refactoring in Object-Oriented field, and a lot of research has been carried out.At the beginning, refactoring research was mainly based on source code. Nevertheless, Researchers came to know that there were many shortages about refactorings based on source code, and the efficiency was also very low. As a result, they turned to carry out refactorings on high levels, for example design patterns, class diagrams, etc. Although the efficiency of refactorings based on such high levels is very high, there are methods in every class, and the arithmetic is implemented inside methods. For a given class, the most important part is arithmetic. In that condition, if we could combine refactorings based on high levels and methods, the effect of refactorings will be more obvious.The refactorings based on procedure blueprint is a kind of method refactorings, furthermore, its abstract implementation structure diagram contains the same semantic with source code. In this article, we combine the refactorings based on class diagram and procedure blueprint, high level refactorings are carried on class diagrams while method refactorings are carried out on procedure blueprint. The object of this essay is the refactoring operations based on class diagram and procedure blueprint, and these new operations establish the base of the implementation of automatic refactoring tools.

Table of contents

Abstract 3-4 ABSTRACT 4-9 first chapter 9-12 1.1 Introduction 9-10 1.2 Research motivation 10 1.3 Related work 10 1.4 This paper work 10-11 1.5 paper is organized 11-12 Chapter II of the basic concepts of software refactoring 12-21 2.1 software refactoring the concepts and principles of 12-17 2.1.1 reconstructed defined 12-13 2.1.2 reconstructed principle 13 2.1.2.1 reconstructed two hats 13 2.1.2.2 reconstructed unit test 13 2.1.2.3 small steps 13 2.1.3 Refactoring the advantages 13-14 2.1.3.1 keeping the design simple 13-14 2.1.3.2 maintain design scalability 14 2.1.3.3 Enhanced code comprehensibility 14 2.1.3.4 lookup error more convenient 14 2.1.4 remodeling insufficient 14-15 2.1.4.1 reconstructed the cost 14-15 2.1.4.2 reconstructed risk 15 2.1.5 when refactoring 15-16 2.1.5.1 increased functionality 2.1.5.2 modify error 15 2.1.5.3 code Recalling 15-16 2.1.6 when should not be reconstructed 2.1.6.1 program prototype 16 2.1.6.2 code does not work properly 16 2.1.6.3 the proximity Submit 2.1.7 application refactoring issues need to be considered when 16-17 2.1.7.1 database 16-17 2.1.7.2 interface change 17 2.2 affect the reconstruction of language features 17-18 2.2.1 Smalltalk 17-18 2.2.2 C 18 2.2.3 Java 18 2.3 design patterns refactoring 18-20 2.4 Summary 20-21 the chapter class diagram refactoring 21-30 3.1 class diagram and UML and 21-22 3.1.1 UML status quo 21 3.1.2 class diagram 21-22 3.2 model reconstruction and MDA 22-23 3.2.1 model refactoring 22 3.2.2 MDA 22-23 3.3 class diagram refactoring overview 23-26 3.3.1 Development refactoring tools difficulties 23 the reconstructed advantage 3.3.2 class diagram 23-24 3.3.3 class hierarchy of Figure refactoring 24-26 3.4 class diagram types of remodeling 26-29 3.4.1 increase 26 3.4.2 mobile 26-27 3.4.3 delete 27-28 3.4.4 generalization 28 3.4.5 specialization 28-29 3.5 Summary 29-30 process blueprint reconstruction 30-43 4.1 Process Blueprint Overview 30 4.2 Process Blueprint refactoring operations 30-40 4.2.1 Process Blueprint program entity 30-31 4.2.2 Process Blueprint analysis function 31-33 4.2.3 Process Blueprint tree transformation operations 33 The remodeling 4.2.4 Process Blueprint invariants of 33-35 4.2.5 Process Blueprint refactoring operations specifications Description 35-40 4.3 Process Blueprint refactoring operation behavior problems 40-42 4.3.1 remodeling before and after postcondition 40 4.3.2 first-order predicate logic 40-41 the formal definition 4.3.3 Process Blueprint reconstruction framework 41-42 4.3.4 behavior remains prove 42 4.4 Summary 42-43 Chapter automatic refactoring tools are designed 43-51 the importance and significance of the 5.1 refactoring tools 43 5.2 refactoring tools status quo and tendency 43-44 5.3 refactoring tool for the success of the standard 44-46 5.3.1 a refactoring tool for technical standards 44-46 5.3.2 a refactoring tool utility standard 46 5.4 class diagram-based and process blueprint model refactoring tools designed 46-50 The overall framework of the 5.4.1 refactoring tools 47-48 the workflow 5.4.2 class diagram remodeling 48-49 the remodeling 5.4.3 Process Blueprint workflow 49-50 5.5 Summary 50-51 Chapter 6 Conclusions and Prospects 51-52 6.1 This work summarizes 51 6.2 Future work 51-52 Reference 52-54 Acknowledgements 54

Related dissertations

  1. Research of Refactoring Based on Procedure BluePrint
    YangLinBang ·Shantou University ·2006 ·Master's thesis
  2. A Study on Code Optimization Method of eOLC Control Algorithm
  3. Analysis and design of enterprise network shopping system
    JiangRongJun ·Yunnan University ·2013 ·Master's thesis
  4. Design and Implementation of Java Refactoring Plug-in Based on Eclipse
  5. The Software Refactoring Technology Based on Data Mining and Its Application to the Software Asset Management
  6. The Perspective of People's Jury System under the Judicial Credibility
    LiuZuo ·Liaoning Normal University ·2013 ·Master's thesis
  7. "Hyper realistic" "performers" - Rereading Lucien Floyd's portrait painting
    WangTingZuo ·China Academy of Art ·2013 ·Master's thesis
  8. On paper collage as an art elements in the drawing function
    LiuMei ·Central Academy of Fine Arts ·2014 ·Master's thesis
  9. On the Wander in Miguel De Cervantes Saavedra's Novels
    LiChaoJun ·Xiangtan University ·2013 ·Master's thesis
  10. Research on Software Refactoring Method Toward SaaS Application
    ZhangKai ·Jilin University ·2012 ·Master's thesis
  11. Implementation of Agile Methodology in Software Project Management
    LiuQian ·Shanghai Jiaotong University ·2011 ·Master's thesis
  12. The Design and Implementation of New Service Management Sub System
    WangDaoHuan ·Nanjing University ·2012 ·Master's thesis
  13. Change Impact Analysis and Its Applications in Refactoring
    LvJun ·Nanjing University ·2013 ·Master's thesis
  14. Research on Business Process Modeling with Uml and Implementation of Development Tools’ Integration Based on Eclipse
  15. The Reflection and Refactoring of the College Students’ Moral Evaluation
    ShuXiang ·Hainan Normal University, ·2012 ·Master's thesis
  16. Viewing the Controversy about Theoretical System of Crime Composition in China from the Perspective of Function
    WangYunShi ·Jilin University ·2013 ·Master's thesis
  17. Design and Implementation of Battery Capacity of the Component Software System
    BaiDongCai ·Wuhan University of Technology ·2012 ·Master's thesis
  18. A Environmental Monitoring System for Nuclear Power Plant Based on Refactoring
    ZhangXuePeng ·Nanhua University ·2012 ·Master's thesis
  19. The Research and Application of the Graph Similarity Description and Matching
  20. Fragmentation to the reconstruction
    YanMo ·Central University for Nationalities ·2007 ·Doctoral dissertation