Skip to content

Merge pull request #364 from uhafner/dependabot/maven/edu.hm.hafner-c… #434

Merge pull request #364 from uhafner/dependabot/maven/edu.hm.hafner-c…

Merge pull request #364 from uhafner/dependabot/maven/edu.hm.hafner-c… #434

GitHub Actions / Autograding with Test Data succeeded Sep 27, 2024 in 10s

Autograding with Test Data - 322 of 500 (64%)

Score percentage: 64%

   🚦   Tests - 100 of 100: 65 % successful (❌ 13 failed, ✔️ 24 passed)
   〰️   Line Coverage - 22 of 100: 11% (269 missed lines)
   ➰   Branch Coverage - 20 of 100: 10% (38 missed branches)
   PIT   Mutation Coverage - 16 of 100: 8% (129 survived mutations)
   CheckStyle   CheckStyle - 57 of 100: 19 warnings (0 error, 0 high, 19 normal, 0 low)
   PMD   PMD - 100 of 100: 41 warnings (0 error, 0 high, 41 normal, 0 low)
   SpotBugs   SpotBugs - 86 of 100: 1 warning (0 error, 0 high, 0 normal, 1 low)

Created by Autograding v3.19.0 (#b3ebc7a)

Details

🎓   Autograding with Test Data - 322 of 500 (64%)

🚦   Tests - 100 of 100

Tests: 100%

Name Reports Passed Skipped Failed Total Impact
Tests 3 24 0 13 37 175
💰 10 -1 -5

Failures

Aufgabe3Test:shouldSplitToEmptyRight(int)[1]

Stack Trace
org.opentest4j.AssertionFailedError: 

Expecting:
<[]>
to be equal to:
<[[1, 2, 3, 4, 5, 6, 7, 8, 9, 10], []]>
when comparing elements using recursive field/property by field/property comparator on all fields/properties
Comparators used:
- for elements fields (by type): {Double -> DoubleComparator[precision=1.0E-15], Float -> FloatComparator[precision=1.0E-6]}
- for elements (by type): {Double -> DoubleComparator[precision=1.0E-15], Float -> FloatComparator[precision=1.0E-6]}
but was not.
  at Aufgabe3Test.shouldSplitToEmptyRight(Aufgabe3Test.java:254)

Aufgabe3Test:shouldSplitToEmptyRight(int)[2]

Stack Trace
org.opentest4j.AssertionFailedError: 

Expecting:
<[]>
to be equal to:
<[[1, 2, 3, 4, 5, 6, 7, 8, 9, 10], []]>
when comparing elements using recursive field/property by field/property comparator on all fields/properties
Comparators used:
- for elements fields (by type): {Double -> DoubleComparator[precision=1.0E-15], Float -> FloatComparator[precision=1.0E-6]}
- for elements (by type): {Double -> DoubleComparator[precision=1.0E-15], Float -> FloatComparator[precision=1.0E-6]}
but was not.
  at Aufgabe3Test.shouldSplitToEmptyRight(Aufgabe3Test.java:254)

Aufgabe3Test:shouldSplitToEmptyRight(int)[3]

Stack Trace
org.opentest4j.AssertionFailedError: 

Expecting:
<[]>
to be equal to:
<[[1, 2, 3, 4, 5, 6, 7, 8, 9, 10], []]>
when comparing elements using recursive field/property by field/property comparator on all fields/properties
Comparators used:
- for elements fields (by type): {Double -> DoubleComparator[precision=1.0E-15], Float -> FloatComparator[precision=1.0E-6]}
- for elements (by type): {Double -> DoubleComparator[precision=1.0E-15], Float -> FloatComparator[precision=1.0E-6]}
but was not.
  at Aufgabe3Test.shouldSplitToEmptyRight(Aufgabe3Test.java:254)

Aufgabe3Test:shouldContainIntegers

Stack Trace
org.opentest4j.AssertionFailedError: 

Expecting value to be true but was false
  at Aufgabe3Test.shouldContainIntegers(Aufgabe3Test.java:186)

Aufgabe3Test:shouldSplit

Stack Trace
org.opentest4j.AssertionFailedError: 

Expecting:
<[]>
to be equal to:
<[[], [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]]>
when comparing elements using recursive field/property by field/property comparator on all fields/properties
Comparators used:
- for elements fields (by type): {Double -> DoubleComparator[precision=1.0E-15], Float -> FloatComparator[precision=1.0E-6]}
- for elements (by type): {Double -> DoubleComparator[precision=1.0E-15], Float -> FloatComparator[precision=1.0E-6]}
but was not.
  at Aufgabe3Test.shouldSplit(Aufgabe3Test.java:219)

Aufgabe3Test:shouldRemoveDuplicates

Stack Trace
java.lang.AssertionError: 

Expecting:
<[0, 0]>
to contain exactly (and in same order):
<[1]>
but some elements were not found:
<[1]>
and others were not expected:
<[0, 0]>

  at Aufgabe3Test.shouldRemoveDuplicates(Aufgabe3Test.java:299)

Aufgabe3Test:shouldInsertBeforeAdditional

Stack Trace
java.lang.AssertionError: 

Expecting:
<[1, 10]>
to be equal to:
<[10, 1]>
when recursively comparing field by field, but found the following 2 differences:

field/property 'value' differ:
- actual value   : 10
- expected value : 1

field/property 'value' differ:
- actual value   : 1
- expected value : 10

The recursive comparison was performed with this configuration:
- no overridden equals methods were used in the comparison (except for java types)
- these types were compared with the following comparators:
- java.lang.Double -> DoubleComparator[precision=1.0E-15]
- java.lang.Float -> FloatComparator[precision=1.0E-6]
- actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior).

  at Aufgabe3Test.shouldInsertBeforeAdditional(Aufgabe3Test.java:152)

