ServiceNow, Inc.
Systems and methods for comparing computer scripts

Last updated:

Abstract:

The present disclosure relates generally to analyzing and comparing computer scripts, and more specifically, to determining semantic similarities between syntactically different scripts. An example computing system includes a memory configured to store a database, wherein the database is configured to store script canonical form (SCF) representations of scripts, and wherein each SCF representation is a topologically-sorted, labeled, directed graph that includes tables and datasets as nodes, actions as edges, and predicates as labels. The system includes a processor configured to execute instructions stored in the memory to cause the computing system to perform actions including: generating a first SCF representation of a first script, and storing the first SCF representation of the first script in the database.

Status:
Grant
Type:

Utility

Filling date:

1 May 2020

Issue date:

4 May 2021