O'Reilly logo

The Software IP Detective’s Handbook: Measurement, Comparison, and Infringement Detection by Bob Zeidman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Part VII. Source Code Cross-Correlation

“We balance probabilities and choose the most likely. It is the scientific use of the imagination.”

Sherlock Holmes in The Hound of the Baskervilles

Source code cross-correlation measures the amount of code in one file that appears as comments in another file and vice versa. When copying source code, programmers sometimes place the code in a new file and “comment out” the code in order to use the code as a guide for writing a similar function in the new file. This is often done for legitimate reasons, such as when a programmer wants to rewrite a function in a different programming language or requires a certain function but needs to make changes to it to enhance it or to integrate it into an existing ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required