Run PHP Mess Detector (PHPMD)
run_phpmdAnalyze PHP code with PHPMD to detect complexity, dead code, design flaws, and naming violations.
Instructions
PHPMD ile kod karmaşıklığı, kullanılmayan kod, tasarım sorunları ve adlandırma ihlallerini raporlar.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Çıktı formatı. Varsayılan: text. | text |
| filepath | Yes | PHPMD tarafından taranacak dosya veya dizin. Örnek: ./src | |
| rulesets | No | Kullanılacak kurallar. Varsayılan: cleancode,codesize,design,naming,unusedcode. | |
| projectPath | No | İsteğe bağlı proje kökü (otomatik tespit edilir). |