
376 ◾ Software Metrics
measure would indicate the dierence between (1) a specic graph repre-
sentation modeling some aspects of soware and (2) a tree structure. We
will also see that one can dene measures based on the occurrences of
realizations of design structures such as design patterns.
We now examine the measurement of the internal structure of soware
starting from the perspective of the control ow in individual program
units.
9.2 CONTROL FLOW STRUCTURE OF PROGRAM UNITS
A great deal of early soware metrics work was devoted to measuring
the control ow structure of individual functions, procedures, or meth-
ods implemented as imperat ...