✨ AI-Powered Code Analysis

Understand Any Codebase in Minutes

CodeContext analyzes your code, detects hotspots, builds dependency graphs, and generates personalized learning paths. Stop drowning in unfamiliar code.

10,000+
Files Analyzed
5 Languages
Supported
AI-Powered
Insights
codecontext analyze .
$ codecontext analyze .
πŸš€ Starting CodeContext analysis...
πŸ“‚ Scanning repository...
Found 247 files
🧠 Parsing code...
πŸ•ΈοΈ Building dependency graph...
πŸ”₯ Hot Zones (Top 5):
β”œβ”€ UserService.kt (0.8542)
β”œβ”€ DatabaseConfig.kt (0.7234)
└─ ApiController.kt (0.6891)
βœ… Report: output/index.html
✨ Complete in 3.2s
$ _

Powerful Features

Everything you need to understand complex codebases

πŸ”₯

Hotspot Detection

Automatically identify the most critical files based on complexity, change frequency, and dependencies.

Git Analysis Metrics
πŸ•ΈοΈ

Dependency Graph

Visualize how your code connects with interactive D3.js graphs. Detect cycles and understand relationships.

Visualization Cycle Detection
πŸŽ“

Learning Paths

Get a personalized roadmap for understanding the codebase, starting from foundational files to complex modules.

Onboarding Smart Ordering
πŸ€–

AI Insights

Powered by Gemini AI to provide code explanations, refactoring tips, and complexity analysis.

Gemini Smart Analysis
⚑

Lightning Fast

Parallel parsing with intelligent caching. Analyze 10,000+ files in seconds, not minutes.

Parallel Cached
🌐

REST API

Integrate with your CI/CD pipeline or IDE. Full REST API for programmatic access.

Server Mode Integration

See It In Action

Watch CodeContext analyze a real repository

πŸ”’ localhost:8080/output/index.html

πŸ“Š CodeContext Analysis Report

247 files analyzed β€’ 3.2s execution time

πŸ”₯ Top Hotspots

UserService.kt 0.8542
DatabaseConfig.kt 0.7234
ApiController.kt 0.6891

πŸŽ“ Learning Path

1
Utils.kt
Foundation utilities
2
Models.kt
Core data models
3
UserService.kt
Main business logic

Ready to Get Started?

Install CodeContext and analyze your first codebase in under a minute

1

Clone & Build

git clone https://github.com/sonii-shivansh/CodeContext.git cd CodeContext ./gradlew installDist
2

Analyze Your Code

./build/install/codecontext/bin/codecontext analyze .
3

View Report

open output/index.html

Become a Contributor

Join us in building the best code analysis tool. Here is how you can help.

🍴

1. Fork the Repo

Click the 'Fork' button on GitHub to create your own copy of the repository.

🌿

2. Create a Branch

Create a new branch for your feature or bugfix (e.g., feature/amazing-feature).

πŸ’»

3. Make Changes

Implement your changes. We use Kotlin for the backend and standard web tech for reports.

πŸš€

4. Open a PR

Push your branch and open a Pull Request. We review PRs regularly!