Intelligent codebase context analyzer for faster developer onboarding
New developers often take 1–3 months to become productive in a new codebase due to:
CodeContext analyzes your codebase in seconds and generates:
Result: Reduce onboarding time from 3 months to approximately 3 weeks.
| Feature | Description |
|---|---|
| Interactive Dependency Maps | Zoomable force-directed graphs showing file relationships |
| Knowledge Hotspots | PageRank-based identification of critical files |
| Learning Paths | Topologically sorted reading order |
| Git Integration | Authors, change frequency, and recent commit data |
| Team Contribution Map | Visibility into knowledge silos and bus-factor risks |
| Multi-Language Support | Java and Kotlin (additional languages planned) |
| Performance | Parallel parsing with intelligent caching |
| Reporting | Clean HTML reports with D3.js visualizations |

Interactive dependency graph with knowledge hotspot highlighting and learning path generation
Live Example
./gradlew run --args="analyze ."
git clone https://github.com/sonii-shivansh/CodeContext.git
cd CodeContext
./gradlew build
./gradlew installDist
Pre-built binaries will be available on the GitHub Releases page.
./gradlew run --args="analyze /path/to/project"
./build/install/codecontext/bin/codecontext analyze /path/to/project
./build/install/codecontext/bin/codecontext analyze .
open output/index.html # macOS
xdg-open output/index.html # Linux
start output/index.html # Windows
Starting CodeContext analysis for: /path/to/project
Scanning repository...
Found 247 files
Parsing code...
Parsed 247 files
Analyzing Git history...
Building dependency graph...
Hot Zones (Top 5):
- UserService.kt (0.0847)
- DatabaseConfig.kt (0.0623)
- AuthMiddleware.kt (0.0521)
- ApiController.kt (0.0498)
- DataRepository.kt (0.0445)
Generating report...
Report generated at: /path/to/project/output/index.html
Completed in 3421ms
codecontext/
├── src/main/kotlin/com/codecontext/
│ ├── cli/ # CLI commands
│ ├── core/ # Core analysis engine
│ │ ├── scanner/ # File scanning and filtering
│ │ ├── parser/ # Language parsers
│ │ ├── graph/ # Dependency graph and PageRank
│ │ ├── analyzer/ # Code analysis algorithms
│ │ └── generator/ # Learning path generation
│ ├── output/ # Report generation
│ └── server/ # Optional REST API
└── src/test/ # Test suite
Contributions are welcome.
See CONTRIBUTING.md for detailed guidelines.
This project is licensed under the MIT License - see the LICENSE file for details.