-
公开(公告)号:US11914993B1
公开(公告)日:2024-02-27
申请号:US17364768
申请日:2021-06-30
Applicant: Amazon Technologies, Inc.
Inventor: Pranav Garg , Sengamedu Hanumantha Rao Srinivasan , Benjamin Robert Liblit , Rajdeep Mukherjee , Omer Tripp , Neela Sawant
Abstract: An aggregate representation of a collection of source code examples is constructed. The collection includes positive examples that conform to a coding practice and negative examples do not conform to the coding practice. The aggregate representation includes nodes corresponding to source code elements, and edges representing relationships between code elements. Using an iterative analysis of the aggregate representation, a rule to automatically detect non-conformance is generated. The rule is used to provide an indication that a set of source code is non-conformant.