Component-Based Software Development: Case Studies

This section presents a mathematical theory to support the prediction of system properties from component values, for independent components placed in series. The issue of independence will be discussed in Section 6.8.2. Other system control structures are covered in Section 6.6. It will emerge that analysis of the series configuration is the essential part of the theory; from it the behavior of other control structures can be obtained.
The theory applies to any precise execution property of software; that is, a property whose value may depend on the software input and which is mathematically well defined. Performance (run time) and reliability are such properties with numerical (real) values; more complex security properties can also be represented. (For a discussion of these applications of the theory, see Section 6.7.) In order to be concrete, the theory will be first presented as it applies to program run time.
A program s run time over input space D is a function T on D. Intuitively, T(x) is the run time for the program when it executes on input x. For a component, the inputs are values of parameters passed to subroutine-like entities, and T(x) is the run time for the subroutine when it is called with parameter value x. For a stand-alone system, x may be an input supplied by a user and read by a system i-o command, following which an execution...