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

10. Theory

Source code differentiation is the measure of the similarity of two sets of source code based on the number of lines of code that match completely as a fraction of the total number of lines of code. There are other ways of measuring the similarities and differences between sets of source code, and each way has its own advantages and disadvantages. Source code correlation, for example, is discussed in detail in Part V of this book. Source code differentiation is particularly useful for finding and measuring the amount of code that has been directly copied from one program to another, or one program version to another version, without modification.

In addition to measuring the similarity of two sets of code, source code differentiation ...

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