Sign inSign up

udsenlpa/loop

By udsenlpa

•Updated over 9 years ago

Developing a Model of Loop Actions by Mining Loop Characteristics from a Large Code Corpus

Image
0

930

udsenlpa/loop repository overview

⁠Contributors

Xiaoran Wang⁠, Lori Pollock, K. Vijay-Shanker

⁠Setup

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

⁠Run

docker pull udsenlpa/loop
sh run.sh input_dir output_dir

⁠Note

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.

https://www.eecis.udel.edu/~xiwang/icsme15.pdf⁠

Tag summary

Content type

Image

Digest

Size

647.5 MB

Last updated

over 9 years ago

docker pull udsenlpa/loop