Skip to content
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

Idea/Feature request: Code Property Graph (CPG) #7577

Open
qdrddr opened this issue Mar 28, 2025 · 0 comments
Open

Idea/Feature request: Code Property Graph (CPG) #7577

qdrddr opened this issue Mar 28, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@qdrddr
Copy link

qdrddr commented Mar 28, 2025

What problem or use case are you trying to solve?
Code Property Graph (CPG) is a powerful concept that creates a dynamic graph representation of your system design / architecture diagram, code that tracks dependencies in your code, searches to dead or duplicated code, helps finding bugs and do security/vulnerability and impact analysis but most importantly helps with the code comprehension: high-level of function, class and module dependencies, interact queries to your codebase. Helps LLMs to better reason.

Describe the UX of the solution you'd like

Do you have thoughts on the technical implementation?
If we can incorporate CPG principle into OpenHands so LLMs could better comprehand and query code structure and its dependancies. Here are a few frameworks for this:
CodeQL
ShiftLeftSecurity/codepropertygraph
jQAssistant
joern
Fraunhofer-AISEC/cpg
FalkorDB: code-graph & backend
GitDiagram Convert any GitHub repository structure into a system design / architecture diagram

Describe alternatives you've considered
N/A

Additional context

@qdrddr qdrddr added the enhancement New feature or request label Mar 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant