uber / NullAway

A tool to help eliminate NullPointerExceptions (NPEs) in your Java code with low build-time overhead
MIT License
3.62k stars 290 forks source link

Tests for loops over arrays #982

Closed msridhar closed 2 months ago

msridhar commented 2 months ago

We handle a loop with an index variable correctly, but not a for-each loop over an array, which needs to be fixed in a follow-up (see #983)

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 85.90%. Comparing base (8593fe2) to head (0c7f34d).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #982 +/- ## ========================================= Coverage 85.90% 85.90% Complexity 2066 2066 ========================================= Files 83 83 Lines 6854 6854 Branches 1320 1320 ========================================= Hits 5888 5888 Misses 550 550 Partials 416 416 ```

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