NIL
Description
NIL is a clone detector using N-gram, Inverted index, and LCS. NIL provides scalable large-variance clone detection.
Requirements
- JDK 11+
Options
-s, --src Input source directory. You must specify the target dir.
-mil, --min-line Minimum number of lines that a code fragment must be to be treated as a clone. default: 6
-mit, --min-token Minimum number of tokens that a code fragment must be to be treated as a clone. default: 50
-n, --n-gram N for N-gram. default: 5
-p, --partition-size The number of partitions. default: 10
-f, --filtration-threshold Threshold used in the filtration phase (%). default: 10
-v, --verification-threshold Threshold used in the verificatioin phase (%). default: 70
-o, --output Output file name. default: result_{n}_{f}_{v}.csv
-t, --threads The number of threads used for parallel execution (both the Preprocess and Clone detection phases). default: all threads
-bce, --bigcloneeval If you specify -bce option, NIL outputs result file feasible to BigCloneEval. default: false
-mif,--mutationinjectionframework If you specify -mif option, NIL outputs nothing except for the output file name as standard output. default: false
Files
Files
(16.2 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:2da55a2521c7a08a5d94a1e4226c0d10
|
16.2 MB | Download |