Code coverage module with testing function identifier
US10613969B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | May 17, 2018 |
| Grant date | Apr 7, 2020 |
| Priority date | — |
| Expiry date | Oct 4, 2038 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F11/3692
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
Methods, systems, and computer program products are provided to identify a testing function corresponding to a tested function and associate the identity of the testing function with identifiers of one or more lines of source code corresponding to the tested function. A testing function is queued for execution in an execution stack. The testing function calls a function corresponding to one or more lines of a source code, wherein the source code includes instrumentation code corresponds to the function, and wherein the function is queued for execution in the execution stack by the call. The function is executed, and identifiers are retrieved during the execution. The retrieved identifiers correspond to the testing function and to the one or more lines of source code. The identifier corresponding to the testing function is retrieved from the execution stack, and the identifiers corresponding to the one or more lines of source code are retrieved by a code coverage module from one or more hooks corresponding to the instrumentation code. Based on the retrieving during the execution, the identifier of the testing function is associated with the identifiers of the one or more lines of so…
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.