CSC/ECE 517 Fall 2007/wiki2 7 an

From Expertiza_Wiki
Revision as of 01:21, 24 October 2007 by Aanayak (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.

What is coupling?

Examples of coupling

High coupling

Low coupling

Types of coupling

Content coupling

Common coupling

Control coupling

Stamp coupling

Data coupling

What is cohesion?

Examples of cohesion

Low cohesion

High cohesion

Types of cohesion

Logical cohesion

Temporal cohesion

Procedural cohesion

Communicational cohesion

Sequential cohesion

Functional cohesion

Cohesion v/s Coupling

Metrics to measure cohesion and coupling

Depth of Inheritance Tree

Number of Children

Coupling between objects

Response for a Class

Weighted Methods per Class

Lack of Cohesion in Methods (LCOM) metrics

References

External Links