Merge pull request #820 from uhafner/java21 #794
Autograding results
Total score: 286/400 (unit tests: 100/100, code coverage: 82/100, mutation coverage: 22/100, analysis: 82/100)
Details
Total score: 286/400
🚦 Unit Tests Score: 100 of 100 🚦
Name | Passed | Skipped | Failed | Impact |
---|---|---|---|---|
💰 | - | -1 | -5 | 📒 |
edu.hm.hafner.util.ArchitectureRulesTest | 7 | 0 | 0 | 0 |
edu.hm.hafner.util.ArchitectureTest | 9 | 0 | 0 | 0 |
edu.hm.hafner.util.EnsureTest | 5 | 0 | 0 | 0 |
edu.hm.hafner.util.FilteredLogTest | 9 | 0 | 0 | 0 |
edu.hm.hafner.util.LineRangeListTest | 7 | 0 | 0 | 0 |
edu.hm.hafner.util.LookaheadStreamTest | 5 | 0 | 0 | 0 |
edu.hm.hafner.util.PackageArchitectureTest | 1 | 0 | 0 | 0 |
edu.hm.hafner.util.PathUtilTest | 22 | 0 | 0 | 0 |
edu.hm.hafner.util.PrefixLoggerTest | 1 | 0 | 0 | 0 |
edu.hm.hafner.util.ResourceExtractorTest | 9 | 0 | 0 | 0 |
edu.hm.hafner.util.SecureXmlParserFactoryTest | 7 | 0 | 0 | 0 |
edu.hm.hafner.util.StringComparableTest | 2 | 0 | 0 | 0 |
edu.hm.hafner.util.StringEqualsTest | 2 | 0 | 0 | 0 |
edu.hm.hafner.util.TreeStringBuilderTest | 5 | 0 | 0 | 0 |
Total | 91 | 0 | 0 | 0 |
⚠️ Static Analysis Warnings Score: 82 of 100 ⚠️
Name | Errors | Warning High | Warning Normal | Warning Low | Impact |
---|---|---|---|---|---|
💰 | -5 | -2 | -1 | -1 | 📒 |
Error Prone | 0 | 0 | 18 | 0 | -18 |
Java Compiler | 0 | 0 | 0 | 0 | 0 |
JavaDoc | 0 | 0 | 0 | 0 | 0 |
CheckStyle | 0 | 0 | 0 | 0 | 0 |
PMD | 0 | 0 | 0 | 0 | 0 |
SpotBugs | 0 | 0 | 0 | 0 | 0 |
Total | 0 | 0 | 18 | 0 | -18 |
🐾 Code Coverage Score: 82 of 100 🐾
Name | Covered % | Missed % | Impact |
---|---|---|---|
💰 | - | -1 | 📒 |
Branch | 92 | 8 | -8 |
Line | 90 | 10 | -10 |
Total | 91 | 9 | -18 |
🦠 PIT Mutation Coverage Score: 22 of 100 🦠
Name | Detected | Undetected | Detected % | Undetected % | Impact |
---|---|---|---|---|---|
💰 | - | -1 | - | - | 📒 |
PIT | 292 | 78 | 79 | 21 | -78 |
Annotations
Check warning on line 107 in src/main/java/edu/hm/hafner/util/Ensure.java
github-actions / Autograding results
AvoidObjectArrays
Avoid accepting a Object[]; consider an Iterable<Object> instead.
Check warning on line 359 in src/main/java/edu/hm/hafner/util/Ensure.java
github-actions / Autograding results
AvoidObjectArrays
Avoid accepting a Object[]; consider an Iterable<Object> instead.
Check warning on line 78 in src/main/java/edu/hm/hafner/util/LineRange.java
github-actions / Autograding results
Varifier
Consider using `var` here to avoid boilerplate.
Check warning on line 135 in src/main/java/edu/hm/hafner/util/LineRangeList.java
github-actions / Autograding results
Varifier
Consider using `var` here to avoid boilerplate.
Check warning on line 137 in src/main/java/edu/hm/hafner/util/LineRangeList.java
github-actions / Autograding results
Varifier
Consider using `var` here to avoid boilerplate.
Check warning on line 332 in src/main/java/edu/hm/hafner/util/LineRangeList.java
github-actions / Autograding results
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 17 in src/test/java/edu/hm/hafner/util/EnsureTest.java
github-actions / Autograding results
InlineTrivialConstant
Consider inlining this constant.
Check warning on line 18 in src/test/java/edu/hm/hafner/util/LineRangeListTest.java
github-actions / Autograding results
Varifier
Consider using `var` here to avoid boilerplate.
Check warning on line 19 in src/test/java/edu/hm/hafner/util/LineRangeListTest.java
github-actions / Autograding results
Varifier
Consider using `var` here to avoid boilerplate.
Check warning on line 26 in src/test/java/edu/hm/hafner/util/LineRangeListTest.java
github-actions / Autograding results
Varifier
Consider using `var` here to avoid boilerplate.
Check warning on line 27 in src/test/java/edu/hm/hafner/util/LineRangeListTest.java
github-actions / Autograding results
Varifier
Consider using `var` here to avoid boilerplate.
Check warning on line 34 in src/test/java/edu/hm/hafner/util/LineRangeListTest.java
github-actions / Autograding results
Varifier
Consider using `var` here to avoid boilerplate.
Check warning on line 35 in src/test/java/edu/hm/hafner/util/LineRangeListTest.java
github-actions / Autograding results
Varifier
Consider using `var` here to avoid boilerplate.
Check warning on line 42 in src/test/java/edu/hm/hafner/util/LineRangeListTest.java
github-actions / Autograding results
Varifier
Consider using `var` here to avoid boilerplate.
Check warning on line 43 in src/test/java/edu/hm/hafner/util/LineRangeListTest.java
github-actions / Autograding results
Varifier
Consider using `var` here to avoid boilerplate.
Check warning on line 50 in src/test/java/edu/hm/hafner/util/LineRangeListTest.java
github-actions / Autograding results
Varifier
Consider using `var` here to avoid boilerplate.
Check warning on line 63 in src/test/java/edu/hm/hafner/util/LineRangeListTest.java
github-actions / Autograding results
Varifier
Consider using `var` here to avoid boilerplate.
Check warning on line 101 in src/test/java/edu/hm/hafner/util/LineRangeListTest.java
github-actions / Autograding results
Varifier
Consider using `var` here to avoid boilerplate.