Cohesion Categories

Functional

The module performs a single well-defined function.

Example:

Compute square root.
Write record to output file.

Advantage

Maximum possible reuse of the function in other applications.
Maximum isolation of functionality.  This isolation reduces the the maintenance costs.

Disadvantage

Using the functional cohesion results in a large number of modules that may necessitate the use of case tools like make and version control.

Note

Function cohesion can also be used as a decomposition design guide.  One of the question frequently asked when developers are using functional decomposition to design an application is when is the design complete?  A functional decomposition is complete with all of the modules in the design have functional cohesion.

Back Home Up Next

© Carl J. Mueller, 2001.

 This page was last update on  04/18/2001