Aufgabe3Test:shouldSplitToEmptyLeft(int)[1]

Stack Trace
org.opentest4j.AssertionFailedError: 

Expecting:
<[]>
to be equal to:
<[[], [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]]>
when comparing elements using recursive field/property by field/property comparator on all fields/properties
Comparators used:
- for elements fields (by type): {Double -> DoubleComparator[precision=1.0E-15], Float -> FloatComparator[precision=1.0E-6]}
- for elements (by type): {Double -> DoubleComparator[precision=1.0E-15], Float -> FloatComparator[precision=1.0E-6]}
but was not.
  at Aufgabe3Test.shouldSplitToEmptyLeft(Aufgabe3Test.java:242)

Aufgabe3Test:shouldSplitToEmptyLeft(int)[2]

Stack Trace
org.opentest4j.AssertionFailedError: 

Expecting:
<[]>
to be equal to:
<[[], [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]]>
when comparing elements using recursive field/property by field/property comparator on all fields/properties
Comparators used:
- for elements fields (by type): {Double -> DoubleComparator[precision=1.0E-15], Float -> FloatComparator[precision=1.0E-6]}
- for elements (by type): {Double -> DoubleComparator[precision=1.0E-15], Float -> FloatComparator[precision=1.0E-6]}
but was not.
  at Aufgabe3Test.shouldSplitToEmptyLeft(Aufgabe3Test.java:242)

Aufgabe3Test:shouldSplitToEmptyLeft(int)[3]

Stack Trace
org.opentest4j.AssertionFailedError: 

Expecting:
<[]>
to be equal to:
<[[], [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]]>
when comparing elements using recursive field/property by field/property comparator on all fields/properties
Comparators used:
- for elements fields (by type): {Double -> DoubleComparator[precision=1.0E-15], Float -> FloatComparator[precision=1.0E-6]}
- for elements (by type): {Double -> DoubleComparator[precision=1.0E-15], Float -> FloatComparator[precision=1.0E-6]}
but was not.
  at Aufgabe3Test.shouldSplitToEmptyLeft(Aufgabe3Test.java:242)

Aufgabe3Test:shouldCopyValues

Stack Trace
java.lang.AssertionError: 

