GroovyMetrics implements Metrics { @Override public List<Metric> getMetrics() { return Arrays.asList( EFFERENT_COUPLING_AVERAGE, EFFERENT_COUPLING_TOTAL, AFFERENT_COUPLING_AVERAGE, AFFERENT_COUPLING_TOTAL); }  @Override List<Metric> getMetrics(); static final Metric<Double> EFFERENT_COUPLING_AVERAGE; static final Metric<Integer> EFFERENT_COUPLING_TOTAL; static final Metric<Double> AFFERENT_COUPLING_AVERAGE; static final Metric<Integer> AFFERENT_COUPLING_TOTAL; }
@Test public void test_metrics() { assertThat(new GroovyMetrics().getMetrics()).hasSize(4); }