Quality Monitor
🚦 Tests: 99% successful (❌ 3 failed, ✔️ 307 passed)
〰️ Line Coverage: 96% (91 missed lines)
➰ Branch Coverage: 92% (82 missed branches)
Mutation Coverage: 0% (0 survived mutations)
💪 Test Strength: 0% (0 survived mutations in tested code)
CheckStyle: No warnings
PMD: No warnings
SpotBugs: 1 bug (low: 1)
🐛 Error Prone: 1 bug (normal: 1)
OWASP Dependency Check: No vulnerabilities
🌀 Cyclomatic Complexity: 714 (total)
💭 Cognitive Complexity: 543 (total)
📏 Lines of Code: 7832 (total)
📝 Non Commenting Source Statements: 3152 (total)
🔭 Access to foreign data: 380 (total)
🔗 Class cohesion: 58.33% (maximum)
📤 Fan out: 682 (total)
📲 Number of accessors: 64 (total)
⚖️ Weight of a class: 100.00% (maximum)
📐 Weighted method count: 1059 (total)
➿ N-Path Complexity: 1540 (total)
🚧 Error Messages
Quality Monitor Errors:
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/pit-reports/mutations.xml'! Configuration error for 'Test Strength'?
No matching report files found when using pattern '**/target/dependency-check-report.json'! Configuration error for 'OWASP Dependency Check'?
Created by Quality Monitor v1.14.0 (#f3859fd)
Details
☀️ Quality Monitor
🚦 Tests
Name | Reports | Passed | Skipped | Failed | Total |
---|---|---|---|---|---|
Tests | 30 | 307 | 0 | 3 | 310 |
Failures
edu.hm.hafner.coverage.DifferenceTest:shouldFormatCoverageWithSign
expected: "LINE: 200:3"
but was: "LINE: Δ200:3"
Stack Trace
org.opentest4j.AssertionFailedError:
expected: "LINE: 200:3"
but was: "LINE: Δ200:3"
at edu.hm.hafner.coverage.DifferenceTest.shouldFormatCoverageWithSign(DifferenceTest.java:53)
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)
edu.hm.hafner.coverage.DifferenceTest:shouldFormatIntegerWithSign
expected: "LOC: 2"
but was: "LOC: Δ2"
Stack Trace
org.opentest4j.AssertionFailedError:
expected: "LOC: 2"
but was: "LOC: Δ2"
at edu.hm.hafner.coverage.DifferenceTest.shouldFormatIntegerWithSign(DifferenceTest.java:86)
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)
edu.hm.hafner.coverage.DifferenceTest:shouldFormatPercentageWithSign
expected: "COHESION: 2:3"
but was: "COHESION: Δ2:3"
Stack Trace
org.opentest4j.AssertionFailedError:
expected: "COHESION: 2:3"
but was: "COHESION: Δ2:3"
at edu.hm.hafner.coverage.DifferenceTest.shouldFormatPercentageWithSign(DifferenceTest.java:20)
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
Icon | Name | Reports | Errors | High | Normal | Low | Total |
---|---|---|---|---|---|---|---|
![]() |
CheckStyle | 2 | 0 | 0 | 0 | 0 | 0 |
PMD | 3 | 0 | 0 | 0 | 0 | 0 | |
➕ | Total | 5 | 0 | 0 | 0 | 0 | 0 |
🐛 Bugs
Icon | Name | Reports | Errors | High | Normal | Low | Total |
---|---|---|---|---|---|---|---|
![]() |
SpotBugs | 1 | 0 | 0 | 0 | 1 | 1 |
🐛 | Error Prone | 0 | 0 | 0 | 1 | 0 | 1 |
➕ | Total | 1 | 0 | 0 | 1 | 1 | 2 |
🛡️ Vulnerabilities
Icon | Name | Reports | Errors | High | Normal | Low | Total |
---|---|---|---|---|---|---|---|
OWASP Dependency Check | 0 | 0 | 0 | 0 | 0 | 0 |
👣 Code Coverage
Icon | Name | Covered % | Missed % |
---|---|---|---|
〰️ | Line Coverage | 96 | 4 |
➰ | Branch Coverage | 92 | 8 |
➕ | Total Ø | 94 | 6 |
🔬 Mutation Coverage
Icon | Name | Killed % | Survived % |
---|---|---|---|
Mutation Coverage | 0 | 100 | |
💪 | Test Strength | 0 | 100 |
➕ | Total Ø | 0 | 100 |
📐 Toplevel Metrics
Icon | Name | Total | Min | Max | Mean | Median |
---|---|---|---|---|---|---|
🌀 | Cyclomatic Complexity | 714 | 1 | 9 | 1.75 | 1 |
💭 | Cognitive Complexity | 543 | 0 | 14 | 0.96 | 0 |
📏 | Lines of Code | 7832 | 1 | 71 | 7.03 | 1 |
📝 | Non Commenting Source Statements | 3152 | 1 | 45 | 4.26 | 1 |
🔭 | Access to foreign data | 380 | 0 | 23 | 0.64 | 0 |
🔗 | Class cohesion | 0 | 0.00% | 58.33% | 10.43% | 0.00% |
📤 | Fan out | 682 | 0 | 19 | 3.09 | 0 |
📲 | Number of accessors | 64 | 0 | 16 | 1.28 | 0 |
⚖️ | Weight of a class | 1 | 0.00% | 100.00% | 77.70% | 0.00% |
📐 | Weighted method count | 1059 | 0 | 129 | 21.18 | 0 |
➿ | N-Path Complexity | 1540 | 1 | 132 | 2.68 | 1 |
🚧 Error Messages
Quality Monitor Errors:
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/pit-reports/mutations.xml'! Configuration error for 'Test Strength'?
No matching report files found when using pattern '**/target/dependency-check-report.json'! Configuration error for 'OWASP Dependency Check'?
Annotations
Check warning on line 0 in src/main/java/edu/hm/hafner/coverage/Metric.java
github-actions / Quality Monitor
SpotBugs: SE_BAD_FIELD
Class edu.hm.hafner.coverage.Metric$ValuesAggregator defines non-transient non-serializable instance field accumulator
Check warning on line 185 in src/test/java/edu/hm/hafner/coverage/ValueTest.java
github-actions / Quality Monitor
Error Prone: Varifier
Consider using `var` here to avoid boilerplate.
Check warning on line 39 in src/main/java/edu/hm/hafner/coverage/parser/XunitParser.java
github-actions / Quality Monitor
Not covered lines
Lines 38-39 are not covered by tests
Check warning on line 75 in src/main/java/edu/hm/hafner/coverage/parser/XunitParser.java
github-actions / Quality Monitor
Not covered line
Line 75 is not covered by tests
Check warning on line 73 in src/main/java/edu/hm/hafner/coverage/parser/JunitParser.java
github-actions / Quality Monitor
Not covered line
Line 73 is not covered by tests
Check warning on line 57 in src/main/java/edu/hm/hafner/coverage/parser/MetricsParser.java
github-actions / Quality Monitor
Not covered lines
Lines 56-57 are not covered by tests
Check warning on line 128 in src/main/java/edu/hm/hafner/coverage/parser/MetricsParser.java
github-actions / Quality Monitor
Not covered line
Line 128 is not covered by tests
Check warning on line 154 in src/main/java/edu/hm/hafner/coverage/parser/MetricsParser.java
github-actions / Quality Monitor
Not covered line
Line 154 is not covered by tests
Check warning on line 188 in src/main/java/edu/hm/hafner/coverage/parser/MetricsParser.java
github-actions / Quality Monitor
Not covered line
Line 188 is not covered by tests
Check warning on line 194 in src/main/java/edu/hm/hafner/coverage/parser/MetricsParser.java
github-actions / Quality Monitor
Not covered line
Line 194 is not covered by tests
Check warning on line 225 in src/main/java/edu/hm/hafner/coverage/parser/MetricsParser.java
github-actions / Quality Monitor
Not covered line
Line 225 is not covered by tests
Check warning on line 133 in src/main/java/edu/hm/hafner/coverage/parser/JacocoParser.java
github-actions / Quality Monitor
Not covered lines
Lines 130-133 are not covered by tests
Check warning on line 145 in src/main/java/edu/hm/hafner/coverage/parser/JacocoParser.java
github-actions / Quality Monitor
Not covered line
Line 145 is not covered by tests
Check warning on line 169 in src/main/java/edu/hm/hafner/coverage/parser/JacocoParser.java
github-actions / Quality Monitor
Not covered line
Line 169 is not covered by tests
Check warning on line 179 in src/main/java/edu/hm/hafner/coverage/parser/JacocoParser.java
github-actions / Quality Monitor
Not covered line
Line 179 is not covered by tests
Check warning on line 216 in src/main/java/edu/hm/hafner/coverage/parser/JacocoParser.java
github-actions / Quality Monitor
Not covered line
Line 216 is not covered by tests
Check warning on line 248 in src/main/java/edu/hm/hafner/coverage/parser/JacocoParser.java
github-actions / Quality Monitor
Not covered line
Line 248 is not covered by tests
Check warning on line 295 in src/main/java/edu/hm/hafner/coverage/parser/JacocoParser.java
github-actions / Quality Monitor
Not covered line
Line 295 is not covered by tests
Check warning on line 142 in src/main/java/edu/hm/hafner/coverage/parser/CoberturaParser.java
github-actions / Quality Monitor
Not covered line
Line 142 is not covered by tests
Check warning on line 155 in src/main/java/edu/hm/hafner/coverage/parser/CoberturaParser.java
github-actions / Quality Monitor
Not covered line
Line 155 is not covered by tests
Check warning on line 212 in src/main/java/edu/hm/hafner/coverage/parser/CoberturaParser.java
github-actions / Quality Monitor
Not covered line
Line 212 is not covered by tests
Check warning on line 286 in src/main/java/edu/hm/hafner/coverage/parser/CoberturaParser.java
github-actions / Quality Monitor
Not covered line
Line 286 is not covered by tests
Check warning on line 300 in src/main/java/edu/hm/hafner/coverage/parser/CoberturaParser.java
github-actions / Quality Monitor
Not covered line
Line 300 is not covered by tests
Check warning on line 195 in src/main/java/edu/hm/hafner/coverage/parser/VectorCastParser.java
github-actions / Quality Monitor
Not covered line
Line 195 is not covered by tests
Check warning on line 218 in src/main/java/edu/hm/hafner/coverage/parser/VectorCastParser.java
github-actions / Quality Monitor
Not covered line
Line 218 is not covered by tests