Code testing method and device, equipment, storage medium and program product

CN121210312APending Publication Date: 2025-12-26INDUSTRIAL AND COMMERCIAL BANK OF CHINA +1
0 Cites -1 Cited by

Patent Information

Application Number
CN202511343858.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-19
Publication Date
2025-12-26

Smart Images

  • Figure CN121210312A_ABST
    Figure CN121210312A_ABST
Patent Text Reader

Abstract

The invention provides a code testing method and device, equipment, a storage medium and a program product, and relates to the technical field of artificial intelligence. The method comprises the steps of obtaining a pre-training code analysis model and a to-be-tested source code; inputting a to-be-tested source code into the pre-training code analysis model to obtain a source code feature; analyzing and processing the source code features through a pre-training code analysis model to obtain code structured features; inputting the code structured features into a pre-training test case to generate a large model, and obtaining an initial test case; performing case preprocessing on the initial test case, and determining a target test case; and executing operation on the target test case to obtain a test result. The to-be-tested source code is deeply analyzed through the pre-training code analysis model, internal logic information can be accurately recognized, the pre-training test case generation large model can generate the test result fitting the actual code logic without depending on a fixed template, and therefore variable code logic is effectively covered.
Need to check novelty before this filing date? Find Prior Art