Skip to main content

A Theoretical Framework for Spectrum-Based Fault Localization

  • Chapter
  • First Online:
Essential Spectrum-based Fault Localization
  • 280 Accesses

Abstract

An important research direction of spectrum-based fault localization (SBFL) is the effectiveness of risk evaluation formulas. In the past two decades, many relevant studies have adopted an empirical approach, which can hardly be considered as sufficiently comprehensive because of the huge number of combinations of various factors in SBFL. Though some studies aimed at overcoming the limitations of the empirical approach, none of them has provided a completely satisfactory solution. Therefore, in this chapter, we introduce a theoretical framework proposed by us (Xie et al (2013) ACM Trans Softw Eng Methodol 22(4):31:1–31:40), which can compare and analyze the effectiveness of any given risk evaluation formulas, without conducting any experiments. This framework is built on a concept of set division of all program statements, and this division is defined by the given formula. In Sect. 2.3 we show the proof of the set division for 30 commonly adopted formulas, which will be used in the following chapters.

Part of this chapter Ⓒ2013 ACM. Reprinted, with permission from ACM Transactions on Software Engineering and Methodology; October 2013. Vol. 22, No. 4, Article 31, 1–40. https://doi.org/10.1145/2522920.2522924 (Ref. [8]).

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 109.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Abreu R, Zoeteweij P, Gemund AJV (2006) An evaluation of similarity coefficients for software fault localization. In: Proceedings of the 12th Pacific Rim International Symposium on Dependable Computing, pp 39–46. https://doi.org/10.1109/PRDC.2006.18

  2. Abreu R, Zoeteweij P, Gemund AJV (2007) On the accuracy of spectrum-based fault localization. In: Proceedings of Testing: Academic and Industrial Conference Practice and Research Techniques-MUTATION, pp 89–98. https://doi.org/10.1109/TAIC.PART.2007.13

  3. Abreu R, Zoeteweij P, Golsteijn R, Gemund AJV (2009) A practical evaluation of spectrum-based fault localization. J Syst Softw 82(11):1780–1792. https://doi.org/10.1016/j.jss.2009.06.035

    Article  Google Scholar 

  4. Jones JA, Harrold MJ (2005) Empirical evaluation of the tarantula automatic fault-localization technique. In: Proceedings of the 20th IEEE/ACM International Conference on Automated Software Engineering, pp 273–282. https://doi.org/10.1145/1101908.1101949

  5. Wong WE, Wei T, Qi Y, Zhao L (2008) A crosstab-based statistical method for effective fault localization. In: Proceedings of the 1st International Conference on Software Testing, Verification and Validation, pp 42–51. https://doi.org/10.1109/ICST.2008.65

  6. Wong WE, Debroy V, Choi B (2010) A family of code coverage-based heuristics for effective fault localization. J Syst Softw 83(2):188–208. https://doi.org/10.1016/j.jss.2009.09.037

    Article  Google Scholar 

  7. Xie X, Wong WE, Chen TY, Xu B (2011) Spectrum-based fault localization: testing oracles are no longer mandatory. In: Proceedings of the 11th International Conference on Quality Software, pp 1–10. https://doi.org/10.1109/QSIC.2011.20

  8. Xie X, Chen TY, Kuo FC, Xu B (2013) A theoretical analysis of the risk evaluation formulas for spectrum-based fault localization. ACM Trans Softw Eng Methodol 22(4):31:1–31:40. https://doi.org/10.1145/2522920.2522924

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2021 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Xie, X., Xu, B. (2021). A Theoretical Framework for Spectrum-Based Fault Localization. In: Essential Spectrum-based Fault Localization. Springer, Singapore. https://doi.org/10.1007/978-981-33-6179-9_2

Download citation

  • DOI: https://doi.org/10.1007/978-981-33-6179-9_2

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-33-6178-2

  • Online ISBN: 978-981-33-6179-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics