You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
In some cases - when the entire file is 100% a copy and pasted segment of code. JSCPD is not detecting them, no matter the settings that are being used.
To Reproduce
Steps to reproduce the behavior:
Compare file hunk_3_additions.txt to file KafkaStreams.txt (rename them both to .java first)
Describe the bug
In some cases - when the entire file is 100% a copy and pasted segment of code. JSCPD is not detecting them, no matter the settings that are being used.
To Reproduce
Steps to reproduce the behavior:
{
"ignore": ["node_modules/", "dist/", ".jscpd.json", "package.json", "package-lock.json"],
"minTokens": 40,
"minLines": 1,
"reporters": ["html", "csv"],
"skipLocal": true,
"output": "reports/",
"path": ["./src", "./cmp"]
}
jscpd --pattern "*.java"
Expected behavior
These files should be detected as copied and pasted code segments
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
The compared file was obtained by taking them from a github .patch file and parsing them from the hungs.
KafkaStreams.txt
hunk_3_additions.txt
The text was updated successfully, but these errors were encountered: