US 12,007,877 B1
Visual query language for code review rules
Pranav Garg, Secaucus, NJ (US); Sengamedu Hanumantha Rao Srinivasan, Seattle, WA (US); Omer Tripp, San Jose, CA (US); and Abhin Sharma, Seattle, WA (US)
Assigned to Amazon Technologies Inc., Seattle, WA (US)
Filed by Amazon Technologies, Inc., Seattle, WA (US)
Filed on Mar. 30, 2022, as Appl. No. 17/708,269.
Int. Cl. G06F 9/44 (2018.01); G06F 11/36 (2006.01)
CPC G06F 11/3664 (2013.01) [G06F 11/3688 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A computer-implemented method comprising:
causing an electronic device to display a graphical user interface including an editor portion to edit code review rules used by a code review service of a cloud provider network;
causing the editor portion of the graphical user interface to display a first graph associated with a first code review rule, wherein the first graph includes a first node, a second node, and a first edge connecting the first node and the second node;
receiving an indication that a third node has been added to the first graph via the editor portion of the graphical user interface;
updating, by the code review service, the first code review rule to reflect the addition of the third node, wherein the first code review rule is in a text format;
receiving, from the electronic device, an indication to review at least a portion of source code;
identifying, by the code review service, a first sequence of operations in the portion of source code that match a second sequence of operations specified by the first code review rule; and
providing an indication of a location of the first sequence of operations in the portion of source code to the electronic device.