Autograding results
Total score - 135 of 400 (unit tests: 95/100, code coverage: 0/100, mutation coverage: 0/100, analysis: 40/100)
Details
🎓 Total score - 135 of 400
🚦 JUnit - 95 of 100
Name | Passed | Skipped | Failed | Impact |
---|---|---|---|---|
Unittests | 70 | 0 | 1 | -5 |
💰 | - | -1 | -5 | 📒 |
Failures
edu.hm.hafner.grading.AutoGradingRunnerITest:shouldReadDefaultConfigurationIfEnvironmentIsNotSet
Stack Trace
java.nio.file.FileSystemNotFoundException
at jdk.zipfs/jdk.nio.zipfs.ZipFileSystemProvider.getFileSystem(ZipFileSystemProvider.java:156)
at jdk.zipfs/jdk.nio.zipfs.ZipFileSystemProvider.getPath(ZipFileSystemProvider.java:142)
at java.base/java.nio.file.Path.of(Path.java:209)
at java.base/java.nio.file.Paths.get(Paths.java:98)
at edu.hm.hafner.grading.AutoGradingRunner.readDefaultConfiguration(AutoGradingRunner.java:171)
at edu.hm.hafner.grading.AutoGradingRunner.getConfiguration(AutoGradingRunner.java:158)
at edu.hm.hafner.grading.AutoGradingRunnerITest.shouldReadDefaultConfigurationIfEnvironmentIsNotSet(AutoGradingRunnerITest.java:275)
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)
⚠️ Warnings - 40 of 100
Name | Errors | Warning High | Warning Normal | Warning Low | Impact |
---|---|---|---|---|---|
CheckStyle | 0 | 0 | 0 | 0 | 0 |
PMD | 0 | 0 | 0 | 0 | 0 |
Error Prone | 0 | 0 | 60 | 0 | -60 |
SpotBugs | 0 | 0 | 0 | 0 | 0 |
Total | 0 | 0 | 60 | 0 | -60 |
💰 | -1 | -1 | -1 | -1 | 📒 |
🐾 JaCoCo - 0 of 100
Name | Covered % | Missed % | Impact |
---|---|---|---|
Line Coverage | 0 | 100 | -100 |
Branch Coverage | 0 | 100 | -100 |
Total Ø | 0 | 100 | -100 |
💰 | - | -1 | 📒 |
🦠 PIT - 0 of 100
Name | Killed % | Survived % | Impact |
---|---|---|---|
Mutation Coverage | 0 | 100 | -100 |
💰 | - | -1 | 📒 |
🚧 Error Messages
Autograding GitHub Action Errors:
No matching report files found when using pattern '**/target/site/jacoco/jacoco.xml'! Configuration error for 'Line Coverage'?
No matching report files found when using pattern '**/target/site/jacoco/jacoco.xml'! Configuration error for 'Branch Coverage'?
No matching report files found when using pattern '**/target/pit-reports/mutations.xml'! Configuration error for 'Mutation Coverage'?
No matching report files found when using pattern '**/target/checkstyle-result.xml'! Configuration error for 'CheckStyle'?
No matching report files found when using pattern '**/target/pmd.xml'! Configuration error for 'PMD'?
No matching report files found when using pattern '**/target/spotbugsXml.xml'! Configuration error for 'SpotBugs'?
Annotations
Check warning on line 56 in src/main/java/edu/hm/hafner/grading/Configuration.java
github-actions / Quality Checks
Error Prone: NullAway
@NonNull field id not initialized.
Check warning on line 57 in src/main/java/edu/hm/hafner/grading/Configuration.java
github-actions / Quality Checks
Error Prone: NullAway
@NonNull field name not initialized.
Check warning on line 58 in src/main/java/edu/hm/hafner/grading/Configuration.java
github-actions / Quality Checks
Error Prone: NullAway
@NonNull field icon not initialized.
Check warning on line 134 in src/main/java/edu/hm/hafner/grading/Configuration.java
github-actions / Quality Checks
Error Prone: Varifier
Consider using `var` here to avoid boilerplate.
Check warning on line 65 in src/main/java/edu/hm/hafner/grading/JacksonFacade.java
github-actions / Quality Checks
Error Prone: UngroupedOverloads
Overloads should be grouped together, even when modifiers such as static or private differ between the methods; found ungrouped overloads of 'fromJson' on line(s): 105.
Check warning on line 105 in src/main/java/edu/hm/hafner/grading/JacksonFacade.java
github-actions / Quality Checks
Error Prone: UngroupedOverloads
Overloads should be grouped together, even when modifiers such as static or private differ between the methods; found ungrouped overloads of 'fromJson' on line(s): 65.
Check warning on line 91 in src/main/java/edu/hm/hafner/grading/ToolConfiguration.java
github-actions / Quality Checks
Error Prone: Varifier
Consider using `var` here to avoid boilerplate.
Check warning on line 42 in src/main/java/edu/hm/hafner/grading/TestScore.java
github-actions / Quality Checks
Error Prone: UngroupedOverloads
Overloads should be grouped together, even when modifiers such as static or private differ between the methods; found ungrouped constructor overloads on line(s): 58.
Check warning on line 58 in src/main/java/edu/hm/hafner/grading/TestScore.java
github-actions / Quality Checks
Error Prone: UngroupedOverloads
Overloads should be grouped together, even when modifiers such as static or private differ between the methods; found ungrouped constructor overloads on line(s): 42.
Check warning on line 151 in src/main/java/edu/hm/hafner/grading/TestScore.java
github-actions / Quality Checks
Error Prone: NullAway
@NonNull field TestScore$TestScoreBuilder.id not initialized.
Check warning on line 152 in src/main/java/edu/hm/hafner/grading/TestScore.java
github-actions / Quality Checks
Error Prone: NullAway
@NonNull field TestScore$TestScoreBuilder.name not initialized.
Check warning on line 153 in src/main/java/edu/hm/hafner/grading/TestScore.java
github-actions / Quality Checks
Error Prone: NullAway
@NonNull field TestScore$TestScoreBuilder.configuration not initialized.
Check warning on line 249 in src/main/java/edu/hm/hafner/grading/TestScore.java
github-actions / Quality Checks
Error Prone: NullAway
passing @Nullable parameter 'report' where @NonNull is required.
Check warning on line 132 in src/main/java/edu/hm/hafner/grading/AnalysisScore.java
github-actions / Quality Checks
Error Prone: NullAway
@NonNull field AnalysisScore$AnalysisScoreBuilder.id not initialized.
Check warning on line 133 in src/main/java/edu/hm/hafner/grading/AnalysisScore.java
github-actions / Quality Checks
Error Prone: NullAway
@NonNull field AnalysisScore$AnalysisScoreBuilder.name not initialized.
Check warning on line 134 in src/main/java/edu/hm/hafner/grading/AnalysisScore.java
github-actions / Quality Checks
Error Prone: NullAway
@NonNull field AnalysisScore$AnalysisScoreBuilder.configuration not initialized.
Check warning on line 215 in src/main/java/edu/hm/hafner/grading/AnalysisScore.java
github-actions / Quality Checks
Error Prone: CanIgnoreReturnValueSuggester
Methods with ignorable return values (including methods that always 'return this') should be annotated with @com.google.errorprone.annotations.CanIgnoreReturnValue.
Check warning on line 230 in src/main/java/edu/hm/hafner/grading/AnalysisScore.java
github-actions / Quality Checks
Error Prone: NullAway
passing @Nullable parameter 'report' where @NonNull is required.
Check warning on line 85 in src/main/java/edu/hm/hafner/grading/AnalysisConfiguration.java
github-actions / Quality Checks
Error Prone: Varifier
Consider using `var` here to avoid boilerplate.
Check warning on line 64 in src/main/java/edu/hm/hafner/grading/CoverageMarkdown.java
github-actions / Quality Checks
Error Prone: LambdaFunctionalInterface
Use Java's utility functional interfaces instead of Function<A, B> for primitive types.
Check warning on line 129 in src/main/java/edu/hm/hafner/grading/CoverageScore.java
github-actions / Quality Checks
Error Prone: NullAway
@NonNull field CoverageScore$CoverageScoreBuilder.id not initialized.
Check warning on line 130 in src/main/java/edu/hm/hafner/grading/CoverageScore.java
github-actions / Quality Checks
Error Prone: NullAway
@NonNull field CoverageScore$CoverageScoreBuilder.name not initialized.
Check warning on line 131 in src/main/java/edu/hm/hafner/grading/CoverageScore.java
github-actions / Quality Checks
Error Prone: NullAway
@NonNull field CoverageScore$CoverageScoreBuilder.configuration not initialized.
Check warning on line 232 in src/main/java/edu/hm/hafner/grading/CoverageScore.java
github-actions / Quality Checks
Error Prone: NullAway
passing @Nullable parameter 'report' where @NonNull is required.
Check warning on line 232 in src/main/java/edu/hm/hafner/grading/CoverageScore.java
github-actions / Quality Checks
Error Prone: NullAway
passing @Nullable parameter 'metric' where @NonNull is required.