Closed scovich closed 4 days ago
Attention: Patch coverage is 75.00000%
with 5 lines
in your changes missing coverage. Please review.
Project coverage is 79.54%. Comparing base (
cca04a4
) to head (47ba12a
). Report is 1 commits behind head on main.
Files with missing lines | Patch % | Lines |
---|---|---|
kernel/src/engine_data.rs | 0.00% | 3 Missing :warning: |
ffi/src/scan.rs | 0.00% | 1 Missing :warning: |
kernel/src/scan/mod.rs | 50.00% | 0 Missing and 1 partial :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
ugh I'm not sure why codecov keeps reporting red builds
ugh I'm not sure why codecov keeps reporting red builds
For a small PR like this one, even a handful of untested lines (including changes to existing untested code) is enough to fail it. Here, the new is_empty
method has no callers (added only to appease clippy -- we don't normally deal in empty engine data).
What changes are proposed in this pull request?
Rust uses methods called
len
notlength
, but we currently haveEngineData::length
. Fix it.Also add a corresponding
is_empty
method to keep clippy happy.This PR affects the following public APIs
See above. Name change of public method. If there are breaking changes, please ensure the
breaking-changes
label gets added by CI, and describe why the changes are needed.How was this change tested?
Compilation + unit tests.