Patent · US Active

Test case generation for uncovered code paths

US9996452B2 · kind B2 · utility

12Cited by
7References
1Claims
0Family size

Assignee

Inventors

Key dates

Filing dateJul 24, 2017
Grant dateJun 12, 2018
Priority date
Expiry dateJul 24, 2037

Classification

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

Abstract

Embodiments of the present invention provide methods, computer program products, and systems to increase code coverage. Embodiments of the present invention can receive a copy of source code and data associated with a sample execution of a set of instructions specified by the copy of the source code. Embodiments of the present invention can insert, into the set of instructions specified by the copy of the source code, an instruction that corresponds to a code statement that precedes an untraversed code path within the received copy of the source code. Embodiments of the present invention can execute the set of instructions that include the inserted instruction and provide an option to redirect execution of the set of instructions at the inserted instruction. Embodiments of the present invention can generate a test case that increases code coverage based on the redirected execution of the set of instructions.

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