@Test public void testIsZero(){ Assert.assertTrue(couplingScores.isZero()); }
public boolean isZero(){ if(subClassScore+superClassScore < 5){ return true; } return false; }
CouplingScores { public boolean isZero(){ if(subClassScore+superClassScore < 5){ return true; } return false; } }
CouplingScores { public boolean isZero(){ if(subClassScore+superClassScore < 5){ return true; } return false; } CouplingScores(int superClassScore, int subClassScore); }
CouplingScores { public boolean isZero(){ if(subClassScore+superClassScore < 5){ return true; } return false; } CouplingScores(int superClassScore, int subClassScore); void increaseSuperClassScore(); void increaseSubClassScore(); boolean isZero(); }
CouplingScores { public boolean isZero(){ if(subClassScore+superClassScore < 5){ return true; } return false; } CouplingScores(int superClassScore, int subClassScore); void increaseSuperClassScore(); void increaseSubClassScore(); boolean isZero(); public int superClassScore; public int subClassScore; }