Dead-code detection for AI-generated codebases
AngelosZou/graphlint · skills
Dead-code detection for AI-generated codebases: graphlint builds a dependency graph, finds code unreachable from any entry point to enable codebase cleanup and functional‑effectiveness understanding.
★ 7GitHub stars
2Forks
2026-08-27Last updated
PythonLanguage
MITLicense
Key features
- Dead code detection — finds components unreachable from any entry point via graph traversal
- Dead code detection for AI-generated codebases.
- Multi-language support — Python, Rust, C#, C/C++ (unified), TypeScript, and JavaScript backends via a language adapter abstraction
- Python uses stdlib ast, the others use tree-sitter
- AST/CST parsing — extracts functions, methods, structs, enums, traits, impls, macros, classes, properties, indexers, events, variables, and fields
Requirements
- Static analysis only — graphlint performs static analysis and cannot detect runtime linkage such as getattr, importlib, or dynamic dispatch patterns, which may result in false positives.
- Rust's static dispatch model produces fewer false positives.
Install command
dsh plugin --profile web add github:AngelosZou/graphlint