Spectrum-based fault localization (SBFL) is one of the most effective fault localization techniques. It uses different formulas called the risk evaluation formula to pinpoint faults in the debugging process. The used formulas and program spectra may limit the accuracy of a specific SBFL method. This causes the testers to check many non-faulty statements before discovering the real faulty ones, consequently affecting the efficiency of fault localization. The empirical and theoretical studies show that combining these formulas can potentially optimize SBFL’s performance. To address this problem, this thesis proposed two different methods for fault localization. Our methods enhance the accuracy of spectrum-based fault localization.
展开▼