VersionMajorMetric

Description

An abstract class that inherits AbstractMetric to represent metrics that compare the versions based on the major part first and minor part second.

Important public methods of this class are:

Key

Return Type

Description

generateMatrics

map<shared_ptr<VersionMajorMetric>, int>

Static method that returns a map of (VersionMajorMetric*, int) pairs, each pair represents the metric being used and its measurement result in number form. The result includes measurement results from all child classes of VersionMajorMetric.

getMetricResult

int

Returns the measurement result for a specific metric. Each child class overrides this method to handle the measurement.