|
@@ -87,7 +87,6 @@ public class ReportObjectFactory {
|
|
|
result.getOptions().getMinimumTokenMatch(), // matchSensitivity
|
|
result.getOptions().getMinimumTokenMatch(), // matchSensitivity
|
|
|
getDate(),// dateOfExecution
|
|
getDate(),// dateOfExecution
|
|
|
result.getDuration(), // executionTime
|
|
result.getDuration(), // executionTime
|
|
|
- getComparisonNames(submissionNameToNameToComparisonFileName), // comparisonNames
|
|
|
|
|
getMetrics(result),// metrics
|
|
getMetrics(result),// metrics
|
|
|
clusteringResultMapper.map(result)); // clusters
|
|
clusteringResultMapper.map(result)); // clusters
|
|
|
|
|
|
|
@@ -120,14 +119,6 @@ public class ReportObjectFactory {
|
|
|
return submissions;
|
|
return submissions;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- /**
|
|
|
|
|
- * Gets the names of all comparison.
|
|
|
|
|
- * @return A list containing all comparisons.
|
|
|
|
|
- */
|
|
|
|
|
- private Collection<String> getComparisonNames(Map<String, Map<String, String>> submissionNameToNameToComparisonFileName) {
|
|
|
|
|
- return submissionNameToNameToComparisonFileName.values().stream().flatMap(map -> map.values().stream()).collect(Collectors.toSet());
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
/**
|
|
/**
|
|
|
* Gets the used metrics in a JPlag comparison. As Max Metric is included in every JPlag run, this always include Max
|
|
* Gets the used metrics in a JPlag comparison. As Max Metric is included in every JPlag run, this always include Max
|
|
|
* Metric.
|
|
* Metric.
|