Measuring Internal Product Attributes ◾ 431
13. What is the rationale behind squaring the product of fan-in and fan-
out in the Henry–Kafura (Henry and Kafura 1981) measure? (Hint:
Examine the eect of squaring in the example in Figure 9.23.)
14. Consider the following proposed measure of object-oriented design
pattern realization complexity: DPRC(p) = NC + NI + NA, where NC
is the number of classes in pattern realization p, NI is the number of
inheritance links in pattern realization p, and NA is the number of
associations in pattern realization p. Using simple UML class dia-
grams representing design pattern realizations, demonstrate why
this proposal may be unreasonable.
15. Consider a new complexity measure, Cnew. e Cnew comple ...