public IHalsteadMetrics Merge(IHalsteadMetrics other)
{
if (other == null)
{
return this;
}
return new HalsteadMetrics(
NumberOfOperands + other.NumberOfOperands,
NumberOfOperators + other.NumberOfOperators,
NumberOfUniqueOperands + other.NumberOfUniqueOperands,
NumberOfUniqueOperators + other.NumberOfUniqueOperators);
}