CSC/ECE 517 Fall 2007/wiki2 7 b2: Difference between revisions
No edit summary |
|||
Line 9: | Line 9: | ||
From worst to best, the types of cohesion are listed below: | From worst to best, the types of cohesion are listed below: | ||
Coincidental Cohesion(Worst) | |||
Coincidental cohesion means the module are grouped randomly, without significant relationshiop. | |||
Logical Cohesion | |||
A logical cohesion module is one whose elements are somewhat in the same category. | |||
=== Examples === | === Examples === |
Revision as of 03:48, 21 October 2007
Assignment 2 - Topic 7 - Cohesion and Coupling
Cohesion and coupling are concepts that are reasonably easy to understand, but nonetheless, it is challenging to find good examples that are succinct. Browse the hundreds of Web pages that attempt to explain these concepts, picking your favorite examples. Many of these pages mention related concepts; list some of them and explain how they relate to cohesion and coupling. Be sure to mention the metrics that can be used to measure how well a program conforms to the principles of high cohesion and low coupling.
The Concepts
Cohesion
Types of Cohesion
From worst to best, the types of cohesion are listed below:
Coincidental Cohesion(Worst)
Coincidental cohesion means the module are grouped randomly, without significant relationshiop.
Logical Cohesion
A logical cohesion module is one whose elements are somewhat in the same category.