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
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.somox.metrics.abstractmetrics.AbstractRatioMetric
getChildMetrics, getCompositionFunction, isCommutative, isNormalisedMethods inherited from class org.somox.metrics.abstractmetrics.AbstractComposedMetric
getAllChildMetrics, initialize, internalComputeDirected, metricIDToIMetricMethods inherited from class org.somox.metrics.abstractmetrics.AbstractMetric
calculateUnion, calculateUnion, checkMetricPostCondition, checkMetricPreCondition, computeDirected, getAccessGraphCache, getComponentToClassHelper, getLaunchConfigurationTab, getMetric, getMetricParametersMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getNumeratorMetricIDin classAbstractRatioMetric
-
getDenominatorMetricID
- Specified by:
getDenominatorMetricIDin classAbstractRatioMetric
-