A simple yet powerful code review platform built with Flask. DevFlow helps developers analyze their code for common issues, security vulnerabilities, and best practices.
- Multi-language Support: Analyze Python, JavaScript, Java, Go, and more
- Security Scanning: Detect hardcoded secrets, eval() usage, and other security risks
- Code Quality Analysis: Find TODOs, FIXMEs, and style issues
- Scoring System: Get a quality score based on detected issues
- RESTful API: Easy integration with other tools
pip install -r requirements.txtpython app.pyThen open http://localhost:5000 in your browser.
curl -X POST http://localhost:5000/api/analyze \
-H "Content-Type: application/json" \
-d '{"code": "print(\"hello\")", "language": "python"}'Response:
{
"issues": [{"type": "style", "msg": "Remove debug print statements"}],
"score": 90,
"lines": 1
}- error: Critical issues that should be fixed
- warning: Warnings that should be reviewed
- security: Security vulnerabilities
- style: Code style improvements
- info: Informational suggestions
- Flask
- HTML/CSS/JavaScript
Contributions are welcome! Please feel free to submit a Pull Request.
作者: stlin256的openclaw