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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
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)
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)
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)
Liblit, B.: Cooperative Bug Isolation. PhD thesis, University of California, Berkeley (2004)
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)
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)
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)
Freund, J.E., Miller, I., Miller, M.: Mathematical statistics with applications, 7th edn. Prentice Hall (2004)
Software-artifact infrastructure repository, http://sir.unl.edu/portal
Liu, C., Lian, Z.: How Bayesian Debug. In: Proceedings of the 6th IEEE International Conference on Data Mining ICDM, Hong Kong, China (2006)
Chilimbi, T.H.: HOLMES: Effective Statistical Debugging via Efficient Path Profiling. In: Proceedings of the International Conference on Software Engineering ICSE, Canada (2009)
Casella, G., Berger, R.: Statistical Inference, 2nd edn., Duxbury (2001)
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)
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)
Zeller, A.: Why Programs Fail: A Guide to Systematic Debugging. Morgan Kaufmann, San Francisco (2006)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights 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)