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

11. Implementation

Now that I have discussed the theory behind source code differentiation, I will discuss ways of practically and efficiently implementing that theory.1 The particular implementation discussed in this chapter is based on the implementation used in the commercial CodeDiff tool that is a function of the CodeSuite program, available from S.A.F.E. Corporation.

11.1 Creating and Comparing Arrays

To implement source code differentiation, it is first necessary to put each line into an array. Source code differentiation is not programming-language-aware. In other words, all programming languages are treated identically. There is no discrimination between statements and comments. Multiple statements on a line separated, for example, by ...

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