Merge pull request #823 from uhafner/linerange-tests #444
GitHub Actions / Autograding results
succeeded
Oct 4, 2023 in 0s
Autograding results
Total score: 305/400 (unit tests: 100/100, code coverage: 83/100, mutation coverage: 23/100, analysis: 99/100)
Details
Total score: 305/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 | 6 | 0 | 0 | 0 |
edu.hm.hafner.util.LineRangeTest | 3 | 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 | 93 | 0 | 0 | 0 |
⚠️ Static Analysis Warnings Score: 99 of 100 ⚠️
Name | Errors | Warning High | Warning Normal | Warning Low | Impact |
---|---|---|---|---|---|
💰 | -5 | -2 | -1 | -1 | 📒 |
Error Prone | 0 | 0 | 1 | 0 | -1 |
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 | 1 | 0 | -1 |
🐾 Code Coverage Score: 83 of 100 🐾
Name | Covered % | Missed % | Impact |
---|---|---|---|
💰 | - | -1 | 📒 |
Branch | 92 | 8 | -8 |
Line | 91 | 9 | -9 |
Total | 91 | 8 | -17 |
🦠 PIT Mutation Coverage Score: 23 of 100 🦠
Name | Detected | Undetected | Detected % | Undetected % | Impact |
---|---|---|---|---|---|
💰 | - | -1 | - | - | 📒 |
PIT | 295 | 77 | 80 | 20 | -77 |
Annotations
Check warning on line 85 in src/main/java/edu/hm/hafner/util/LineRange.java
github-actions / Autograding results
Varifier
Consider using `var` here to avoid boilerplate.
Loading