LeChatP / RootAsRole

A memory-safe and security-oriented alternative to sudo/su commands
https://lechatp.github.io/RootAsRole/
GNU General Public License v3.0
172 stars 7 forks source link

Capable: Add json output #46

Closed LeChatP closed 5 months ago

codecov[bot] commented 6 months ago

Codecov Report

Attention: Patch coverage is 64.54545% with 78 lines in your changes are missing coverage. Please review.

Project coverage is 53.44%. Comparing base (6e8786f) to head (3fb062f).

:exclamation: Current head 3fb062f differs from pull request most recent head af319f3

Please upload reports for the commit af319f3 to get more accurate results.

Files Patch % Lines
src/mod.rs 8.69% 21 Missing :warning:
src/util.rs 60.00% 16 Missing :warning:
src/database/finder.rs 76.36% 13 Missing :warning:
src/sr/main.rs 70.45% 13 Missing :warning:
src/database/structs.rs 33.33% 6 Missing :warning:
src/sr/timeout.rs 0.00% 5 Missing :warning:
src/chsr/cli.rs 91.66% 2 Missing :warning:
src/api.rs 50.00% 1 Missing :warning:
src/database/options.rs 94.11% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #46 +/- ## ========================================== + Coverage 50.77% 53.44% +2.66% ========================================== Files 18 18 Lines 2765 2803 +38 ========================================== + Hits 1404 1498 +94 + Misses 1361 1305 -56 ``` | [Flag](https://app.codecov.io/gh/LeChatP/RootAsRole/pull/46/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=LeChatP+%28Eddie+BILLOIR%29) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/LeChatP/RootAsRole/pull/46/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=LeChatP+%28Eddie+BILLOIR%29) | `53.44% <64.54%> (+2.66%)` | :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=LeChatP+%28Eddie+BILLOIR%29#carryforward-flags-in-the-pull-request-comment) to find out more.

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