Meta’s Systematic Code and Asset Removal Framework (SCARF) has a subsystem for identifying and removing dead code. SCARF combines static and dynamic analysis of programs to detect dead code from both a business and programming language perspective. SCARF automatically creates change requests that delete the dead code identified from the program analysis, minimizing developer costs. In our last blo
![Automating dead code cleanup](https://cdn-ak-scissors.b.st-hatena.com/image/square/149217dc48ac3272c42ea4499b91cae93eab343d/height=288;version=1;width=512/https%3A%2F%2Fengineering.fb.com%2Fwp-content%2Fuploads%2F2023%2F10%2FEng-Blog-Self-Serve-Hero-Images-DEBUGGING-201-Teale.jpg)