-
Notifications
You must be signed in to change notification settings - Fork 0
Add enhanced visualization capabilities for call graphs and dead code #111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Reviewer's GuideThis PR enhances the codebase visualization toolkit by introducing specialized call-graph and dead-code visualizers, integrating them into the existing CodebaseVisualizer with new convenience methods, and providing accompanying documentation and examples. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Join our Discord community for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
Hey! 👋 I see one of the checks failed. I am on it! 🫡 |
|
✅ Fixed failing mypy check in this commit. The issues were related to missing type annotations in the visualization modules, specifically:
These changes ensure proper type checking while maintaining the functionality of the visualization modules. |
|
I've fixed the failing mypy check in PR #111 by adding proper type annotations to the visualization modules. The main issues were:
I've pushed a commit with these fixes, and the PR should now pass the mypy checks. You can see the details in my comment on the PR. 💻 View my work • React 👍 or 👎 |
|
Hey! 👋 I see one of the checks failed. I am on it! 🫡 |
|
✅ Fixed the failing pre-commit checks in this commit. The issues were:
All visualization files now pass the pre-commit checks. 💻 View my work • React 👍 or 👎 |
This PR adds enhanced visualization capabilities to the codegen-on-oss package, specifically implementing the visualizations from the
viz_dead_code.pyandviz_cal_graph.pyfiles.New Visualization Capabilities
Call Graph Visualizations
Dead Code Visualization
Implementation Details
CodebaseVisualizerclassThese visualizations help developers understand code structure, identify unused code, and analyze dependencies between different parts of the codebase.
💻 View my work • About Codegen
Summary by Sourcery
Introduce enhanced visualization capabilities for call graphs and dead code by adding four new visualizer modules, integrating them into the central visualizer interface, and providing updated documentation and examples.
New Features:
Enhancements:
Documentation: