Cohesion and Coupling 1
Outline Cohesion Coupling 2
Characteristics of Good Design Component independence High cohesion Low coupling Exception identification and handling Fault prevention and fault tolerance Design for change M1 M2 M3 3
Cohesion and Coupling Cohesion is a measure of: functional strength of a module. A cohesive module performs a single task or function. Coupling A between two modules: measure of the degree of the interdependence or interaction between the two modules.