Apply Composed Statistical Model in Program Fault Localization

Author
LuoZuoXuan
Advisor
ZhaoJianJun
School
Shanghai Jiaotong University
Major
Computer Software and Theory
Classification
TP311.53 Software Maintenance
Degree
Master's thesis
Year
2010
Downloads
92
Citations
0

Request the full text

Abstract

As the increased workload and difficulty in software maintains, research in automatic debug and program fault localization is more and more significant. There are various aspects of the research in program fault localization. Statistical based method is a new and important research topic, which is motivated to inference the location of bugs in programs by statistic theories.Since the common behavior characteristic for programmers is hard to abstract and the logic for different programs is hard to clarify, it may not make sense to follow state of the art methods, which abstracts unitary feature from runtime states and build unitary model on it. Those methods have problems such as weak generalization, poor coverage on bug patterns and strong dependence on test suites.There are two proposals to deal with the issues that happened in unique statistical model. The first is that abstract multi-dimension features from runtime states and build a complex model. The second is that build unique statistical for each dimension of feature and compose them by some mechanism. We take the second proposal to research. We propose composed statistical model to solve the problems referred. Composed statistical model build effective unique model for each feature at the very beginning. These models have fine performance in fault localization under certain environment. To guarantee the basic system performance, performances of different models are complementary. Then we compose these models into one integrated system.Then there may be two questions for this research:1. How to build unique modelsWe abstract three features from runtime states, which are coverage on control flow graph, execution counts in runtime, transfer probability between previous and succeed nodes in control flow graph. Then we build Occupancy model, Relativity model, Execution counts distribution model and Previous/Succeed distribution model for relevant feature.2. How to composeWe compose those four models by boosting algorithm. The effect that each model takes is adjusted by model weights.The experiment results illustrate that our unique statistical model covers some error patterns and find the bugs to this patterns excellently. But those models are strong dependent on bug pattern and hard to generalized to other bugs. Composed statistical model fix this problem perfectly. It can directly localize bugs to various patterns in each experiment.Therefore, composed statistical model, which has stronger capability on fault localization and noise tolerance, can find the bugs in various patterns effectively. The improvement on analysis performance and generalization can be verified by comparative experiments between composed model and unique model.

Table of contents

Abstract 3-5 ABSTRACT 5-11 first chapter 11-16 1.1 Background 11-13 < br /> 1.2 research 13-14 1.2.1 research Programme 13-14 1.2.2 research objectives 14 1.3 text structure 14-16 Chapter research 16-28 2.1 Knowledge-based research 16-17 2.2 based slice of 17-20 2.2.1 running on a slice 17-19 2.2.2 nearest neighbor search technology 19-20 2.3 modify the memory status 20 2.4 based on statistical studies 20-26 2.4.1 Technical Framework 20-22 2.4.2 nbsp formation and development of technology ; 22 2.4.3 DAACS 22 2.4.4 CBI -based approach 22-25 2.4.5 Tarantula 25-26 2.5 problems and Solutions 26-27 2.6 Chapter Summary 27-28 Chapter III analyzes the characteristics of procedural errors 28-41 < br /> 3.1 error Example 28-30 3.2 data sampling and definitions 30-32 3.2.1 data sampling 30-31 3.2 .2 data Definition 31-32 3.3 assumptions and feature extraction 32-40 3.3.1 basic assumptions and simplifications 33-34 <br / > 3.3.2 share consistency assumption 34-36 3.3.3 predecessor / successor consistency assumption 36-38 3.3.4 correlation assumptions 38-39 3.3.5 distribution of consistency 39-40 3.4 Summary 40-41 Chapter combined model 41-57 4.1 share model 41 4.2 correlation model 41-45 4.2.1 analysis of variance 41-42 4.2. 2 Data standardization 42-43 4.2.3 model Definition 43-45 4.3 distribution test model 45-49 4.3.1 models Definition 45-47 4.3.2 model validation 47-49 4.4 predecessor / successor distribution test model 49-53 4.4.1 models Definition 49-51 4.4.2 smoothing 51-53 4.5 combined model 53-54 4.5.1 normalization function 53 4.5.2 Boosting method 53-54 4.6 system architecture 54-56 4.7 chapter Summary 56-57 <br / > Chapter experiments and evaluate 57-66 5.1 experimental environment 57 5.2 path compression 57-58 5.3 times performance test 58-59 5.4 model performance independent experiments 59-63 5.4.1 error positioning performance experiments 59-60 5.4.2 matching experiments 60-63 5.5 combined model performance analysis and comparative experiments 63-64 5.6 Chapter Summary 64-66 Chapter Summary and Outlook 66-68 6.1 article summarizes 66 6.2 Prospects 66-68 References 68-74 studying during the Master accepted papers have been published or 74-75 Thanks 75-78

Related dissertations

  1. Study on Neural Network and Its Application in Software Fault Localization
    JiaoDongBin ·Dalian Maritime University ·2012 ·Master's thesis
  2. Research and design of on-board control universal testing platform software
  3. Design and Implementation of Automated Test Case Generator
  4. The Design and Implementation of Public Client Business System of Internet Bank Based on J2EE
    XuYingJun ·Tianjin University ·2011 ·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. Web Based Metwork-Security Tool Testing and Analysis
  10. Research and Application of Network Fault Intelligent Diagnosis Technology
    MaAiPing ·Northeastern University ·2010 ·Master's thesis
  11. Software development for a launch vehicle
  12. Algorithm of Multiple Faults Localization in Software Debugging
    LiBo ·Dalian Maritime University ·2012 ·Master's thesis
  13. Research on Software Automatic Testing and Its Application in Online Bank System
    AiWen ·Jilin University ·2012 ·Master's thesis
  14. Research and Implementation of Automatic Stub Generation Technology in Unit Test
  15. Research on Android-based Keyword-driven Automated Testing Framework
    HouJuMin ·Sun Yat-sen University ·2012 ·Master's thesis
  16. A Clustering-based Strategy to Identify Coincidental Correctness for Fault Localization
    ZuoZuo ·Nanjing University ·2012 ·Master's thesis
  17. Research and Implementation of Automatic Software Testing Platform for Adsl Access Device
    MaJunFei ·Shanghai Jiaotong University ·2009 ·Master's thesis
  18. Software Fault Localization Research Based on Program Semantics
    HeGuoQin ·Hunan University ·2011 ·Master's thesis
  19. Research and Design of Automatic Software Fault Locatlization Technology in Unit Test
  20. Design and Realization of Software Testing Management Tool