A method for detecting incremental SQL execution coverage and a computer readable storage medium

CN123011693APending Publication Date: 2026-10-30BEIJING BAIJU YIXING TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611098329.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-23
Publication Date
2026-10-30

AI Technical Summary

Technical Problem

[0004]然而,现有的SQL测试覆盖验证方案普遍存在若干缺陷

Benefits of technology

1.指标精准,真实反映迭代质量:将覆盖率统计维度聚焦于由上下文标识定义的增量SQL,使得覆盖率数据能直接、轻量地反映本次代码变更的测试质量,精准定位测试盲区。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123011693A_ABST
    Figure CN123011693A_ABST
Patent Text Reader

Abstract

The application discloses a kind of incremental SQL execution coverage detection method and computer readable storage medium, belong to software testing and continuous integration technical field;The method aims at solving the problem that it is difficult to automatically, accurately measure the incremental SQL test coverage in code iteration in prior art;The method of the application comprises: in response to the change event of code version, obtain code difference and carry out static analysis, extract incremental SQL statement;Incremental SQL is standardized to generate the first SQL fingerprint, and is stored in the storage system based on the context mark through the covering write operation;During testing, the SQL actually executed is intercepted by running time probe, and the second SQL fingerprint is generated by standardization processing;Finally, the first and second SQL fingerprint sets are compared to calculate the incremental SQL coverage, and according to the comparison result of coverage and preset threshold, the execution state of software delivery process is automatically controlled.
Need to check novelty before this filing date? Find Prior Art