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
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
-
Abstractness
public Abstractness()
-
-
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
-