Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for configurations without score #294

Merged
merged 4 commits into from
Dec 15, 2023
Merged

Add support for configurations without score #294

merged 4 commits into from
Dec 15, 2023

Conversation

uhafner
Copy link
Owner

@uhafner uhafner commented Dec 15, 2023

The autograding model can be now used out-of-the-box to get a detailed report of the quality of a software project. If there are no scores set, then the scoring details will be omitted.

☀️ Quality Summary

  • 🚦 JUnit: 14 tests failed, 5 passed, 3 skipped
  • 👣 JaCoCo: 70% coverage achieved
  • 🔬 PIT: 60% mutations killed
  • ⚠️ Style: 10 warnings found (1 error, 2 high, 3 normal, 4 low)
  • 🐛 Bugs: 10 warnings found (4 errors, 3 high, 2 normal, 1 low)

☀️ Quality Details

🚦 JUnit

Name Passed Skipped Failed Total
Integrationstests 5 3 4 12
Modultests 0 0 10 10
Total 5 3 14 22

Skipped Test Cases

  • test-class-skipped-0#test-skipped-0
  • test-class-skipped-1#test-skipped-1
  • test-class-skipped-2#test-skipped-2

Failures

test-class-failed-0:test-failed-0
failed-message-0

Stack Trace
StackTrace-0

test-class-failed-1:test-failed-1
failed-message-1

Stack Trace
StackTrace-1

test-class-failed-2:test-failed-2
failed-message-2

Stack Trace
StackTrace-2

test-class-failed-3:test-failed-3
failed-message-3

Stack Trace
StackTrace-3

test-class-failed-0:test-failed-0
failed-message-0

Stack Trace
StackTrace-0

test-class-failed-1:test-failed-1
failed-message-1

Stack Trace
StackTrace-1

test-class-failed-2:test-failed-2
failed-message-2

Stack Trace
StackTrace-2

test-class-failed-3:test-failed-3
failed-message-3

Stack Trace
StackTrace-3

test-class-failed-4:test-failed-4
failed-message-4

Stack Trace
StackTrace-4

test-class-failed-5:test-failed-5
failed-message-5

Stack Trace
StackTrace-5

test-class-failed-6:test-failed-6
failed-message-6

Stack Trace
StackTrace-6

test-class-failed-7:test-failed-7
failed-message-7

Stack Trace
StackTrace-7

test-class-failed-8:test-failed-8
failed-message-8

Stack Trace
StackTrace-8

test-class-failed-9:test-failed-9
failed-message-9

Stack Trace
StackTrace-9

⚠️ Style

Name Errors Warning High Warning Normal Warning Low Total
Checkstyle 1 2 3 4 10

🐛 Bugs

Name Errors Warning High Warning Normal Warning Low Total
SpotBugs 4 3 2 1 10

👣 JaCoCo

Name Covered % Missed %
Line Coverage 80 20
Branch Coverage 60 40
Total Ø 70 30

🔬 PIT

Name Killed % Survived %
Mutation Coverage 60 40

Copy link

🎓 Quality Checks - 186 of 400

  • 🚦 JUnit - 95 of 100: 1 tests failed, 103 passed
  • 👣 JaCoCo - 0 of 100: 0% coverage achieved
  • 🔬 PIT - 0 of 100: 0% mutations killed
  • ⚠️ Warnings - 91 of 100: 9 warnings found (0 error, 0 high, 9 normal, 0 low)

🚧 Error Messages

Autograding Action Errors:
No matching report files found when using pattern '**/target/site/jacoco/jacoco.xml'! Configuration error for 'Line Coverage'?
No matching report files found when using pattern '**/target/site/jacoco/jacoco.xml'! Configuration error for 'Branch Coverage'?
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/checkstyle-result.xml'! Configuration error for 'CheckStyle'?
No matching report files found when using pattern '**/target/pmd.xml'! Configuration error for 'PMD'?
No matching report files found when using pattern '**/target/spotbugsXml.xml'! Configuration error for 'SpotBugs'?

More details are available in the GitHub Checks Result.

Copy link

🎓 Quality Checks - 186 of 400

  • 🚦 JUnit - 95 of 100: 1 tests failed, 103 passed
  • 👣 JaCoCo - 0 of 100: 0% coverage achieved
  • 🔬 PIT - 0 of 100: 0% mutations killed
  • ⚠️ Warnings - 91 of 100: 9 warnings found (0 error, 0 high, 9 normal, 0 low)

🚧 Error Messages

Autograding Action Errors:
No matching report files found when using pattern '**/target/site/jacoco/jacoco.xml'! Configuration error for 'Line Coverage'?
No matching report files found when using pattern '**/target/site/jacoco/jacoco.xml'! Configuration error for 'Branch Coverage'?
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/checkstyle-result.xml'! Configuration error for 'CheckStyle'?
No matching report files found when using pattern '**/target/pmd.xml'! Configuration error for 'PMD'?
No matching report files found when using pattern '**/target/spotbugsXml.xml'! Configuration error for 'SpotBugs'?

More details are available in the GitHub Checks Result.

@uhafner uhafner added the feature New features label Dec 15, 2023
Copy link

🎓 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)

More details are available in the GitHub Checks Result.

@uhafner uhafner merged commit 2e1d66e into main Dec 15, 2023
13 of 14 checks passed
@uhafner uhafner deleted the no-score branch December 15, 2023 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant