Patent ID: 9003365
Filing Date: 2015-04-07
Classification: G06F

Abstract:
1. A method performed by a user device interacting with a user and a server system, the method comprising: receiving, by the server system, a request from a user device for source code of a computer program, wherein the program has multiple versions of source code and at least one pair of versions share a common line; obtaining, by the server system, a data structure corresponding to the multiple versions, the data structure including an entry for each distinct line occurring in the versions, each entry identifying all of the versions in which the corresponding unique line occurs; generating, by the server system, a document based on the data structure, the document including content of the multiple versions of source code of the computer program, wherein each distinct line is represented only once in the document and the representation of each distinct line identifies every version of the source code in which the line appears; receiving, by the user device, the document, from the server system; presenting to a user, by the user device, a user interface element that enables the user to select one of the multiple versions of the source code; receiving, by the user device, from the user a selection of a first version of the source code; extracting, by the user device, the content of the first version from the document by identifying the distinct lines of the document that identify the first version based solely on the content in the document and without receiving additional information from the server system; and displaying, by the user device, the distinct lines of the document that identify the first version and not displaying the distinct lines of the document that do not identify the first version.