Patents by Inventor Sonal Mahajan
Sonal Mahajan has filed for patents to protect the following inventions. This listing includes patent applications that are pending as well as patents that have already been granted by the United States Patent and Trademark Office (USPTO).
-
Patent number: 11650901Abstract: Operations include obtaining a first patch that corrects a first error in a first buggy code snippet of first source code based on the first buggy code snippet and a first repaired code snippet. The operations also include generating a second patch based on the first patch and a bug pattern of a bug scenario that corresponds to the first error. In addition, the operations include generating a third patch based on the second patch, the bug pattern, and a second buggy code snippet of second source code, the third patch correcting a second error in the second buggy code snippet. Moreover, the operations include performing one or more repair operations with respect to the second buggy code snippet based on the third patch.Type: GrantFiled: September 23, 2020Date of Patent: May 16, 2023Assignee: FUJITSU LIMITEDInventors: Sonal Mahajan, Mukul R. Prasad
-
Patent number: 11556455Abstract: Operations may include obtaining a buggy code snippet of source code of a software program in which the buggy code snippet includes a particular error. The operations may also include determining a respective first similarity between the buggy code snippet and a plurality of bug patterns of previously identified bug scenarios. In addition, the operations may include selecting a particular bug pattern based on a determined particular first similarity between the particular bug pattern and the buggy code snippet. Moreover, the operations may include determining a respective second similarity between the particular bug pattern and example code snippets obtained from a plurality of posts. The operations may also include selecting a particular post as providing a potential solution to correct the particular error based on a determined particular second similarity between the particular bug pattern and a particular example code snippet of the particular post.Type: GrantFiled: August 4, 2020Date of Patent: January 17, 2023Assignee: FUJITSU LIMITEDInventors: Sonal Mahajan, Mukul R. Prasad
-
Publication number: 20220342799Abstract: Operations may include obtaining a plurality of posts from one or more web sites, each post including a respective buggy snippet of source code that includes a corresponding error. The operations may also include generating a plurality of bug patterns from the plurality of posts in which each respective bug pattern corresponds to a respective buggy snippet and indicates a corresponding bug scenario that leads to the corresponding error of the respective buggy snippet that corresponds to the respective bug pattern. The operations may also include determining similarities with respect to the respective bug patterns and selecting, based on the similarity determinations, a first bug pattern of the plurality of bug patterns for revision. In addition, the operations may include obtaining a revised bug pattern that is a revised version of the first bug pattern.Type: ApplicationFiled: April 20, 2021Publication date: October 27, 2022Applicant: FUJITSU LIMITEDInventors: Sonal MAHAJAN, Mukul R. PRASAD
-
Patent number: 11366742Abstract: Operations may include obtaining a buggy code snippet from a question included in a post of a discussion forum, the buggy code snippet including an error and a plurality of lines of code. The operations may further include obtaining text from an answer to the question and identifying keywords from the text. In addition, the operations may include marking a particular line from the plurality of lines as being related to the error based on one or more of the keywords corresponding to one or more elements of the particular line. Moreover, the operations may include performing one or more software program repair operations based on the marking of the particular line.Type: GrantFiled: November 13, 2020Date of Patent: June 21, 2022Assignee: FUJITSU LIMITEDInventors: Sonal Mahajan, Mukul R. Prasad
-
Publication number: 20220156174Abstract: Operations may include obtaining a buggy code snippet from a question included in a post of a discussion forum, the buggy code snippet including an error and a plurality of lines of code. The operations may further include obtaining text from an answer to the question and identifying keywords from the text. In addition, the operations may include marking a particular line from the plurality of lines as being related to the error based on one or more of the keywords corresponding to one or more elements of the particular line. Moreover, the operations may include performing one or more software program repair operations based on the marking of the particular line.Type: ApplicationFiled: November 13, 2020Publication date: May 19, 2022Applicant: FUJITSU LIMITEDInventors: Sonal MAHAJAN, Mukul R. PRASAD
-
Publication number: 20220091963Abstract: Operations may include obtaining a first patch that corrects a first error in a first buggy code snippet of first source code based on the first buggy code snippet and the first repaired code snippet. The operations may also include generating a second patch based on the first patch and a bug pattern of a bug scenario that corresponds to the first error. In addition, the operations may include generating a third patch based on the second patch, the bug pattern, and a second buggy code snippet of second source code, the third patch correcting a second error in the second buggy code snippet. Moreover, the operations may include performing one or more repair operations with respect to the second buggy code snippet based on the third patch.Type: ApplicationFiled: September 23, 2020Publication date: March 24, 2022Applicant: FUJITSU LIMITEDInventors: Sonal MAHAJAN, Mukul R. PRASAD
-
Publication number: 20220043738Abstract: Operations may include obtaining a buggy code snippet of source code of a software program in which the buggy code snippet includes a particular error. The operations may also include determining a respective first similarity between the buggy code snippet and a plurality of bug patterns of previously identified bug scenarios. In addition, the operations may include selecting a particular bug pattern based on a determined particular first similarity between the particular bug pattern and the buggy code snippet. Moreover, the operations may include determining a respective second similarity between the particular bug pattern and example code snippets obtained from a plurality of posts. The operations may also include selecting a particular post as providing a potential solution to correct the particular error based on a determined particular second similarity between the particular bug pattern and a particular example code snippet of the particular post.Type: ApplicationFiled: August 4, 2020Publication date: February 10, 2022Applicant: FUJITSU LIMITEDInventors: Sonal MAHAJAN, Mukul R. PRASAD
-
Patent number: 11119740Abstract: Operations may include obtaining a code artifact in which the code artifact is a code snippet is of a software language of interest. The operations may also include identifying fault locations of the code snippet that each correspond to a parsing error. In addition, the operations may include implementing repairs for each identified fault location in which, for each fault location, a respective repair is implemented for its corresponding parsing error such that the code snippet is modified into a parsable code snippet.Type: GrantFiled: January 8, 2020Date of Patent: September 14, 2021Assignee: FUJITSU LIMITEDInventors: Sonal Mahajan, Mukul R. Prasad
-
Publication number: 20210208857Abstract: Operations may include obtaining a code artifact in which the code artifact is a code snippet is of a software language of interest. The operations may also include identifying fault locations of the code snippet that each correspond to a parsing error. In addition, the operations may include implementing repairs for each identified fault location in which, for each fault location, a respective repair is implemented for its corresponding parsing error such that the code snippet is modified into a parsable code snippet.Type: ApplicationFiled: January 8, 2020Publication date: July 8, 2021Applicant: FUJITSU LIMITEDInventors: Sonal MAHAJAN, Mukul R. PRASAD
-
Patent number: 11042467Abstract: A method may include obtaining a first violation in a first software program and identifying one or more characteristics of the first violation. The method may include searching at least one website to identify a set of posts. The method may include obtaining, as a first context, a first portion of the first software program that includes the first violation. The method may include obtaining a set of second contexts, each second context corresponding to a different post of the set of posts. The method may also include determining a set of similarity scores by comparing a first abstract tree representation of the first context with each second abstract tree representation corresponding with the second contexts and selecting a particular post based on the similarity score between the first abstract tree representation and the particular second abstract tree representation associated with the particular post.Type: GrantFiled: August 23, 2019Date of Patent: June 22, 2021Assignee: FUJITSU LIMITEDInventors: Sonal Mahajan, Mukul R. Prasad
-
Publication number: 20210056006Abstract: A method may include obtaining a first violation in a first software program and identifying one or more characteristics of the first violation. The method may include searching at least one website to identify a set of posts. The method may include obtaining, as a first context, a first portion of the first software program that includes the first violation. The method may include obtaining a set of second contexts, each second context corresponding to a different post of the set of posts. The method may also include determining a set of similarity scores by comparing a first abstract tree representation of the first context with each second abstract tree representation corresponding with the second contexts and selecting a particular post based on the similarity score between the first abstract tree representation and the particular second abstract tree representation associated with the particular post.Type: ApplicationFiled: August 23, 2019Publication date: February 25, 2021Applicant: FUJITSU LIMITEDInventors: Sonal MAHAJAN, Mukul R. PRASAD
-
Publication number: 20200019583Abstract: Methods, systems, and apparatus for identifying display issues with a website, and automatically repairing the display issues with the website. The display issue may be an internationalization issue, a cross-browser issue, or a mobile-friendly issue. The display issues are automatically detected by analyzing the structure of the website layout. Possible fixes are determined using iterative testing, and they are evaluated using a fitness function representing a quantitative value of the display of the website. When a best fix is determined, the website is automatically repaired according to the best fix.Type: ApplicationFiled: July 11, 2018Publication date: January 16, 2020Inventors: William G. J. Halfond, Sonal Mahajan, Negarsadat Abolhassani, Phil McMinn, Abdulmajeed Alameer