• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

openSUSE / agama / 9253140703
72%

Build:
DEFAULT BRANCH: master
Ran 27 May 2024 10:22AM UTC
Jobs 3
Files 781
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

27 May 2024 10:14AM UTC coverage: 70.362%. Remained the same
9253140703

push

github

web-flow
fix: Clippy warnings (#1231)

Fix almost all clippy warnings (some of them were automatically fixed
with `cargo clippy --fix`).

Note: there are still some warnings that require more work to get rid of
them:

<details>
<summary><i>$ cargo clippy</i></summary>

~~~
cargo clippy
Checking agama-server v0.1.0
(/home/ivan/projects/suse/code/agama/rust/agama-server)
warning: module has the same name as its containing module
 --> agama-server/src/l10n.rs:5:1
  |
5 | pub mod l10n;
  | ^^^^^^^^^^^^^
  |
= help: for further information visit
https://rust-lang.github.io/rust-clippy/master/index.html#module_inception
  = note: `#[warn(clippy::module_inception)]` on by default

warning: very complex type used. Consider factoring parts into `type`
definitions
   --> agama-server/src/network/nm/proxies.rs:849:28
    |
849 | fn addresses(&self) -> zbus::Result<Vec<(Vec<u8>, u32, Vec<u8>)>>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
= help: for further information visit
https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
    = note: `#[warn(clippy::type_complexity)]` on by default

warning: very complex type used. Consider factoring parts into `type`
definitions
   --> agama-server/src/network/nm/proxies.rs:879:25
    |
879 | fn routes(&self) -> zbus::Result<Vec<(Vec<u8>, u32, Vec<u8>,
u32)>>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
= help: for further information visit
https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity

warning: `agama-server` (lib) generated 3 warnings
warning: current MSRV (Minimum Supported Rust Version) is `1.74.0` but
this item is stable since `1.75.0`
   --> agama-server/src/agama-web-server.rs:233:22
    |
233 |         if addr.ip().to_canonical().is_loopback() {
    |                      ^^^^^^^^^^^^^^
    |
= help: for further information visit
https://rust-lang.github.io/rust-clippy/master/index.html#incompatible_msrv... (continued)

1987 of 2868 branches covered (69.28%)

Branch coverage included in aggregate %.

19 of 99 new or added lines in 16 files covered. (19.19%)

3 existing lines in 2 files now uncovered.

18691 of 26520 relevant lines covered (70.48%)

31.92 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
0.0
0.0% rust/agama-cli/src/auth.rs
1
45.45
1.98% rust/agama-lib/src/dbus.rs
1
0.0
0.0% rust/agama-lib/src/software/client.rs
1
0.0
0.0% rust/agama-lib/src/storage/client/iscsi.rs
1
58.19
0.0% rust/agama-server/src/network/model.rs
2
39.8
0.0% rust/agama-server/src/l10n/l10n.rs
3
71.43
0.0% rust/agama-server/src/l10n/web.rs
4
69.28
0.13% rust/agama-server/src/network/nm/dbus.rs
5
0.0
0.0% rust/agama-server/src/dbus.rs
5
0.0
0.0% rust/agama-server/src/storage/web/iscsi/stream.rs
7
0.0
0.0% rust/agama-server/src/l10n/dbus.rs
9
0.0
0.0% rust/agama-server/src/network/nm/watcher.rs
40
0.0
0.0% rust/agama-lib/src/storage/model.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
0.0
0.0% rust/agama-server/src/network/nm/watcher.rs
2
0.0
0.0% rust/agama-server/src/l10n/dbus.rs
Subprojects
ID Flag name Job ID Ran Files Coverage
3 rust 9253140703.3 27 May 2024 10:22AM UTC 88
22.95
GitHub Action Run
3 web 8937163624.3 03 May 2024 09:49AM UTC 343
75.3
GitHub Action Run
3 service 9249908227.3 27 May 2024 05:54AM UTC 350
86.36
GitHub Action Run
Source Files on build 9253140703
  • Tree
  • List 781
  • Changed 39
  • Source Changed 19
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #9253140703
  • 208d111a on github
  • Prev Build on master (#9249953097)
  • Next Build on master (#9256086626)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc