Skip to content

Add badges to README. #1944

Add badges to README.

Add badges to README. #1944

GitHub Actions / Autograding results succeeded Nov 30, 2023 in 0s

Autograding results

Total score: 189/400 (unit tests: 98/100, code coverage: 91/100, mutation coverage: 0/100, analysis: 0/100)

Details

Partial score: 189/400

🚧 The grading has been aborted due to an error.🚧

Exception

java.util.NoSuchElementException: No matching report files found when using pattern '**/target/pit-reports/mutations.xml'! Configuration error for 'Mutation Coverage'?
	at edu.hm.hafner.grading.ReportFactory.findFiles(ReportFactory.java:22)
	at edu.hm.hafner.grading.ConsoleCoverageReportFactory.create(ConsoleCoverageReportFactory.java:29)
	at edu.hm.hafner.grading.AggregatedScore.gradeCoverage(AggregatedScore.java:401)
	at edu.hm.hafner.grading.AutoGradingAction.run(AutoGradingAction.java:58)
	at edu.hm.hafner.grading.AutoGradingAction.main(AutoGradingAction.java:34)

Error Messages


Information Messages

Processing 1 test configuration(s)
JUnit Configuration:
{
  "id" : "tests",
  "name" : "JUnit",
  "maxScore" : 100,
  "tools" : [ {
    "id" : "test",
    "name" : "Unittests",
    "pattern" : "**/target/*-reports/TEST*.xml",
    "metric" : "",
    "displayName" : "Unittests"
  } ],
  "failureImpact" : -5,
  "passedImpact" : 0,
  "skippedImpact" : -1
}
Searching for Unittests results matching file name pattern **/target/*-reports/TEST*.xml
- ./target/surefire-reports/TEST-edu.hm.hafner.util.ArchitectureRulesTest.xml: TESTS: 7
- ./target/surefire-reports/TEST-edu.hm.hafner.util.ArchitectureTest.xml: TESTS: 9
- ./target/surefire-reports/TEST-edu.hm.hafner.util.EnsureTest.xml: TESTS: 5
- ./target/surefire-reports/TEST-edu.hm.hafner.util.FilteredLogTest.xml: TESTS: 10
- ./target/surefire-reports/TEST-edu.hm.hafner.util.LineRangeListTest.xml: TESTS: 6
- ./target/surefire-reports/TEST-edu.hm.hafner.util.LineRangeTest.xml: TESTS: 3
- ./target/surefire-reports/TEST-edu.hm.hafner.util.LookaheadStreamTest.xml: TESTS: 5
- ./target/surefire-reports/TEST-edu.hm.hafner.util.PackageArchitectureTest.xml: TESTS: 1
- ./target/surefire-reports/TEST-edu.hm.hafner.util.PathUtilTest.xml: TESTS: 22
- ./target/surefire-reports/TEST-edu.hm.hafner.util.PrefixLoggerTest.xml: TESTS: 1
- ./target/surefire-reports/TEST-edu.hm.hafner.util.ResourceExtractorTest.xml: TESTS: 9
- ./target/surefire-reports/TEST-edu.hm.hafner.util.SecureXmlParserFactoryTest.xml: TESTS: 7
- ./target/surefire-reports/TEST-edu.hm.hafner.util.StringComparableTest.xml: TESTS: 2
- ./target/surefire-reports/TEST-edu.hm.hafner.util.StringEqualsTest.xml: TESTS: 2
- ./target/surefire-reports/TEST-edu.hm.hafner.util.TreeStringBuilderTest.xml: TESTS: 5
-> Unittests Total: TESTS: 94
-> Unittests Total: TESTS: 94 tests
=> JUnit Score: 98 of 100
Processing 2 coverage configuration(s)
JaCoCo Configuration:
{
  "id" : "coverage",
  "name" : "JaCoCo",
  "maxScore" : 100,
  "tools" : [ {
    "id" : "jacoco",
    "name" : "Line Coverage",
    "pattern" : "**/target/site/jacoco/jacoco.xml",
    "metric" : "line",
    "displayName" : "Line Coverage"
  }, {
    "id" : "jacoco",
    "name" : "Branch Coverage",
    "pattern" : "**/target/site/jacoco/jacoco.xml",
    "metric" : "branch",
    "displayName" : "Branch Coverage"
  } ],
  "coveredPercentageImpact" : 0,
  "missedPercentageImpact" : -1
}
Searching for Line Coverage results matching file name pattern **/target/site/jacoco/jacoco.xml
- ./target/site/jacoco/jacoco.xml: LINE: 91.11% (646/709)
-> Line Coverage Total: LINE: 91.11% (646/709)
Searching for Branch Coverage results matching file name pattern **/target/site/jacoco/jacoco.xml
- ./target/site/jacoco/jacoco.xml: BRANCH: 92.24% (214/232)
-> Branch Coverage Total: BRANCH: 92.24% (214/232)
=> JaCoCo Score: 91 of 100
PIT Configuration:
{
  "id" : "coverage",
  "name" : "PIT",
  "maxScore" : 100,
  "tools" : [ {
    "id" : "pit",
    "name" : "Mutation Coverage",
    "pattern" : "**/target/pit-reports/mutations.xml",
    "metric" : "mutation",
    "displayName" : "Mutation Coverage"
  } ],
  "coveredPercentageImpact" : 0,
  "missedPercentageImpact" : -1
}
Searching for Mutation Coverage results matching file name pattern **/target/pit-reports/mutations.xml

