80 ◾ Software Metrics
“trivial,” 2 “simple,” 3 “moderate,” 4 “complex,” and 5 “incom-
prehensible.” What is the scale type for this denition of com-
plexity? How do you know? With this measure, how could you
meaningfully measure the average of a set of modules?
3. We commonly use ordinal measurement scales. For example, we can
use an ordinal scale to rank the understandability of programs as
trivial, simple, moderate, complex, or incomprehensible. For each of
the two other common measurement scale types, give an example
of a useful soware measure of that type. State exactly which so-
ware entity is being measured and which attribute. State whether the
entity is a product, process, or resource.
4. Dene measurement, and briey summa