Skip to content

Cleanup goto check java #6503

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 4, 2021
Merged

Cleanup goto check java #6503

merged 3 commits into from
Dec 4, 2021

Conversation

kroening
Copy link
Member

@kroening kroening commented Dec 4, 2021

  • 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.
  • n/a 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 Java front-end does not offer a bit count operator, and thus, this check
is redundant.
Shifts in Java have defined semantics for any combination of values; thus,
this check is redundant.
@kroening kroening force-pushed the cleanup_goto_check_java branch 3 times, most recently from 7a1c49f to 637704f Compare December 4, 2021 13:01
The Java front-end processes Java Byte code, which uses control flow to
guard the evaluation of expressions.
@kroening kroening force-pushed the cleanup_goto_check_java branch from 637704f to fc7da69 Compare December 4, 2021 13:25
@kroening kroening marked this pull request as ready for review December 4, 2021 13:40
@codecov
Copy link

codecov bot commented Dec 4, 2021

Codecov Report

Merging #6503 (fc7da69) into develop (320a9f8) will increase coverage by 0.00%.
The diff coverage is 50.66%.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop    #6503   +/-   ##
========================================
  Coverage    76.08%   76.09%           
========================================
  Files         1548     1548           
  Lines       166399   166328   -71     
========================================
- Hits        126603   126563   -40     
+ Misses       39796    39765   -31     
Impacted Files Coverage Δ
src/crangler/scanner.l 63.63% <ø> (ø)
src/analyses/goto_check_java.cpp 31.47% <50.66%> (-2.36%) ⬇️

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 a1472ae...fc7da69. Read the comment docs.

@tautschnig tautschnig merged commit 4ae9bde into develop Dec 4, 2021
@tautschnig tautschnig deleted the cleanup_goto_check_java branch December 4, 2021 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants