---
title: "Static analysis (medium)"
description: "Linters, type checkers as tools, code scanning, program analysis"
url: "https://swe.quest/tags/static-analysis?difficulty=medium&per=48"
---

# Static analysis (medium)

Topic in Engineering practices: Linters, type checkers as tools, code scanning, program analysis

By difficulty: [Easy](https://swe.quest/tags/static-analysis.md?difficulty=easy) · [Medium](https://swe.quest/tags/static-analysis.md?difficulty=medium) · [Hard](https://swe.quest/tags/static-analysis.md?difficulty=hard)

Posts 1–40 of 40, page 1 of 1, newest first.

## 2026-10-23

- [Beyond API Compatibility: Building a Tool to Measure the Blast Radius of Library Changes](https://swe.quest/articles/beyond-api-compatibility-building-a-tool-to-measure-the-blast-radius-of-library-dd79bf180fb0310a.md): Netflix TechBlog · 2026-10-23 · Medium · 9 min read · API design, Static analysis, Java & JVM, Developer tools, AI agents
  Netflix's Quasar indexes symbol definitions and references across its repositories using SCIP, so library producers can see which consumers use the exact API symbols a change removes or modifies.

## 2026-10-21

- [App stability at scale with a layered defense](https://swe.quest/articles/app-stability-at-scale-with-a-layered-defense-191103cbbe4ddc1a.md): Grab Engineering · 2026-10-21 · Medium · 15 min read · Mobile, Deployment, Static analysis, Observability, Testing
  Grab keeps its Android and iOS superapp stable with a layered, shift-left defense against crashes.

## 2026-10-09

- [Python 3.15](https://swe.quest/articles/python-3-15-dac73d5d8c836912.md): Astral · 2026-10-09 · Medium · 11 min read · Python, Developer tools, Type systems, Performance engineering, Static analysis
  Python 3.15 adds a \`lazy\` import keyword (PEP 810), a stdlib \`profiling\` module with the low-overhead Tachyon sampling profiler, new typing features (closed/extra\_items TypedDicts, TypeForm), \`sentinel\` and \`frozendict\` builtins, and \`\*\`/\`\*\*\` unpacking in comprehensions.

## 2026-09-10

- [Measuring the Sloppiness of Code](https://swe.quest/articles/measuring-the-sloppiness-of-code-601dfd1310c3a584.md): Earendil · 2026-09-10 · Medium · 5 min read · AI for coding, Evaluation, Static analysis, LLMs
  Functionally correct LLM-generated code still accumulates slop such as needless abstractions, duplication and LOC explosions, and measuring it is hard.

## 2026-08-26

- [Styling Linear for the future with StyleX](https://swe.quest/articles/styling-linear-for-the-future-with-stylex-1042e4b9c269681c.md): Linear · 2026-08-26 · Medium · 9 min read · CSS, React, Refactoring & migrations, Web performance, Static analysis
  Linear migrated its React apps from styled-components to Meta's StyleX over more than 1,000 PRs.

## 2026-08-24

- [Your alt text passes automated checks. That doesn’t mean it’s any good.](https://swe.quest/articles/your-alt-text-passes-automated-checks-that-doesn-t-mean-it-s-any-good-83b9ee029ba3f1e2.md): GitHub Engineering · 2026-08-24 · Medium · 9 min read · Accessibility, Static analysis, LLMs, Testing, Privacy
  GitHub's alt text plugin for its Accessibility Scanner splits checks into five deterministic, on-by-default rules and one opt-in model-backed rule.

## 2026-07-23

- [Ruff v0.16.0](https://swe.quest/articles/ruff-v0-16-0-b441fc20d59a5cf8.md): Astral · 2026-07-23 · Medium · 6 min read · Python, Static analysis, Developer tools
  Ruff v0.16.0 expands the default lint rule set from 59 to 413 rules, adding flake8-bugbear, pyupgrade and RUF rules while dropping 18 opinionated pycodestyle/pyflakes rules; the old defaults can be restored with select = \["E4", "E7", "E9", "F"\].

## 2026-02-11

- [Harness engineering: leveraging Codex in an agent-first world](https://swe.quest/articles/harness-engineering-leveraging-codex-in-an-agent-first-world-2c11ac81997bc6aa.md): OpenAI · 2026-02-11 · Medium · 14 min read · AI for coding, AI agents, Developer productivity, Static analysis, Observability
  A small OpenAI team built and shipped an internal product of roughly a million lines over five months with zero manually written code, merging about 1,500 Codex-authored PRs at around 3.5 PRs per engineer per day, an estimated 10x faster than writing it by hand.

## 2026-02-03

- [Ruff v0.15.0](https://swe.quest/articles/ruff-v0-15-0-997126a29b5a1340.md): Astral · 2026-02-03 · Medium · 6 min read · Python, Static analysis, Developer tools
  Ruff v0.15.0 introduces the 2026 formatter style guide, block-level lint suppressions, sixteen newly stable lint rules and six stabilized rule behaviors.

## 2025-08-29

- [Boost Your Copilot with SonarQube via Docker MCP Toolkit and Gateway](https://swe.quest/articles/boost-your-copilot-with-sonarqube-via-docker-mcp-toolkit-and-gateway-70de3e1cdb819df3.md): Docker · 2025-08-29 · Medium · 4 min read · AI agents, AI for coding, Static analysis, Java & JVM
  The Sonar MCP server, launched from Docker Desktop's MCP Toolkit and exposed through the Docker MCP Gateway, lets GitHub Copilot's Agent Mode in IntelliJ read SonarQube findings without leaving the IDE.

## 2025-03-29

- [Postgres Language Server: Initial Release](https://swe.quest/articles/postgres-language-server-initial-release-4b7148c84b3bcff0.md): Supabase · 2025-03-29 · Medium · 13 min read · PostgreSQL, Developer tools, Rust, SQL, Static analysis
  Postgres Language Server is an LSP implementation for Postgres offering autocompletion, syntax error highlighting, type-checking via PREPARE/EXPLAIN against a live database, and a Squawk-inspired linter, available for VSCode, Neovim and as a CLI.

## 2025-03-14

- [Navigating PostgreSQL Locks with Neon and Atlas](https://swe.quest/articles/navigating-postgresql-locks-with-neon-and-atlas-61f1baeebb69a86a.md): Neon · 2025-03-14 · Medium · 11 min read · Schema migrations, PostgreSQL, CI/CD, Static analysis
  Adding a UNIQUE constraint or setting a column NOT NULL in Postgres triggers a full table scan under an ACCESS EXCLUSIVE lock, which blocks all reads and writes and can take down an API on large tables.

## 2025-02-25

- [Publish a lint rule, get a prize](https://swe.quest/articles/publish-a-lint-rule-get-a-prize-2ae3e207b85c2da6.md): Deno · 2025-02-25 · Medium · 4 min read · Static analysis, TypeScript, Developer tools, JavaScript
  Deno 2.2 adds a plugin system for \`deno lint\`, letting anyone write custom lint rules in TypeScript using either an ESLint-style AST visitor API or CSS-like node selectors, with types under the \`Deno.lint\` namespace.

## 2025-02-19

- [Deno 2.2: OpenTelemetry, Lint Plugins, node:sqlite](https://swe.quest/articles/deno-2-2-opentelemetry-lint-plugins-node-sqlite-9a3401e2c9c180a2.md): Deno · 2025-02-19 · Medium · 17 min read · JavaScript, TypeScript, Observability, Developer tools, Static analysis
  Deno 2.2 adds built-in OpenTelemetry that auto-instruments console.log, Deno.serve and fetch and exports to an OTLP endpoint behind the --unstable-otel flag.

## 2025-02-18

- [Protecting user data through source code analysis at scale](https://swe.quest/articles/protecting-user-data-through-source-code-analysis-at-scale-357585a0d96f83c8.md): Meta Engineering · 2025-02-18 · Medium · 4 min read · Static analysis, Threat detection, Application security, Python
  Meta's Anti-Scraping team encodes known scraping attack vectors as taint-analysis rules in its in-house static analyzers, Zoncolan for Hack and Pysa for Python, so potential vectors are flagged before code ships.

## 2025-02-12

- [How GitHub uses CodeQL to secure GitHub](https://swe.quest/articles/how-github-uses-codeql-to-secure-github-3ead357c38ddce28.md): GitHub Engineering · 2025-02-12 · Medium · 14 min read · Static analysis, Application security, Ruby, CI/CD
  GitHub's Product Security Engineering team runs CodeQL across more than 10,000 repositories, mostly with default setup and the security-extended suites.

## 2025-01-23

- [How Meta discovers data flows via lineage at scale](https://swe.quest/articles/how-meta-discovers-data-flows-via-lineage-at-scale-8ef1c9f35e0ab6a8.md): Meta Engineering · 2025-01-23 · Medium · 13 min read · Privacy, Static analysis, Data pipelines, Observability
  Meta builds a data lineage graph across its web, data warehouse and AI systems to find where sensitive data such as Facebook Dating religion fields flows, so privacy controls like Policy Zones can be applied.

## 2024-12-19

- [Indexing code at scale with Glean](https://swe.quest/articles/indexing-code-at-scale-with-glean-139998a2186265ba.md): Meta Engineering · 2024-12-19 · Medium · 11 min read · Developer tools, Static analysis, Search, Code review, Open source
  Glean is Meta's open-source code indexing system that stores arbitrary language-specific facts about source code in RocksDB and exposes them through Angle, a declarative logic-based query language that can derive language-neutral views, much like SQL views.

## 2024-12-18

- [Translating Java to Kotlin at Scale](https://swe.quest/articles/translating-java-to-kotlin-at-scale-3648a1737157b36f.md): Meta Engineering · 2024-12-18 · Medium · 13 min read · Java & JVM, Refactoring & migrations, Mobile, Static analysis, Developer tools
  Meta is translating roughly ten million lines of Android Java to Kotlin using the Kotlinator, an automated pipeline built around a headless version of JetBrains' J2K.

## 2024-10-21

- [Using Docker AI Tools for Devs to Provide Context for Better Code Fixes](https://swe.quest/articles/using-docker-ai-tools-for-devs-to-provide-context-for-better-code-fixes-c0163de9f3027f93.md): Docker · 2024-10-21 · Medium · 8 min read · AI for coding, AI agents, Static analysis, Containers, Python
  LLMs fix lint violations far better when given the surrounding code, so Docker Labs built a prompt-driven pipeline where each step runs in a container: Pylint produces a violation report, violations are loaded into SQLite, and Tree-sitter parses the project into an AST whose top-level statement ranges are indexed alongside the source.

## 2024-08-26

- [How to Fix ESLint Violations with AI Assistance](https://swe.quest/articles/how-to-fix-eslint-violations-with-ai-assistance-74d040edadf71958.md): Docker · 2024-08-26 · Medium · 8 min read · AI for coding, AI agents, Static analysis, TypeScript, LLMs
  An LLM can produce correct fixes for ESLint violations once it has tools that supply minimal, precise context.

## 2024-08-12

- [Adding the ESLint Tool to an AI Assistant: Improving Recommendations for JS/TS Projects](https://swe.quest/articles/adding-the-eslint-tool-to-an-ai-assistant-improving-recommendations-for-js-ts-d83ca2ba37ac984c.md): Docker · 2024-08-12 · Medium · 7 min read · AI for coding, Static analysis, JavaScript, TypeScript, Containers
  An AI assistant gets better at linting JavaScript and TypeScript projects when it is given ESLint tooling instead of relying on the LLM's built-in knowledge.

## 2024-07-29

- [Introducing Docker Build Checks: Optimize Dockerfiles with Best Practices](https://swe.quest/articles/introducing-docker-build-checks-optimize-dockerfiles-with-best-practices-2400d0a2e13e5604.md): Docker · 2024-07-29 · Medium · 6 min read · Containers, Static analysis, CI/CD, Developer tools
  Docker Desktop 4.33 adds Build checks, which evaluate Dockerfiles against codified best-practice rules during \`docker build\` and report warnings.

## 2024-05-23

- [How we migrated our static analyzer from Java to Rust](https://swe.quest/articles/how-we-migrated-our-static-analyzer-from-java-to-rust-8d2e3080358d7827.md): Datadog Engineering · 2024-05-23 · Medium · 8 min read · Rust, Static analysis, Refactoring & migrations, Performance engineering, Java & JVM
  Datadog rewrote the Codiga static analyzer from Java to Rust after switching its parser from ANTLR to Tree-sitter, whose Java bindings lacked features like pattern matching.

## 2024-04-25

- [Speeding up C++ build times](https://swe.quest/articles/speeding-up-c-build-times-74d542dbb5ae649d.md): Figma · 2024-04-25 · Medium · 8 min read · Build systems, C & C++, Developer productivity, Static analysis, CI/CD
  Figma halved C++ build times by attacking the volume of preprocessed bytes sent to the compiler, which had grown far faster than the codebase.

## 2024-02-14

- [Fixing security vulnerabilities with AI](https://swe.quest/articles/fixing-security-vulnerabilities-with-ai-6cf393c64f079c26.md): GitHub Engineering · 2024-02-14 · Medium · 10 min read · AI for coding, Static analysis, Application security, LLMs, Evaluation
  Copilot Autofix turns CodeQL security alerts into LLM-suggested fixes by building a prompt from the query help, the alert message, and code snippets along the data-flow path.
- [How we use Vale to improve our documentation editing process](https://swe.quest/articles/how-we-use-vale-to-improve-our-documentation-editing-process-840fb8afef3af44a.md): Datadog Engineering · 2024-02-14 · Medium · 9 min read · Documentation, CI/CD, Static analysis, Developer tools
  Datadog's documentation team, outnumbered roughly 200 developers to 1 writer and merging over 20,000 docs PRs in 2023, encodes its style guide as Vale prose-linting rules in an open-sourced datadog-vale repo.

## 2024-02-07

- [A Packwerk Retrospective](https://swe.quest/articles/a-packwerk-retrospective-b9d1167fd6021459.md): Shopify Engineering · 2024-02-07 · Medium · 14 min read · Ruby, Static analysis, Refactoring & migrations, System design
  Packwerk, Shopify's static analysis gem for enforcing package boundaries in Rails monoliths via constant references, works best as a dependency-graph tool rather than an API-privacy tool, which is why privacy checks were removed in 3.0.

## 2023-10-31

- [Automating data removal](https://swe.quest/articles/automating-data-removal-d163bb8b8352c57e.md): Meta Engineering · 2023-10-31 · Medium · 9 min read · Privacy, Databases, Static analysis, Refactoring & migrations
  Meta's SCARF framework includes a subsystem that finds and deletes unused classes of data, such as tables, storage use cases and TAO object types, across 21 data systems.

## 2023-10-24

- [Automating dead code cleanup](https://swe.quest/articles/automating-dead-code-cleanup-e03bc4ba07b5bf1c.md): Meta Engineering · 2023-10-24 · Medium · 7 min read · Static analysis, Refactoring & migrations, Developer productivity, Python
  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.

## 2023-10-17

- [Automating product deprecation](https://swe.quest/articles/automating-product-deprecation-9c964f5b3db1d6d5.md): Meta Engineering · 2023-10-17 · Medium · 10 min read · Refactoring & migrations, Developer productivity, Static analysis, Developer tools
  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.

## 2023-08-10

- [A linter I really recommend you to use if you're doing SQL in Golang](https://swe.quest/articles/a-linter-i-really-recommend-you-to-use-if-you-re-doing-sql-in-golang-01ce20ff247e64a5.md): Turso · 2023-08-10 · Medium · 3 min read · Go, Static analysis, CI/CD, SQL
  The sqlclosecheck linter catches unclosed sql.Rows and sql.Stmt objects in Go code, which otherwise can cause deadlocks or inefficient disk use in databases like SQLite.

## 2023-08-07

- [Fixit 2: Meta’s next-generation auto-fixing linter](https://swe.quest/articles/fixit-2-meta-s-next-generation-auto-fixing-linter-71b7e5da0973759e.md): Meta Engineering · 2023-08-07 · Medium · 6 min read · Static analysis, Python, Developer tools, Refactoring & migrations, Open source
  Fixit 2 is a partial rewrite of Meta's open-source Python auto-fixing linter, built on LibCST so rules can safely suggest and apply code replacements without regex or broken syntax.

## 2023-02-08

- [Hakana: Taking Hack Seriously](https://swe.quest/articles/hakana-taking-hack-seriously-564898cdb11987b5.md): Slack Engineering · 2023-02-08 · Medium · 5 min read · Static analysis, PHP, Application security, Rust, Open source
  Slack has open-sourced Hakana, a Rust-based type checker and static analyzer for Hack, built on Psalm's design and reusing the Hack parser bundled with HHVM.

## 2023-02-01

- [It’s a non-transitive R class world](https://swe.quest/articles/it-s-a-non-transitive-r-class-world-dc7be71b63e01554.md): Slack Engineering · 2023-02-01 · Medium · 5 min read · Mobile, Build systems, Refactoring & migrations, Static analysis, Developer productivity
  Slack migrated its 400+ module Android codebase to non-transitive R classes, where each module's R class contains only its own resources, yielding ~14% faster incremental builds after resource or layout changes and an ~8.5% (about 5.5MB) APK/DEX size reduction.

## 2022-11-30

- [Enabling static analysis of SQL queries at Meta](https://swe.quest/articles/enabling-static-analysis-of-sql-queries-at-meta-a9210cb14aebcf3f.md): Meta Engineering · 2022-11-30 · Medium · 6 min read · Static analysis, SQL, Type systems, Data pipelines, Query engines
  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.

## 2022-11-22

- [Retrofitting null-safety onto Java at Meta](https://swe.quest/articles/retrofitting-null-safety-onto-java-at-meta-9ef65f9615ca03e4.md): Meta Engineering · 2022-11-22 · Medium · 15 min read · Static analysis, Java & JVM, Type systems, Mobile
  Nullsafe is a static analyzer built at Meta to catch NullPointerExceptions in Java, implemented as an extra compiler pass via the JSR-199 compiler API.

## 2022-05-13

- [Maestro: The Orchestration Language Powering Shopify Flow](https://swe.quest/articles/maestro-the-orchestration-language-powering-shopify-flow-a032ef3290783e5a.md): Shopify Engineering · 2022-05-13 · Medium · 12 min read · Language design, Static analysis, Scheduling, Resilience, Ruby
  Shopify rebuilt Flow around Maestro, a domain-specific orchestration language that decouples the merchant-facing visual editor from a horizontally scalable execution engine.

## 2021-11-04

- [How Two Interns Are Helping Secure Millions of Lines of Code](https://swe.quest/articles/how-two-interns-are-helping-secure-millions-of-lines-of-code-daa936f3b67e08a6.md): Slack Engineering · 2021-11-04 · Medium · 6 min read · Static analysis, Application security, PHP, Functional programming, Open source
  Slack added Hack support to Semgrep so its 5+ million lines of Hack could be scanned for security vulnerabilities, since no static analysis tools exist for the language.

## 2020-04-14

- [Hacklang at Slack: A Better PHP](https://swe.quest/articles/hacklang-at-slack-a-better-php-0c5b2d46ded07bab.md): Slack Engineering · 2020-04-14 · Medium · 7 min read · PHP, Type systems, Static analysis, Refactoring & migrations, Concurrency
  Slack moved its PHP 5 backend to HHVM in 2016 for speed and stayed for Hack, whose static type checker reports type errors as code is typed rather than at runtime.

Same list as RSS: [https://swe.quest/feed.xml?difficulty=medium&tag=static-analysis](https://swe.quest/feed.xml?difficulty=medium&tag=static-analysis). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
