Coupling (computer programming): Difference between revisions

Content deleted Content added
m fixed dashes using a script
Line 15:
A module here refers to a subroutine of any kind, i.e. a set of one or more statements having a name and preferably its own set of variable names.
 
;{{anchor|Content coupling}}Content coupling (high): Content coupling is said to occur when one module uses the code of other module, for instance a branch. This violates information hiding - a basic design concept.
;{{anchor|Common coupling}}Common coupling: Common coupling is said to occur when several modules have access to the same global data. But it can lead to uncontrolled error propagation and unforeseen side-effects when changes are made.
;{{anchor|External coupling}}External coupling: External coupling occurs when two modules share an externally imposed data format, communication protocol, or device interface. This is basically related to the communication to external tools and devices.
Line 124:
<ref name="Yourdon_1979">{{Cite book |title=Structured Design: Fundamentals of a Discipline of Computer Program and Systems Design |author-last1=Yourdon |author-first1=Edward |author-link1=Edward Yourdon |author-last2=Constantine |author-first2=Larry LeRoy |author-link2=Larry LeRoy Constantine |date=1979 |orig-year=1975 |publisher=Yourdon Press |pages= |isbn=978-0-13-854471-3 |id={{ISBN|0-13-854471-9}} |bibcode=1979sdfd.book.....Y}}</ref>
<ref name="Beck_2011">{{cite book |author-first1=Fabian |author-last1=Beck |author-first2=Stephan |author-last2=Diehl |chapter=On the Congruence of Modularity and Code Coupling |title=In Proceedings of the 19th ACM SIGSOFT Symposium and the 13th European Conference on Foundations of Software Engineering (SIGSOFT/FSE '11) |___location=Szeged, Hungary |date=September 2011 |doi=10.1145/2025113.2025162}}</ref>
<ref name="Arisholm_2004">{{cite journal |author-first1=Erik |author-last1=Arisholm |author-first2=Lionel C. |author-last2=Briand |author-link2=Lionel C. Briand |author-first3=Audun |author-last3=Føyen |title=Dynamic coupling measurement for object-oriented software |journal=[[IEEE Transactions on Software Engineering]] |publisher=[[IEEE]] |volume=30 |number=8 |pages=491-506491–506 |date=August 2004 |doi=10.1109/TSE.2004.41}}</ref>
<ref name="Pressman_1982">{{cite book |author-last=Pressman |author-first=Roger S. |author-link=Roger S. Pressman |date=1982 |title=Software Engineering - A Practitioner's Approach |edition=4 |isbn=0-07-052182-4 |url-access=registration |url=https://archive.org/details/softwareengineer00pres_0 }}</ref>
}}
Line 130:
== Further reading ==
* {{Cite book |author-last=Myers |author-first=Glenford J. |author-link=Glenford J. Myers |title=Reliable Software through Composite Design |publisher=Mason and Lipscomb Publishers |___location=New York |date=1974}}
* {{Cite journal |author-first1=A. Jefferson |author-last1=Offutt |author-first2=Mary Jean |author-last2=Harrold |author-link2=Mary Jean Harrold |author-first3=Priyadarshan |author-last3=Kolte |title=A Software Metric System for Module Coupling |journal=[[Journal of Systems and Software]] |volume=20 |number=3 |pages=295-308295–308 |date=March 1993}}
* {{Cite book |author-first=Meilir |author-last=Page-Jones |title=The Practical Guide to Structured Systems Design |publisher=Yourdon Press |___location=New York |date=1980 |isbn=978-8-12031482-5}}
* {{Cite book |publisher=[[IEEE]] |title=Standard Glossary of Software Engineering Terminology |id=610.12_1990 |___location=New York |date=1990 |isbn=0-7381-0391-8}}