/**
  * Returns the total metric value with respect to a given method.
  *
  * @param mmethod the method to be examined
  * @return the value of this metric
  * @throws UnsupportedMetricsException if this metric is not supported, that is the value is
  *     invalid
  */
 public double getTotalValue(MethodMetrics mmethod) throws UnsupportedMetricsException {
   ClassMetrics mclass = mmethod.getClassMetrics();
   return mclass.getMetricValueWithException(MetricSort.TOTAL_LINE_OF_CODE);
 }
 /**
  * Returns the metric value with respect to a given method.
  *
  * @param mmethod the class to be examined
  * @return the value of this metric
  * @throws UnsupportedMetricsException if this metric is not supported, that is the value is
  *     invalid
  */
 public double getValue(MethodMetrics mmethod) throws UnsupportedMetricsException {
   return mmethod.getMetricValueWithException(MetricSort.LINES_OF_CODE);
 }