Patent ID: 8261237
Filing Date: 2012-09-04
Classification: G06F,G06Q

Abstract:
1. A computer-implemented method comprising: creating, by a computing device executing a detector, a first array based on a first program source code file including a plurality of program elements, the first array having entries corresponding to lines of functional program code from the first program source code file; creating, by the computing device, a second array based on a second program source code file including a plurality of program elements, the second array having entries corresponding to lines of functional program code from the second program source code file; comparing first words in entries of the first array with first words in entries of the second array while ignoring subsequent words in the entries of the first array and in the entries of the second array; finding a longest sequence of similar entries between the first array and the second array based on the comparing of the first words in the entries of the first array with the first words in the entries of the second array; calculating a match score based on a number of lines in the longest sequence; and providing an indication of copying with respect to the first program source code file and the second program source code file, wherein the indication of copying is defined by the match score.