Symbolk / Code2Graph

Towards converting multilingual source code into one language-agnostic graph representation.
42 stars 7 forks source link
graph java program-analysis programming-language software-engineering

Code2Graph: Convert source code into graph.

With lightweight static analysis on nesting hierarchy, control and data flow.

For various downstream tasks in software&language engineering:

  • Software architecture analysis
  • Semantic code diff
  • Semantic code merge
  • Impact analysis on code change
  • Co-change prediction at different granularity

Highlights:

architecture

Language Support

Special thanks to Gumtree, which has a nice design for language-agnostic abstraction.

Usage

CLI

API (Java)

I/O

Input

Output

Data Persistence

Design

Graph Schema