Skip to content

kuchipudivivek84/code-quality-analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💻 Code Quality Analyzer 🚀

Analyze • Improve • Optimize Python Code Quality


🚀 Live Demo

🔗 https://code-quality-analyzer-7869vhbc24dmwzb6cy5jmg.streamlit.app/


📌 Project Overview

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.


🎯 Key Highlights

Feature Description
📝 Code Input Paste Python code instantly
📊 Quality Score Score out of 10 based on issues
⚠️ Issue Detection Finds naming, formatting & best practice issues
🔢 Complexity Analysis Measures cyclomatic complexity
💡 Feedback Provides actionable suggestions

⚙️ Features

👤 User Features

  • 📝 Paste Python code
  • 📊 View quality score
  • ⚠️ Detect coding issues
  • 🔢 Analyze complexity
  • 💡 Improve code quality

🛠️ Tech Stack

Category Tools
Language 🐍 Python
UI 🎨 Streamlit
Analysis 🔍 Pylint
Metrics 📈 Radon

🔄 System Workflow

User Input → Pylint Analysis → Complexity Check → Score Calculation → Feedback Output

🧪 Example Input

a=5
b=10
if a<b:
 print("Hello")

📊 Example Output

  • 📊 Quality Score: 5 / 10

  • ⚠️ Issues:

    • Bad indentation
    • Missing docstring
    • Invalid naming
  • 🔢 Complexity: 0


▶️ Run Locally

pip install -r requirements.txt
streamlit run app.py

🌐 Deployment

Deployed using Streamlit Community Cloud and accessible globally via the live demo link.


📈 Future Enhancements

  • 📂 Upload .py files
  • 📊 Visual dashboards (charts)
  • 📄 Downloadable reports (PDF)
  • 🤖 AI-based code suggestions

👨‍💻 Author

Kuchipudi Vivek


⭐ Show Your Support

If you found this project useful, consider giving it a ⭐ on GitHub!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages