Developing a Model of Loop Actions by Mining Loop Characteristics from a Large Code Corpus
930
Xiaoran Wang, Lori Pollock, K. Vijay-Shanker
Save the following scripts to a file run.sh
set -e
INPUT="$(cd $(dirname "$1") && pwd -P)/$(basename "$1")"
OUTPUT="$(cd $(dirname "$2") && pwd -P)/$(basename "$2")"
touch $OUTPUT/output1.txt
touch $OUTPUT/output2.txt
touch $OUTPUT/output3.txt
docker run -v $INPUT:/loop/input -v $OUTPUT/output1.txt:/loop/output1.txt -v $OUTPUT/output2.txt:/loop/output2.txt -v $OUTPUT/output3.txt:/loop/output3.txt udsenlpa/loop
docker pull udsenlpa/loop
sh run.sh input_dir output_dir
You will need a input_dir which contains a set of Java projects to get proper results.
This a sample input folder: https://www.dropbox.com/s/m7r1cdcfavxgkaw/testdir.zip?dl=0. Please unzip it first before running the program.
Content type
Image
Digest
Size
647.5 MB
Last updated
over 9 years ago
docker pull udsenlpa/loop