The embodiment of the invention provides a code
exception analysis method and device, a storage medium and a program product. In the embodiment of the invention, in the preset plug-in, the global
knowledge graph is constructed through the logic
syntax tree of the plurality of original business codes, so that intelligent anomaly analysis is carried out on the modified to-be-detected codes, multi-language and heterogeneous
programming styles and complex dependency limitation are broken through, and cross-language and cross-file analysis is supported; change code snippets and associated influence code snippets thereof are accurately identified, and a data basis is tamped and analyzed; the analysis depth is deepened and the accuracy is improved through a multi-dimensional anomaly analysis
large model and four-dimensional collaborative analysis in combination with an adaptive review rule and a
knowledge graph; and finally, performing correction based on the generated repair scheme. Through the technical fusion of an MCP protocol, a multi-AI model, a
syntax tree and a
knowledge graph, the high efficiency, accuracy and real-time performance of code examination and repair are realized, and the
service development quality and the
system operation stability are remarkably improved.