Research and Implementation of Software Defect Detection Technology Based on Extended State Machine
- Author
- ZhangGuanZuo
- Advisor
- ChenJunLiang
- School
- Beijing University of Posts and Telecommunications
- Major
- Computer Science and Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 78
- Citations
- 3
- Software Testing
- Static analysis
- Defect detection
- The defect mode state machine
- function summary
- False alarm rate
Table of contents
Abstract 4-5
Abstract 5-8
Chapter 1 Introduction 8-11
1.1. research background
1.2. the research contents 8-9
1.3. thesis content and structure 9-11
Chapter 2 Software Testing 11-18
2.1. the software test concept and significance 11-12
2.2. methods of software testing 12-13
2.3. software testing tools 13-14
2.4. defect pattern-based static source code analysis technology 14-18
2.4.1. static analysis 15
2.4.2. principle of static analysis 15-16
2.4.3. static less than nbsp analysis; 16-17
2.4.4. defect Mode 17-18
the Chapter 3 DTSCpp system introduced 18-25
3.1. system Introduction 18
3.2. overall system design 18-20
3.2.1. the system generally constitute 18-19
3.2.2. the system execution process 19-20
3.3. system module introduces 20-25
3.3.1. abstract syntax tree 20-21
3.3.2. based on the control flow graph of interval arithmetic 21-23
3.3.3. the function calls 23
3.3.4. based function summary global analysis 23-24
3.3.5. defect mode state machine 24-25
Chapter 4 extended defect mode state machine 25-42
4.1. defect mode basic structure of the state machine 25-30
4.2. the defect mode state machine transition conditions 30-32
the
4.2.1.XPath conditions 30-31
4.2.2. variables range conditions 31-32
4.2.3. the variable scope conditions 32
4.3. defect mode described 32-35
4.4. defect mode analysis 35-39
4.4.1. path sensitive 36
4.4.2. unreachable path analysis 36-38
4.4.3. use of the function summary 38-39
4.5. the Appendix: fsm.xsd state machine description template 39-42
Chapter 5 defect mode detection 42-60
5.1. general structures and algorithms 42-43
5.2. memory leak 43-49
5.2.1. the memory leaks specific pattern classification 43-47
5.2.2. a memory leak design strategy 47
5.2.3. the memory leak detection state drive 47-49
5.3. null pointer reference 49-56
5.3.1. null pointer reference specific pattern classification 50-54
5.3.2. null pointer reference design strategy 54
5.3.3. null pointer reference detection state machine 54-56
5.4. illegal calculation 56-58
5.4.1. illegal calculated specific pattern classification 56-57
5.4.2. illegal computational design strategy 57
5.4.3. illegal calculated detection state machine 57-58
5.5. experimental data 58-60
Chapter 6 Conclusion 60-62
6.1. research concluded 60
6.2. outlook 60-62
the
References 62-64
Acknowledgements 64-65
the
period of study for a degree of academic papers published directory 65
Related dissertations
- Research on Key Technologies of Improving the Accuracy of Static Defect Detecting
- Research on Software Testing Technology Based on Defect Pattern
- Research and Application of File Simplification Technology in Static Analysis
- A Static Testing Method for Detecting Null Pointer Fault of Array
- A Method Based on Flow Analysis in Source Code Testing Tools
- Domain Sensitive Function Side Effects Research and Application
- Software Source Code Similarity Analysis Technology and Application System
- Research of Equipment Software Static Testing Base on Testbed and Polyspace
- Research of Static Detection Method for Dangling Pointer
- Research on Double Exposure Off-axis Digital Holographic Detecting Technology
- The Inner Wall State Monitoring Method for the Industrial Main Pipe
- Design and Development of a High-speed Heavy-load Palletizing Robot
- The Design and Analysis of Octahedral Module Deployable Mast
- Research on Mechanical Properties Of the Elastic Body of a Six-Axis Force Sensor Based on Strain Gauge
- Research on Image Recognition for Typical Objects of Transmission Line
- Research on Defects Inspection Technology for Rail Surface Based on Machine Vision
- Surface Defect Detection of Medical Gauze Based on Image Processing Technique
- The Glass Surface Defect Online Detection System Development
- Study on defect detection method of visual area lead non capacitive screen based on machine vision
- Research on Defect Detection Algorithm Based on Machien Vision for Tufted Carpet