Analyze • Improve • Optimize Python Code Quality
🔗 https://code-quality-analyzer-7869vhbc24dmwzb6cy5jmg.streamlit.app/
The Code Quality Analyzer is a Python-based web application that evaluates Python code using static analysis and complexity metrics. It helps developers write cleaner, more maintainable, and industry-standard code.
| Feature | Description |
|---|---|
| 📝 Code Input | Paste Python code instantly |
| 📊 Quality Score | Score out of 10 based on issues |
| Finds naming, formatting & best practice issues | |
| 🔢 Complexity Analysis | Measures cyclomatic complexity |
| 💡 Feedback | Provides actionable suggestions |
- 📝 Paste Python code
- 📊 View quality score
⚠️ Detect coding issues- 🔢 Analyze complexity
- 💡 Improve code quality
| Category | Tools |
|---|---|
| Language | 🐍 Python |
| UI | 🎨 Streamlit |
| Analysis | 🔍 Pylint |
| Metrics | 📈 Radon |
User Input → Pylint Analysis → Complexity Check → Score Calculation → Feedback Output
a=5
b=10
if a<b:
print("Hello")-
📊 Quality Score: 5 / 10
-
⚠️ Issues:- Bad indentation
- Missing docstring
- Invalid naming
-
🔢 Complexity: 0
pip install -r requirements.txt
streamlit run app.pyDeployed using Streamlit Community Cloud and accessible globally via the live demo link.
- 📂 Upload
.pyfiles - 📊 Visual dashboards (charts)
- 📄 Downloadable reports (PDF)
- 🤖 AI-based code suggestions
Kuchipudi Vivek
If you found this project useful, consider giving it a ⭐ on GitHub!