Refactoring Based on Reverse Engineering Assessment and Analysis System Design and Implementation

Author
LiuZuoZuo
Advisor
MaPeiJun , QinHuan
School
Harbin Institute of Technology
Major
Software Engineering
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2008
Downloads
28
Citations
0

Request the full text

Abstract

With the increasingly large software projects , software, system maintenance has become increasingly difficult . After a lot of projects , after several versions , often beyond recognition , it is difficult to extend and maintain . Reconstruction concept put forward their points the way . However , in order for the implementation of large-scale reconstruction program , is still difficult. The first is the source structure is hard to obtain , in most cases , for various reasons , the relevant documents have been unable to describe the current system . At this time , the source code refactoring step has become the only source of information for the system . However, the source code for the machine , not intuitive , there is no hierarchy of properties , hindering software developers to access information from the process . In addition , when the program code is reached after a certain size , if you want to find a particular reconstruction point , is tantamount to a haystack , you need to have a deeper level of understanding of the program . In this thesis, based on LL (*) algorithm ( one kind of prediction using a variable length table from left to right scan of lexical analysis algorithms ) of ANTLR ( a common syntax parsing framework ) technology , by constructing able to parse the source file syntax parsing device, the success obtained through reverse engineering program structure information , and save it in the database. Then use the powerful database query capabilities , combined with pattern matching approach can structure information from a large number of places to find the needed reconstruction constructed reconfigurable system , but also in reconstruction after the evaluation mechanism through the establishment of a dynamic , ability to evaluate the reconstructed . Through this system, users can source from the mass reconfiguration mode by defining the software code is worth quickly find areas for improvement . But also through the software code included in the scope of management system can effectively track whether the program code in what has been improved or optimized. The system tried to database applications to the program structure information storage and query. With the database data integration capabilities, can effectively improve the program's performance . Evaluation module which provides a text description of the expression for the dynamic solving ability . In addition, because the reconstruction process definitions and formulas allow users to define custom extensions , this extremely flexible expansion mode allows the system to be applied to more areas .

Table of contents

Abstract 4-5 Abstract 5-8 Chapter 1 Introduction 8-13 1.1 Background and research purposes subject 8 1.2 Home and Abroad 8-12 1.3 main work of this paper 12-13 Chapter 2 Reconstruction and analysis and evaluation of the key technologies 13-25 2.1 parsing based reverse engineering 13-15 2.1.1 lexical analysis generator 13-14 2.1.2 on parser generator extended 14-15 2.2 dynamic expression evaluation 15-19 2.2.1 Expression Syntax 15-17 <br / > 2.2.2 expression evaluation engine 17-19 2.3 Program Structure pattern matching 19-24 2.3.1 Program structure model 19-20 2.3.2 Anti-mode model 20-21 2.3.3 Pattern Matching 21-24 2.4 Summary 24-25 <br / > Chapter 3 Reconstruction and analysis and evaluation system is designed 25-43 3.1 System Requirements Analysis 25-26 3.1.1 code analysis section 25-26 < br /> 3.1.2 code refactoring part 26 3.1.3 analysis and evaluation section 26 3.2 overall system function modules 26-30 <br / > 3.2.1 code parsing module 28-29 3.2.2 code refactoring module 29 3.2.3 Analysis Evaluation Module 29-30 <br / > 3.2.4 Other sub-modules 30 3.3 system development platform 30-31 3.4 System Architecture 31-34 3.4.1 System Hierarchy 31-33 3.4.2 The interface between the layers design 33-34 3.5 system data structure design 34-37 3.6 Error handling design 37 3.7 major functional classes designed 37-42 3.7.1 code to parse the main class design 37-41 3.7. two main classes of evaluation design 41-42 3.8 Chapter Summary 42-43 Chapter 4 Reconstruction and analysis and evaluation system implementation 43-59 <br / > 4.1 system implementation 43-52 4.1.1 code parsing implementation 43-46 4.1.2 code refactoring implementation 46-49 4.1.3 analysis and evaluation of implementation 49-51 4.1.4 Reconstruction model and evaluation formula preparation 51-52 4.2 System Effects verification 52-58 4.3 Chapter Summary 58-59 Conclusion 59-60 References 60-66 Thanks 66-67 biographical 67

Related dissertations

  1. Analysis of Mechanism and Affection Factors for FDI Technology Spillovers
    XuHongWen ·Huazhong University of Science and Technology ·2013 ·Doctoral dissertation
  2. Study on Three-Dimensional Digital Measurement Technology Based on Reverse Engineering
  3. Research on Data Preprocessing Algorithms in Reverse Engineering and Its Software Implementation
    YeDongRong ·Hefei University of Technology ·2014 ·Master's thesis
  4. A Study on Code Optimization Method of eOLC Control Algorithm
  5. Design and Implementation of Surface Detection Platform Based on Fiber Optic Displacement Sensor
  6. Design and Implementation of Trojan Detection System Based on Network Transmission Content
    WangYanYan ·Northeastern University ·2011 ·Master's thesis
  7. The Research and Implementation of Distributed Intrusion Detection System Based on Libnids
    XuPingJun ·Central South University ·2012 ·Master's thesis
  8. Researches on Non-exact Deep Packet Inspection
    WangHaiQiang ·Harbin Institute of Technology ·2013 ·Master's thesis
  9. The Research of Multi-pattern Matching Algorithms Based on Bit-split Method
  10. Research on Structured Information Extraction Based on Pattern Matching
    YangChunLei ·Hefei University of Technology ·2013 ·Master's thesis
  11. Pattern Matching with Variable Wildcards
    LiuYingLing ·Hefei University of Technology ·2014 ·Doctoral dissertation
  12. Research of Triangle Mesh Model Data Processing Technology Based on Mixed Blend Feature in Reverse Engineering
    ChenJie ·Fuzhou University ·2011 ·Doctoral dissertation
  13. Research on the Key Technologies for Surface Reconstruction from Discrete Point Cloud
  14. Point Cloud Reconstruction Based on Intelligent Optimization
    XuLi ·University of Jinan ·2013 ·Master's thesis
  15. Research on Key Technologies of CMM and Line Structured Light Vision Sensor Integrated Reverse Engineering System
    YangXueRong ·Guangdong University of Technology ·2013 ·Doctoral dissertation
  16. Research on the Key Technologies of Point Model Process with Primitive Geometry
    LiuGuangShuai ·Southwest Jiaotong University ·2012 ·Doctoral dissertation
  17. Approximate String Matching under Different Models
    ZhaoHua ·Huazhong University of Science and Technology ·2013 ·Doctoral dissertation
  18. Improvement and Implementation of Iris Recognition Algorithm
  19. Based on the Atos Profiled Morphorpholgy Detection and Reverse Technology Research
  20. The Research on Time Series Analysis Techniques
    VO THI THANH VAN ·Hunan University ·2013 ·Doctoral dissertation