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
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
- Analysis of Mechanism and Affection Factors for FDI Technology Spillovers
- Study on Three-Dimensional Digital Measurement Technology Based on Reverse Engineering
- Research on Data Preprocessing Algorithms in Reverse Engineering and Its Software Implementation
- A Study on Code Optimization Method of eOLC Control Algorithm
- Design and Implementation of Surface Detection Platform Based on Fiber Optic Displacement Sensor
- Design and Implementation of Trojan Detection System Based on Network Transmission Content
- The Research and Implementation of Distributed Intrusion Detection System Based on Libnids
- Researches on Non-exact Deep Packet Inspection
- The Research of Multi-pattern Matching Algorithms Based on Bit-split Method
- Research on Structured Information Extraction Based on Pattern Matching
- Pattern Matching with Variable Wildcards
- Research of Triangle Mesh Model Data Processing Technology Based on Mixed Blend Feature in Reverse Engineering
- Research on the Key Technologies for Surface Reconstruction from Discrete Point Cloud
- Point Cloud Reconstruction Based on Intelligent Optimization
- Research on Key Technologies of CMM and Line Structured Light Vision Sensor Integrated Reverse Engineering System
- Research on the Key Technologies of Point Model Process with Primitive Geometry
- Approximate String Matching under Different Models
- Improvement and Implementation of Iris Recognition Algorithm
- Based on the Atos Profiled Morphorpholgy Detection and Reverse Technology Research
- The Research on Time Series Analysis Techniques