Cohesion Categories

Logical

A module that performs more than one function and these are only related logically.

Example

A module performs all of the master file access operations.  It reads, adds, updates and deletes master file records under parameter control, and is has the following interface.

call employee(function, status, file_record)

Advantages

All of the functions operating on the master file are in one module.
Uses only one entry-point for all modules, making dynamic loading in most environments possible.

Disadvantages

Changes to this module may cause a ripple effect necessitating the change of modules that are not using the new functionality.
Control routing requires coding, testing and maintenance.

Back Home Up Next

© Carl J. Mueller, 2001.

 This page was last update on  04/17/2001