DCD Scanner

DCD Scanner

DCD is a static code analyzer that detects unused and dead code in Python projects.

It parses Python source files using AST (Abstract Syntax Tree) and identifies:

- Unused imports, functions, classes, variables

- Dead code blocks (e.g. "if False:")

- Duplicate function definitions

- Provides detailed explanations for each detected issue

- Supports multithreaded scanning of entire directories

- Outputs reports in multiple formats: console, JSON, TXT, HTML