capsule-rs / capsule

A framework for network function development. Written in Rust, inspired by NetBricks and built on DPDK.
Apache License 2.0
394 stars 35 forks source link

try coverage in 2021 #125

Closed zeeshanlakhani closed 3 years ago

zeeshanlakhani commented 3 years ago

Description

We've had coverage off for awhile with a TODO to try again with tarpaulin wrt to this issue: https://github.com/xd009642/tarpaulin/issues/461.

Fixes #122 as well.

Type of change

Local run worked, so let's see.

codecov[bot] commented 3 years ago

Codecov Report

Merging #125 (41970c8) into master (66348b3) will increase coverage by 1.67%. The diff coverage is 89.68%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #125      +/-   ##
==========================================
+ Coverage   67.19%   68.87%   +1.67%     
==========================================
  Files          64       64              
  Lines        5463     5693     +230     
==========================================
+ Hits         3671     3921     +250     
+ Misses       1792     1772      -20     
Impacted Files Coverage Δ
core/src/batch/group_by.rs 92.10% <ø> (ø)
core/src/dpdk/mempool.rs 37.20% <ø> (-0.57%) :arrow_down:
core/src/packets/icmp/v4/mod.rs 82.60% <0.00%> (-0.73%) :arrow_down:
core/src/runtime/mod.rs 0.00% <0.00%> (ø)
core/src/testils/packet.rs 55.55% <0.00%> (ø)
core/src/testils/proptest/strategy.rs 82.24% <ø> (-0.47%) :arrow_down:
core/src/pcap.rs 65.89% <66.66%> (-1.81%) :arrow_down:
core/src/packets/icmp/v4/redirect.rs 75.82% <75.82%> (ø)
core/src/net/cidr/v4.rs 94.44% <99.00%> (+27.77%) :arrow_up:
core/src/net/cidr/v6.rs 95.07% <99.15%> (+28.40%) :arrow_up:
... and 17 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update b92b02f...b0e8716. Read the comment docs.