Skip to content

jdiff: Remove processing of unsupported options #6513

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

Merged
merged 3 commits into from
Dec 8, 2021

Conversation

tautschnig
Copy link
Collaborator

The options 1) tested for by the code, 2) documented in --help output,
and 3) actually supported in the cmdlinet configuration were
inconsistent. All supported options are now documented in the --help
output, and testing-for of unsupported options has been removed.

Also, uses of goto_functions preprocessing was cleaned up to match what
Java bytecode might actually need and use.

  • Each commit message has a non-empty body, explaining why the change was made.
  • n/a Methods or procedures I have added are documented, following the guidelines provided in CODING_STANDARD.md.
  • The feature or user visible behaviour I have added or modified has been documented in the User Guide in doc/cprover-manual/
  • Regression or unit tests are included, or existing tests cover the modified code (in this case I have detailed which ones those are in the commit message).
  • n/a My commit message includes data points confirming performance improvements (if claimed).
  • My PR is restricted to a single feature or bugfix.
  • n/a White-space or formatting changes outside the feature-related changed lines are in commits of their own.

The options 1) tested for by the code, 2) documented in --help output,
and 3) actually supported in the cmdlinet configuration were
inconsistent. All supported options are now documented in the --help
output, and testing-for of unsupported options has been removed.

Also, uses of goto_functions preprocessing was cleaned up to match what
Java bytecode might actually need and use.
This block was a left-over from a previous code migration.
This was wrongly removed in 3d8b0cd as the show-properties option
is used to control goto-diff's default output. (This use of
show-properties is quite different from the support in other cbmc or
goto-instrument.)
@codecov
Copy link

codecov bot commented Dec 7, 2021

Codecov Report

Merging #6513 (5019d02) into develop (6f7c25f) will increase coverage by 0.01%.
The diff coverage is 92.68%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #6513      +/-   ##
===========================================
+ Coverage    76.10%   76.11%   +0.01%     
===========================================
  Files         1548     1548              
  Lines       166326   166258      -68     
===========================================
- Hits        126587   126554      -33     
+ Misses       39739    39704      -35     
Impacted Files Coverage Δ
jbmc/src/jdiff/jdiff_parse_options.h 100.00% <ø> (ø)
src/goto-diff/goto_diff_parse_options.cpp 58.53% <0.00%> (-0.52%) ⬇️
src/goto-diff/goto_diff_parse_options.h 100.00% <ø> (ø)
.../goto-instrument/goto_instrument_parse_options.cpp 69.14% <ø> (ø)
...rc/goto-instrument/goto_instrument_parse_options.h 100.00% <ø> (ø)
src/goto-instrument/unwindset.h 100.00% <ø> (ø)
src/goto-instrument/unwindset.cpp 95.91% <93.33%> (+11.13%) ⬆️
jbmc/src/jdiff/jdiff_parse_options.cpp 68.13% <95.45%> (+0.01%) ⬆️
src/analyses/goto_check_c.cpp 90.28% <100.00%> (-0.01%) ⬇️
... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c05708c...5019d02. Read the comment docs.

@tautschnig tautschnig merged commit 6aeac5e into diffblue:develop Dec 8, 2021
@tautschnig tautschnig deleted the jdiff-cleanup branch December 8, 2021 00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants