Design and Implementation of a Testing Based Program Fault Localization System

Author
ChenNeng
Advisor
GuoJingZuo
School
Dalian Maritime University
Major
Computer Science and Technology
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2011
Downloads
85
Citations
1

Request the full text

Abstract

Debugging is one of the most expensive and time-consuming processes for software developers, especially locating faults in programs usually costs most of time in the debugging process. Clearly, techniques that can reduce the time required to locate faults can have a significant impact on the cost and quality of software development and maintenance. In recent years, there have been a body of work on computer-aided software debugging both in the field of software engineering and artificial intelligence, and a variety of fault localization techniques have been proposed. The testing based fault localization (TBFL) techniques successfully locate faulty statements by comparing the statistical information of program elements in a number of program runs. However, there are still examples such that available approaches yield unsatisfactory results. To be an effective intelligent statistical method, TBFL has broader space for development.This paper surveys the state-art-of TBFL techniques, and presents an improved TBFL technique, which focuses on analyzing control flows and data flows instead of statement coverage. Specifically, we run the test suite gets the spectra of dynamic control and data dependence, build appropriate models with the two kind dependence program spectra to evaluate suspected statements, measured by suspicious scores of their relevant control and data dependences, and developers are then assisted with the ranking of suspicious statements to correct program errors.We degsin and implement a fault localization tool that use the runtime dependence information in program runs to locate the bugs. To check the effectiveness of our ’technique, Siemens benchmark has been performed and some others TBFL techniques have also been implemented for the purpose of comparison.. The empirical results show that our technique is more effective than some others, and the system is proved to have some practical value.

Table of contents

Abstract 5-6 Abstract 6-9 Chapter 1 Introduction 9-12 1.1 Background 9-10 1.2 content and contribution 10-11 1.3 Thesis structure 11-12 error diagnostic procedures in Chapter 2 Technical Overview 12-20 2.1 Error diagnostic techniques 12-14 2.2 based fault localization testing TBFL 14-19 2.2.1 Methods based on the distance metric 15-16 2.2.2 Characteristics of statistical methods 16-19 2.3 Summary 19-20 Chapter 3 run -dependent error based positioning technology 20-30 3.1 TBFL technical basics 20-22 3.1.1 control flow analysis 20 3.1.2 Data Flow Analysis 20-21 3.1.3 dependency analysis 21-22 3.1.4 program dependence graph 22 3.2 technologies existing TBFL example 22-26 3.3 model 26-29 3.3.1 model defined symbols 26-27 3.3.2 running dependent error model based positioning technology 27-29 3.4 Summary 29-30 Chapter 4 System Design and Implementation 30-49 4.1 TBFL technical framework 30-31 error 4.2 Positioning System design 31-38 4.2.1 program instrumentation and access data dependent 35 4.2.2 statement suspicious rank is calculated 35-37 4.2.3 generated error positioning results reported 37 4.2.4 positioning results visualization 37-38 4.3 Error localization effect evaluation criteria 38-39 achieve 4.4 error positioning system 39-48 4.4.1 obtain dynamic data-dependent 39-41 4.4.2 dependency parsing data 41-43 4.4.3 statement suspicious rank is calculated 43-45 4.4.4 positioning results visualization 45-46 4.4.5 Error positioning technology impact assessment 46-48 achieve 4.4.6 related shell scripts 48 4.5 Summary 48-49 Chapter 5 experimental analysis 49-57 nbsp 5.1 test environment ; 49 5.2 experimental data 49-50 5.3 operating results 50-53 5.4 assessment results 53-56 5.5 Summary 56-57 Chapter 6 Summary and Outlook 57-59 6.1 summarizes 57 6.2 Prospects 57-59 References 59-63 study published during the dissertation 63-64 Thanks 64

Related dissertations

  1. Algorithm of Multiple Faults Localization in Software Debugging
    LiBo ·Dalian Maritime University ·2012 ·Master's thesis
  2. Research on Program Fault Localization Based on the Execution Path Clustering
    YaoYanLing ·Dalian Maritime University ·2013 ·Master's thesis
  3. Research on software fault location technology based on Data Mining
  4. A Study to Improve CFL Based on TheDiscovery of Coincidental Correctness Test Cases
    FengLuLu ·Zhejiang Sci-Tech University ·2014 ·Master's thesis
  5. 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
  6. Research for Launch Vehicle Flight Performence ANA Lyse and Evaluate Methods
    WangZhen ·Harbin Institute of Technology ·2013 ·Master's thesis
  7. Research and Application of Network Fault Intelligent Diagnosis Technology
    MaAiPing ·Northeastern University ·2010 ·Master's thesis
  8. A Java Source Instrumentation Language and Supporting Tool
    TaoYongJing ·Nanjing University ·2012 ·Master's thesis
  9. Study on Neural Network and Its Application in Software Fault Localization
    JiaoDongBin ·Dalian Maritime University ·2012 ·Master's thesis
  10. A Clustering-based Strategy to Identify Coincidental Correctness for Fault Localization
    ZuoZuo ·Nanjing University ·2012 ·Master's thesis
  11. Software Fault Localization Research Based on Program Semantics
    HeGuoQin ·Hunan University ·2011 ·Master's thesis
  12. Research and Design of Automatic Software Fault Locatlization Technology in Unit Test
  13. Research on Coverage-Based Fault Localization for Object-Oriented Programs
    XuQing ·Nanjing University ·2013 ·Master's thesis
  14. Research on Software Fault Localization Method Based on Fault Propagation Context Analysis
    WangZuo ·Harbin Institute of Technology ·2013 ·Master's thesis
  15. Research on Software Debugging Techniques Based on the Combination of Machine Learning and Program Analysis
    ZhangCheng ·Shanghai Jiaotong University ·2013 ·Doctoral dissertation
  16. Study on Theory and Key Technology of Photovoltaic System Operation
    XuRuiDong ·China University of Mining and Technology ·2012 ·Doctoral dissertation
  17. Study of the Hierarchical and Distributed Network Fault Management
  18. Research on the Key Techniques for Intelligent Network Fault Diagnosis
    ZhengQiuHua ·Zhejiang University ·2007 ·Doctoral dissertation
  19. Research on Fault Component Localization of Electric Power Systems Based on Wide Area Measurement Information
  20. Mountainous rural network overhead line fault location technology