Expecting:
<[-1, -1, -1]>
to contain exactly (and in same order):
<[1, 2, 3]>
but some elements were not found:
<[1, 2, 3]>
and others were not expected:
<[-1, -1, -1]>

  at Aufgabe3Test.shouldCopyValues(Aufgabe3Test.java:63)

Aufgabe3Test:ALL_FINAL

Stack Trace
java.lang.AssertionError: 
Architecture Violation [Priority: MEDIUM] - Rule 'classes that have simple name 'Integers' should have only final fields' was violated (1 times):
Field <Integers.value> is not final in (Integers.java:0)

edu.hm.hafner.grading.ReportFinderTest:shouldFindTestReports

Expected size: 3 but was: 5 in:
[src/test/resources/junit/TEST-de.tobiasmichael.me.MyTest-Passed.xml,
src/test/resources/junit/TEST-Aufgabe3Test.xml,
src/test/resources/junit/TEST-edu.hm.hafner.grading.AutoGradingActionTest.xml,
src/test/resources/junit/TEST-edu.hm.hafner.grading.ReportFinderTest.xml,
src/test/resources/junit/TEST-de.tobiasmichael.me.MyTest-Not-Passed.xml]

Stack Trace
java.lang.AssertionError: 

Expected size: 3 but was: 5 in:
[src/test/resources/junit/TEST-de.tobiasmichael.me.MyTest-Passed.xml,
  src/test/resources/junit/TEST-Aufgabe3Test.xml,
  src/test/resources/junit/TEST-edu.hm.hafner.grading.AutoGradingActionTest.xml,
  src/test/resources/junit/TEST-edu.hm.hafner.grading.ReportFinderTest.xml,
  src/test/resources/junit/TEST-de.tobiasmichael.me.MyTest-Not-Passed.xml]
  at edu.hm.hafner.grading.ReportFinderTest.shouldFindTestReports(ReportFinderTest.java:17)
  at java.base/java.lang.reflect.Method.invoke(Method.java:580)
  at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
  at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)

⚠️   Style - 100 of 100

Style: 100%

Name Reports Errors High Normal Low Total Impact
CheckStyle 2 0 0 19 0 19 57
PMD 2 0 0 41 0 41 123
Total 4 0 0 60 0 60 180
💰 1 2 3 4

🐛   Bugs - 86 of 100

Bugs: 86%

Name Reports Errors High Normal Low Total Impact
SpotBugs 1 0 0 0 1 1 -14
💰 -11 -12 -13 -14

👣   JaCoCo - 20 of 100

JaCoCo: 20%

Name Covered % Missed % Impact
Line Coverage 11 89 -78
Branch Coverage 10 90 -80
Total Ø 10 90 -80
💰 1 -1

🔬   PIT - 16 of 100

PIT: 16%

Name Killed % Survived % Impact
Mutation Coverage 8 92 -84
💰 1 -1

Annotations

Check warning on line 10 in /Users/hafner/git/hochschule/karalight-assignment/src/main/java/edu/hm/hafner/kara/Assignment09.java

See this annotation in the file changed.

@github-actions github-actions / Autograding with Test Data

CheckStyle: HideUtilityClassConstructorCheck

Hilfsklassen sollten keinen Standard-Konstruktur und keinen als public deklarierten Konstruktor haben.

Check warning on line 10 in /Users/hafner/git/hochschule/karalight-assignment/src/main/java/edu/hm/hafner/kara/Assignment05.java

See this annotation in the file changed.

@github-actions github-actions / Autograding with Test Data

CheckStyle: HideUtilityClassConstructorCheck

Hilfsklassen sollten keinen Standard-Konstruktur und keinen als public deklarierten Konstruktor haben.

Check warning on line 10 in /Users/hafner/git/hochschule/karalight-assignment/src/main/java/edu/hm/hafner/kara/Assignment13.java

See this annotation in the file changed.

@github-actions github-actions / Autograding with Test Data

CheckStyle: HideUtilityClassConstructorCheck

Hilfsklassen sollten keinen Standard-Konstruktur und keinen als public deklarierten Konstruktor haben.

