diff --git a/tests/integration-tests/tests-base/pom.xml b/tests/integration-tests/tests-base/pom.xml index 3620b50..279977a 100644 --- a/tests/integration-tests/tests-base/pom.xml +++ b/tests/integration-tests/tests-base/pom.xml @@ -20,7 +20,7 @@ io.github.ardoco metrics - 0.1.0 + 0.1.1-SNAPSHOT compile diff --git a/tests/integration-tests/tests-base/src/main/java/edu/kit/kastel/mcse/ardoco/core/tests/eval/results/EvaluationResults.java b/tests/integration-tests/tests-base/src/main/java/edu/kit/kastel/mcse/ardoco/core/tests/eval/results/EvaluationResults.java index 5c2c63b..0db56b3 100644 --- a/tests/integration-tests/tests-base/src/main/java/edu/kit/kastel/mcse/ardoco/core/tests/eval/results/EvaluationResults.java +++ b/tests/integration-tests/tests-base/src/main/java/edu/kit/kastel/mcse/ardoco/core/tests/eval/results/EvaluationResults.java @@ -79,8 +79,8 @@ public String getExplicitResultString() { public ImmutableList getFound() { MutableList found = Lists.mutable.empty(); - found.addAll(classificationResult.getTp()); - found.addAll(classificationResult.getFp()); + found.addAll(classificationResult.getTruePositives()); + found.addAll(classificationResult.getFalsePositives()); return found.toImmutable(); } @@ -117,18 +117,18 @@ public double phiCoefficientMax() { } public List truePositives() { - return classificationResult.getTp().stream().toList(); + return classificationResult.getTruePositives().stream().toList(); } public List falsePositives() { - return classificationResult.getFp().stream().toList(); + return classificationResult.getFalsePositives().stream().toList(); } public List falseNegatives() { - return classificationResult.getFn().stream().toList(); + return classificationResult.getFalseNegatives().stream().toList(); } public int trueNegatives() { - return classificationResult.getTn(); + return classificationResult.getTrueNegatives(); } }