• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

Computer Engineering & Science ›› 2016, Vol. 38 ›› Issue (04): 679-685.

• 论文 • Previous Articles     Next Articles

An improved software fault localization technology #br# based on crossover matrix statistics  

YANG Shuxin1,DIAO Wen1,2   

  1. (1.School of Information Engineering,Jiangxi University of Science and Technology,Ganzhou 341000;
    2.The Bank of Ganzhou Limited by Share Ltd,Ganzhou 341000,China)
  • Received:2015-06-08 Revised:2015-08-01 Online:2016-04-25 Published:2016-04-25

Abstract:

Fault localization is time consuming in the process of software debugging. Combining the automatic fault location technology with the automatic testing technology, high efficiency of software debugging can be realized. We propose an improved software fault localization technology based on crossover matrix statistics. We firstly conduct clustering reduction for all traces (successful or not) before localizing the faults so as to eliminate redundant execution traces. The remaining execution traces are stored in the crossover matrix. Finally the dubiety degree of the statements in the crossover matrix is calculated by the Crosstab algorithm and ranked to get the fault report. Performance experiments before and after the clustering reduction of traces on Siemens Suites verify the effectiveness of the proposed method.   

Key words: fault localization, clustering reduction, crossover matrix, performance comparison