![]() global coupling)Īll components have read/write access to a global data block Components exchange data using the global data block (instead of arguments) A single component with write access where all other components have read access is not Common Coupling High Coupling Content Coupling Common Coupling Control Coupling Stamp Coupling Loose Coupling Data Coupling Uncoupled Low Couplingĩ Content Coupling A component directly references (shares) the content of another module Component p modifies a statement of component q Component p refers to local data of component q Content coupled components are inextricably interlinked Changes to component p requires a change to component q (including recompilation) Reusing component p requires using component q alsoġ0 Common Coupling Using global variable (i.e. No dependencies Component A Component B Component C Component D ![]() Maximize internal interaction (Cohesion) Easier to understand Easier to test Minimize external interaction (Coupling) Can be used independently Easier to replaceĬomponent independence High Cohesion Low CouplingĤ What is Coupling? Coupling is a measure of the independence of components Coupling is related to Cohesion It is an indication of the strength of the inter-connections between the components in a designĥ Highly Coupled These types of systems have multiple inter-connections with components dependent upon each other Component A Component B Component C Component DĦ Loosely Coupled Loosely coupled systems are made up of components which are independent or almost independent Component A Component B Component C Component Dħ Uncoupled Uncoupled components have NO interconnections ![]() ![]() ![]() Presentation on theme: "Coupling and Cohesion 1."- Presentation transcript: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |