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

Request the full text

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

  1. Aresearchbased on UML Diagrams and Dynamic Slicing of Regression Testing
    SongJianSheng ·Jiangnan University ·2012 ·Master's thesis
  2. Program Slicing Techniques and Its Application in Object-Oriented Software Metrics and Software Test
    LiBiXin ·Nanjing University ·2000 ·Doctoral dissertation
  3. Automatic path-oriented test data generation method
  4. Dynamic Testcase Generation Based Automatic Defect Mining for Binaries
  5. Research on the reform of China's VAT
    ZuoZuoZuo ·Capital University of Economics ·2014 ·Master's thesis
  6. And the realization of software testing reuse management subsystem design
  7. Research on Testing Approach for Aspect-Oriented Programs Based on Control Flow and Data Flow
    XiongLiPing ·Hunan University ·2013 ·Master's thesis
  8. Research on software testing technology based on complex network theory
  9. Design and Implementation of Automated Testing Integrated Platform of Rail-transit Signal System
    FuLiYu ·Shanghai Jiaotong University ·2013 ·Master's thesis
  10. The Research and Implementation of Web Performance Testing Technology Based on Loadrunner
    YaoZuo ·Harbin University of Commerce ·2013 ·Master's thesis
  11. Research of Software Testing Method Based on Cloud Computing
  12. Research on Path-oriented Test Data Generation
    WangShiTao ·Hunan University ·2013 ·Master's thesis
  13. Research on Process Improvement in Y Co. Based on CMM
    FengFei ·China Academy of Railway Sciences ·2013 ·Master's thesis
  14. Method Research and System Development of Software Automatic Testing
    LiangYueYuan ·Chang'an University ·2013 ·Master's thesis
  15. Research and implementation of TaaS test management services
    YangDan ·Northwestern University ·2013 ·Master's thesis
  16. The Design and Implementation of Banking Software Testing Based on Bugfree
  17. Automatic Generation of Test Data Based on Heuristic Search Algorithm
    LiuJia ·Tianjin University ·2012 ·Master's thesis
  18. Research on Combinatorial Testing Technique and Its Application
    ChenXiang ·Nanjing University ·2011 ·Doctoral dissertation
  19. Theories and Methods of Evolutionary Generation of Test Data for Path Coverage
    ZhangYan ·China University of Mining and Technology ·2012 ·Doctoral dissertation
  20. Study and Practice of Independent Software Testing and Validation Based on RTCA DO-178B