The invention discloses a
software outsourcing-oriented heterogeneous code warehouse intelligent
coupling degree detection
system and method, and relates to the technical field of
software engineering.The method comprises the steps that an instruction is detected, and code file information,
dependency information and development log information are obtained through a distributed crawler module, an
abstract syntax tree analysis tool and a
natural language processing module; carrying out modular segmentation on the code file by utilizing semantic
coupling analysis, inputting the code file into a large
language model equipped with a LoRA adapter, identifying a
coupling inverse mode, and carrying out preliminary optimization based on a
quantum heuristic coupling optimization
algorithm; after optimization, a multi-user concurrent scene is simulated through digital twin
simulation, and the coupling degree is dynamically detected; meanwhile, a cross-language interface testing tool is used for testing interface compatibility and call chain coupling; the
system comprises an
information acquisition module, a semantic coupling analysis module, a
quantum optimization module and a coupling degree detection module, provides a deep optimization basis for developers, and improves the coupling degree detection and optimization efficiency of the heterogeneous code warehouse.