Research Article

Multi-Error Location Method Based on Path Clustering and Failure Weighting

Table 4

Comparison of error location costs of different methods

Program nameError location costTarantula methodJaccard methodWong1 methodWong2 methodsNaish2 methodsFCW method
QWo1 methodQWo2 method

Next dayFind the average number of check statements for fault 115.512.56.545.52.51717
Find the average number of check statements for fault 2431731533
Find the average number of check statements for fault 349.523.57.522.522
Positioning cost0.1780.1890.3560.4240.3030.1670.167

TCASFind the average number of check statements for fault 1366465.525.56422
Find the average number of check statements for fault 24.55065.54.55944
Positioning cost0.2480.6990.8040.1840.7550.0370.037

SortingFind the average number of check statements for fault 142.542.539.556.542.54.54.5
Find the average number of check statements for fault 22211.58.52211.541.541.5
Find the average number of check statements for fault 342.542.539.556.542.530.530.5
Find the average number of check statements for fault 4838.5334.54.5
Positioning cost0.5350.4630.4470.6420.4630.3670.367

TetrisFind the average number of check statements for fault 15153177
Find the average number of check statements for fault 22.5512.5310.52.52.5
Positioning cost0.3130.250.7290.250.4790.3960.396