CSC/ECE 517 Fall 2012/ch1b 1w20 dm

From Expertiza_Wiki
Revision as of 00:17, 23 October 2012 by Adave (talk | contribs) (Created page with "==Cohesion== '''Cohesion''' is the "glue" that holds a ''[http://en.wikipedia.org/wiki/Module module]'' together.It can be thought of as the type of association among the compon...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Cohesion

Cohesion is the "glue" that holds a module together.It can be thought of as the type of association among the component elements of a module. Cohesion is related to the Single Responsibility Principle.Generally, one wants the highest level of cohesion possible. An object with high cohesion is defined for one purpose and it performs only that purpose.High cohesion is desired because it increases the likelihood that a module will be comprehendible, reliable, robust, and reusable [1].Alternatively, a module that exemplifies low cohesion is difficult to comprehend, costly to maintain, and less likely to be reused [2].