Object Oriented Software Engineering   View all facts   Glossary   Help
subject > criterion > quality > software quality > coupling > control coupling
Next couplingdata coupling    Upcoupling    Previous couplingcontent coupling   

control coupling comparison table
Subject name after have example occur has definition is a kind of reduce by
coupling   A measure of the extent to which interdependencies exist between software modulessoftware quality 
control couplingcommon blocks in the Fortran language which are used to hold global variables
public routineX(String command)
{
//routineX will have to change whenever any of its callers adds a new command
if (command.equals("drawCircle")
{
drawCircle();
}
else
{
drawRectangle();
}
}
when one procedure calls another using a 'flag' or 'command' that explicitly controls what the second procedure doesA form of coupling in which one component affects the sequence of execution in anothercoupling
  • having the callers of the routine directly call the methods called in the second routine
  • the use of polymorphic operations
  • using a look-up table that maps a command to a method that should be called when that command is issued

Next couplingdata coupling    Upcoupling    Previous couplingcontent coupling