Part IV. Source Code Differentiation

“Data! Data! Data!” he cried impatiently. “I can’t make bricks without clay.”

Sherlock Holmes in The Adventure of the Copper Beeches

In this part I cover some basic methods of comparing and measuring software. In particular, I define software source code differentiation, which is a mathematical method for comparing software source code to find basic similarities and differences. The technique of differentiation is particularly useful for finding code that has been directly copied from one program to another. While other methods exist for finding copying, as will be described later in this book, source code differentiation is better at determining not only what has been copied but also the percentage of copying ...

Get The Software IP Detective’s Handbook: Measurement, Comparison, and Infringement Detection now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.