return underTest.globalStatistics().countForMetric(metric,label); | return underTest.globalStatistics().getDistributedMetricStats(metric).getForLabel(label).map(MetricStatsInt::getTotal).orElse(null); | underTest.globalStatistics().countForMetric(metric,label) | underTest.globalStatistics().getDistributedMetricStats(metric).getForLabel(label).map(MetricStatsInt::getTotal).orElse(null) | sonarqube | c9f01d74767b55cad280b1056ea71a3d9650c908 | org.sonar.server.issue.notification.NewIssuesStatisticsTest | | _1 | countDistribution |
---|
_2 | countDistributionTotal |
---|
| xyz | underTest.globalStatistics().countForMetric(metric,label) |
---|
| | xyz | underTest.globalStatistics().getDistributedMetricStats(metric).getForLabel(label).map(MetricStatsInt::getTotal).orElse(null) |
---|
| Returns | True |