A Clustering-based Strategy to Identify Coincidental Correctness for Fault Localization

Author
ZuoZuo
Advisor
ZhaoZhiHong
School
Nanjing University
Major
Computer Science and Technology
Classification
TP311.53 Software Maintenance
Degree
Master's thesis
Year
2012
Downloads
85
Citations
0

Request the full text

Abstract

Despite great advances in software development, software testing is still an important part of software quality assurance. Once failures are detected by testing, we need to find the root cause of the failures, which is so-called fault localization. Since fault localization is a time-consuming and tedious work, many automatic techniques have been developed to assist fault localization. As an effective automatic fault localization technique, coverage-based fault localization leverages the execution information of both the failed runs and passed runs to assist the developer in identifying the program elements that induced a given failure. The intuition behind these techniques is that entities in a program that are primarily executed by failed test cases are more likely to be faulty than those that are primarily executed by passed test cases.Although coverage-based fault localization has showed promising results in previous studies, it is still necessary to further improve its effectiveness. One of the main challenges is the coincidental correctness problem. A test case is said to be coincidentally correct if it executes the faulty elements but no failure is revealed. These test cases will mislead the suspicious metric by affecting the number of test cases that execute the faulty statement, so that the effectiveness of the fault localization will be reduced.In this paper, we propose a clustering-based strategy to identify coincidental correctness. The key point of this strategy is that test cases in the same cluster have similar behaviors. Thus a passed test case in a cluster with some failed test cases is highly possible to be coincidentally correct because it has the potential to execute the faulty elements as those failed ones do. We evaluated this technique from two aspects: the ability to identify coincidental correctness and the effectiveness to improve the fault localization. The experimental results show that our strategy is effective to alleviate the coincidental correctness problem and to improve the effectiveness of fault localization.

Table of contents

Summary 5-6 ABSTRACT 6-11 Chapter 1: Introduction 11-17 1.1 Introduction 11-13 1.2 Related Work 13-14 1.3 Contributions 14-15 1.4 Context Structure 15-17 Chapter 2: Background 17-26 2.1 Coverage-based Fault Localization 17-19 2.2 Coincidental Correctness 19-23 2.2.1 Prevalence of Coincidental Correctness 19-21 2.2.2 Safety Reducing Effect 21-23 2.3 Cluster Analysis 23-26 Chapter 3: Methodology 26-32 3.1 General Process 26-27 3.2 Execution Profile Collection 27-29 3.3 Cluster Analysis 29 3.4 Dealing with the coincidental correctness 29-30 3.5 Fault Localization 30-32 Chapter 4: Tool Implementation 32-39 4.1 Overview 32-35 4.2 Design and Implementation 35-38 4.3 Limitations 38-39 Chapter 5: Experiment and Evaluation 39-51 5.1 Subject Programs 39-40 5.2 Evaluation Metrics 40-41 5.3 Experimental Results 41-49 5.3.1 Recognition Accuracy 41-43 5.3.2 Impact on the Effectiveness of Fault Localization 43-49 5.4 Threats to Validity in the Experiment 49-51 5.4.1 Internal Validity 49-50 5.4.2 External Validity 50 5.4.3 Construct Validity 50-51 Chapter 6: Conclusion and Future Work 51-53 References 53-57 Acknowledgments 57-59

Related dissertations

  1. A Study to Improve CFL Based on TheDiscovery of Coincidental Correctness Test Cases
    FengLuLu ·Zhejiang Sci-Tech University ·2014 ·Master's thesis
  2. Research on Performance Evaluation of Industry-University-Research Institute Collaborative Technology Innovation in Shaanxi Province
    LiuKui ·Xi'an University of Engineering ·2011 ·Master's thesis
  3. Research on the Development of Environmental Liability Insurance in China
  4. Research on the Regional Financial Development Difference of Hebei Province
    WangXinJuan ·Hebei University of Economics ·2014 ·Master's thesis
  5. Research on Competition of Credit Card Market Based on Bilateral Matching Theory
  6. The Production Life Cycle Research of Our Country’s Urban Resident Durables Goods Base on Logistic Model
    ZhangLei ·Anhui University of ·2012 ·Master's thesis
  7. The Study on Green Degree Evaluation of Retail Enterprises
    DuJing ·Hunan University ·2013 ·Master's thesis
  8. The Research on Credit Rating of China Property Insurance Company Based on Financial Indicators
  9. Promotional Activites Research Based on Custeomer Segmentation
  10. The Research of Customer Segmentation of Commercial Banks in China
  11. Export of Chinese Home Textiles Market Changes and Potentiality Analysis
    LeiJing ·Donghua University ·2014 ·Master's thesis
  12. Ji&LU&YU Convenience Food Manufactuirng Industry Competitiveness Comparative Analysis
    LiZuoZuo ·Hebei University of Economics ·2014 ·Master's thesis
  13. Quality Management Evaluation for the Tobacco Commercial Enterprise Based on Performance Management
    WangWenWen ·Shandong Normal University ·2014 ·Master's thesis
  14. An empirical study on the operating performance of China's household electrical appliance industry listing Corporation
  15. Chongqing City electronic equipment manufacturing industry competitiveness research
  16. Per Capita Net Income and Consumption of Rural Residents and Their Regional Differences in Shandong Province
    WangYaZuo ·Shandong Agricultural University ·2013 ·Master's thesis
  17. Application of Personalized Recommendation Technology in Agricultural Extension System
    ZouShiFang ·Central China Normal University ·2014 ·Master's thesis
  18. Evaluation Research of Cultivated Land Investment Potentials in Oversea Countries
  19. Studies on the Relationship between the Industrial Cluster and Economic Growth in Xi’an
  20. Study on the Development of County Economy of Luoyang City Based on Clustering and Factor Analysis