Based on complexity metrics to improve the quality of software design
- Author
- ChenZuo
- Advisor
- MiaoKeJian
- School
- Northwestern Polytechnical University
- Major
- Software Engineering
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 121
- Citations
- 1
Abstract
Since the inception of software engineering concepts, how to separate between the software components of the system complexity of software systems in order to achieve easy to maintain, easy to modify and scalable software engineering has been the object of study of important issues. Software complexity metrics framework quantitative analysis software complexity. However, by analyzing measurement results, we can only find out where the system may make improvements, you can not draw concrete implementation methods; design patterns and refactoring techniques for how to make the design and code has a systematic improvement method, but for how to detect the bad design of the system has to rely on developer's intuition and experience. If you can take advantage of poor design complexity metrics discovery, re-use design patterns and refactoring techniques to improve the design and structure of the code, it is possible to achieve good complementary results. Second, the implementation of measures and reconstruction of artificial huge workload, error rate, the high cost of the system in the face of rapid iteration is bound to seem inadequate. Design an automated metrics, and refactoring tools can improve the practicality of this approach and execution efficiency. The main thesis work and research results are as follows: 1. Studied the effects of software complexity metrics, using quantitative methods measure the complexity of software systems, to avoid relying on experience and intuition to discover the bad design and code design. And improves the C K measurement framework; 2. Studying the various coupling types and associated coupling digestion strategy; 3. Shows an automated measurement tool for the design and implementation of the tool to abstract syntax tree and symbol table for the intermediate representation, through logic and abstract syntax tree metric constructed, traversing the separation, customized to meet client requirements metrics framework; 4. Recommended tools designed to reconstruct, using automatic measurement tool positioning metrics found poor design, poor design for the project to quantify the precise basis for managers to determine where the priority should be the implementation of reconstruction, reconstruction of recommended tools through poor design identification of the type, the use of semi-automatic way using the existing reconstruction strategy by rewriting the abstract syntax tree is designed to reach poor digestion. Papers by implementing measures identify problems, then use refactoring to improve the design and recommended tools code structure, so as to improve the readability, ease of maintenance, easy to modify and scalability purposes.
Table of contents
Abstract 3-4
ABSTRACT 4-5
directory 5-7
first chapter 7-11 <br / > 1.1 Research, literature review 7-9
1.2 Research Contents and Methods 9-10
1.3 significance 10
1.4 dissertation chapters arranged 10-11
Chapter complexity metrics 11-24
2.1 Overview 11
2.2 concept of object-oriented software design metrics 11-12
2.3 object-oriented systems coupled with process-oriented systems similarities and differences 12-13
2.4 object-oriented systems coupled form 13-19
2.4.1 The interaction between methods coupled 13-14
2.4.2 Class / Object coupling between 14-18
2.4.3 component coupling 18-19
2.5 software complexity metrics framework 19-23
2.5.1 within-class metric 19-21
2.5.2 inter-class metrics 21-22
2.5.3 reusability metrics 22-23
2.6 Summary 23-24
Chapter coupling decoupling strategies of various types 24-33
3.1 coupling transform 24
3.2 Coupling transform termination condition 24-25
3.3 Coupling digestion strategy analysis 25 -31
3.3.1 Direct annular coupling 25-26
3.3.2 abstract concrete coupling 26-27
3.3.3 Content coupling 27 -28
3.3.4 Public coupling 28-29
3.3.5 Control coupling 29
3.3.6 marker coupling 29-30
3.3.7 Inheritance coupling 30-31
3.3.8 Examples coupling 31
3.3.9 Interface coupling 31
3.4 Summary 31-33
Chapter complexity metrics tool design and implementation 33-47
4.1 meter overall structure 33-34
4.1. a measurement tool design 33
4.1.2 Metrics Tool structures 33-34
4.2 source code analyzer 34-35
4.3 source code file storage structure 35-36
4.4 metric intermediate representation 36-45
4.4.1 The role of intermediate representation 36-37
4.4.2 The abstract syntax tree grammar and table identifier 37-39
4.4.3 for abstract syntax tree 39
4.4.4 abstract syntax tree traversal 39-44
4.4.5 symbol table 44-45
4.5 complexity metrics calculator 45-46
4.6 Summary 46-47 < br /> Chapter remodeling design and implementation of recommended tools 47-59
5.1 refactoring recommended tools framework 47-48
5.2 Identification of poor design 48-49
5.3 Reconstruction division 49
5.4 Reconstruction implementation examples 49-55
5.4.1 add a variable in the class 50
5.4.2 Move subclass method 50-51
5.4.3 Renaming 51-54
5.4.4 strategy mode combinations Reconstruction 54-55
5.5 package and the reconstruction information communication between classes 55-56
5.6 REFACTORING subclass object generation method 56-57
5.7 REFACTORINGVISITOR its subclasses 57-58
5.8 will be updated after the abstract syntax tree to write back to the file 58
5.9 Summary 58-59
CHAPTER similar instruments and Applications 59-63
6.1 similar instruments 59-60
6.2 Application Case 60-63 <br / > Chapter VII Conclusion and Outlook 63-64
References 64-67
papers 67-68
Thanks 68-69
Related dissertations
- CANDU Reactor Platform Design
- ABC Branch Network Service Process Reengineering Research
- The Research on Enterprise Social Responsibility Construction Situation and Countermeasures of Chint Group
- Research of the Housing Problems Considering the Floating Population of Urban Village Reconstruction in Taiyuan City
- Network Visual Communication Anomie and Reconstruction
- Changes and Reconstruction of the Media Image of Lei Feng
- Research on Reconstruction-PCA Based Transition Process Monitoring Method
- Research on Fuzzy Sliding Mode Control of Two-wheeled Self-balancing Robot
- The Research on the Stability Control of Two-wheeled Self-balancing Robot Based on Genetic Algorithms
- Research on the Image Testing Hartmann Wavefront Sensor with Micro-Scanning Technology
- Planar Inverted Pendulum System Research Based on the XY Platform
- The Design and Implementation of Virtual Reality Scene Reconstruction and Wondering
- Two-dimensional and Three-dimensional Image Technology Based on the Geometry
- Studies on3D Solid Reconstruction from2D Engineering Drawings with Sectional Views
- Design and Implementation of Software for Children’s Elementary Painting Education Based on iOS
- Design and Implementation of Grain Purchase and Sale Management Information System Based on Web Framework
- Design and Implementation of Localization Algorithm Based on Reconstruction of Voronoi Diagram in WSN
- Research on Network System of Information Distribution and Relative Technology Based on Discrete State Predictor
- Research on software testing equipment control of satellite IP system
- Research on Compound Axis Tracking Technology Based on Single Detector