Skip to content

Avoid crashes on malformed @Contract arity (#1726) - #1756

Merged
msridhar merged 2 commits into
masterfrom
issue-1726
Aug 27, 2026
Merged

msridhar merged 2 commits into
masterfrom
issue-1726

add tests for varargs

5b41fb5
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project failed Aug 26, 2026 in 0s

87.63% (-0.01%) compared to ebd48e9

View this Pull Request on Codecov

87.63% (-0.01%) compared to ebd48e9

Details

Codecov Report

❌ Patch coverage is 75.00000% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 87.63%. Comparing base (ebd48e9) to head (5b41fb5).

Files with missing lines Patch % Lines
...er/nullaway/handlers/contract/ContractHandler.java 50.00% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1756      +/-   ##
============================================
- Coverage     87.64%   87.63%   -0.01%     
- Complexity     3256     3259       +3     
============================================
  Files           109      109              
  Lines         10997    11005       +8     
  Branches       2225     2229       +4     
============================================
+ Hits           9638     9644       +6     
- Misses          641      642       +1     
- Partials        718      719       +1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.