SearchDeadCode
CLI tool for detecting dead code in Android projects

SearchDeadCode - CLI tool for detecting dead code in Android projects - Slide 1, Image 1

Project Overview

Rust

Tree-sitter

Petgraph

Rayon

Clap

Serde

    SearchDeadCode is a blazingly fast command-line tool written in Rust to detect and safely remove dead/unused code in Android projects (Kotlin & Java). Inspired by Periphery for Swift, it helps developers maintain clean codebases by identifying unused classes, methods, properties, and more.
  • Blazingly fast analysis using Rust and tree-sitter:
  • Detects unused classes, methods, properties, and parameters:
  • Supports both Kotlin and Java codebases:
  • Android-specific handling (XML parsing, auto-retained entry points):
  • Safe delete with interactive and batch modes:
  • ProGuard/R8 integration for hybrid analysis:
  • Multiple output formats (JSON, CSV, Markdown):
  • CI/CD integration support:
  • Published on Homebrew for easy installation:
  • MIT licensed open-source project:

Get in Touch

Have a project in mind? Let's discuss how we can work together.

Or email me directly at kevin.doremy.l@gmail.com

Kevin Doremy, ing.

© 2025 | All rights reserved.

This site uses analytics to improve your experience. Privacy Policy

Kevin - SearchDeadCode