Skip to main content
Glama

find_dead_code

Identify unreachable Python code through Control Flow Graph analysis to remove dead code and improve code quality.

Instructions

Find unreachable code using Control Flow Graph (CFG) analysis

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
min_severityNoMinimum severity: info, warning, error (default: warning)
pathYesPath to Python code to analyze

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lesleslie/session-buddy'

If you have feedback or need assistance with the MCP directory API, please join our Discord server