The Research on Software Testing Based on Program Slicing
- Author
- WangLei
- Advisor
- MaJianHong
- School
- Hebei University of Technology
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 239
- Citations
- 3
Abstract
Software testing is a important measure to find, correct, and prevent the errors of software, also to improve software’s functions. The aim of software testing is to find errors in program. The process of software testing makes use of test data to find software’s errors. With the size of software augmenting, the status of software testing is more and more important.The program slicing technique is a kind of technique used to analyses and understands a program, which possesses the characteristics of problem simplification and target localization. So it is widely applied in many areas such as software maintenance, debugging, testing and code comprehension etc. Software testing techniques based on program slicing is a kind of testing that based on program or program with requirement. Program slicing can reduce the size of software testing, and the testing efficiency is improved. With these characteristics, program slicing also include diversified dependent relations (for example: data dependence and control dependence), these dependent relations enhance the veracity of software testing.Now, for the problem of feasible path selection in structure test, traditional methods of infeasible path elimination have much restriction, and the effect is not excellent. So the active idea of feasible path selection can effectively reduce infeasible paths. The dissertation systematically expatiates upon the program slicing technique and studies various research efforts. Based on the existing feasible path algorithms, the dissertation introduces program slicing technique and presents a novel algorithm of feasible path selection. Through using program slicing technique, it analyzes the characteristic of program’s structure in the process of feasible path selection. It can express predicate covered, namely the path to the appointed point. Program slicing technique can clearly show the feasible path covering the structure of program, so it is only concerned about the statements in feasible path for each statement or each block.The dissertation presents a new concept---paths slicing, it absorbs the idea of program slicing. The kind of slicing is regarded as a set of paths. The blindness of feasible paths selection is reduced.
Table of contents
Abstract 4-5
Abstract 5-8
The first chapter 8-12
§ 1-1 research background and significance 8-9
§ 1-2 program slicing 9-10
§ 1-3 The main work and organizational structure 10-11
1-3-1 research objectives and content 10
1-3-2 paper is organized 10-11
§ 1-4 Summary 11-12
Chapter reachable path problem 12-15
§ 2-1 unreachable path analysis 12
§ 2-2 up path analysis 12-13
2-2-1 detection branch conflict 13
2-2-2 variety of edge selection method 13
§ 2-3 Summary 13-15
Chapter III program slicing method described 15-26
§ 3-1 program slicing definition 15
§ 3-2 program slicing technology development process 15-16
§ 3-3 program slicing in software engineering 16-18
§ 3-4 program slicing classification 18-21
3-4-1 static slicing and dynamic slicing 18-19
3-4-2 forward backward slices and sliced ?? 19
3-4-3 object-oriented slice 19-20
3-4-4 other types of program slicing 20-21
§ 3-5 program slicing criteria 21-22
§ 3-6 program slicing algorithm 22-24
3-6-1 static slicing algorithm 22-23
3-6-2 dynamic slicing algorithm 23-24
3-6-3 object-oriented slicing algorithm 24
§ 3-7 Summary 24-26
Chapter IV program slicing -based path selection algorithm 26-36
§ 4-1 in the path selection program slicing applications 26
§ 4-2 path slice concept proposed 26-28
§ 4-3 path slice up path analysis 28-35
4-3-1 path slicing algorithm based 28-30
4-3-2 slicing algorithm analysis application path up the path 30-35
§ 4-4 Summary 35-36
Chapter path-based path selection slicing algorithm to achieve 36-45
§ 5-1 path selection process to achieve 36-43
5-1-1 lexical and syntax analysis process 36-40
5-1-2 sliced ??path calculation and extraction test 40-43
§ 5-2 Summary 43-45
Chapter Summary and Outlook 45-47
§ 6-1 summarizes 45
§ 6-2 outlook 45-47
References 47-50
Thanks 50-51
achieved during the study for a degree related research 51
Related dissertations
- Aresearchbased on UML Diagrams and Dynamic Slicing of Regression Testing
- Program Slicing Techniques and Its Application in Object-Oriented Software Metrics and Software Test
- Automatic path-oriented test data generation method
- Dynamic Testcase Generation Based Automatic Defect Mining for Binaries
- Research on the reform of China's VAT
- And the realization of software testing reuse management subsystem design
- Research on Testing Approach for Aspect-Oriented Programs Based on Control Flow and Data Flow
- Research on software testing technology based on complex network theory
- Design and Implementation of Automated Testing Integrated Platform of Rail-transit Signal System
- The Research and Implementation of Web Performance Testing Technology Based on Loadrunner
- Research of Software Testing Method Based on Cloud Computing
- Research on Path-oriented Test Data Generation
- Research on Process Improvement in Y Co. Based on CMM
- Method Research and System Development of Software Automatic Testing
- Research and implementation of TaaS test management services
- The Design and Implementation of Banking Software Testing Based on Bugfree
- Automatic Generation of Test Data Based on Heuristic Search Algorithm
- Research on Combinatorial Testing Technique and Its Application
- Theories and Methods of Evolutionary Generation of Test Data for Path Coverage
- Study and Practice of Independent Software Testing and Validation Based on RTCA DO-178B