The invention discloses a
software defect positioning method and
system based on multi-
stream model fusion. The method comprises the following steps: firstly, filtering test cases with relatively
high coverage rate by adopting a
test case reduction strategy, and weighting the residual test cases by utilizing a
test case weighting strategy so as to reflect the capability of the test cases for revealing defects;
frequency spectrum features, variation features, local semantic features and
global structure features are extracted, the
frequency spectrum features and the variation features are calculated through a weighted suspicious degree formula, and the local semantic features and the
global structure features are obtained through a
deep learning technology; and finally, fusing the four types of features, and inputting the fused features into a defect positioning predictor trained by a multi-layer
perceptron to obtain a suspicious degree
score of each code statement, so that suspected defect statements are screened out by taking the suspicious degree scores as
positive correlation indexes of the defect statements, and
software defect positioning is realized. According to the method, the code defect mode can be effectively disclosed, so that the accuracy of
software defect positioning is improved.