Skip to content

Merge 207b111c58e52093ea7627e50e5a16b1f98c6837 into faaa2d4f72ab1c636…

Sign in for the full log view
GitHub Actions / Quality Checks succeeded Dec 15, 2023 in 0s

Quality Checks - 339 of 400

🎓 Quality Checks - 339 of 400

  • 🚦 JUnit - 100 of 100: 108 tests passed
  • 👣 JaCoCo - 78 of 100: 78% coverage achieved
  • 🔬 PIT - 74 of 100: 74% mutations killed
  • ⚠️ Warnings - 87 of 100: 13 warnings found (0 error, 0 high, 10 normal, 3 low)

Details

🎓 Autograding score - 339 of 400

🚦 JUnit - 100 of 100

Name Passed Skipped Failed Total Impact
Unittests 108 0 0 108 0
💰 - -1 -5

⚠️ Warnings - 87 of 100

Name Errors Warning High Warning Normal Warning Low Total Impact
CheckStyle 0 0 0 0 0 0
PMD 0 0 0 0 0 0
Error Prone 0 0 9 0 9 -9
SpotBugs 0 0 1 3 4 -4
Total 0 0 10 3 13 -13
💰 -1 -1 -1 -1

👣 JaCoCo - 78 of 100

Name Covered % Missed % Impact
Line Coverage 81 19 -19
Branch Coverage 76 24 -24
Total Ø 78 22 -22
💰 - -1

🔬 PIT - 74 of 100

Name Killed % Survived % Impact
Mutation Coverage 74 26 -26
💰 - -1

Annotations

Check warning on line 141 in src/main/java/edu/hm/hafner/grading/Configuration.java

See this annotation in the file changed.

@github-actions github-actions / Quality Checks

Error Prone: Varifier

Consider using `var` here to avoid boilerplate.

Check warning on line 91 in src/main/java/edu/hm/hafner/grading/ToolConfiguration.java

See this annotation in the file changed.

@github-actions github-actions / Quality Checks

Error Prone: Varifier

Consider using `var` here to avoid boilerplate.

Check warning on line 257 in src/main/java/edu/hm/hafner/grading/TruncatedString.java

See this annotation in the file changed.

@github-actions 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 94 in src/main/java/edu/hm/hafner/grading/CoverageConfiguration.java

See this annotation in the file changed.

@github-actions github-actions / Quality Checks

Error Prone: Varifier

Consider using `var` here to avoid boilerplate.

Check warning on line 342 in src/main/java/edu/hm/hafner/grading/AggregatedScore.java

See this annotation in the file changed.

@github-actions github-actions / Quality Checks

Error Prone: Varifier

Consider using `var` here to avoid boilerplate.

Check warning on line 85 in src/main/java/edu/hm/hafner/grading/AnalysisConfiguration.java

See this annotation in the file changed.

@github-actions github-actions / Quality Checks

Error Prone: Varifier

Consider using `var` here to avoid boilerplate.

Check warning on line 55 in src/test/java/edu/hm/hafner/grading/TruncatedStringTest.java

See this annotation in the file changed.

@github-actions github-actions / Quality Checks

Error Prone: DeduplicateConstants

This expression was previously declared as a constant; consider replacing this occurrence.

Check warning on line 88 in src/test/java/edu/hm/hafner/grading/TruncatedStringTest.java

See this annotation in the file changed.

@github-actions github-actions / Quality Checks

Error Prone: DeduplicateConstants

This expression was previously declared as a constant; consider replacing this occurrence.

Check warning on line 99 in src/test/java/edu/hm/hafner/grading/TruncatedStringTest.java

See this annotation in the file changed.

@github-actions github-actions / Quality Checks

Error Prone: DeduplicateConstants

This expression was previously declared as a constant; consider replacing this occurrence.

Check warning on line 259 in src/main/java/edu/hm/hafner/grading/CoverageScore.java

See this annotation in the file changed.

@github-actions github-actions / Quality Checks

SpotBugs: NP_NULL_PARAM_DEREF

