Dead Codebases Analyzer

Identify and safely remove dead code with this AI prompt, using comprehensive call graph analysis and dependency tracing.

What this prompt does

  • Provides a comprehensive analysis of the codebase to identify and safely remove dead code.
  • Utilizes call graph analysis, dependency tracing, and impact assessment to ensure no production incidents occur.
  • Develops a phased removal plan with rollback strategies to prioritize safe code removal.

How to use this prompt

  1. Inside #INFORMATION ABOUT ME section, fill in the [INSERT COMPLETE CODEBASE OR MODULE AS TEXT], [SPECIFY LANGUAGE], [LOW/MEDIUM/HIGH], [PERCENTAGE OR DESCRIPTION], and [PRODUCTION/STAGING/DEVELOPMENT] placeholders with your specific codebase details, programming language, risk tolerance, testing …
  2. Example: "My codebase is a legacy Java application with 100,000 lines of code. My programming language is Java. My risk tolerance is low. My testing coverage is 70%. My deployment environment is production."

Premium prompt — included in the Complete AI Bundle. Part of the Coding prompts collection in the God of Prompt library.

Related Coding prompts