The invention discloses a technology debt
elimination opportunity prediction method and
system based on multi-
modal data fusion. The method comprises the following steps: firstly, extracting technical debt features including numerical features, text semantic features and files related to Git submission records, and constructing a file covariant
graph based on the submission records; secondly, performing multi-
modal feature coding on the numerical features, the text semantic features and the graph structure features based on the file covariant graph; then, based on a cross-
modal attention mechanism,
interactive modeling is carried out on the coded numerical value features, text semantic features and graph structure features, and three paths of interactive representations are generated respectively and spliced into a joint representation; and finally, inputting the joint representation into a multi-layer
perceptron regression network, and predicting a numerical value of the residual life of the technology debt through layer-by-layer calculation. According to the method, static code measurement, text
semantic information and graph structure features can be fused,
key factors are dynamically weighted through attention, and by means of a deep classification model, high-precision prediction of the technical debt
remaining life is achieved.