21. Theory, Implementation, and Applications

In Chapter 14 I defined source code as comprising functional statements and nonfunctional comments and strings (see Table 14.1). A single line of source code may include one or more statements and one or more comments and strings. Source code cross-correlation is a measure of the correlation of comments and string to statements and vice versa. As with the other code correlation measures, a source code cross-correlation between 0 and 1 should be determined for an individual correlation measure. Each correlation should represent a single dimension of a multidimensional correlation that is orthogonal to the other correlations. The individual correlation scores can then be combined into a single overall ...

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

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.