ADD file via upload
FSE ‘21 paper implementation (preprint) DOI of submitted version executable file of NIL is 10.5281/zenodo.4492665.
10.5281/zenodo.4492665
NIL is a clone detector using N-gram, Inverted index, and LCS. NIL provides scalable large-variance clone detection.
git clone https://github.com/kusumotolab/NIL
cd NIL
./gradlew ShadowJar
java -jar ./build/libs/NIL-all.jar [options]
-bce
/path/to/file_A,start_line_A,end_line_A,/path/to/file_B,start_line_B,end_line_B
dir_A,file_A,start_line_A,end_line_A,dir_B,file_B,start_line_B,end_line_B
-s
--src
-mil
--min-line
6
-mit
--min-token
50
-n
--n-gram
5
-p
--partition-size
10
-f
--filtration-threshold
-v
--verification-threshold
70
-o
--output
result_{n}_{f}_{v}.csv
-t
--threads
-l
--language
java
--bigcloneeval
-mif
--mutationinjectionframework
.java
c
.c
.h
cpp
.cpp
.hpp
cs
csharp
.cs
py
python
.py
kt
kotlin
.kt
If you execute NIL on 250-MLOC codebase, we recommend -p option to 135.
clone检测工具nil
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号
FSE ‘21 paper implementation (preprint)
DOI of submitted version executable file of NIL is
10.5281/zenodo.4492665.NIL
NIL is a clone detector using N-gram, Inverted index, and LCS. NIL provides scalable large-variance clone detection.
Requirements
Install & Usage
git clone https://github.com/kusumotolab/NIL)cd NIL) and build NIL (./gradlew ShadowJar)java -jar ./build/libs/NIL-all.jar [options])-bceoption, the format is/path/to/file_A,start_line_A,end_line_A,/path/to/file_B,start_line_B,end_line_B.-bceoption, the format isdir_A,file_A,start_line_A,end_line_A,dir_B,file_B,start_line_B,end_line_BOptions
-s,--src-mil,--min-line6-mit,--min-token50-n,--n-gram5-p,--partition-size10-f,--filtration-threshold10-v,--verification-threshold70-o,--outputresult_{n}_{f}_{v}.csv-t,--threads-l,--languagejava-bce,--bigcloneeval-bceoption, NIL outputs result file feasible to BigCloneEval.-mif,--mutationinjectionframework-mifoption, NIL outputs nothing except for the output file name as standard output.Languages
java.javac.c,.hcpp.cpp,.hppcs,csharp.cspy,python.pykt,kotlin.ktIf you execute NIL on 250-MLOC codebase, we recommend
-poption to 135.Experiments, datasets, and baseline tools