Proceedings

Diagnosing Software Faults Using Multiverse Analysis

Video Download BibTeX Cite

Proceedings of the Twenty-Ninth International Joint Conference on Artificial Intelligence. Main track. Pages 1629-1635.

https://doi.org/10.24963/ijcai.2020/226

Abstract

Spectrum-based Fault Localization (SFL) approaches aim to efficiently localize faulty components from examining program behavior. This is done by collecting the execution patterns of various

combinations of components and the corresponding outcomes into a spectrum. Efficient fault localization depends heavily on the quality of the spectra. Previous approaches, including the current

state-of-the-art Density- Diversity-Uniqueness (DDU) approach, attempt to generate “good” test-suites by improving certain structural properties of the spectra. In this work, we propose a different

approach, Multiverse Analysis, that considers multiple hypothetical universes, each corresponding to a scenario where one of the components is assumed to be faulty, to generate a spectrum that

attempts to reduce the expected worst-case wasted effort over all the universes. Our experiments show that the Multiverse Analysis not just improves the efficiency of fault localization but also achieves better coverage and generates smaller test-suites over DDU, the current state-of-the-art technique. On average, our approach reduces the developer effort over DDU by over 16% for more than 92% of the instances. Further, the improvements over DDU are indeed statistically significant on the paired Wilcoxon Signed-rank test.

  1. [Abreu et al., 2006] Rui Abreu, Peter Zoeteweij, and Arjan J. C. van Gemund. An Evaluation of Similarity Coeffi- cients for Software Fault Localization. In Proc. of the 12th PRDC, page 39-46. IEEE Computer Society, 2006.
  2. [Abreu et al., 2009a] Rui Abreu, Peter Zoeteweij, and Arjan J. C. van Gemund. Spectrum-Based Multiple Fault Local- ization. In Proc. of the 2009 IEEE/ACM ASE, page 88-99. IEEE Computer Society, 2009.
  3. [Abreu et al., 2009b] Rui Abreu, Peter Zoeteweij, Rob Gol- steijn, and Arjan J. C. van Gemund. A Practical Evalua- tion of Spectrum-Based Fault Localization. J. Syst. Softw., 82(11):1780-1792, 2009.
  4. [Abreu et al., 2009c] Rui Abreu, Peter Zoeteweij, and Arjan J. C. Van Gemund. A New Bayesian Approach to Multiple Intermittent Fault Diagnosis. In Proc. of the 21st IJCAI, page 653-658. IJCAI
  5. [Baudry et al., 2006] Benoit Baudry, Franck Fleurey, and Yves Le Traon. Improving Test Suites for Efficient Fault Localization. In Proc. of the 28th ICSE, page 82-91. ACM, 2006.
  6. [Bell et al., 2018] Jonathan Bell, Owolabi Legunsen, Michael Hilton, Lamyaa Eloussi, Tifany Yung, and Darko Marinov. DeFlaker: Automatically Detecting Flaky Tests. In Proc. of the 40th ICSE, page 433-444. ACM, 2018.
  7. [Campos et al., 2012] José Campos, André Riboira, Alexan- dre Perez, and Rui Abreu. GZoltar: An Eclipse Plug-in for Testing and Debugging. In Proc. of the 27th IEEE/ACM ASE, page 378-381. ACM, 2012.
  8. [Campos et al., 2013] José Campos, Rui Abreu, Gordon Fraser, and Marcelo d'Amorim. Entropy-based test gener- ation for improved fault localization. In Proc. of the 28th IEEE/ACM ASE, page 257-267. IEEE Press, 2013.
  9. [Campos et al., 2014] José Campos, Andrea Arcuri, Gordon Fraser, and Rui Abreu. Continuous test generation: En- hancing continuous integration with automated test gener- ation. In Proc. of the 29th ACM/IEEE ASE, page 55-66. ACM, 2014.
  10. [Fraser and Arcuri, 2011] Gordon Fraser and Andrea Arcuri. EvoSuite: Automatic Test Suite Generation for Object- Oriented Software. In Proc. of the 19th ACM ESEC/FSE, page 416-419. ACM, 2011.
  11. [Fraser and Arcuri, 2015] Gordon Fraser and Andrea Arcuri. 1600 Faults in 100 Projects: Automatically Finding Faults While Achieving High Coverage with EvoSuite. Empiri- cal Softw. Engg., 20(3):611-639, 2015.
  12. [Gonzalez-Sanchez et al., 2011] Alberto Gonzalez-Sanchez, Hans-Gerhard Gross, and Arjan JC van Gemund. Model- ing the Diagnostic Efficiency of Regression Test Suites. In Proc. of the 4th IEEE ICSTW, pages 634-643, 2011.
  13. [Jost, 2006] Lou Jost. Entropy and diversity. Oikos, 113(2):363-375, 2006.
  14. [Just et al., 2014] René Just, Darioush Jalali, and Michael D. Ernst. Defects4J: A Database of Existing Faults to Enable Controlled Testing Studies for Java Programs. In Proc. of the 23rd ISSTA, page 437-440. ACM, 2014.
  15. [Liu et al., 2019] Kui Liu, Anil Koyuncu, Tegawendé F Bis- syandé, Dongsun Kim, Jacques Klein, and Yves Le Traon. You Cannot Fix What You Cannot Find! An Investigation of Fault Localization Bias in Benchmarking Automated Program Repair Systems. In Proc. of the 12th IEEE ICST, pages 102-113, 2019.
  16. [Lucia et al., 2014] Lucia Lucia, David Lo, Lingxiao Jiang, Ferdian Thung, and Aditya Budi. Extended Comprehen- sive Study of Association Measures for Fault Localization. J. Softw. Evol. Process, 26(2):172-219, 2014.
  17. [McMinn, 2011] Phil McMinn. Search-Based Software Testing: Past, Present and Future. In Proc. of the 4th IEEE ICSTW, pages 153-163, 2011.
  18. [Mohd Razali and Yap, 2011] Nornadiah Mohd Razali and Bee Yap. Power Comparisons of Shapiro-Wilk, Kolmogorov-Smirnov, Lilliefors and Anderson-Darling Tests. J. Stat. Model. Analytics, 2:21-33, 2011.
  19. [Namin and Andrews, 2009] Akbar Siami Namin and James H. Andrews. The Influence of Size and Coverage on Test Suite Effectiveness. In Proc. of the 18th ISSTA, page 57-68. ACM, 2009.
  20. [Paterson et al., 2019] David Paterson, José Campos, Rui Abreu, Gregory M Kapfhammer, Gordon Fraser, and Phil McMinn. An Empirical Study on the Use of Defect Pre- diction for Test Case Prioritization. In Proc. of the 12th IEEE ICST, pages 346-357, 2019.
  21. [Pearson et al., 2017] Spencer Pearson, José Campos, René Just, Gordon Fraser, Rui Abreu, Michael D. Ernst, De- ric Pang, and Benjamin Keller. Evaluating and Improv- ing Fault Localization. In Proc. of the 39th ICSE, page 609-620. IEEE Press, 2017.
  22. [Perez et al., 2017a] Alexandre Perez, Rui Abreu, and Marcelo d'Amorim. Prevalence of Single-Fault Fixes and Its Impact on Fault Localization. In Proc. of the 10th IEEE ICST, pages 12-22, 2017.
  23. [Perez et al., 2017b] Alexandre Perez, Rui Abreu, and Arie van Deursen. A Test-Suite Diagnosability Metric for Spectrum-Based Fault Localization Approaches. In Proc. of the 39th ICSE, page 654-664. IEEE Press, 2017.
  24. [Shamshiri et al., 2015] Sina Shamshiri, René Just, José Miguel Rojas, Gordon Fraser, Phil McMinn, and Andrea Arcuri. Do Automatically Generated Unit Tests Find Real Faults? An Empirical Study of Effec- tiveness and Challenges. In Proc. of the 30th IEEE/ACM ASE, pages 201-211, 2015.
  25. [Staats et al., 2012] Matt Staats, Gregory Gay, Michael Whalen, and Mats Heimdahl. On the danger of coverage directed test case generation. In FASE, pages 409-424. Springer Berlin Heidelberg, 2012.
  26. [Wong et al., 2016] W. Eric Wong, Ruizhi Gao, Yihao Li, Rui Abreu, and Franz Wotawa. A Survey on Software Fault Localization. IEEE TSE, 42(8):707-740, 2016.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards