for (int i = 0; i < maxIterations; ++i) {
write("<th style=\"text-align: center; border-left-color: black; border-left-width: 2px;\">Value</th>\n");
}
write("</tr>\n");
for (Map.Entry<Report, List<Report.TestResult>> entry : results.entrySet()) {
Report report = entry.getKey();
int nodeCount = entry.getValue().isEmpty() ? 0 : entry.getValue().get(0).slaveResults.size();
write("<tr><th style=\"text-align: left; cursor: pointer\" onClick=\"");
for (int i = 0; i < nodeCount; ++i) {
write("switch_visibility('e" + (elementCounter + i) + "'); ");
}
write(String.format("\">%s</th><th>%s</th>", report.getConfiguration().name, report.getCluster()));
for (Report.TestResult result : entry.getValue()) {
writeResult(result.aggregatedValue, false, result.suspicious);
}
write("</tr>\n");
for (int node = 0; node < nodeCount; ++node) {