期刊文献+

基于条件概率的错误定位方法 被引量:2

Fault Localization Method Based on Conditional Probability
下载PDF
导出
摘要 有效的软件调试是保证软件可靠性的关键。调试旨在发现程序中存在的错误并进行修复,其中错误定位最为烦琐,针对目前性能优异的基于程序频谱的定位方法展开研究。为了能直观地表现程序频谱与执行结果之间的联系,结合条件概率的思想对这种联系进行量化分析,并基于条件概率模型的特征提出了一种新的可疑度计算公式CPStar,该方法采用了不确定性系数Star,通过调节系数的大小提高公式的可用性,可以有效修正成功测试用例的数量对定位效果的不利影响。实验结果表明,提出的CPStar方法可以在一定程度上提高错误定位的准确性与效率,其定位效果优于其他方法。 Effective debugging can ensure the reliability of the software.The purpose of the debugging is to locate and repair errors in programs,and the process of locating is the most tedious.In this paper,the location method based on program spectrum with excellent performance was studied.To show the relationship between program spectrum and its execution results visually,the relationship was quantitatively analyzed based on conditional probability,and proposed a new method CPStar for suspicion calculation.Based on the uncertainty coefficient Star,this method can improve the usability of the formula by adjusting the size of the coefficient,and can effectively correct the negative impact of successful test cases on the location effect.Test results show that the proposed CPStar method can improve the accuracy and efficiency of error location to some extent,and its location effect is better than other methods.
作者 黄晴雁 牟永敏 HUANG Qing-yan;MU Yong-min(Computer College,Beijing Information Science and Technology University,Beijing 100192,China)
出处 《科学技术与工程》 北大核心 2019年第36期217-224,共8页 Science Technology and Engineering
基金 北京市自然科学基金重点研究专题项目(Z160002) 网络文化与数字传播北京市重点实验室开放课题(ICDD2017XX)资助
关键词 软件调试 错误定位 程序频谱 条件概率 CPStar方法 software debugging fault localization program spectrum conditional probability CPStar method
  • 相关文献

参考文献6

二级参考文献117

  • 1Jeffrey D, Gupta N, Gupta R. Fault localization using value replacement//Proceedings of the 2008 International Symposium on Software Testing and Analysis (ISSTA ' 08). Seattle, WA, USA, 2008:167-178.
  • 2Zhang X, Gupta N, Gupta R. Locating faults through automated predicate switching//Proceedings of the 28th International Conference on Software Engineering (ICSE ' 06 ). Shanghai, China, 2006:272 -281.
  • 3Reps T, Ball T, Das M, Larus J. The use of program profiling for software maintenance with applications to the year 2000 problem//Proceedings of the 6th European Software Engineering Conference Held Jointly with the 5th ACM SIG- SOFT International Symposium on Foundations of Software Engineering(ESEC'97/FSE-5). Zurich, Switzerland, 1997.- 432 449.
  • 4Harrold M J, Rothermel G, Sayre K, Wu R, Yi L. An empirical investigation of the relationship between spectra differences and regression faults. Software Testing Verification and Reliability, 2000, 10(3): 171-194.
  • 5Jones J A, Harrold M J, Stasko J. Visualization of test information to assist fault localization//Proceedings of the 24th International Conference on Software Engineering (ICSE' 02). Orlando, Florida, 2002: 467-477.
  • 6Wong E, Wei T, Qi Y, Zhao L. A Crosstab-based statistical method for effective fault localization//Proceedings of the 2008 International Conference on Software Testing, Verification, and Validation (ICST'08). Lillehammer, Norway, 2008:42-51.
  • 7Hao D, Zhang L, Pan Y, Mei H, Sun J. On similarity- awareness in testing-based {ault localization. Automated Software Engineering, 2008, 15(2):07-249.
  • 8Naish L, Lee H, Ramamohanarao K. A model for spectra- based software diagnosis. ACM Transactions on Software Engineering and Methodology, 2011, 20(3): to appear.
  • 9Liblit B, Naik M, Zheng A X, Aiken A, Jordan M I. Scalable statistical bug isolation//Proceedings of the 2005 ACM SIGPLAN Conference on Programming Language Design and Implementation(PLDI'05). 2005:15-26.
  • 10Liu C, Fei L, Yan X, Han J, Midkiff S P. Statistical debugging; A hypothesis testing-based approach. IEEE Transactions on Software Engineering, 2006, 32(10): 831-848.

共引文献106

同被引文献20

引证文献2

二级引证文献6

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部