Patent ID: 8495586

Claim:
A method comprising comparing, by a processing device, a set of source code files to compute an initial correlation score, the comparing comprising performing a plurality of plagiarism detection tests based on correlating a plurality of course code elements from the set of source code files and combining results of the plurality of plagiarism detection tests to compute the initial correlation score; writing, to a first data store, the plurality of correlated source code elements, the initial correlation score, and data indicative of contributions of the plurality of correlated source code elements to the initial correlation score; writing, to a second data store, a first source code element of the plurality of correlated source code elements that is not specified to be filtered by one or more filters, wherein a second source code element of the plurality of correlated source code elements that is specified to be filtered by the one or more filters is not written to the second data store; determining, by the processing device, without re-comparing the set of source code files, a contribution of the second source code element to the correlation score based on the data indicative of the contributions of the plurality of correlated source code elements to the initial correlation score; determining, without re-comparing the set of source code files, a new correlation score based on deducting the determined contribution of the second source code element from said initial correlation score; and writing said new correlation score to said second data store.