Check warning on line 10 in /Users/hafner/git/hochschule/karalight-assignment/src/main/java/edu/hm/hafner/kara/Assignment12.java

See this annotation in the file changed.

@github-actions github-actions / Autograding with Test Data

CheckStyle: HideUtilityClassConstructorCheck

Hilfsklassen sollten keinen Standard-Konstruktur und keinen als public deklarierten Konstruktor haben.

Check warning on line 10 in /Users/hafner/git/hochschule/karalight-assignment/src/main/java/edu/hm/hafner/kara/Assignment04.java

See this annotation in the file changed.

@github-actions github-actions / Autograding with Test Data

CheckStyle: HideUtilityClassConstructorCheck

Hilfsklassen sollten keinen Standard-Konstruktur und keinen als public deklarierten Konstruktor haben.

Check warning on line 10 in /Users/hafner/git/hochschule/karalight-assignment/src/main/java/edu/hm/hafner/kara/Assignment08.java

See this annotation in the file changed.

@github-actions github-actions / Autograding with Test Data

CheckStyle: HideUtilityClassConstructorCheck

Hilfsklassen sollten keinen Standard-Konstruktur und keinen als public deklarierten Konstruktor haben.

Check warning on line 10 in /Users/hafner/git/hochschule/karalight-assignment/src/main/java/edu/hm/hafner/kara/Assignment03.java

See this annotation in the file changed.

@github-actions github-actions / Autograding with Test Data

CheckStyle: HideUtilityClassConstructorCheck

Hilfsklassen sollten keinen Standard-Konstruktur und keinen als public deklarierten Konstruktor haben.

Check warning on line 10 in /Users/hafner/git/hochschule/karalight-assignment/src/main/java/edu/hm/hafner/kara/Assignment15.java

See this annotation in the file changed.

@github-actions github-actions / Autograding with Test Data

CheckStyle: HideUtilityClassConstructorCheck

Hilfsklassen sollten keinen Standard-Konstruktur und keinen als public deklarierten Konstruktor haben.

Check warning on line 10 in /Users/hafner/git/hochschule/karalight-assignment/src/main/java/edu/hm/hafner/kara/Assignment14.java

See this annotation in the file changed.

@github-actions github-actions / Autograding with Test Data

CheckStyle: HideUtilityClassConstructorCheck

Hilfsklassen sollten keinen Standard-Konstruktur und keinen als public deklarierten Konstruktor haben.

Check warning on line 10 in /Users/hafner/git/hochschule/karalight-assignment/src/main/java/edu/hm/hafner/kara/Assignment02.java

See this annotation in the file changed.

@github-actions github-actions / Autograding with Test Data

CheckStyle: HideUtilityClassConstructorCheck

Hilfsklassen sollten keinen Standard-Konstruktur und keinen als public deklarierten Konstruktor haben.

Check warning on line 10 in /Users/hafner/git/hochschule/karalight-assignment/src/main/java/edu/hm/hafner/kara/Assignment01.java

See this annotation in the file changed.

@github-actions github-actions / Autograding with Test Data

CheckStyle: HideUtilityClassConstructorCheck

Hilfsklassen sollten keinen Standard-Konstruktur und keinen als public deklarierten Konstruktor haben.

Check warning on line 10 in /Users/hafner/git/hochschule/karalight-assignment/src/main/java/edu/hm/hafner/kara/Assignment00.java

See this annotation in the file changed.

@github-actions github-actions / Autograding with Test Data

CheckStyle: HideUtilityClassConstructorCheck

Hilfsklassen sollten keinen Standard-Konstruktur und keinen als public deklarierten Konstruktor haben.

Check warning on line 10 in /Users/hafner/git/hochschule/karalight-assignment/src/main/java/edu/hm/hafner/kara/Assignment16.java

See this annotation in the file changed.

@github-actions github-actions / Autograding with Test Data

CheckStyle: HideUtilityClassConstructorCheck

Hilfsklassen sollten keinen Standard-Konstruktur und keinen als public deklarierten Konstruktor haben.

