Abstract:Accurate fault localization is crucial for software debugging.Existing methods predominantly rely on dynamic execution information from test cases or static features of source code; however,the quantitative relationship between statement types and fault proneness has not been clearly established.Through quantitative analysis,this study reveals that statement types significantly influence fault rates.Consequently,a hybrid fault localization method is proposed,based on statement type priority.This approach first leverages existing fault localization techniques to compute the initial suspicion score for each statement.It then recalculates the fault probability and reorders the priorities of these suspicious statements based on the relative fault rate of each statement type,which is derived from our empirical study.Experimental results demonstrate that our method significantly enhances the performance of existing fault localization techniques.Compared with the approaches of Spectrum-Based Fault Localization and mutation-Based Fault Localization,the approach proposed can improve the Top-1 fault recall rate by 43.5% and 36.8%,respectively.These findings open up a new research direction and offer practical value for fine-grained,statement-level fault localization.