An Improved Similar Path Generation Algorithm and Its Application for Fault Location

Author
LeiZhiXiang
Advisor
YeJunMin
School
Central China Normal University
Major
Computer Software and Theory
Classification
TP301.6 Algorithm Theory
Degree
Master's thesis
Year
2008
Downloads
106
Citations
2

Request the full text

Abstract

With the development of computer technology, software and people are becoming increasingly close, understood the importance of software quality. When a software failure occurs, how to automatically locate software failure is a very interesting research topic. In this paper, static program analysis, test path generation, test input data generation and dynamic program slicing based on the study, combined with \program failure. Which this paper focuses on the automatic fault location path generation method is used, similar to the existing path generation algorithm, based on the design and implementation of an improved set of similar path generation algorithm, and analyzes the complexity of the algorithm ; based on the above automatic fault location test, tests showed that the proposed method can effectively achieve fault location. Finally, the algorithm compares the similarity with the original difference between path algorithm is proposed algorithm requires the direction of expansion. This work includes the following aspects: (1) based on similar paths generated fault localization. [24] proposed a similar path set invalid path generation algorithm is running, only the failure of the path each time a non-binding edge to be replaced, too little causes the generation of the path, affecting the accuracy of fault location; for the literature [ 24] algorithm problems, this paper proposes a branch predicate node failure paths based on the similarity path set replacement algorithm, the failure of a branch predicate node on the path to iterate to find, in turn replaced, resulting in a number of similar paths. For infeasible path approach of this algorithm is generated each time a new path, the path feasibility check, as far as possible in the early detection feasible paths and reduce the workload of late. Finally, through multiple sets of test result analysis confirmed algorithm can effectively produce a similar path. (2) the literature [24] similar to the paper path algorithm and the improved algorithm to achieve similar path, and compared the algorithm complexity differences. (3) use of automatic fault location test methods. Containing a known error code for a C language source code for fault location test, the test process produces multiple sets of data were analyzed and compared on the basis of failure position reporting.

Table of contents

Chinese Abstract 4-5 Abstract 5-9 The first chapter 9-13 1.1 Background 9-10 1.2 Research Status and Problems 10-11 1.2.1 Research 10-11 1.2.2 current problems 11 1.3 Thesis objectives and main tasks 11-12 1.4 papers organization 12-13 Chapter II of the research projects based 13-25 2.1 Introduction 13 2.2 similar path set algorithm 13-18 2.3 iterative relaxation method 18-20 2.4 dynamic slicing generation algorithm 20-22 2.5 program chipper 22-23 2.6 fault localization tools introduced 23-24 2.7 Summary 24-25 Chapter Improved similar path set generation algorithm 25-38 3.1 Introduction 25 3.2 similar path set algorithm 25-32 3.2.1 similar path set algorithm based 25-27 3.2.2 path set similar to the original algorithm 27-28 3.2.3 similar path set algorithm to improve the basic idea 28-29 3.2.4 Improved similar path set algorithm 29-32 3.2.5 related work relatively 32 3.3 algorithm 32-37 3.3.1 original similar path set algorithm 32-36 3.3.2 Improved paper similar path set algorithm 36-37 3.3.3 algorithm time complexity analysis 37 3.4 Summary 37-38 Chapter similar path set generation algorithm in software fault localization application 38-46 4.1 Introduction 38 4.2 automatic fault location test 38-44 4.2.1 Select the source to be detected 38-39 4.2.2 source code generator based on DD Figure 39-40 4.2.3 similar path set generation 40-41 4.2.4 test set generation 41-43 4.2.5 program slicing 43-44 4.2.6 chipper / fault reporting 44 4.3 Summary 44-46 Chapter fault location system prototyping 46-51 5.1 Introduction 46-47 5.2 fault location system prototype 47-48 5.2.1 system use case diagram 47 5.2.2 system level diagram 47-48 5.3 similar path generation tool 48-50 5.3.1 tool data flow diagram 48-49 5.3.2 Sequence Diagram 49-50 5.3.3 tools to achieve the interface and use of 50 5.4 Summary 50-51 Chapter VI Conclusion 51-53 6.1 This major work 51 6.2 problems and future work 51-53 6.2.1 Problems 51-52 6.2.2 Future Work 52-53 References 53-58 Appendix A 58-61 Appendix B 61-65 papers published during the master and participation in projects 65-66 Thanks 66

Related dissertations

  1. A Method for Localizing Program Faults Based on Similar Path Set Generation
    ZhuKai ·Central China Normal University ·2007 ·Master's thesis
  2. Design and Implementation of a Software Failure Mode Evaluation Tool
    LiuZhuoZuo ·Harbin Institute of Technology ·2012 ·Master's thesis
  3. Research on Testing Technology of Video Codec
    ZhanHaiYan ·Central South University ·2013 ·Master's thesis
  4. Investigation of Optimal PMU Placement in Power System
    FanHaiFeng ·Zhejiang University ·2013 ·Master's thesis
  5. The Research of the New Distribution Netword' Fault Diagnosis
  6. Judgement and Avoiding of Single-phase Earth Fault in Small Current Grounding System
    ZuoZuo ·Yangzhou University ·2013 ·Master's thesis
  7. Study of Fault Location in Long Distance Transmission Line Using S Transform
  8. Research on Fault Location Complicated Transmission Line
  9. Research on Fault Location Method in Non-effectively Grounded Network
    TangHua ·Beijing Jiaotong University ·2014 ·Master's thesis
  10. Research on the Protection Principle and Simulation of the Double Circuit Lines on the Same Tower
  11. The Algorithm Research of Fault Diagnosis and Recovery Reconstruction on Power Distribution Network with Distributed Generation
    ZhaoYunLei ·Tianjin University of Technology ·2013 ·Master's thesis
  12. Distirbution Network Fault Interval Location Based on Intelligent Algorithm
    LiuTao ·Hunan University ·2013 ·Master's thesis
  13. Study on the Transmission Line On-line Inspection and Monitoring Technologies Using OPGW-based Communication System
  14. Study of Traveling Wave Fault Location for Series Compensated Lines
  15. Based on Graph Theory and Heuristic Algorithm of Distribution Network Fault Processing Method Research
    LiuHaiFeng ·Shandong University ·2013 ·Master's thesis
  16. Research on Fault Location of Distribution Network based on Internal Model and Remote Data Monitoring
    ZhangSongEr ·Nanchang University ·2013 ·Master's thesis
  17. Research on Fault Location System of Power Distribution Network Based on GPRS
    WuZhenHua ·Beijing Jiaotong University ·2014 ·Master's thesis
  18. Research on Fault Location Method and Protection Configuration Scheme for Microgrid
    FuGuiBin ·Tianjin University ·2012 ·Master's thesis
  19. A Research on the Fault Diagnosis of Power Grid Based on the High-Level Petri Net
    HuangJun ·Anhui University of Engineering ·2013 ·Master's thesis
  20. Research and Application on Fault Location System of10KV Distributio Nnetwork
    YangDongMei ·Liaoning Technical University ·2012 ·Master's thesis