Complete documentation index for CallFlow Tracer.
π Documentation Structure
π Latest Release Notes
- See v0.2.4 release notes: v0_2_4_features.md
π Getting Started
- README.md - Main introduction and quick start
- INSTALLATION_GUIDE.md - Installation and setup
- USER_GUIDE.md - Complete user guide
- QUICK_TEST.md - Quick testing reference
π Core Documentation
- API_DOCUMENTATION.md - Complete API reference
- FEATURES_COMPLETE.md - All features explained
- CHANGELOG.md - Version history and changes
π₯ Feature-Specific Guides
- FLAMEGRAPH_README.md - Flamegraph guide
- ENHANCED_FEATURES.md - Enhanced features
- FLAMEGRAPH_SUMMARY.md - Flamegraph summary
- JUPYTER_README.md - Jupyter integration
π New Features (v0.3.0)
- NEW_FEATURES_INDEX.md - New features overview and index
- CLI_GUIDE.md - Command-line interface guide
- CODE_QUALITY_GUIDE.md - Code quality analysis
- PREDICTIVE_ANALYSIS_GUIDE.md - Predictive analytics
- CODE_CHURN_GUIDE.md - Code churn analysis
- INTEGRATIONS_GUIDE.md - Framework integrations
π§ͺ Testing Documentation
- TESTING_GUIDE.md - Comprehensive testing guide
- Test Files:
tests/test_*.py- Automated test suites
π‘ Examples
- Example Files:
examples/*.py- Runnable examples - Jupyter Notebook:
examples/jupyter_example.ipynb- Interactive examples
π Quick Navigation
By Topic
Tracing
Profiling
Flamegraphs
- Basic Flamegraph
- Enhanced Flamegraph
- Color Schemes
- Statistics Panel
- Search Functionality
- Complete Guide
- API Reference
Call Graphs
- Call Graph Visualization
- Layout Options
- Module Filtering
- API Reference
Jupyter Integration
- Setup
- Inline Visualization
- Magic Commands
- Complete Guide
Export
New in v0.2.4
New in v0.3.0
- CLI Commands
- Code Quality Analysis
- Predictive Analysis
- Code Churn Analysis
- Framework Integrations
- New Features Index
By Use Case
Finding Performance Bottlenecks
Understanding Code Flow
Optimizing Performance
Interactive Development
Creating Reports
π By Feature
Core Features
Visualization Features
Profiling Features
Flamegraph Features
Jupyter Features
Export Features
UI/UX Features
π By Skill Level
Beginner
- Start with README.md
- Follow Quick Start
- Run Basic Examples
- Read User Guide
Intermediate
- Read API Documentation
- Explore All Features
- Try Enhanced Features
- Run All Examples
Advanced
- Study Source Code
- Read Testing Guide
- Contribute features
- Integrate with CI/CD
π Learning Path
Week 1: Basics
- Install package
- Run first trace
- Generate first visualization
- Understand call graphs
Week 2: Profiling
- Learn CPU profiling
- Track memory usage
- Measure I/O wait
- Combine metrics
Week 3: Flamegraphs
- Generate basic flamegraph
- Try all color schemes
- Use search functionality
- Export as SVG
Week 4: Advanced
- Jupyter integration
- Programmatic analysis
- Automated workflows
- Custom integrations
π Documentation Files
Main Documentation (Root)
| File | Description | Lines |
|ββ|ββββ-|ββ-|
| README.md | Main introduction | 674 |
| CHANGELOG.md | Version history | 500+ |
| TESTING_GUIDE.md | Testing guide | 500+ |
| QUICK_TEST.md | Quick reference | 165 |
| ENHANCED_FEATURES.md | Enhanced features | 300+ |
| FLAMEGRAPH_SUMMARY.md | Flamegraph overview | 400+ |
Documentation Directory (docs/)
| File | Description | Lines |
|ββ|ββββ-|ββ-|
| API_DOCUMENTATION.md | Complete API reference | 600+ |
| FEATURES_COMPLETE.md | All features | 800+ |
| INSTALLATION_GUIDE.md | Installation guide | 400+ |
| USER_GUIDE.md | User guide | 700+ |
| INDEX.md | This file | 500+ |
| NEW_FEATURES_INDEX.md | New features index (v0.3.0) | 400+ |
| CLI_GUIDE.md | CLI guide (v0.3.0) | 150+ |
| CODE_QUALITY_GUIDE.md | Code quality guide (v0.3.0) | 200+ |
| PREDICTIVE_ANALYSIS_GUIDE.md | Predictive analysis guide (v0.3.0) | 220+ |
| CODE_CHURN_GUIDE.md | Code churn guide (v0.3.0) | 200+ |
| INTEGRATIONS_GUIDE.md | Integrations guide (v0.3.0) | 250+ |
Examples Directory (examples/)
| File | Description | Lines |
|ββ|ββββ-|ββ-|
| FLAMEGRAPH_README.md | Flamegraph guide | 400+ |
| JUPYTER_README.md | Jupyter guide | 400+ |
| flamegraph_example.py | 7 examples | 500+ |
| flamegraph_enhanced_demo.py | 12 examples | 700+ |
| jupyter_example.ipynb | Notebook | - |
| jupyter_standalone_demo.py | Standalone demos | 600+ |
Tests Directory (tests/)
| File | Description | Tests |
|ββ|ββββ-|ββ-|
| test_flamegraph.py | Flamegraph tests | 10 |
| test_flamegraph_enhanced.py | Enhanced tests | 10 |
| test_jupyter_integration.py | Jupyter tests | 7 |
| test_cprofile_fix.py | CPU profiling tests | 2 |
π External Resources
Official Links
- GitHub: https://github.com/rajveer43/callflow-tracer
- PyPI: https://pypi.org/project/callflow-tracer/
- Issues: https://github.com/rajveer43/callflow-tracer/issues
- Discussions: https://github.com/rajveer43/callflow-tracer/discussions
Dependencies
- vis.js: https://visjs.org/
- D3.js: https://d3js.org/
- NetworkX: https://networkx.org/
π Statistics
Documentation Coverage
- Total Documentation Files: 21+ (including 6 new v0.3.0 guides)
- Total Lines of Documentation: 7000+ (including 1000+ new)
- Total Examples: 30+
- Total Tests: 39+
- Code Coverage: High
Package Statistics
- Total Modules: 12 (including 9 new in v0.3.0)
- Total Functions: 100+ (including 50+ new)
- Total Classes: 25+ (including 20+ new)
- Lines of Code: 6000+ (including 3200+ new)
v0.3.0 New Features
- New Modules: 9 (1 CLI + 1 Quality + 1 Predictive + 1 Churn + 5 Integrations)
- New Classes: 20+
- New Functions: 50+
- New Lines of Code: 3200+
- New Documentation: 1000+ lines across 6 guides
π― Quick Links
Most Important Documents
- README.md - Start here!
- USER_GUIDE.md - Complete usage guide
- API_DOCUMENTATION.md - API reference
- ENHANCED_FEATURES.md - Enhanced features
- NEW_FEATURES_INDEX.md - New v0.3.0 features
Most Useful Examples
- flamegraph_enhanced_demo.py - All features
- jupyter_example.ipynb - Jupyter examples
- flamegraph_example.py - Basic examples
Most Important Tests
- test_flamegraph_enhanced.py - Enhanced features
- test_cprofile_fix.py - CPU profiling
- test_jupyter_integration.py - Jupyter
π Recommended Reading Order
For New Users
- README.md - Overview
- INSTALLATION_GUIDE.md - Setup
- USER_GUIDE.md - Usage
- Run examples
- QUICK_TEST.md - Verify
For Developers
- API_DOCUMENTATION.md - API
- FEATURES_COMPLETE.md - Features
- TESTING_GUIDE.md - Testing
- Source code
- Contribute
For Performance Analysis
- ENHANCED_FEATURES.md - New features
- FLAMEGRAPH_README.md - Flamegraphs
- USER_GUIDE.md - Analysis guide
- Run examples
For Jupyter Users
- JUPYTER_README.md - Jupyter guide
- jupyter_example.ipynb - Notebook
- USER_GUIDE.md - Jupyter section
- Run demos
π Search by Keyword
Tracing
Profiling
Flamegraph
Visualization
Jupyter
Export
π¦ Package Contents
Source Code (callflow_tracer/)
callflow_tracer/
βββ __init__.py # Main API exports
βββ tracer.py # Core tracing (CallTracer, CallGraph, CallNode)
βββ exporter.py # HTML/JSON export functions
βββ profiling.py # Performance profiling (CPU, memory, I/O)
βββ flamegraph.py # Flamegraph generation
βββ flamegraph_enhanced.py # Enhanced flamegraph UI
βββ jupyter.py # Jupyter integration (magic commands, display)
Examples (examples/)
examples/
βββ flamegraph_example.py # 7 basic flamegraph examples
βββ flamegraph_enhanced_demo.py # 12 enhanced feature demos
βββ jupyter_example.ipynb # Interactive Jupyter notebook
βββ jupyter_standalone_demo.py # 5 standalone Jupyter demos
βββ FLAMEGRAPH_README.md # Complete flamegraph guide
βββ JUPYTER_README.md # Complete Jupyter guide
Tests (tests/)
tests/
βββ test_flamegraph.py # 10 flamegraph tests
βββ test_flamegraph_enhanced.py # 10 enhanced feature tests
βββ test_jupyter_integration.py # 7 Jupyter integration tests
βββ test_cprofile_fix.py # CPU profiling fix tests
Documentation (docs/)
docs/
βββ API_DOCUMENTATION.md # Complete API reference
βββ FEATURES_COMPLETE.md # All features documented
βββ INSTALLATION_GUIDE.md # Installation and setup
βββ USER_GUIDE.md # Complete user guide
βββ INDEX.md # This file
π¨ Visual Guide
What Each Visualization Shows
Call Graph (export_html)
βββββββββββββββββββββββββββββββββββββββ
β main() β
β (100ms, 1 call) β
ββββββββββββ¬βββββββββββββββββββββββββββ
β
βββββββ΄ββββββ¬ββββββββββββββ
β β β
ββββββΌβββββ βββββΌβββββ ββββββΌβββββ
β load() β βprocess()β β save() β
β 20ms β β 60ms β β 20ms β
βββββββββββ βββββββββββ βββββββββββ
Shows: Function relationships and call hierarchy
Flamegraph (generate_flamegraph)
βββββββββββββββββββββββββββββββββββββββ
β main() - 100ms β
ββββββββββββββββ¬βββββββββββββββββββββββ€
β load() β process() β
β 20ms β 60ms β
ββββββββ¬ββββββββΌβββββββ¬ββββββββββββββββ€
β db β cache β step1β step2 β
β 15ms β 5ms β 20ms β 40ms β
ββββββββ΄ββββββββ΄βββββββ΄ββββββββββββββββ
Shows: Time distribution and bottlenecks (width = time)
π Quick Commands
Installation
pip install callflow-tracer
Run Tests
python tests/test_flamegraph_enhanced.py
Run Examples
python examples/flamegraph_enhanced_demo.py
Generate Documentation
# All documentation is already generated!
# Just read the markdown files
π Getting Help
Documentation
- Check this index for relevant docs
- Read the specific guide
- Try the examples
- Run the tests
Community
- Search GitHub issues
- Ask in Discussions
- Create new issue
- Email support
Support Channels
- π§ Email: rathodrajveer1311@gmail.com
- π Issues: https://github.com/rajveer43/callflow-tracer/issues
- π¬ Discussions: https://github.com/rajveer43/callflow-tracer/discussions
β Documentation Checklist
For Users
- Installation guide
- Quick start
- User guide
- API documentation
- Examples
- Troubleshooting
For Developers
- API reference
- Testing guide
- Feature documentation
- Source code comments
- Type hints
- Docstrings
For Contributors
- Contributing guidelines
- Code structure
- Testing procedures
- Development setup
π Summary
CallFlow Tracer includes:
- 21+ Documentation Files covering all aspects (including 6 new v0.3.0 guides)
- 30+ Examples demonstrating features
- 39+ Tests ensuring quality
- 12 Modules with complete functionality (including 9 new in v0.3.0)
- 7000+ Lines of documentation (including 1000+ new)
Everything you need to:
- β Trace function calls
- β Profile performance
- β Generate flamegraphs
- β Visualize call graphs
- β Use in Jupyter
- β Find bottlenecks
- β Optimize code
- β Analyze code quality (NEW)
- β Predict performance issues (NEW)
- β Identify high-risk files (NEW)
- β Integrate with web frameworks (NEW)
- β Use command-line interface (NEW)
π v0.3.0 New Features
Major Additions
- Command-Line Interface - 10 CLI commands
- Code Quality Analysis - Complexity, maintainability, debt metrics
- Predictive Analysis - Performance prediction, capacity planning
- Code Churn Analysis - Git history analysis, hotspot identification
- Framework Integrations - Flask, FastAPI, Django, SQLAlchemy, psycopg2
New Documentation
- NEW_FEATURES_INDEX.md - Overview and index
- CLI_GUIDE.md - CLI commands reference
- CODE_QUALITY_GUIDE.md - Quality analysis guide
- PREDICTIVE_ANALYSIS_GUIDE.md - Predictions guide
- CODE_CHURN_GUIDE.md - Churn analysis guide
- INTEGRATIONS_GUIDE.md - Framework integrations guide
- v0_3_0_RELEASE_NOTES.md - Release notes
- FEATURE_MAPPING.md - Feature mapping guide
Documentation Index - Last Updated: 2025-01-15
Start with README.md or NEW_FEATURES_INDEX.md to explore! π