int microEditCount = MicroEditCastigator.countMicroEdits(repository, artifact, 3, 300 * 1000, microEditCastigatorInstallTime + surveyPeriod - i * surveyPeriod / slices, surveyPeriod / slices);
microEditCounts[i] += microEditCount;
result.append("<td>").append(microEditCount).append("</td>");
}
result.append("</tr>\n");
repository.commit();
}
result.append(String.format("<tr><td>Total</td><td>%d</td><td>%d</td>", totalMicroEditsBefore, totalMicroEditsAfter));
for (int i = 0; i < 2 * slices; i++) {
result.append("<td>").append(microEditCounts[i]).append("</td>");
}