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:
Sep. 27, 2022
Filed:
Mar. 16, 2018
International Business Machines Corporation, Armonk, NY (US);
Alexander Sobran, Chapel Hill, NC (US);
Bo Zhang, Cary, NC (US);
INTERNATIONAL BUSINESS MACHINES CORPORATION, Armonk, NY (US);
Abstract
Provided are a computer program product, system, and method for classifying code as introducing a bug or not introducing a bug to train a bug detection algorithm. For each commit in a commit history of code changes to the code base, a determination is made of lines of code changed by the commit. For each line of code changed by the commit, a determination is made as to whether the commit is for a bug fix. A determination is made as to whether a previous commit changing the line of code changed by the commit for the bug fix in response to determining that the commit is for the bug fix. Indication is made that the previous commit introduced a bug. The algorithm is trained to classify changes to lines of code by commits indicated as having introduced a bug as bug introducing commits.