if (result.isError()) return result;
Report.Test test = getTest(true);
testIteration = test == null ? 0 : test.getIterations().size();
MinMax.Int usedThreads = new MinMax.Int();
Map<Integer, Report.SlaveResult> slaveResults = new HashMap<Integer, Report.SlaveResult>();
<BUG>Statistics aggregated = null;</BUG>
boolean failed = false;
<BUG>for (StatisticsAck ack : instancesOf(acks, StatisticsAck.class)) {

if (test != null) {</BUG>
String iterationValue = resolveIterationValue();

if (result.isError()) return result;
Report.Test test = getTest(true);
testIteration = test == null ? 0 : test.getIterations().size();
MinMax.Int usedThreads = new MinMax.Int();
Map<Integer, Report.SlaveResult> slaveResults = new HashMap<Integer, Report.SlaveResult>();
boolean failed = false;
List<StatisticsAck> statisticsAcks = instancesOf(acks, StatisticsAck.class);
Statistics aggregated = statisticsAcks.stream().filter(ack -> ack.statistics != null)
.flatMap(ack -> ack.statistics.stream()).reduce(null, Statistics.MERGE);
for (StatisticsAck ack : statisticsAcks) {
if (test != null) {
String iterationValue = resolveIterationValue();
