Patent ID: 8250536
Filing Date: 2012-08-21
Classification: G06F

Abstract:
1. A method of analyzing a legacy source code application, comprising: consolidating one or more legacy source code modules; generating an indexed catalog comprising one or more index entries, each index entry corresponding to a line of legacy source code from the one or more legacy source code modules; generating an occurrence location catalog based on the generated indexed catalog and comprising a mapping between a hash value derived from a corresponding line of legacy source code and at least one reference to a line of legacy source code having an equivalent hash value; generating a summary count catalog based on the occurrence location catalog and comprising one or more count entries, each count entry corresponding to a hash value of the line of legacy source code and comprising an occurrence count indicative of the number of lines of legacy source code having an equivalent hash value, wherein each index entry of the generated indexed catalog comprises a hash value derived from the line of legacy source code, and each index entry further comprises a legacy source code module identifier and the line number of the line of legacy source code; generating a duplicate results file based on the generated summary count catalog and comprising one or more duplicate result entries, each duplicate result entry corresponding to a sequence of one or more lines of legacy source code matching a second sequence of one or more lines of legacy source code in one or more legacy source code modules.