Fault Localization Method Based on Difference Comparison and Its Improvement
- Author
- HongLiNa
- Advisor
- ChenRong
- School
- Dalian Maritime University
- Major
- Computer Science and Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 122
- Citations
- 1
Abstract
Software fault localization with the goal to locate fault in program quickly and correctly is a complex and time-consuming process. Testing-based fault localization (TBFL) localizes program errors (or faults) by using testing coverage information. TBFL can be divided into distance measures-based and characteristic statistics-based methods. Distance measures-based method calculates the minimal difference between failing run and successful runs for fault location, while the position of the fault may not be in the minimal difference but in other differences, also this method doesn not rank suspicious codes in terms of their likelihood of being faulty. In contrast, feature-based statistical method locates faults through analyzing statistical information of dynamic program behaviors, which ranks the suspicious codes but the ranking metrics are sometimes subject to the quality of test cases. Most of the research works in TBFL require a large amount of failing runs and successful runs. Those required execution data inevitably contain a large number of redundant execution paths, and thus leads to a lower efficiency and accuracy of locating.To tackle these problems, we propose a runs reduction algorithm on the basis of control flow alignment, then propose an improved fault localization method based on statistical differences between reduced runs. To do so, we first cluster all successful runs and failing runs respectively in order to eliminate run redundancy, then calculate the differences between each class of successful runs and each class of failing runs, and finally return bug reports through statistical analysis of these differences. We not only rank suspicious codes by their likelihood of being faulty, but also rank some unsuspicious codes according to their possibilities of not containing the bug. The experimental results show that our algorithm performs significantly better than competitors when there are branch errors in programs, and also makes a good effect on other error types. Our algorithm greatly improved the efficiency and accuracy of fault localization, and can help the user find errors quickly and correctly.
Table of contents
Abstract 5-6
Abstract 6-9
Chapter 1 Introduction 9-13
1.1 Background 9-10 < br /> 1.2 research and contributions 10-11
1.3 paper structure 11-13
Chapter 2 Software fault Locator Technical Overview 13-23 <br / > 2.1 traditional debugging techniques 13-14
2.2 test-based fault localization techniques (TBFL) 14-19
2.2.1 distance metric based approach 14-17
2.2.2 feature-based statistical methods 17-19
2.3 other fault localization techniques 19-23
Chapter 3 TBFL research foundation 23-33
3.1 TBFL technical framework 23-24
3.2 test suite 24-26
3.3 runs preprocessing 26-28 < br /> 3.3.1 running redundant 26-27
3.3.2 running pretreatment technology 27-28
3.4 program dependence graph based on the quality of reporting assessment system 28-33
3.4.1 program dependence graph 28-30
3.4.2 quality Report evaluation system 30-33
Chapter 4, based on run- around less differences statistical software fault location 33-41
4.1 runs about minus 33-37
4.1.1 related definitions 33-35
4.1 .2 based on Control Flow alignment runs about minus 35-37
4.2 fault location 37-41
4.2.1 Variance Calculation 37-38 <br / > 4.2.2 differences Statistics fault location 38-41
Chapter 5 system Design and Implementation 41-51
5.1 system design 41-43 <br / > 5.2 system implementation 43-51
5.2.1 analytical procedures to achieve 43-45
5.2.2 construct CDG 45-46
5.2. 3 Program Cartridge achieve 46-48
5.2.4 fault Locator achieve 48-51
Chapter 6 experimental Analysis 51-55
6.1 experimental environment 51
6.2 experimental data 51
6.3 assessing 51-55
Chapter 7 Summary and Outlook 55-57
7.1 Summary 55
7.2 Prospects 55-57
References 57-63
papers published during the study for a degree 63-65
Thanks 65-66
Related dissertations
- Competitive Strategic Identification Methods and Its Applications
- A Study of Shaoyang Small-medium Sized Clothing Enterprise to Brand
- Study of the Fitting and Clustering about Stock Transaction Data
- Forecast Model Research of Current Savings Bank Debt Capital
- A Comparative Study on the Competitiveness of Chinese Coal Listed Companies
- Data Aggregation Algorithm Based on TD-SCDMA Transmission Technology for Wireless Sensor Networks
- Research on Clustering and Wake-up Techniquein WSNs
- Research on clustering routing protocols in energy saving of mobile sensor nodes in three dimensional space
- The Improved Evolutionary Multi-objective Optimization Algorithms Based on Invasive Weed Optimization Operator and for Clustering
- Artificial bee colony algorithm and its application
- Research of Conformal Predictor Based on Distance Metric Learning and Clustering
- LibD3C2.0:an Ensemble Classifier Based on Clustering and Its Parallel Implementation
- The Analysis of the Filtering Model of Campus Network Security and Its Key Algorithm
- Research on Key Techniques of Network Intrusion Detection
- The Log Pattern Cluster Mining Algorithm Based on Prefix Tree
- Research on Citation Recommendation Strategy Based on Multiple Factors
- Studies on Hot Topics Discovery of Public Opinion on the Internet
- Research and Application of Topic Detection on Micro-blog
- The Research of Hybrid Recommendation Algorithm Based on Clustering and Session Scenarios
- Research and Application of Detections on the Outbreak of Micro-blogging Spam