Open In App
Related Articles

Software Engineering | Differences between Coupling and Cohesion

Improve Article
Save Article
Like Article

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

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 usually, the low coupling is good for software.


Now we will see the difference between Cohesion and Coupling. the differences between cohesion and coupling are given below:

Cohesion Coupling
Cohesion is the concept of intra-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.

Master Software Testing and Automation in an efficient and time-bound manner by mentors with real-time industry experience. Join our Software Automation Course and embark on an exciting journey, mastering the skill set with ease!
What We Offer:
  • Comprehensive Software Automation program
  • Expert Guidance for Efficient Learning
  • Hands-on Experience with Real-world Projects
  • Proven Track Record with 10,000+ Successful Geeks

Last Updated : 05 Sep, 2023
Like Article
Save Article
Similar Reads