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

Make CoberturaParser more robost on broken input files #39

Merged
merged 3 commits into from
Oct 11, 2023

Use an enum in the parent class to define the resilience.

a654daa
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Make CoberturaParser more robost on broken input files #39

Use an enum in the parent class to define the resilience.
a654daa
Select commit
Loading
Failed to load commit list.
GitHub Actions / Autograding results succeeded Oct 11, 2023 in 0s

Autograding results

Total score: 345/400 (unit tests: 100/100, code coverage: 92/100, mutation coverage: 54/100, analysis: 99/100)

Details

Total score: 345/400

🚦 Unit Tests Score: 100 of 100 🚦

Name Passed Skipped Failed Impact
💰 - -1 -5 📒
edu.hm.hafner.ArchitectureTest 9 0 0 0
edu.hm.hafner.PackageArchitectureTest 1 0 0 0
edu.hm.hafner.coverage.ClassNodeTest 5 0 0 0
edu.hm.hafner.coverage.ContainerNodeTest 5 0 0 0
edu.hm.hafner.coverage.CoverageParserTest 1 0 0 0
edu.hm.hafner.coverage.CoverageTest 33 0 0 0
edu.hm.hafner.coverage.CyclomaticComplexityTest 6 0 0 0
edu.hm.hafner.coverage.FileNodeTest 18 0 0 0
edu.hm.hafner.coverage.FractionValueTest 4 0 0 0
edu.hm.hafner.coverage.IntegerValueTest 2 0 0 0
edu.hm.hafner.coverage.LinesOfCodeTest 7 0 0 0
edu.hm.hafner.coverage.MethodNodeTest 11 0 0 0
edu.hm.hafner.coverage.MetricTest 18 0 0 0
edu.hm.hafner.coverage.ModuleNodeTest 9 0 0 0
edu.hm.hafner.coverage.MutationTest 3 0 0 0
edu.hm.hafner.coverage.NodeTest 40 0 0 0
edu.hm.hafner.coverage.PackageNodeTest 9 0 0 0
edu.hm.hafner.coverage.PercentageTest 7 0 0 0
edu.hm.hafner.coverage.SafeFractionTest 6 0 0 0
edu.hm.hafner.coverage.ValueTest 7 0 0 0
edu.hm.hafner.coverage.parser.CoberturaParserTest 13 0 0 0
edu.hm.hafner.coverage.parser.JacocoParserTest 11 0 0 0
edu.hm.hafner.coverage.parser.PitestParserTest 5 0 0 0
Total 230 0 0 0

⚠️ Static Analysis Warnings Score: 99 of 100 ⚠️

Name Errors Warning High Warning Normal Warning Low Impact
💰 -5 -2 -1 -1 📒
JavaDoc 0 0 0 0 0
CheckStyle 0 0 0 0 0
PMD 0 0 1 0 -1
SpotBugs 0 0 0 0 0
Total 0 0 1 0 -1

🐾 Code Coverage Score: 92 of 100 🐾

Name Covered % Missed % Impact
💰 - -1 📒
Branch 95 5 -5
Line 97 3 -3
Total 96 4 -8

🦠 PIT Mutation Coverage Score: 54 of 100 🦠

Name Detected Undetected Detected % Undetected % Impact
💰 - -1 - - 📒
PIT 718 46 94 6 -46

Annotations

Check warning on line 269 in src/main/java/edu/hm/hafner/coverage/parser/CoberturaParser.java

See this annotation in the file changed.

@github-actions github-actions / Autograding results

GodClass

Possible God Class (WMC=47, ATFD=33, TCC=7.273%).