14. Source Code Characterization

To a programmer, defining the various elements that constitute software source code may seem trivial and unnecessary. However, to measure software accurately, we need to have a common definition. As with anything else, the definition can vary according to our needs. It can vary depending on the level at which code is being examined. We could, for example, define software source code according to its functionality—embedded software, such as that embedded in your smart toaster or your digital watch, would look different from software in a desktop system. We could define software source code by considering the basic routines in the code. We could define software source code according to a program’s “architecture,” ...

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.