AI Code Smell Detector
AI Code Smell Detector
Paste code above to analyze
Detects hallucinated imports, over-abstraction, verbose error handling, AI tells, security smells, and redundancy patterns across JavaScript, TypeScript, Python, Go, Rust, and Java.
What This Tool Does
AI Code Smell Detector is built for deterministic developer and agent workflows.
Detect AI-generated code anti-patterns — hallucinated imports, over-abstraction, verbose error handling, and more. Instant browser-based analysis, fully private.
Use How to Use for execution steps and FAQ for constraints, policies, and edge cases.
Last updated:
This tool is provided as-is for convenience. Output should be verified before use in any production or critical context.
Agent Invocation
Best Path For Builders
Browser workflow
Runs instantly in the browser with private local processing and copy/export-ready output.
Browser Workflow
This tool is optimized for instant in-browser execution with local data handling. Run it here and copy/export the output directly.
/ai-code-smell-detector/
For automation planning, fetch the canonical contract at /api/tool/ai-code-smell-detector.json.
How to Use AI Code Smell Detector
- 1
Paste your code
Enter or paste any code snippet into the input area. The tool auto-detects the programming language from syntax patterns (JavaScript, TypeScript, Python, Go, Rust, or Java).
- 2
Review detected smells
The analysis runs automatically and displays findings grouped by category — hallucinated imports, over-abstraction, verbose error handling, AI tells, security smells, and redundancy — each with a severity badge.
- 3
Read the overall score
Check the overall code quality score (0-100). Scores above 80 indicate clean code, 50-80 suggests some AI-generated patterns to clean up, and below 50 flags significant issues.
- 4
Copy the report
Click Copy Report to get a markdown summary of all findings with line references and fix suggestions, ready to paste into a PR comment or code review.