Patent Document ID: 9606784
Application ID: 14139920

Base Claim:
1. A computer-implemented method for determining a common sequence of ordered statements, comprising: creating a global list comprising a first set of links generated from a first sequence of statements of a first script, wherein a link in the first set of links indicates an ordered mapping between a source statement and a destination statement selected from the first sequence of statements, and an ordered mapping indicates that a source statement is executed before a destination statement is executed; adding, to the global list, a second set of links generated from a second sequence of statements of a second script, wherein a link in the second set of links indicates an ordered mapping between a source statement and a destination statement selected from the second sequence of statements; determining, from the global list, two or more links having equivalent source statements and equivalent destination statements; adding at least one of the two or more links to a first group of common sequences; and storing the first group of common sequences in a database.

---

Claim 2:
2. The computer-implemented method of claim 1 , further comprising: determining that a first link of the first group of common sequences has a destination statement equivalent to a source statement of a second link of the first group of common sequences; determining that the first link and the second link were each generated from sequences of statements of two or more common scripts; generating a third link comprising a source statement of the first link and a destination statement of the second link; adding the third link to a second group of common sequences; and storing the second group of common sequences in the database.