Open In App

Differences between Coupling and Cohesion – Software Engineering

Improve
Improve
Improve
Like Article
Like
Save Article
Save
Share
Report issue
Report

What is Cohesion: 

Cohesion is the indication of the relationship within the module. It is the concept of intro-module. Cohesion has many types but usually, high cohesion is good for software. 

What is Coupling: 

Coupling is also the indication of the relationships between modules. It is the concept of the Inter-module. The coupling has also many types but typically, the low coupling is good for software. 

Coupling-vs-Cohesion

Coupling and Cohesion

Differences between Coupling and Cohesion

The differences between cohesion and coupling are given below:

Cohesion Coupling
Cohesion is the concept of intro-module. Coupling is the concept of inter-module.
Cohesion represents the relationship within a module. Coupling represents the relationships between modules.
Increasing cohesion is good for software. Increasing coupling is avoided for software.
Cohesion represents the functional strength of modules. Coupling represents the independence among modules.
Highly cohesive gives the best software. Whereas loosely coupling gives the best software.
In cohesion, the module focuses on a single thing. In coupling, modules are connected to the other modules.
Cohesion is created between the same module. Coupling is created between two different modules.

There are Six types of Cohesion

1. Functional Cohesion.
2. Procedural Cohesion. 
3. Temporal Cohesion.
4. Sequential Cohesion.
5. Layer Cohesion.
6. Communication Cohesion.

There are Six types of Coupling

1. Common Coupling.
2. External Coupling. 
3. Control Coupling.
4. Stamp Coupling.
5. Data Coupling
6. Content Coupling.


Last Updated : 09 Jan, 2024
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads