Skip to content

Commit a00cb9e

Browse files
committed
Merge branch 'feature/db2famix' into development
2 parents 09bfbb5 + 8bbb3e8 commit a00cb9e

7 files changed

Lines changed: 574 additions & 191 deletions

File tree

generator/org.svis.app.analyzer.metrics/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<dependency>
2727
<groupId>org.neo4j</groupId>
2828
<artifactId>neo4j</artifactId>
29-
<version>3.0.4</version>
29+
<version>3.3.5</version>
3030
</dependency>
3131
<dependency>
3232
<groupId>org.svis.generator</groupId>

generator/org.svis.generator/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<dependency>
2626
<groupId>org.neo4j</groupId>
2727
<artifactId>neo4j</artifactId>
28-
<version>3.1.0</version>
28+
<version>3.3.5</version>
2929
</dependency>
3030
<dependency>
3131
<groupId>com.jayway.jsonpath</groupId>
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
package org.svis.generator.famix;
2+
3+
import org.neo4j.graphdb.Label;
4+
5+
public class DBLabel {
6+
7+
public static Label PACKAGE = createLabel("Package");
8+
public static Label MEMBER = createLabel("Member");
9+
public static Label TYPE = createLabel("Type");
10+
public static Label METHOD = createLabel("Method");
11+
public static Label FIELD = createLabel("Field");
12+
public static Label CLASS = createLabel("Class");
13+
public static Label INTERFACE = createLabel("Interface");
14+
public static Label ENUM = createLabel("Enum");
15+
public static Label ANNOTATION = createLabel("Annotation");
16+
17+
public static Label createLabel(String name) {
18+
return Label.label(name);
19+
}
20+
}

generator/org.svis.generator/src/org/svis/generator/famix/FAMIXSettings.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@ public enum FAMIXSettings{;
2727
*/
2828
public static FamixParser FAMIX_PARSER = FamixParser.VERVEINEJ;
2929

30+
public static String DATABASE_NAME = "../databases/graph.db";
31+
3032
public static enum FamixParser {
3133

32-
JDT2FAMIX,VERVEINEJ;
34+
JDT2FAMIX,VERVEINEJ,JQA_BYTECODE;
3335
}
3436
}

0 commit comments

Comments
 (0)