93dd47cc8d15394ae04030286ccc5cd486c34c1c
Code of FixMiner
Prerequisites
redis should be installed on the machine.
Build
Clone and install edu.lu.uni:simple-utils.
git clone https://github.com/SerVal-DTF/simple-utils
cd simple-utils
mvn install
Clone and install the modified version of Gumtree.
git clone https://github.com/SerVal-DTF/gumtree
cd gumtree
mvn install
Clone and install fixminer.
git clone https://github.com/SerVal-DTF/fixminer_source
cd fixminer_source
mvn install
Main classes
src/main/java/edu/lu/uni/serval/fixminer/Launcher.javacomputes the edit scripts from local file pairs and pushes them to a Redis database:mvn exec:java -Dexec.mainClass=edu.lu.uni.serval.fixminer.Launcher -Dexec.args=../fixminer-core/python/data/app.propertiessrc/main/java/edu/lu/uni/serval/utils/ClusterToPattern.javaextracts the Rich Edit Script from the Gumtree output from the databasesrc/main/java/edu/lu/uni/serval/utils/CallShell.javasrc/main/java/edu/lu/uni/serval/fixminer/TestTreeLoader.javasrc/main/java/edu/lu/uni/serval/fixminer/jobs/PatternExtractor.javasrc/main/java/edu/lu/uni/serval/fixminer/akka/compare/CompareTrees.java
Description
Languages
C
69.3%
Java
26.9%
Python
2.9%
GAP
0.5%
CSS
0.1%
Other
0.2%