KeYProject / key

KeY Theorem Prover for Deductive Java Verification
https://key-project.org
Other
41 stars 24 forks source link

Prevent Dependency PO generation for void methods #3422

Closed Drodt closed 4 months ago

Drodt commented 5 months ago

Related Issue

This pull request fixes #3411.

Intended Change

KeY will report an exception when the user attempts to open a proof obligation for void methods.

Type of pull request

Ensuring quality

Additional information and contact(s)

The contributions within this pull request are licensed under GPLv2 (only) for inclusion in KeY.

codecov[bot] commented 5 months ago

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (1fb0c10) 37.77% compared to head (678e1da) 37.77%.

Files Patch % Lines
.../uka/ilkd/key/proof/init/DependencyContractPO.java 0.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #3422 +/- ## ============================================ - Coverage 37.77% 37.77% -0.01% Complexity 17031 17031 ============================================ Files 2076 2076 Lines 126950 126952 +2 Branches 21381 21382 +1 ============================================ Hits 47952 47952 - Misses 73092 73094 +2 Partials 5906 5906 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.