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 jscpd does not detect 100% duplicated lines between identical files in different folders, even when using the --skipLocal option. The output shows only partial duplication (50%) instead of 100%.
To Reproduce
Steps to reproduce the behavior:
Create two folders: test and test_2.
Copy the same file into both folders. Example file (test_file.py):
Describe the bug
jscpd
does not detect 100% duplicated lines between identical files in different folders, even when using the--skipLocal
option. The output shows only partial duplication (50%) instead of 100%.To Reproduce
Steps to reproduce the behavior:
Create two folders:
test
andtest_2
.Copy the same file into both folders. Example file (
test_file.py
):Run the following command:
Observe the output (attached screenshot).
Expected behavior
Since both files are identical, I expected
jscpd
to report 100% duplicated lines, but instead, it detects only 50% duplication.Screenshots
Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: