Fault localization based on statement frequency
详细信息    查看全文
文摘
Spectrum-based automatic fault localization techniques play an important role in facilitating the quick and accurate localization of faults in programs. Unfortunately, since these techniques are based on the binary coverage information, counting only the coverage of statements in each execution and ignoring the statement frequency information, their diagnostic accuracies are inherently limited, especially when faults occur in the iteration statements or loop bodies. To address this problem, we introduce statement frequency conception into spectrum-based fault localization (SFL) and then propose a fault localization method based on statement frequency (FLSF). We also conduct a case study involving seven programs in Siemens suite and two risk evaluation formulas to compare the effectiveness of the proposed method against Tarantula. The experimental results show that our method outperforms Tarantula in most situations with regard to stability and effectiveness.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700