The Localization Method for Refactoring Based-on Metrics and It’s Tool Design

Author
ZhuXueJun
Advisor
LiuJianBin
School
Shantou University
Major
Computer Software and Theory
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2004
Downloads
92
Citations
0

Request the full text

Abstract

The software will over time become more and more difficult to understand , and more and more difficult to maintain . Therefore, the programmer must lose control in the software to reconstruct it. Refactoring is the same case in maintaining the program externally observable behavior , technology transformation and re- organization of the internal structure of the software , is a key technology for software quality . However , reconstruction in practice and did not get the expected application , the main stumbling block to take too much time and effort to find the need to reconstruct the location , and select the appropriate reconstruction method . Frank Simon , through the introduction of software metrics theory, this obstacle has been overcome to some extent , the lack of formal description of his method , however , as well as reconstruction of the security argument , and at the same time support the tools of his methods appear overhead , among its members prone to confusion and \To this end , this paper proposes a metric formula based measure reconstructed positioning method , given the formal description of the reconstruction method , metrics -driven reconstruction process model , as well as reconstruction of the localization method in the actual system , automatic refactoring tools designed to support the method . We study the reconstruction of positioning methods , and automated refactoring tools support this method can to some extent make up for the defects of \can be used as a simplified method of Simon local improvements and useful supplement .

Table of contents

Summary 4-5 ABSTRACT 5-6 first chapter 6-9 1.1 Introduction 1.2 Research motivation 1.3 work the reconstruction process 6-7 1.3.1 the 6-7 1.3.2 behavior to maintain 7 1.3.3 reconfigurable, positioning 1.4 This work 7-8 1.5 content 8 1.6 papers organization 8-9 Chapter II reconstruction of the theoretical basis of the positioning methods 9-22 2.1 software metrics 9-12 2.1.1 metric definition and target 9-10 2.1.2 measure the mathematical theory the 10-11 2.1.3 metrics to verify and assess 11-12 < br /> 2.2 object-oriented software metrics the 12-14 2.2.1 identifying characteristics of object-oriented metrics 12-14 2.2.2 object-oriented design metrics 14 2.3 refactoring positioning method of mathematical theory 14-21 2.3.1 Ranging theory (Theory of Distance Measurement) 15-18 <br / > 2.3.2 the distance object-oriented systems are found; the 18-21 2.3.3 average distance theory an average distance of 21 2.3.4 21 Section 2.4 21-22 Chapter metrics-driven reconstruction model 22-35 3.1 reconstructed prior knowledge of the definitions and mathematical 22 - 23 3.1.1 defines 22-23 3.1.2 Mathematical Preliminaries 23 3.2 refactoring positioning 23-24 3.2.1 smells 23-24 3.2.2 refactoring positioning function 24 3.3 Analysis function (ANALYSIS FUNCTIONS) 24-26 3.3.1 original analysis function 24-25 3.3.2 derived analysis function 25-26 3.4 abstract logic structure graph transformation function 26-27 3.5 the first-order predicate logic (FIRST ORDER PREDICATE LOGIC) 27 3.6 Reconstruction Method 27-33 3.6.1 move (Move Method) 28-29 3.6.2 move properties (Move Attribute) 29-30 3.6.3 removal methods (Remove Method) 30-31 3.6. 4 Remove Properties (Remove Attribute) 31-32 3.6.5 refining (Extract Class) 32-33 3.6.6 will be within the class-linked (Inline Class ) 33 3.7 metric-driven reconstruction process model 33-34 3.8 Summary 34-35 Chapter Four case studies 35-47 4.1 first case 35-37 4.2 second case the 37-46 4.3 further discussed 46-47 the Chapter design of automated refactoring tools 47-55 5.1 refactoring tools significance 47 5.2 refactoring tools, current research 47-48 5.3 refactoring tools, technical standards (TECHNICAL the CRITERIA) 48 the 5.3.1 program database (Program Database) 48 5.3.2 parse tree the Parse Trees 48 5.3.3 accuracy (Accuracy) 48 5.4 refactoring tools Practical Standard \u0026 PHARMACY the CRITERIA 48-49 5.4.1 speed (Speed) 49 5.4.2 Undo (Undo) 49 5.4.3 integration with other tools (Integrated with Tools) 49 5.5 the refactoring tools automatically overall design the 49-54 5.5.1 tool characteristics 49-50 5.5.2 tool system structure the tools functional modules 50 5.5.3 50-53 5.5.4 Storage Design 53-54 5.6 Summary 54-55 Chapter 6 Conclusions and Prospects 55-56 main References 56-59 thank the 59

Related dissertations

  1. Research on the Measurement of Program Code Similarity
    ChengJinHong ·Inner Mongolia Normal ·2007 ·Master's thesis
  2. Based on the Value Relevance of Fair Value Application Research
    WenYangHong ·Shanxi University of Finance ·2014 ·Master's thesis
  3. The Measure and Compare of China’s Regional Sustainable Development of Finance
    LuQin ·Ningbo University ·2013 ·Master's thesis
  4. Research on the Reputation Capital Management of Commercial Banks in China
    XuWenZhuan ·Anhui University ·2014 ·Master's thesis
  5. The Institutional Analysis and Measure Research on Inclusive Finance
    LiBin ·Xiamen University ·2014 ·Master's thesis
  6. The Impact of European Debt Crisis on China’s Finance
    LiZhuLing ·Dongbei University of Finance ·2013 ·Master's thesis
  7. An empirical study on the measure of level of development of electronic commerce and its impact on China's service industry
    NieQiuYun ·Yunnan University of Finance ·2013 ·Master's thesis
  8. Study on the Spatial Organization of Tourism in Shanxi Province
    BaoKeFei ·Shanxi Normal University ·2013 ·Master's thesis
  9. HS Group Companies Customer Credit Extension Business Risk Control and Prevention Research
    GaoMing ·Liaoning University ·2012 ·Master's thesis
  10. Study on the Present Situation and Problems of Agricultural Informatization Development in Jining City Jining City
    WangMin ·Central China Normal University ·2014 ·Master's thesis
  11. Study on Positive Externalities of the Cotton Industry in Xinjiang by the Contingent Valuation Method
    LiuQinQin ·Tarim University ·2013 ·Master's thesis
  12. Research the Cultivated Land of Sicchuan Province Based on Grain Security
    XiaoRong ·Nanjing Agricultural College ·2009 ·Master's thesis
  13. Beijing, Tianjin and Industrial Upgrading Path Research
    NiHe ·Tianjin University of Commerce ·2013 ·Master's thesis
  14. Research and application of measure with monetary equivalent
  15. Economic Research and Relevant Policies of China’s Real Estate Market
  16. Urban Sprawl Pattern and Measurements:a Case Study of Wuhan City
    MAHAMAR ATTINO ·Central China Normal University ·2014 ·Doctoral dissertation
  17. China’s Agriculture Structure Adjustment Effect Measure and Evaluation
    LiuZuoZuo ·Northwest Normal University ·2013 ·Master's thesis
  18. The Measure and Regional Difference Analysis on China’s Inclusive Growth
    PangMin ·Hunan University ·2013 ·Master's thesis
  19. Income Model Based on Small and Medium Commercial Banks Operational Risk Measure and Analysis
    ChenQiang ·Shandong University ·2013 ·Master's thesis
  20. Research on Knowledge Relevance Based on Knowledge Element Retrieval
    LuChengXiao ·Nanjing University ·2012 ·Master's thesis