Null passed for non-null parameter of new CoverageScore(String, String, CoverageConfiguration, Node, Metric) in edu.hm.hafner.grading.CoverageScore$CoverageScoreBuilder.build()

Check warning on line 30 in src/main/java/edu/hm/hafner/grading/JacksonFacade.java

See this annotation in the file changed.

@github-actions github-actions / Quality Checks

SpotBugs: BC_UNCONFIRMED_CAST_OF_RETURN_VALUE

Unchecked/unconfirmed cast from com.fasterxml.jackson.databind.ObjectMapper to com.fasterxml.jackson.databind.json.JsonMapper of return value in new edu.hm.hafner.grading.JacksonFacade()

Check warning on line 103 in src/main/java/edu/hm/hafner/grading/TestMarkdown.java

See this annotation in the file changed.

@github-actions github-actions / Quality Checks

SpotBugs: VA_FORMAT_STRING_USES_NEWLINE

Format string should use %n rather than \n in edu.hm.hafner.grading.TestMarkdown.renderFailure(TestCase)

Check warning on line 0 in src/main/java/edu/hm/hafner/grading/TestScore.java

See this annotation in the file changed.

@github-actions github-actions / Quality Checks

SpotBugs: SE_TRANSIENT_FIELD_NOT_RESTORED

The field edu.hm.hafner.grading.TestScore.report is transient but isn't set by deserialization

Check warning on line 53 in src/main/java/edu/hm/hafner/grading/CoverageConfiguration.java

See this annotation in the file changed.

@github-actions github-actions / Quality Checks

Not covered line

Line 53 is not covered by tests

Check warning on line 362 in src/main/java/edu/hm/hafner/grading/AggregatedScore.java

See this annotation in the file changed.

@github-actions github-actions / Quality Checks

Not covered lines

Lines 335-362 are not covered by tests

Check warning on line 46 in src/main/java/edu/hm/hafner/grading/CoverageScore.java

See this annotation in the file changed.

@github-actions github-actions / Quality Checks

Not covered line

Line 46 is not covered by tests

Check warning on line 52 in src/main/java/edu/hm/hafner/grading/TruncatedString.java

See this annotation in the file changed.

@github-actions github-actions / Quality Checks

Not covered line

Line 52 is not covered by tests

Check warning on line 259 in src/main/java/edu/hm/hafner/grading/TruncatedString.java

See this annotation in the file changed.

@github-actions github-actions / Quality Checks

Not covered lines

Lines 258-259 are not covered by tests

Check warning on line 240 in src/main/java/edu/hm/hafner/grading/CommentBuilder.java

See this annotation in the file changed.

@github-actions github-actions / Quality Checks

Not covered lines

Lines 32-240 are not covered by tests

Check warning on line 55 in src/main/java/edu/hm/hafner/grading/GradingReport.java

See this annotation in the file changed.

@github-actions github-actions / Quality Checks

Not covered line

Line 55 is not covered by tests

Check warning on line 42 in src/main/java/edu/hm/hafner/grading/ReportFinder.java

See this annotation in the file changed.

@github-actions github-actions / Quality Checks

Not covered lines

Lines 41-42 are not covered by tests

Check warning on line 59 in src/main/java/edu/hm/hafner/grading/ReportFinder.java

See this annotation in the file changed.

@github-actions github-actions / Quality Checks

Not covered lines

Lines 56-59 are not covered by tests

Check warning on line 74 in src/main/java/edu/hm/hafner/grading/ReportFinder.java

See this annotation in the file changed.

@github-actions github-actions / Quality Checks

Not covered lines

Lines 73-74 are not covered by tests

Check warning on line 38 in src/main/java/edu/hm/hafner/grading/Configuration.java

See this annotation in the file changed.

@github-actions github-actions / Quality Checks

Not covered line

Line 38 is not covered by tests

Check warning on line 135 in src/main/java/edu/hm/hafner/grading/Configuration.java

See this annotation in the file changed.

@github-actions github-actions / Quality Checks

Not covered line

Line 135 is not covered by tests