use of org.eclipse.titanium.metrics.visitors.ReturnPointVisitor in project titan.EclipsePlug-ins by eclipse.
the class FMReturnPoints method measure.
@Override
public Number measure(final MetricData data, final Def_Function function) {
final Counter count = new Counter(0);
function.accept(new ReturnPointVisitor(count));
return count.val();
}
Aggregations