Research on Program Slicing Technique and Its Application in Software Test Data Generation
- Author
- WangXueLian
- Advisor
- ZhaoRuiLian
- School
- Beijing University of Chemical Technology
- Major
- Applied Computer Technology
- Classification
- TP311.11 Programming method
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 331
- Citations
- 8
Abstract
Software testing as an important means to ensure the quality of the software and improve software reliability plays an irreplaceable role in the software development process , test data generation is the core of the software testing key . Actual testing activities often required to achieve a certain degree of path coverage . Therefore, an effective means to explore the use of an auxiliary path test data is generated , has a very important significance . Program slicing technology is the technology of the kind of analysis and understanding of the program have to simplify the problem , reduce the characteristics of the target range in the software maintenance , program debugging , testing, code to understand a wide range of applications in many fields . This article comprehensively and systematically expounded the program slicing technology and existing research , introduced the concept of the relations of domination , in the existing dynamic slicing algorithm based on a novel based on forward analysis of dynamic slicing algorithm . Disposable relationship shows routine predicate coverage by introducing , by transitivity of the relations of domination , clearly shows the source code of the program structure ; enabling each statement or statement block as long as it is concerned with the dynamic execution process statement or block , the statement or block of disposable and neighboring disposable point whether the implementation to determine whether the statement should be included in the appropriate sections . The experiments show that this slicing algorithm is effective . Addition, the dynamic program slicing technology is applied to the automatic generation of software test data in order to improve the efficiency of test data generation . Calculation program branch node (Hing
Table of contents
Summary 3-5
ABSTRACT 5-10
Symbol Description 10-11
first chapter 11-17
1.1 research background and significance 11-12
1.2 research status and developments 12-15
the 1.2.1 test data generation method 12-13
1.2.2 program slicing technology the 13-15
1.3 The main work and organizational structures 15-16
1.3.1 research objectives and 15
1.3.2 The paper is organized 15-16
1.4 Chapter Summary 16-17
Chapter II program slicing technology
2.1 program slicing About 17-28 17-19
2.1.1 program slicing technology development history 17-18
2.1.2 program slicing technology application 18-19
2.2 the program slicing Definition 19-20
the 2.3 program slicing Classification 20-22
2.3.1 static slicing and dynamic slice 20-21
2.3.2 to slice to slice and after 21
2.3.3 process slice and process slice 21-22
2.4 program slicing criteria 22-23
2.5 program slicing algorithm 23-27
2.5.1 Common static slicing algorithm 23-26 <br / > 2.5.2 dynamic slicing algorithm 26-27
2.6 Chapter Summary 27-28
Chapter analysis of dynamic slicing algorithm based on forward nbsp
3.1 existing dynamic program slicing algorithm insufficient; 28-37 28-29
3.2 Basic terminology the 3.3 dynamic slicing algorithm thinking 29-30
nbsp dynamic slicing algorithm described; 30-33
3.4 the 33-34 3.5 Case Study
34-35
3.6 Chapter Summary 35-37 the
dynamic program slicing techniques in test data generation the 37-51
4.1 based on the path of the test data generated 37-39
4.1.1 branch function 37
the 4.1.2 test data generation process the adjustment 37-39
4.1.3 input variables 39
4.2 based on program slicing technical test data generation 39-41
4.3 Application of dynamic slicing motivation 41-42
4.4, a test data generation system framework 42-43 < br /> 4.1.1 system framework 42-43
the 4.4.2 test data generation system workflow 43
4.5 Design and Implementation 43-47 <br / > 4.5.1 Pretreatment modules to achieve 44
4.5.2 calculated dynamic program slicing the 44-46
4.5.3 data adjustment module 46-47
4.6 examples 47-50
4.7 Chapter Summary 50-51
Chapter V Conclusion 51-53
5.1 this article major work 51
of 5.2 further work 51-53
Reference 53-58
Appendix Ⅰ 58-59
Acknowledgements pursue a degree during the 59-60
paper catalog 60
Related dissertations
- Slicing of Aspect-Oriented Programs and Its Application in Test Data Generation
- Research on Path-oriented Test Data Generation
- Theories and Methods of Evolutionary Generation of Test Data for Path Coverage
- Contact Mechauical Properties of Diffusion and Deposition Duplex Modified Layer on Metal Surface
- Aresearchbased on UML Diagrams and Dynamic Slicing of Regression Testing
- Auto Test Data Generation for Simple Efsm with Procedure Calls
- Research and Implementation on Method of White-box Component Test Data Automatic Generation
- Program Slicing Research Based on Hot Path and Its Application in Fault Localization
- Pointer Analysis Based Lock Set Analysis Tool
- Continuous Online Program Slicing
- The Research&Implementation of Web Service Test Data Generation
- Research on Testing Technology of Object-oriented Programs Based on Dependency Analysis
- Research on Software Debugging Techniques Based on the Combination of Machine Learning and Program Analysis
- Research on Theory and Application of Program Slicing
- Research on Symbolic Analysis Based Static Defect Detection Technique
- Research on Vulnerability Detection Based on String Analysis
- Denotational Semantics and Program Analysis for ATLAS
- Research on Test Data Automatic Generation
- Research on Dependence Analysis and Software Testing
- Program Slicing Techniques and Its Application in Object-Oriented Software Metrics and Software Test