Annotations

Check warning on line 81 in Ensure.java

See this annotation in the file changed.

@github-actions github-actions / Autograding results

Not covered line

Line 81 is not covered by tests

Check warning on line 157 in Ensure.java

See this annotation in the file changed.

@github-actions github-actions / Autograding results

Not covered lines

Lines 141-157 are not covered by tests

Check warning on line 243 in Ensure.java

See this annotation in the file changed.

@github-actions github-actions / Autograding results

Not covered line

Line 243 is not covered by tests

Check warning on line 248 in Ensure.java

See this annotation in the file changed.

@github-actions github-actions / Autograding results

Not covered line

Line 248 is not covered by tests

Check warning on line 306 in Ensure.java

See this annotation in the file changed.

@github-actions github-actions / Autograding results

Not covered line

Line 306 is not covered by tests

Check warning on line 343 in Ensure.java

See this annotation in the file changed.

@github-actions github-actions / Autograding results

Not covered line

Line 343 is not covered by tests

Check warning on line 393 in Ensure.java

See this annotation in the file changed.

@github-actions github-actions / Autograding results

Not covered line

Line 393 is not covered by tests

Check warning on line 398 in Ensure.java

See this annotation in the file changed.

@github-actions github-actions / Autograding results

Not covered line

Line 398 is not covered by tests

Check warning on line 447 in Ensure.java

See this annotation in the file changed.

@github-actions github-actions / Autograding results

Not covered line

Line 447 is not covered by tests

Check warning on line 479 in Ensure.java

See this annotation in the file changed.

@github-actions github-actions / Autograding results

Not covered line

Line 479 is not covered by tests

Check warning on line 486 in Ensure.java

See this annotation in the file changed.

@github-actions github-actions / Autograding results

Not covered line

Line 486 is not covered by tests

Check warning on line 559 in Ensure.java

See this annotation in the file changed.

@github-actions github-actions / Autograding results

Not covered line

Line 559 is not covered by tests

Check warning on line 563 in Ensure.java

See this annotation in the file changed.

@github-actions github-actions / Autograding results

Not covered line

Line 563 is not covered by tests

Check warning on line 572 in Ensure.java

See this annotation in the file changed.

@github-actions github-actions / Autograding results

Not covered line

Line 572 is not covered by tests

Check warning on line 604 in Ensure.java

See this annotation in the file changed.

@github-actions github-actions / Autograding results

Not covered line

Line 604 is not covered by tests

Check warning on line 632 in Ensure.java

See this annotation in the file changed.

@github-actions github-actions / Autograding results

Not covered lines

Lines 630-632 are not covered by tests

Check warning on line 657 in Ensure.java

See this annotation in the file changed.

@github-actions github-actions / Autograding results

Not covered lines

Lines 654-657 are not covered by tests

Check warning on line 694 in Ensure.java

See this annotation in the file changed.

@github-actions github-actions / Autograding results

Not covered line

Line 694 is not covered by tests

Check warning on line 724 in Ensure.java

See this annotation in the file changed.

@github-actions github-actions / Autograding results

Not covered line

Line 724 is not covered by tests

Check warning on line 117 in LineRangeList.java

See this annotation in the file changed.

@github-actions github-actions / Autograding results

Not covered lines

Lines 74-117 are not covered by tests

Check warning on line 166 in LineRangeList.java

See this annotation in the file changed.

@github-actions github-actions / Autograding results

Not covered lines

Lines 165-166 are not covered by tests

Check warning on line 182 in LineRangeList.java

See this annotation in the file changed.

@github-actions github-actions / Autograding results

Not covered lines

Lines 181-182 are not covered by tests

Check warning on line 199 in LineRangeList.java

See this annotation in the file changed.

@github-actions github-actions / Autograding results

Not covered lines

Lines 193-199 are not covered by tests

Check warning on line 232 in LineRangeList.java

See this annotation in the file changed.

@github-actions github-actions / Autograding results

Not covered line

Line 232 is not covered by tests

Check warning on line 255 in LineRangeList.java

See this annotation in the file changed.

@github-actions github-actions / Autograding results

Not covered lines

Lines 253-255 are not covered by tests