Package org.somox.metrics.ratio
Class Abstractness
- All Implemented Interfaces:
IMetric
Abstractness metric The ratio of the number of internal abstract types (i.e abstract classes and
interfaces) to the number of internal types. The range for this metric is 0 to 1, with A=0
indicating a completely concrete assembly and A=1 indicating a completely abstract assembly. see
http://www.ndepend.com/Metrics.aspx#Abstractness
-
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
-
Abstractness
public Abstractness()
-
-
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
-