Package org.somox.metrics.ratio
Class AdherenceToInterfaceCommunication
java.lang.Object
org.somox.metrics.abstractmetrics.AbstractMetric
org.somox.metrics.abstractmetrics.AbstractComposedMetric
org.somox.metrics.abstractmetrics.AbstractRatioMetric
org.somox.metrics.ratio.AdherenceToInterfaceCommunication
- All Implemented Interfaces:
IMetric
AdherenceToInterfaceCommunication metric
This metric evaluates to amount of communication between two components going
over interfaces. 1.0 means all communication goes over interfaces, 0.0 means
no communication goes over interfaces.
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class org.somox.metrics.abstractmetrics.AbstractRatioMetric
getChildMetrics, getCompositionFunction, isCommutative, isNormalised
Methods inherited from class org.somox.metrics.abstractmetrics.AbstractComposedMetric
getAllChildMetrics, initialize, internalComputeDirected, metricIDToIMetric
Methods inherited from class org.somox.metrics.abstractmetrics.AbstractMetric
calculateUnion, calculateUnion, checkMetricPostCondition, checkMetricPreCondition, computeDirected, getAccessGraphCache, getComponentToClassHelper, getLaunchConfigurationTab, getMetric, getMetricParameters
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.somox.metrics.IMetric
computeDirected, getLaunchConfigurationTab, getMetricParameters, initialize
-
Field Details
-
METRIC_ID
-
-
Constructor Details
-
AdherenceToInterfaceCommunication
public AdherenceToInterfaceCommunication()
-
-
Method Details
-
getMID
Returns the Metric ID of the Metric- Returns:
- the metric id of the instance
-
getNumeratorMetricID
- Specified by:
getNumeratorMetricID
in classAbstractRatioMetric
-
getDenominatorMetricID
- Specified by:
getDenominatorMetricID
in classAbstractRatioMetric
-