repowiseiced-rs/iced

Code health of iced-rs/iced

Repowise scores iced-rs/iced at 5.5 out of 10 for code health, which reads as fair, alongside maintainability 6.2 and static performance 9.9 on the same scale. There are 1,450 open findings across the three pillars, and the lowest-scoring file is text_input.rs at 1.0. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.

Findings by severity

90 critical, 336 high, 388 medium, 618 low.

Hotspots

27 files are flagged as hotspots. The top 5:

  • widget/src/scrollable.rs: 6 commits in the last 90 days from 18 contributors
  • winit/src/lib.rs: 8 commits in the last 90 days from 5 contributors with 3 recent bug fixes
  • widget/src/transition.rs: 15 commits in the last 90 days from 2 contributors with 2 recent bug fixes
  • core/src/layout/flex.rs: 16 commits in the last 90 days from 1 contributor with 4 recent bug fixes
  • core/src/length.rs: 13 commits in the last 90 days from 2 contributors with 2 recent bug fixes

Lowest-scoring files

  • widget/src/text_input.rs: 1.0 out of 10
  • winit/src/lib.rs: 1.0 out of 10 with 3 bug fixes in the last 180 days
  • widget/src/scrollable.rs: 1.0 out of 10
  • wgpu/src/lib.rs: 1.0 out of 10
  • widget/src/text_editor.rs: 1.0 out of 10 with 1 bug fix in the last 180 days

Checked against bug fixes

Of the 20 files Repowise scores lowest, 9 had a bug fix in the last 180 days. Across all 497 scored files, 9.7% had a bug fix in that window.

Dead code and refactoring

Repowise found 81 unused exports. 61 refactoring targets across 61 files would raise the score.

More on iced: summary and FAQ, codebase overview, architecture.

Related guide: Best dead code detection tools by language