Java-oriented Design Patterns Detection Research and Tool Development
- Author
- DanLeiLei
- Advisor
- XuZhengQuan
- School
- Huazhong University of Science and Technology
- Major
- Computer Software and Theory
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2004
- Downloads
- 282
- Citations
- 2
Abstract
Design patterns detection is the processes of identifying the design pattern instances in existing source code.Use recoverd design patterns instances to reconstruct the documents of software sysytems helping us comprehend complex designs, optimize the code, improve the documentation and maintenance of existing systems. Many Java developers used GoF design patterns consciously and provided an abundance of data sources for design patterns detection.The purpose of this thesis is to study design patterns detection and to develop a Java oriented design patterns detection tool.By studying the theory of design patterns detection, we provided a design pattern abstract model and a Java oriented implementation model based on the methods of design pattern formalization. Some of the classic design patterns were selected as cases and Java programs became the target for detect. We designed an architecture of the JDPD tool which implemented design patterns detection based on static analysis.The JDPD tool consists of four modules covering information extraction, information organization, design patterns specification and matching, design patterns instances presentation in accordance with the canonical activities of reverse engineering. The JDPD extracts the information from AST of Java program and uses Java information organization model to denote the information. According to the solution parts of design patterns description by GoF, we built models to provide the precise specification of some design patterns,and wrote the algorithms of matching design patterns specification with program information to detect the instances of design patterns.The models of Program information and design patterns specification improve the effect of the matching algorithms,and the design of separating the design patterns presentation from the matching algorithms get the design patterns detection processes more normative and customizable.
Table of contents
Abstract 3-4
Abstract 4-7
1 Introduction 7-12
1.1 topics background 7-9 <br / > 1.2 at home and abroad before 9-10
1.3 main topic research 10-12
2 design pattern detection 12-26
2.1 design Patterns detecting related concepts 12-14
2.2 design pattern detection process 14-16
2.3 design patterns detectability 16-18
2.4 design pattern detection method 18-20
2.5 design patterns formalization 20-25
2.6 Summary 25-26
3 design pattern model represents 26-37
3.1 UML metamodel 26-29
3.2 design patterns abstract model 29-32
3.3 for Java implementation model 32-33
3.4 specification for Java design patterns examples 33-36
3.5 Summary 36-37
4 design pattern detection tools JDPD design 37-47
4.1 design objectives and principles 37-38
4.2 JDPD design pattern detection tool for the overall structure of 38-39
4.3 information Extraction module Design 39-41
4.4 information Organization module design 41-42
4.5 design pattern matching module design 42-46
4.6 Summary 46-47
5 Full Summary 47-49
Thanks 49-50
References 50-55
Appendix 1 for Master papers published during graduate catalog 55
Related dissertations
- 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
- Approximate String Matching under Different Models
- Improvement and Implementation of Iris Recognition Algorithm
- The Research on Time Series Analysis Techniques
- An Empirical Study on Quantitative Investment Strategies Based on Data Mining
- Design and Implementation of Mobile Internet Content Security Audit System
- Hybrid Carrier Communication System Resistance against Multi-path Fading and Narrowband Interference
- Research on Signal Processing Technology for Represent Polymer Compounding State
- Research and Design of FPGA-based High Performance Pattern Matching Engines
- Research on Multi-pattern Matching Algorithms Based on Regular Expressions and Hardware Implementation
- The Design and Implementation of Network-Based Intrusion Detection System Based on Libnids
- The Research of String Matching Algorithm in Intrusion Detection System
- Application of Non-Standard Pattern Matching Algorithm in Deep Packet Inspection
- The Research of Multi-Pattern Matching Algorithms Based on Regular Expressions
- Design and Implementation of Intrusion Detection System Supporting IPv6