Architecture - Cohesion
A modules level of cohesion is determined by how well the elements of the module are focused on a single objective. To evaluate the cohesion of a module the individual doing the evaluation must have a description of the module being evaluated.
Analysis of Purpose
the sentence describing the module is a compound sentence, contains a comma or
contains more than one verb, the module is probably performing more than one
If the sentence contains words relating to time, such as first, next, then, after, when, and start, then the module is probably has procedural strength.
the predicate of the sentence doesn’t contain a single specific object
following the verb, the module probably has logical strength.
Words such as initialize and clean up imply classical strength.
A module that partially exhibits several strengths is classified according to the lower strength.
A ratio of the number of modules with functional Strength
to the number of modules is use to determine the quality of the system.
This ratio produces a value from 0 to 1. A cohesion ratio of one indicates
that all the modules have functional cohesion.
A module with informational cohesion could be consider as a collection of modules with functional strength. Therefore, it may not be a redefinition of the cohesion ratio to use modules with functional and informational strength.