Skip to content

Unit tests and coverage for binary operations#174

Merged
garydgregory merged 8 commits intoapache:masterfrom
nbauma109:code-cov-binary-ops
Nov 27, 2022
Merged

Unit tests and coverage for binary operations#174
garydgregory merged 8 commits intoapache:masterfrom
nbauma109:code-cov-binary-ops

Conversation

@nbauma109
Copy link
Copy Markdown
Contributor

Created a unit test to cover binary operations.
However, the class produced by BinaryOpCreator doesn't pass the verfier from the JDK (not speaking about the JustIce one).
It runs only with -noverify option. As this option is deprecated in JDK13+, I disabled the unit test for JDK13+.
I think we need to fix this broken class generator later.

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Nov 23, 2022

Codecov Report

Merging #174 (d6b9a0e) into master (9138e9e) will increase coverage by 0.24%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master     #174      +/-   ##
============================================
+ Coverage     60.59%   60.83%   +0.24%     
- Complexity     3577     3616      +39     
============================================
  Files           363      363              
  Lines         15630    15630              
  Branches       1943     1943              
============================================
+ Hits           9471     9509      +38     
+ Misses         5288     5248      -40     
- Partials        871      873       +2     
Impacted Files Coverage Δ
...n/java/org/apache/bcel/classfile/StackMapType.java 65.00% <100.00%> (ø)
.../java/org/apache/bcel/classfile/StackMapEntry.java 48.61% <0.00%> (+1.10%) ⬆️
.../main/java/org/apache/bcel/classfile/StackMap.java 69.23% <0.00%> (+2.56%) ⬆️
...va/org/apache/bcel/generic/InstructionFactory.java 55.79% <0.00%> (+15.02%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@nbauma109
Copy link
Copy Markdown
Contributor Author

@garydgregory garydgregory changed the title unit tests and coverage for binary operations Unit tests and coverage for binary operations Nov 27, 2022
@garydgregory garydgregory merged commit ac3c125 into apache:master Nov 27, 2022
asfgit pushed a commit that referenced this pull request Nov 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants