Patent · US Active

Conditional branch coverage calculation method, device, computer apparatus, storage medium

US12093168B2 · kind B2 · utility

0Cited by
1References
18Claims
0Family size

Assignee

Inventors

Key dates

Filing dateDec 8, 2022
Grant dateSep 17, 2024
Priority date
Expiry dateMay 17, 2043

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F11/364
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

The present disclosure relates to a conditional branch coverage calculation method and device, computer apparatus, storage medium and computer program product. The method includes: acquiring code types of uncovered conditional branch code lines in target code, and acquiring comment information corresponding to the uncovered conditional branch code lines according to the code type; acquiring coverage parameter corresponding to the uncovered conditional branch code lines according to the comment information corresponding to the uncovered conditional branch code lines; and calculating a conditional branch coverage corresponding to the target code according to the coverage parameters corresponding to the uncovered conditional branch code lines and a total number of conditional branch code lines in the target code.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.