跳到主要导航 跳到搜索 跳到主要内容

Effective fault localization using code coverage

  • W. Eric Wong*
  • , Yu Qi
  • , Lei Zhao
  • , Kai Yuan Cai
  • *此作品的通讯作者
  • University of Texas at Dallas

科研成果: 书/报告/会议事项章节会议稿件同行评审

摘要

Localizing a bug in a program can be a complex and time-consuming process. In this paper we propose a code coverage-based fault localization method to prioritize suspicious code in terms of its likelihood of containing program bugs. Code with a higher risk should be examined before that with a lower risk, as the former is more suspicious (i.e., more likely to contain program bugs) than the latter. We also answer a very important question: How can each additional test case that executes the program successfully help locate program bugs? We propose that with respect to a piece of code, the aid introduced by the first successful test that executes it in computing its likelihood of containing a bug is larger than or equal to that of the second successful test that executes it, which is larger than or equal to that: of the third, successful test that executes it, etc. A tool, χDebug, was implemented to automate the computation of the risk of the code and the subsequent prioritization of suspicious code for locating program bugs. A case study using the Siemens suite was also conducted. Data collected from our study support the proposal described above. They also indicate that our method (in particular Heuristics III (c), (d), and (e)) can effectively reduce the search domain for locating program bugs.

源语言英语
主期刊名Proceedings - 31st Annual International Computer Software and Applications Conference, COMPSAC 2007
出版商IEEE Computer Society
449-456
页数8
ISBN(印刷版)0769528708, 9780769528700
DOI
出版状态已出版 - 2007
活动31st Annual International Computer Software and Applications Conference, COMPSAC 2007 - Beijing, 中国
期限: 24 7月 200727 7月 2007

丛书

姓名Proceedings - International Computer Software and Applications Conference
1
ISSN(印刷版)0730-3157

会议

会议31st Annual International Computer Software and Applications Conference, COMPSAC 2007
国家/地区中国
Beijing
时期24/07/0727/07/07

学术指纹

探究 'Effective fault localization using code coverage' 的科研主题。它们共同构成独一无二的学术指纹。

引用此