TICS Coding Standard Viewer 
TIOBE Software Quality Framework
Print-friendly version
©TIOBE Software www.tiobe.com
TIOBE - Java Coding Standard

Rule:  Coupling1Checked automatically with code checker

Synopsis:High amount of different objects as members denotes a high coupling
Severity Level:4

This rule counts unique attributes, local variables and return types within an object. A number higher than specified threshold can indicate a high degree of coupling. This treshold has been set to 20.
import com.Blah;
import org.Bar;
import org.Bardo;
public class Foo {
 private Blah var1;
 private Bar var2;
 //followed by many imports of unique objects
 void ObjectC doWork() {
  Bardo var55;
  ObjectA var44;
  ObjectZ var93;
  return something;