HadrienG2 / hwlocality

Rust bindings to Open MPI Portable Hardware Locality "hwloc" library, covering version 2.0 and above.
MIT License
21 stars 6 forks source link

Test coverage for the topology building process #49

Closed HadrienG2 closed 1 year ago

codecov[bot] commented 1 year ago

Codecov Report

Attention: 60 lines in your changes are missing coverage. Please review.

Comparison is base (52e3acb) 39.34% compared to head (06052f4) 45.36%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #49 +/- ## ========================================== + Coverage 39.34% 45.36% +6.01% ========================================== Files 30 30 Lines 4242 4312 +70 ========================================== + Hits 1669 1956 +287 + Misses 2573 2356 -217 ``` | [Flag](https://app.codecov.io/gh/HadrienG2/hwlocality/pull/49/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Hadrien+G.) | Coverage Δ | | |---|---|---| | [ubuntu-latest](https://app.codecov.io/gh/HadrienG2/hwlocality/pull/49/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Hadrien+G.) | `45.52% <25.92%> (+5.99%)` | :arrow_up: | | [windows-latest](https://app.codecov.io/gh/HadrienG2/hwlocality/pull/49/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Hadrien+G.) | `44.72% <25.92%> (+7.42%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Hadrien+G.#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files](https://app.codecov.io/gh/HadrienG2/hwlocality/pull/49?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Hadrien+G.) | Coverage Δ | | |---|---|---| | [hwlocality-sys/src/lib.rs](https://app.codecov.io/gh/HadrienG2/hwlocality/pull/49?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Hadrien+G.#diff-aHdsb2NhbGl0eS1zeXMvc3JjL2xpYi5ycw==) | `100.00% <ø> (ø)` | | | [src/topology/builder.rs](https://app.codecov.io/gh/HadrienG2/hwlocality/pull/49?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Hadrien+G.#diff-c3JjL3RvcG9sb2d5L2J1aWxkZXIucnM=) | `79.32% <100.00%> (+70.07%)` | :arrow_up: | | [src/cpu/binding.rs](https://app.codecov.io/gh/HadrienG2/hwlocality/pull/49?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Hadrien+G.#diff-c3JjL2NwdS9iaW5kaW5nLnJz) | `0.00% <0.00%> (ø)` | | | [src/topology/export/synthetic.rs](https://app.codecov.io/gh/HadrienG2/hwlocality/pull/49?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Hadrien+G.#diff-c3JjL3RvcG9sb2d5L2V4cG9ydC9zeW50aGV0aWMucnM=) | `0.00% <0.00%> (ø)` | | | [src/topology/export/xml.rs](https://app.codecov.io/gh/HadrienG2/hwlocality/pull/49?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Hadrien+G.#diff-c3JjL3RvcG9sb2d5L2V4cG9ydC94bWwucnM=) | `60.52% <0.00%> (+60.52%)` | :arrow_up: | | [src/object/depth.rs](https://app.codecov.io/gh/HadrienG2/hwlocality/pull/49?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Hadrien+G.#diff-c3JjL29iamVjdC9kZXB0aC5ycw==) | `51.11% <0.00%> (+26.72%)` | :arrow_up: | | [src/memory/binding.rs](https://app.codecov.io/gh/HadrienG2/hwlocality/pull/49?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Hadrien+G.#diff-c3JjL21lbW9yeS9iaW5kaW5nLnJz) | `0.00% <0.00%> (ø)` | | | [src/topology/mod.rs](https://app.codecov.io/gh/HadrienG2/hwlocality/pull/49?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Hadrien+G.#diff-c3JjL3RvcG9sb2d5L21vZC5ycw==) | `40.84% <0.00%> (+31.49%)` | :arrow_up: | | [src/object/distance.rs](https://app.codecov.io/gh/HadrienG2/hwlocality/pull/49?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Hadrien+G.#diff-c3JjL29iamVjdC9kaXN0YW5jZS5ycw==) | `7.84% <0.00%> (+7.84%)` | :arrow_up: | | [src/object/types.rs](https://app.codecov.io/gh/HadrienG2/hwlocality/pull/49?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Hadrien+G.#diff-c3JjL29iamVjdC90eXBlcy5ycw==) | `47.61% <25.00%> (+24.28%)` | :arrow_up: | | ... and [2 more](https://app.codecov.io/gh/HadrienG2/hwlocality/pull/49?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Hadrien+G.) | | ... and [3 files with indirect coverage changes](https://app.codecov.io/gh/HadrienG2/hwlocality/pull/49/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Hadrien+G.)

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