Check warning on line 10 in /Users/hafner/git/hochschule/karalight-assignment/src/main/java/edu/hm/hafner/kara/Assignment11.java

See this annotation in the file changed.

@github-actions github-actions / Autograding with Test Data

CheckStyle: HideUtilityClassConstructorCheck

Hilfsklassen sollten keinen Standard-Konstruktur und keinen als public deklarierten Konstruktor haben.

Check warning on line 10 in /Users/hafner/git/hochschule/karalight-assignment/src/main/java/edu/hm/hafner/kara/Assignment07.java

See this annotation in the file changed.

@github-actions github-actions / Autograding with Test Data

CheckStyle: HideUtilityClassConstructorCheck

Hilfsklassen sollten keinen Standard-Konstruktur und keinen als public deklarierten Konstruktor haben.

Check warning on line 10 in /Users/hafner/git/hochschule/karalight-assignment/src/main/java/edu/hm/hafner/kara/Assignment06.java

See this annotation in the file changed.

@github-actions github-actions / Autograding with Test Data

CheckStyle: HideUtilityClassConstructorCheck

Hilfsklassen sollten keinen Standard-Konstruktur und keinen als public deklarierten Konstruktor haben.

Check warning on line 10 in /Users/hafner/git/hochschule/karalight-assignment/src/main/java/edu/hm/hafner/kara/Assignment10.java

See this annotation in the file changed.

@github-actions github-actions / Autograding with Test Data

CheckStyle: HideUtilityClassConstructorCheck

Hilfsklassen sollten keinen Standard-Konstruktur und keinen als public deklarierten Konstruktor haben.

Check warning on line 21 in /Users/hafner/git/hochschule/karalight-assignment/src/test/java/edu/hm/hafner/kara/Assignment14Test.java

See this annotation in the file changed.

@github-actions github-actions / Autograding with Test Data

CheckStyle: NoWhitespaceBeforeCheck

Vor ',' befindet sich ein Leerzeichen.

Check warning on line 45 in /Users/hafner/git/warnings-ng-plugin-devenv/autograding-github-action/src/main/java/edu/hm/hafner/grading/LogHandler.java

See this annotation in the file changed.

@github-actions github-actions / Autograding with Test Data

CheckStyle: MissingJavadocMethodCheck

Es fehlt ein Javadoc-Kommentar.

Check warning on line 63 in /Users/hafner/git/hochschule/karalight-assignment/src/main/java/edu/hm/hafner/kara/Assignment00.java

See this annotation in the file changed.

@github-actions github-actions / Autograding with Test Data

PMD: UseUtilityClass

All methods are static.  Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning.

Check warning on line 81 in /Users/hafner/git/hochschule/karalight-assignment/src/main/java/edu/hm/hafner/kara/Assignment01.java

See this annotation in the file changed.

@github-actions github-actions / Autograding with Test Data

PMD: UseUtilityClass

All methods are static.  Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning.

Check warning on line 51 in /Users/hafner/git/hochschule/karalight-assignment/src/main/java/edu/hm/hafner/kara/Assignment02.java

See this annotation in the file changed.

@github-actions github-actions / Autograding with Test Data

PMD: UseUtilityClass

All methods are static.  Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning.

Check warning on line 81 in /Users/hafner/git/hochschule/karalight-assignment/src/main/java/edu/hm/hafner/kara/Assignment03.java

See this annotation in the file changed.

@github-actions github-actions / Autograding with Test Data

PMD: UseUtilityClass

All methods are static.  Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning.

Check warning on line 45 in /Users/hafner/git/hochschule/karalight-assignment/src/main/java/edu/hm/hafner/kara/Assignment04.java

See this annotation in the file changed.

@github-actions github-actions / Autograding with Test Data

PMD: UseUtilityClass

All methods are static.  Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning.

Check warning on line 90 in /Users/hafner/git/hochschule/karalight-assignment/src/main/java/edu/hm/hafner/kara/Assignment05.java

See this annotation in the file changed.

@github-actions github-actions / Autograding with Test Data

PMD: UseUtilityClass

All methods are static.  Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning.