US 11,698,829 B2
Identifying root causes of software defects
Siddalinga Aradhya, Bengaluru (IN); Manu Shivanna, Bangalore (IN); Rajesh Ganji, Bengaluru (IN); Abdul Kareem A Lakkundi, Gadag (IN); and Abdul Karimulla Shakhadari Mohammed, Kovvur (IN)
Assigned to Kyndryl Inc., New York, NY (US)
Filed by KYNDRYL, INC., New York, NY (US)
Filed on Aug. 13, 2021, as Appl. No. 17/401,446.
Prior Publication US 2023/0057720 A1, Feb. 23, 2023
Int. Cl. G06F 11/00 (2006.01); G06F 11/07 (2006.01); G06F 11/30 (2006.01); G06F 11/36 (2006.01)
CPC G06F 11/0793 (2013.01) [G06F 11/0706 (2013.01); G06F 11/079 (2013.01); G06F 11/0772 (2013.01); G06F 11/302 (2013.01); G06F 11/362 (2013.01); G06F 11/3624 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A computer-implemented method comprising:
inducing errors in program code of a software feature by temporarily substituting program code of the software feature with substitute program code;
identifying, in program code of the software feature, hedge code of the software feature based on errors induced from temporarily substituting program code of the software feature with substitute program code, and obtaining an error graph for the hedge code, the error graph for the hedge code reflecting cause-and-effect relationships between errors induced from changes to the hedge code of the software feature;
obtaining error logs of an application that incorporates the software feature, the error logs indicating errors with the software feature of the application;
automatically generating an application error graph reflective of the errors with the software feature of the application;
mapping the application error graph to the error graph for the hedge code; and
based on the mapping aligning one of more errors reflected in the application error graph to one or more errors reflected in the error graph for the hedge code, identifying the hedge code as inducing a root error identified in the application error graph.