Conservative multi-language dead-code elimination with tree-sitter: feature flag cleanup, constant folding, branch cleanup, method pruning, and dynamic-entry protection.
-
Updated
Jun 29, 2026 - Python
Conservative multi-language dead-code elimination with tree-sitter: feature flag cleanup, constant folding, branch cleanup, method pruning, and dynamic-entry protection.
A PoC implementation of unused code elimination in runtime
Bury your dead code
SDCC STM8 Dead Code Elimination Tool
Lacuna is a JavaScript dead code elimination framework written in Node.js
Pycharm Plugin useful for detecting potentially dead code
Detect dead code with confidence via real user monitoring
❌ Remove dead conditional branches
dead_code_analyzer is a command-line tool for Dart and Flutter projects that identifies unused code elements (classes, functions, variables) to streamline code cleanup and refactoring.
This project is used to extract some basic assignment statements, loop conditions from the given python program. Using static control flow analysis, the project can be used to create a control flow graph. Using Reaching definition and live variable analysis, one can eliminate dead code from the program.
Removes unused private/internal types during compile-time.
Hack to modify Ramda in-place to support Rollup and UglifyJS2 for effective dead code elimination
Detecting semantically equivalent code clone pairs in two or more code fragments.
Tree-shacking and Dead-code elimination using Abstract Syntax Tree (AST) in python.
Parse AST, compere constants, clean
A simple static JS Code analyzer
Testing dead-code elimination of unused default parameters in all known JS bundlers
Testing dead-code elimination of unused default parameters in all known JS bundlers
Experimental monorepo to compare tree-shaking / dead code elimination across webpack, Vite+Rollup, and Vite+Rolldown.
Extend GCC's GDFA Architecture to Non-separable Framwork
Add a description, image, and links to the dead-code-elimination topic page so that developers can more easily learn about it.
To associate your repository with the dead-code-elimination topic, visit your repo's landing page and select "manage topics."