Bug Localization Method Based on Gaussian Processes
Author:
Affiliation:

  • Article
  • | |
  • Metrics
  • |
  • Reference [19]
  • |
  • Related [20]
  • | | |
  • Comments
    Abstract:

    In software systems, bug localization is a key step in the bug fix process. By automatically narrowing down potential bug locations, the difficulty of bug fix is greatly reduced. In this paper, a bug localization method based on Gaussian processes, called Gaussian processes bug localization (GPBL) is proposed. This method can facilitate fixing bugs for the developers, by recommending source files that may contain bugs. In order to evaluate GPBL, the open-source software Eclipse and Argouml are employed as data sources. Experimental results show that GPBL can achieve 87.16% recall and 78.90% precision on average. In addition, GPBL can locate relevant buggy files more accurately compared with LDA-based bug localization methods.

    Reference
    [1] Liblit B, Naik M, Zheng AX, Aiken A, Jordan MI. Scalable statistical bug isolation. ACM SIGPLAN Notices, 2005,40(6):15-26.
    [2] Liu C, Yan XF, Fei L, Han JW, Midkiff SP. SOBER: Statistical model-based bug localization. ACM SIGSOFT Software Engineering Notes, 2005,30(5):286-295.
    [3] Zhou WJ, Zhang DP, Xu BW. An adaptive algorithm of locating fault interactions based combinatorial testing. Chinese Journal of Computers, 2011,34(8):1509-1518 (in Chinese with English abstract).
    [4] Zhou WJ, Zhang DP, Xu BW. Locating error interactions based on partial covering array. Chinese Journal of Computers, 2011,34(6):1126-1136 (in Chinese with English abstract).
    [5] Yu K, Chu W, Yu SP, Tresp V, Xu Z. Stochastic relational models for discriminative link prediction. Advances in Neural Information Processing Systems, 2007,19:1553-1560.
    [6] Zhou ZH, Yang Q. Machine Learning and Applications. Beijing: Tsinghua University Press, 2011 (in Chinese).
    [7] Chu W, Sindhwani V, Ghahramani Z, Keerthi SS. Relational learning with Gaussian processes. Neural Informaiton Processing Systems, 2007,19:289-296.
    [8] Poshyvanyk D, Guéhéneuc YG, Marcus A, Antoniol G, Rájlich V. Combining probabilistic ranking and latent semantic indexing
    for feature identification. In: Proc. of the 14th IEEE Int'l Conf. on Program Comprehension. Athens: Institute of Electrical and Electronics Engineers Computer Society, 2006. 137-148.
    [9] Gay G, Haiduc S, Marcus A, Menzies T. On the use of relevance feedback in IR-based concept location. In: Proc. of the IEEE Int'l Conf. on Software Maintenance. Edmonton: IEEE Computer Society, 2009. 351-360.
    [10] Lukins SK, Kraft NA, Etzkorn LH. Source code retrieval for bug localization using latent dirichlet allocation. In: Proc. of the 15th Working Conf. on Reverse Engineering. Antwerp: IEEE Computer Society, 2008. 155-164.
    [11] Lukins SK, Kraft NA, Etzkorn LH. Bug localization using latent dirichlet allocation. Information and Software Technology, 2010,52(9):972-990.
    [12] Zhou J, Zhang HY, Lo D. Where should the Bugs be fixed. In: Proc. of the Int'l Conf. on Software Engineering. Zurich: IEEE Computer Society, 2012. 14-24.
    [13] Davies S, Roper M, Wood M. Using bug report similarity to enhance bug localization. In: Proc. of the 19th Working Conf. on Reverse Engineering. IEEE Computer Society, 2012. 125-134.
    [14] Wu RX, Zhang HY, Kim SH, Cheung SC. Relink: Recovering links between bugs and changes. In: Proc. of the 19th ACM SIGSOFT Symp. and the 13th European Conf. on Foundations of Software Engineering. Szeged: Association for Computing Machinery, 2011. 15-25.
    [15] Manning CD, Raghavan P, Schutze H. Introduction to Information Retrieval. Cambridge: Cambridge University Press, 2009.
    [16] Mitchell TM. Machine Learning. McGraw-Hill, 1997.
    [17] Minka TP. A family of algorithms for approximate Bayesian inference [Ph.D. Thesis]. Massachusetts Institute of Technology,2001.
    [18] Williams CKI, Rasmussen CE. Gaussian Processes for Machine Learning. Cambridge: MIT Press, 2006.
    Cited by
    Comments
    Comments
    分享到微博
    Submit
Get Citation

陈理国,刘超.基于高斯过程的缺陷定位方法.软件学报,2014,25(6):1169-1179

Copy
Share
Article Metrics
  • Abstract:3476
  • PDF: 5369
  • HTML: 1395
  • Cited by: 0
History
  • Received:November 16,2012
  • Revised:November 16,2012
  • Online: May 30,2014
You are the first2037993Visitors
Copyright: Institute of Software, Chinese Academy of Sciences Beijing ICP No. 05046678-4
Address:4# South Fourth Street, Zhong Guan Cun, Beijing 100190,Postal Code:100190
Phone:010-62562563 Fax:010-62562533 Email:jos@iscas.ac.cn
Technical Support:Beijing Qinyun Technology Development Co., Ltd.

Beijing Public Network Security No. 11040202500063