Skip to content

Extract a program dependency graph from java source code and store it into a neo4j graph database.

Notifications You must be signed in to change notification settings

linzeqipku/javacode-to-neo4j

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

javacode-to-neo4j

Parse java source code, extract code entities (classes, interfaces, methods and fields) and static dependencies (inheritance, invocation, decleration, etc.), then store them into a neo4j graph database.

Usage example

JavaCodeGraphBuilder.process(GRAPH_DIR_PATH,SRC_DIR_PATH);

see the test case.

Maven

Add this repository in your pom.xml file:

<repositories>
    <repository>
        <id>linzeqipku-public-snapshots</id>
        <url>https://raw.github.com/linzeqipku/maven-repo/master/snapshots</url>
    </repository>
    <repository>
        <id>linzeqipku-public-releases</id>
        <url>https://raw.github.com/linzeqipku/maven-repo/master/releases</url>
    </repository>
</repositories>

Add the maven dependence:

<dependencies>
    <dependency>
        <groupId>com.github.linzeqipku</groupId>
        <artifactId>javacode-to-neo4j</artifactId>
        <version>1.1-SNAPSHOT</version>
    </dependency>
</dependencies>

About

Extract a program dependency graph from java source code and store it into a neo4j graph database.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages