Research on Program Fault Localization Based on the Execution Path Clustering

Author
YaoYanLing
Advisor
GuoJingZuo
School
Dalian Maritime University
Major
Computer Science and Technology
Classification
TP311.53 Software Maintenance
Degree
Master's thesis
Year
2013
Downloads
35
Citations
0

Request the full text

Abstract

Software, as the soul of computer, will affect the normal work once it faults. It may lead to huge losses, even to the safety of people’s lives and property. Program errors are the major cause of software faults, so locating the program error automatically, quickly and accurately can effectively improve the software reliability. In recent years, great achievements have been made in the field of the program fault localization technology. The TBFL method based on the test is a kind of intelligent method in locating program error by using test-covering information. Test-based fault localization (TBFL) method requires a large number of test cases to collect the test-covering information which means a large amount of redundancy. It will get a poor result of fault localization when the calculation method is sensitive to the test cases.On the basis of previous studies, the FCM clustering method was applied to handling with the program execution paths according to the limitation of the existing mainstream methods. This method firstly collected all the test cases status information to save a trace files with LOUPE tools. Secondly, the trace files were analyzed using the MATLAB and then program executing path was express with a multivolume vector. On the basis of the general architecture of FLOC, program executing path was collected with the clustering algorithm. A large number of the same or similar execution paths were divided to fewer typical paths with the FCM algorithm. The typical clustered paths were selected as the test information. Finally, fault localization was implementing by the difference contrast or combining existing difference calculation methods.The algorithm of FCM was introduced to locate program fault in this paper. By the FCM, a large number of experiments were done on the Siemens data set and compared with Tarantula, SOBER and SBI algorithm. The experiments showed that the clustering method could reduce the sensitivity to the test case and could get the same effect with large numbers only using fewer test cases, so the method could reduce the path redundancy and improve the effect of position.

Table of contents

Summary 5-6 ABSTRACT 6-9 Chapter 1 Introduction 9-15 1.1 Background 9-12 1.2 research 12-13 1.3 research objectives 13 1.4 thesis structure 13-15 <br Chapter 2 program error localization /> research status 15-29 2.1 based on static analysis of the error location 2.1.1 method statement for 15-19 15-16 <br / > 2.1.2 formal methods 16-17 2.1.3 symbolic execution of method 17 2.1.4 pointer analysis 17-19 2.2 based fault localization testing 19-27 2.2.1 error model-based positioning 19-21 2.2.2 positioning nbsp based on false dependency ; 21-22 2.2.3 error location based on execution trace 22-27 2.3 Summary 27-29 Chapter 3 FLOC framework and path introducing clustering algorithm 29-39 3.1 FLOC framework 29-33 3.1.1 execution trace organization 30 3.1.2 execution track selection calculation 30-31 3.1.3 suspicious degree 31-33 3.1.4 positioning evaluation report 33 3.2 path introducing clustering algorithm 33-37 3.2.1 clustering technology introducing 33-34 3.2.2 clustering algorithm 34-35 <br / > 3.2.3 clustering algorithm 35-37 3.3 Summary 37-39 Chapter 4 path clustering algorithm in locating bugs in generate 39-51 4.1 path matrix 39-43 4.1.1 execution path 39-41 4.1.2 path matrix 41 -43 4.2 path clustering 43-47 4.2.1 FCM clustering algorithm 43-45 select nbsp 4.2.2 cluster center ; 45 4.2.3 clustering algorithm applied 45-47 4.3 difference calculation 47-50 4.3.1 similarity calculation 48 -49 4.3.2 differences between 49-50 4.4 Summary 50-51 Chapter 5 experimental analysis 51-61 <br / > 5.1 experimental data 51-52 5.2 test environment to build 52-53 5.2.1 Linux system Loupe tool 52-53 5.2 .2 Windows system Matlab tool 53 5.3 experimental procedure 53-56 5.4 results 56-59 5.5 Summary 59-61 Chapter 6 summary and Outlook 61-63 6.1 summarizes 61-62 6.2 Prospects 62-63 References 63-69 Thanks 69

Related dissertations

  1. Algorithm of Multiple Faults Localization in Software Debugging
    LiBo ·Dalian Maritime University ·2012 ·Master's thesis
  2. Design and Implementation of a Testing Based Program Fault Localization System
    ChenNeng ·Dalian Maritime University ·2011 ·Master's thesis
  3. Study on Several Methods for Digital Video/Image Restoration
    HuoXing ·Hefei University of Technology ·2013 ·Doctoral dissertation
  4. Research on the Segmentation Algorithms of Magnetic Resonance (MR) Brain Images with Intensity Inhomogeneity
    CheNa ·Jilin University ·2013 ·Doctoral dissertation
  5. Fuzzy Cluster Analysis Application and Researching in Medical Image
    KangYingYing ·Lanzhou University ·2013 ·Master's thesis
  6. Study on Iterative Mapreduce Computation Model for Clustering Analysis
    XuWei ·Tianjin University ·2012 ·Master's thesis
  7. Researches in Kernel-based Fuzzy C-Means Clustering Algorithm Based on GA Optimization
  8. Research on software fault location technology based on Data Mining
  9. A Study to Improve CFL Based on TheDiscovery of Coincidental Correctness Test Cases
    FengLuLu ·Zhejiang Sci-Tech University ·2014 ·Master's thesis
  10. Researching the Effect of Lupeol to HepG2Cells
    ShiShuai ·Hebei Medical University ·2014 ·Master's thesis
  11. Clinical Expression of Immune Cell、level of sIL-2R with Other Cytokines and HER-2Protein in the Patients with Gastric Cancer
    WangLongYue ·Shanxi Medical ·2013 ·Master's thesis
  12. The Effect of Dendritic Cell in Acute Rejection on Heteropic Heart Transplantation in Mice
    QinNingBo ·Hebei North University ·2013 ·Master's thesis
  13. Studies on Protective Effects of PQS on EOC2Cells of Aβ25-35Injury and Its Possible Mechanisms
    MaZuo ·Xinxiang Medical ·2013 ·Master's thesis
  14. Role of Oxidative Damage and Mechanism of Chromium Picolinate on Chick Embryo Fibroblast
    BaiYanFei ·Shandong Agricultural University ·2013 ·Master's thesis
  15. 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
  16. α、β Radiation Detection Technology Research and System Implementation
    YangYiJianXia ·University of North ·2014 ·Master's thesis
  17. Research on Rational Layout of Container Transferring Cities in Multimodal Transportation of Shanghai Port from the View of Low-Carbon
    MaoXiaoYing ·Ocean University of China ·2013 ·Master's thesis
  18. Research for Launch Vehicle Flight Performence ANA Lyse and Evaluate Methods
    WangZhen ·Harbin Institute of Technology ·2013 ·Master's thesis
  19. Study on Evaluation System of Degree of Scientific Development of Coal-based Enterprises
    YangCongYin ·China University of Geosciences ·2013 ·Doctoral dissertation
  20. Fuzzy Modeling and Controlling of RF Cable Payoff Equipment
    LiuLin ·Shanghai Jiaotong University ·2012 ·Master's thesis