Patent ID: 10289407

Abstract:
In an embodiment, a data processing method provides creating and storing one or more comment records, wherein each of the comment records associates a first identifier of a comment with a second identifier of a line of computer program source code to which the comment pertains, and a change set of a first version of the source code; receiving a request to display a second version of the source code, and in response to the request: determining a diff between the second version of the source code and the first version of the source code; for each hunk of the diff, automatically computing a drift value representing a number of lines of the source code by which a particular comment associated with the first version of the source code has changed with respect to the second version of the source code; updating a particular comment record of the particular comment by modifying the second identifier based upon the drift value; repeating the receiving, determining, computing and updating for all comments that are associated with the first version of the source code in the hunk and for all other hunks of the diff.