You are on page 1of 1

Cohesion Coupling

Cohesion is the concept of intra- Coupling is the concept of inter-


module. module.
Cohesion represents the Coupling represents the
relationship within a module. relationships between modules.
Increasing cohesion is good for Increasing coupling is avoided for
software. software.
Cohesion represents the functional Coupling represents the
strength of modules. independence among modules.
Highly cohesive gives the best Whereas loosely coupling gives the
software. best software.
In cohesion, the module focuses on In coupling, modules are connected
a single thing. to the other modules.
Cohesion is created between the Coupling is created between two
same module. different modules.
There are Six types of Cohesion There are Six types of Coupling
1. Functional Cohesion. 1. Common Coupling.
2. Procedural Cohesion. 2. External Coupling.
3. Temporal Cohesion. 3. Control Coupling.
4. Sequential Cohesion. 4. Stamp Coupling.
5. Layer Cohesion. 5. Data Coupling
6. Communication Cohesion. 6. Content Coupling.

You might also like