The invention relates to the technical field of
software fault positioning, in particular to a
software fault positioning method based on a comprehensive statement association graph, which comprises the following steps of: establishing a virtual starting node for each function in
software, and establishing a
unique identifier, namely a statement node, for each statement in the software; defining
control flow information and data flow information in the software program as edges; establishing a
directed graph comprising a node set and an edge set; running different test cases, defining a path covered by each
test case as a sequence, and enabling each sequence to correspond to the established
directed graph to obtain a comprehensive statement association graph; and carrying out
software fault positioning by utilizing the comprehensive statement association graph. According to the method, the problem of insufficient use of statement associated information in a current fault positioning method is solved, and the positioning efficiency is improved, so that the fault positioning efficiency and accuracy are remarkably improved in the software test and maintenance process.