Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Static analysis Remove topic Static analysis Clear all 14 posts RSS

2026

2025

Meta Engineering

Python Typing Survey 2025: Code Quality and Flexibility As Top Reasons for Typing Adoption

Research 8 min +80 XP

The 2025 Typed Python Survey (1,241 respondents, mostly experienced developers) finds 86% use type hints always or often, with adoption peaking at 93% among developers with 5–10 years of Python experience and lowest (80%) among 10+ year veterans.

2024

2023

Meta Engineering

Automating dead code cleanup

Case study 7 min +70 XP

Meta's SCARF framework finds dead code by building a cross-language, symbol-level dependency graph from Glean and augmenting it with runtime usage data such as API endpoint logs, URI dispatch tables and async job invocations, then garbage-collects unreachable nodes, subgraphs and cycles.

Meta Engineering

Automating product deprecation

Case study 10 min +100 XP

SCARF (Systematic Code and Asset Removal Framework) is Meta's tooling for deprecating products by removing dead code and unused data, credited with deleting over 100M lines of code in five years and petabytes of data across 12.8M data types in 21 systems in one year.

2022

Meta Engineering

Enabling static analysis of SQL queries at Meta

Case study 6 min +60 XP

UPM (Unified Programming Model) is Meta's standalone library that parses SQL into a semantic tree, a typed intermediate representation decoupled from any single query engine, so infrastructure teams can build linters, query rewriters and lineage tools without reimplementing analysis per dialect.

The quest for software engineering knowledge.

Look:
Layout: