SOBER

SOBER: statistical model-based bug localization. Automated localization of software bugs is one of the essential issues in debugging aids. Previous studies indicated that the evaluation history of program predicates may disclose important clues about underlying bugs. In this paper, we propose a new statistical model-based approach, called SOBER, which localizes software bugs without any prior knowledge of program semantics. Unlike existing statistical debugging approaches that select predicates correlated with program failures, SOBER models evaluation patterns of predicates in both correct and incorrect runs respectively and regards a predicate as bug-relevant if its evaluation pattern in incorrect runs differs significantly from that in correct ones. SOBER features a principled quantification of the pattern difference that measures the bug-relevance of program predicates.We systematically evaluated our approach under the same setting as previous studies. The result demonstrated the power of our approach in bug localization: SOBER can help programmers locate 68 out of 130 bugs in the Siemens suite when programmers are expected to examine no more than 10% of the code, whereas the best previously reported is 52 out of 130. Moreover, with the assistance of SOBER, we found two bugs in bc 1.06 (an arbitrary precision calculator on UNIX/Linux), one of which has never been reported before.


References in zbMATH (referenced in 8 articles )

Showing results 1 to 8 of 8.
Sorted by year (citations)

  1. Wang, Ke-chao; Wang, Tian-tian; Su, Xiao-hong: Test case selection using multi-criteria optimization for effective fault localization (2018)
  2. Dandan, Gong; Tiantian, Wang; Xiaohong, Su; Peijun, Ma: A test-suite reduction approach to improving fault-localization effectiveness (2013) ioport
  3. Ficco, Massimo; Pietrantuono, Roberto; Russo, Stefano: Bug localization in test-driven development (2011) ioport
  4. Hao, Dan; Xie, Tao; Zhang, Lu; Wang, Xiaoyin; Sun, Jiasu; Mei, Hong: Test input reduction for result inspection to facilitate fault localization (2010) ioport
  5. Hao, Dan; Zhang, Lu; Xie, Tao; Mei, Hong; Sun, Jia-Su: Interactive fault localization using test information (2009) ioport
  6. Parsa, Saeed; Vahidi-Asl, Mojtaba; Arabi, Somaye; Minaei-Bidgoli, Behrouz: Software fault localization using elastic net: A new statistical approach (2009)
  7. Hao, Dan; Zhang, Lu; Pan, Ying; Mei, Hong; Sun, Jiasu: On similarity-awareness in testing-based fault localization (2008) ioport
  8. Parsa, Saeed; Nare, Somaye Arabi; Vahidi-Asl, Mojtaba: Early bug detection in deployed software using support vector machine (2008)