The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.
The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.
Patent No.:
Date of Patent:
Apr. 07, 2020
Filed:
May. 17, 2018
Red Hat Israel, Ltd., Raanana, IL;
Simcha Dov Zacks, Maalot-Tarshiha, IL;
Semion Shtein, Lod, IL;
RED HAT ISRAEL, LTD., Raanana, IL;
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 source code. The identifier of the testing function and the identifiers of the one or more lines of source code are stored in a data structure.