-
1.
公开(公告)号:US20220398075A1
公开(公告)日:2022-12-15
申请号:US17346420
申请日:2021-06-14
摘要: An approach is disclosed that receives a code segment from a source code file. The received code segment is inputted to a trained knowledge manager from which one or more comparable code segments are received. Each of the comparable code segments are identified as having similar functionality as the selected code segment and each of the comparable code segments has a set of metadata. The metadata is used to select one of the comparable code segments and this selected code segment is used to replace the original code segment in the source code file.
-
2.
公开(公告)号:US11656855B2
公开(公告)日:2023-05-23
申请号:US17346420
申请日:2021-06-14
CPC分类号: G06F8/443 , G06F8/77 , G06F11/3688
摘要: An approach is disclosed that receives a code segment from a source code file. The received code segment is inputted to a trained knowledge manager from which one or more comparable code segments are received. Each of the comparable code segments are identified as having similar functionality as the selected code segment and each of the comparable code segments has a set of metadata. The metadata is used to select one of the comparable code segments and this selected code segment is used to replace the original code segment in the source code file.
-