This patch modifies viewer to skip and log malformed coverage data found in cbmc coverage output, and to log a message to the console warning the user that coverage data has been skipped and coverage results may not be correct:
WARNING: Skipping malformed coverage data in coverage.xml.
WARNING: Use the --verbose to see what coverage data was skipped.
For a source location without a function name, the verbose flag produces
INFO: Skipping malformed source location in coverage goal: Found file:file.c function: line:72
INFO: Skipping malformed source location in coverage goal description: block 1 (lines file.c::72): Found file:file.c function: line:72
Review this pull request commit-by-commit to make the changes easy to see and understand.
This patch modifies viewer to skip and log malformed coverage data found in cbmc coverage output, and to log a message to the console warning the user that coverage data has been skipped and coverage results may not be correct:
For a source location without a function name, the verbose flag produces
Review this pull request commit-by-commit to make the changes easy to see and understand.
Resolves https://github.com/model-checking/cbmc-viewer/issues/134