Skip to main content

Effective Software Fault Localization by Statistically Testing the Program Behavior Model

  • Conference paper
Book cover Information Computing and Applications (ICICA 2011)

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 7030))

Included in the following conference series:

  • 2487 Accesses

Abstract

Existing Statistical fault localization approaches locate bugs by testing statistical behavior of each predicate and propose fault relevant predicates as nearest points to faults. In this paper, we present a novel statistical approach employing a weighted graph, elicited from run-time information of a program. The predicates are considered as nodes; an edge is denoting a run-time path between two predicates and its label is the number of simultaneous occurrence of connected predicates in the run. Firstly, a typical graph, representing failed run is contrasted with whole graphs of passed runs to find the two most similar graphs of the passed runs and failed runs and discriminative edges are chosen as suspicious edges. In next phase, we statistically test the distribution of the suspicious edges to find the most fault relevant edges; to this end, we apply a normality test on the suspicious edges and based on the test result, we use a parametric or non-parametric hypothesis testing to discover the most fault relevant edges. We conduct the experimental study based on Siemens test suite and the results show the proposing approach is remarkable.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight 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

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Zhenyu, Z., Chan, W.K., Tse, T.H., Hu, P., Wang, X.: Is non-parametric hypothesis testing model robust for statistical fault localization? Journal of Information and Software Technology 51(11), 1573–1585 (2009)

    Article  Google Scholar 

  2. Liu, C., Yan, X., Fei, L., Han, J., Midkiff, S.P.: Sober: Statistical model-based bug localization. In: 10th European Software Eng. Conf./13th ACM SIGSOFT Int’l Symposium Foundations of Software Engineering, Lisbon, pp. 286–295 (2005)

    Google Scholar 

  3. Arumuga Nainar, P., Chen, T., Rosin, J., Liblit, B.: Statistical debugging using compound Boolean predicates. In: International Symposium on Software Testing and Analysis, pp. 5–15. ACM Press, London (2007)

    Google Scholar 

  4. Liblit, B.: Cooperative Bug Isolation. PhD thesis, University of California, Berkeley (2004)

    Google Scholar 

  5. Liblit, B., Naik, M., Zheng, A., Aiken, A., Jordan, M.: Scalable Statistical Bug Isolation. In: Int’l Conference Programming Language Design and Implementation, Chicago, pp. 15–26 (2005)

    Google Scholar 

  6. Fei, L., Lee, K., Li, F., Midkiff, S.P.: Argus: Online Statistical Bug Detection. In: Baresi, L., Heckel, R. (eds.) FASE 2006. LNCS, vol. 3922, pp. 308–323. Springer, Heidelberg (2006)

    Chapter  Google Scholar 

  7. Zheng, A.X., Jordan, M.I., Liblit, B., Naik, M., Aiken, A.: Statistical debugging: simultaneous identification of multiple bugs. In: ICML 2006: Proceedings of the 23rd International Conference on Machine Learning, pp. 1105–1112. ACM Press, NY (2006)

    Google Scholar 

  8. Freund, J.E., Miller, I., Miller, M.: Mathematical statistics with applications, 7th edn. Prentice Hall (2004)

    Google Scholar 

  9. Software-artifact infrastructure repository, http://sir.unl.edu/portal

  10. Liu, C., Lian, Z.: How Bayesian Debug. In: Proceedings of the 6th IEEE International Conference on Data Mining ICDM, Hong Kong, China (2006)

    Google Scholar 

  11. Chilimbi, T.H.: HOLMES: Effective Statistical Debugging via Efficient Path Profiling. In: Proceedings of the International Conference on Software Engineering ICSE, Canada (2009)

    Google Scholar 

  12. Casella, G., Berger, R.: Statistical Inference, 2nd edn., Duxbury (2001)

    Google Scholar 

  13. Jones, J.A., Harrold, M.J.: Empirical evaluation of the Tarantula automatic fault localization technique. In: Proceedings of the 20th IEEE/ACM International Conference on Automated Software Engineering (ASE 2005), pp. 273–282. ACM Press, New York (2005)

    Google Scholar 

  14. Renieris, M., Reiss, S.P.: Fault localization with nearest neighbor queries. In: Proceedings of the 18th IEEE International Conference on Automated Software Engineering (ASE 2003), pp. 30–39. IEEE Computer Society Press, Los Alamitos (2003)

    Chapter  Google Scholar 

  15. Zeller, A.: Why Programs Fail: A Guide to Systematic Debugging. Morgan Kaufmann, San Francisco (2006)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2011 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Peyvandi-Pour, A., Parsa, S. (2011). Effective Software Fault Localization by Statistically Testing the Program Behavior Model. In: Liu, B., Chai, C. (eds) Information Computing and Applications. ICICA 2011. Lecture Notes in Computer Science, vol 7030. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-25255-6_18

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-25255-6_18

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-25254-9

  • Online ISBN: 978-3-642-25255-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics