Invention Grant
- Patent Title: Refactoring and/or rearchitecting source code using machine learning
-
Application No.: US17668974Application Date: 2022-02-10
-
Publication No.: US11893384B2Publication Date: 2024-02-06
- Inventor: Bin Ni , Joshua Howland
- Applicant: Google LLC
- Applicant Address: US CA Mountain View
- Assignee: GOOGLE LLC
- Current Assignee: GOOGLE LLC
- Current Assignee Address: US CA Mountain View
- Agency: Gray Ice Higdon
- Main IPC: G06F8/72
- IPC: G06F8/72 ; G06N3/10

Abstract:
Implementations are described herein for leveraging machine learning to automate source code refactoring and/or rearchitecting. In various implementations, one or more ground truth boundaries may be removed from one or more boundaried source code files to produce one or more boundary-less source code files. One or more of the boundary-less source code files may be processed using a machine learning model to predict one or more candidate boundaries for reintroduction into the one or more boundary-less source code files. The one or more ground truth boundaries may be compared with the one or more predicted candidate boundaries. The machine learning model may be trained based on the comparing.
Public/Granted literature
- US20230251856A1 REFACTORING AND/OR REARCHITECTING SOURCE CODE USING MACHINE LEARNING Public/Granted day:2023-08-10
Information query