The code in Listing 1 illustrates how confounding bias [1]} may arise in fault localization: the outcome of the faulty predicate at line 5 confounds the causal effects on program failure of the statements at lines 6-14. This implies that unless we adjust for confounding, the suspiciousness scores calculated for the variables and predicates located at those lines are likely to be biased and distorted.
