Research Article
Multi-Error Location Method Based on Path Clustering and Failure Weighting
Table 4
Comparison of error location costs of different methods
| Program name | Error location cost | Tarantula method | Jaccard method | Wong1 method | Wong2 methods | Naish2 methods | FCW method | QWo1 method | QWo2 method |
| Next day | Find the average number of check statements for fault 1 | 15.5 | 12.5 | 6.5 | 45.5 | 2.5 | 17 | 17 | Find the average number of check statements for fault 2 | 4 | 3 | 17 | 3 | 15 | 3 | 3 | Find the average number of check statements for fault 3 | 4 | 9.5 | 23.5 | 7.5 | 22.5 | 2 | 2 | Positioning cost | 0.178 | 0.189 | 0.356 | 0.424 | 0.303 | 0.167 | 0.167 |
| TCAS | Find the average number of check statements for fault 1 | 36 | 64 | 65.5 | 25.5 | 64 | 2 | 2 | Find the average number of check statements for fault 2 | 4.5 | 50 | 65.5 | 4.5 | 59 | 4 | 4 | Positioning cost | 0.248 | 0.699 | 0.804 | 0.184 | 0.755 | 0.037 | 0.037 |
| Sorting | Find the average number of check statements for fault 1 | 42.5 | 42.5 | 39.5 | 56.5 | 42.5 | 4.5 | 4.5 | Find the average number of check statements for fault 2 | 22 | 11.5 | 8.5 | 22 | 11.5 | 41.5 | 41.5 | Find the average number of check statements for fault 3 | 42.5 | 42.5 | 39.5 | 56.5 | 42.5 | 30.5 | 30.5 | Find the average number of check statements for fault 4 | 8 | 3 | 8.5 | 3 | 3 | 4.5 | 4.5 | Positioning cost | 0.535 | 0.463 | 0.447 | 0.642 | 0.463 | 0.367 | 0.367 |
| Tetris | Find the average number of check statements for fault 1 | 5 | 1 | 5 | 3 | 1 | 7 | 7 | Find the average number of check statements for fault 2 | 2.5 | 5 | 12.5 | 3 | 10.5 | 2.5 | 2.5 | Positioning cost | 0.313 | 0.25 | 0.729 | 0.25 | 0.479 | 0.396 | 0.396 |
|
|