Algorithm of Multiple Faults Localization in Software Debugging

Author
LiBo
Advisor
ChenRong
School
Dalian Maritime University
Major
Computer technology
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2012
Downloads
115
Citations
0

Request the full text

Abstract

Testing, debugging and verification of software accounted for the vast majority of the cost of the software development process. This is largely due to the process requires a lot of staff to take part in, especially diagnosed with the faults which lead to the execution of test cases failed. Locating the faults in software has a direct impact on the effectiveness of software and correcting the faults in software has a direct impact on the reliability of the software. Therefore, technology which can automatically diagnose faults is bound to help developers improve the quality of the software, and significant savings in development costs. In recent years, many experts and scholars engaged in research of fault localization technology, and propose many methods which are widely used in the field of software engineering automation. Among them, Spectrum-Based the Fault the Localization is a lightweight, diagnostic technique. By running a large number of test cases, SFL locates false statements by comparing the difference between the spectrum of successful test cases and the spectrum of false test cases. SFL can cope with real programs, and thus shortens the cycle of testing, diagnosing and repairing by reducing the time overhead of the debugging process.This paper summaries the development of SFL technology, proposes an improved multiple faults localization technique that utilizes program’s run-time dependencies like data dependence and control dependence, instead of the statement coverage information. The process goes as follows:we first get the dependence information for a dynamic program by running the test case, and establish a program model based on the dependence information, then calculates the suspicious value of each dependence, finally assign the suspicious value of each statement using the proposed method to help locate the multiple faults in program and to modify the faults.In this thesis, we implement the multiple faults localization algorithm on the basis of WET tools and LOUPE code. Running our algorithm against the Siemens suite, we do comparison with existing fault localization technology to analyze the effect of the proposed method. The results show that the proposed method works well, and has some practical value.

Table of contents

Summary 5-6 ABSTRACT 6-9 Chapter 1 Introduction 9-13 1.1 Background 9-10 1.2 research 10-11 1.3 thesis structure 11-13 locate bugs in Chapter 2 technical Overview 13-21 2.1 error positioning technology 13-16 2.2 based on error locator spectrum method 16-18 2.2.1 procedures spectrum 17-18 <br / > 2.2.2 based on an incorrect positioning procedures spectrum 18 2.2.3 program based on multi- spectral error locating 18 2.3 program and more error location 18 - 19 2.4 SFL technical framework 19-20 2.5 Summary 20-21 Chapter 3 spectrum -based program error positioning technology 21 - 29 3.1 SFL technology basics 21-23 3.1.1 program basic block 21 3.1.2 control flow analysis 21-22 3.1.3 data flow analysis 22 3.1.4 control dependence and data dependence analysis 22-23 3.1.5 program dependence graph 23 3.2 error type statistics 23-24 3.3 technologies existing SFL example 24-28 3.4 Summary 28-29 Article and Algorithm 4 Multi- fault localization model implementation 29-39 4.1 model dependent dynamic positioning technology based on erroneous 29-32 4.1.1 model symbols defined 29 4.1.2 error based on dynamic positioning technology and more dependent on the model description 29-32 4.2 program error localization process multiple 32-37 <br / > 4.2.1 source code instrumentation and access dynamic data-dependent achieve 33-35 4.2.2 multi- fault localization algorithm 35-36 4.2.3 error positioning the results report generation and visualization 36-37 4.3 Summary 37-39 Chapter 5 experimental analysis 39-53 5.1 experiment environmental 39-40 5.1.1 Loupe tool introduced 39-40 5.1.2 WET tools introduced 40 5.2 analysis of experimental data 40-43 5.2.1 Siemens suite 40-41 5.2.2 experimental data 41-42 5.2.3 multi wrong positioning effect evaluation criteria 42-43 5.3 experimental results and analysis 43-51 5.3.1 experimental results 43-46 5.3.2 experimental results 46-51 5.4 summary 51-53 Chapter 6 summary and Outlook 53-55 6.1 summarizes 53 <br / > 6.2 Prospects 53-55 References 55-59 Thanks 59

Related dissertations

  1. Research on Program Fault Localization Based on the Execution Path Clustering
    YaoYanLing ·Dalian Maritime University ·2013 ·Master's thesis
  2. Design and Implementation of a Testing Based Program Fault Localization System
    ChenNeng ·Dalian Maritime University ·2011 ·Master's thesis
  3. Research on Program Spectra of Fault Localization Based on Embedded Software
    WangPeng ·Hunan University of Technology ·2011 ·Master's thesis
  4. Research on the Spectrum-based Fault Localization for Software Systems
    GongLiang ·Tsinghua University ·2013 ·Master's thesis
  5. Research on software fault location technology based on Data Mining
  6. A Study to Improve CFL Based on TheDiscovery of Coincidental Correctness Test Cases
    FengLuLu ·Zhejiang Sci-Tech University ·2014 ·Master's thesis
  7. The Study of Online Condition Assessment and Fault Localization for Large Scale Wind Turbine Based on SCADA System
    LiangYing ·Huaqiao University ·2013 ·Master's thesis
  8. Research for Launch Vehicle Flight Performence ANA Lyse and Evaluate Methods
    WangZhen ·Harbin Institute of Technology ·2013 ·Master's thesis
  9. Research and Application of Network Fault Intelligent Diagnosis Technology
    MaAiPing ·Northeastern University ·2010 ·Master's thesis
  10. Study on Neural Network and Its Application in Software Fault Localization
    JiaoDongBin ·Dalian Maritime University ·2012 ·Master's thesis
  11. A Clustering-based Strategy to Identify Coincidental Correctness for Fault Localization
    ZuoZuo ·Nanjing University ·2012 ·Master's thesis
  12. Software Fault Localization Research Based on Program Semantics
    HeGuoQin ·Hunan University ·2011 ·Master's thesis
  13. Research and Design of Automatic Software Fault Locatlization Technology in Unit Test
  14. Research on Coverage-Based Fault Localization for Object-Oriented Programs
    XuQing ·Nanjing University ·2013 ·Master's thesis
  15. Research on Software Fault Localization Method Based on Fault Propagation Context Analysis
    WangZuo ·Harbin Institute of Technology ·2013 ·Master's thesis
  16. Research on Software Debugging Techniques Based on the Combination of Machine Learning and Program Analysis
    ZhangCheng ·Shanghai Jiaotong University ·2013 ·Doctoral dissertation
  17. Study on Theory and Key Technology of Photovoltaic System Operation
    XuRuiDong ·China University of Mining and Technology ·2012 ·Doctoral dissertation
  18. Study of the Hierarchical and Distributed Network Fault Management
  19. Research on the Key Techniques for Intelligent Network Fault Diagnosis
    ZhengQiuHua ·Zhejiang University ·2007 ·Doctoral dissertation
  20. Research on Fault Component Localization of Electric Power Systems Based on Wide Area Measurement Information