Coupling Categories

Content

¨      Module m1 and m2 are content couple if m1 makes a direct reference to m2 such as:

·        M1 braches to a point in m2

·        M1 modifies local data of m2

¨      Examples

·        A module refers to non-externally declared data in another module (C++ friends).

·        A module modifies a statement in another module (assembler).

·        Two modules share the same contents (assembler).

¨      Advantages

·        Necessary to construct an iterator in C++.

¨      Consequences

·        Any change made to one module must have a corresponding change to the other.

Back Home Up