Disadvantages of low cohesion
- Increased code duplication: Low cohesion can lead to the duplication of code, as elements that belong together are split into separate modules.
- Reduced functionality: Low cohesion can result in modules that lack a clear purpose and contain elements that don’t belong together, reducing their functionality and making them harder to maintain.
- Difficulty in understanding the module: Low cohesion can make it harder for developers to understand the purpose and behavior of a module, leading to errors and a lack of clarity.
Coupling and Cohesion – Software Engineering
The purpose of the Design phase in the Software Development Life Cycle is to produce a solution to a problem given in the SRS(Software Requirement Specification) document. The output of the design phase is a Software Design Document (SDD).
Coupling and Cohesion are two key concepts in software engineering that are used to measure the quality of a software system’s design.
Table of Content
- What is Coupling and Cohesion?
- Types of Coupling
- Types of Cohesion
- Advantages of low coupling
- Advantages of high cohesion
- Disadvantages of high coupling
- Disadvantages of low cohesion
- Conclusion