Skip to content

Dead-code sweep from the codebase audit#70

Open
bryanroscoe wants to merge 1 commit into
mainfrom
cleanup/dead-code
Open

Dead-code sweep from the codebase audit#70
bryanroscoe wants to merge 1 commit into
mainfrom
cleanup/dead-code

Conversation

@bryanroscoe

Copy link
Copy Markdown
Owner

The audit's leftover hygiene items, deferred until the stack landed so nothing could conflict:

  • Rust: unused anyhow dep; three uncalled SubprocessAdb methods (from_path/binary/with_timeout — superseded by raw_transfer); the never-used AppList struct; RiskTier::parse_label; parse_dumpsys_meminfo demoted to private behind its public alias.
  • Frontend: riskBadgeClass, an unused goto import, four orphaned CSS blocks in the device page, and .dir-link's undefined --fg token → --fg-primary.

Pure deletions plus one token fix. Validated: clippy --all-targets -- -D warnings clean, 149 tests, svelte-check 0/0, build green.

Rust: unused anyhow dependency; SubprocessAdb::from_path/binary/
with_timeout (superseded by raw_transfer); engine AppList struct;
RiskTier::parse_label; parse_dumpsys_meminfo demoted to private
(parse_total_pss_by_process is the public name).

Frontend: riskBadgeClass, unused goto import, four orphaned CSS blocks
in the device page (.state-badge variants superseded by the component,
.preview-disclaimer, .checkbox-row, .install-output), and .dir-link's
undefined --fg token corrected to --fg-primary.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant