Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The tokens field in duplicates is always zero #606

Open
hancao97 opened this issue Sep 25, 2023 · 1 comment
Open

The tokens field in duplicates is always zero #606

hancao97 opened this issue Sep 25, 2023 · 1 comment
Labels
bug An issue contains information about wrong behaviour

Comments

@hancao97
Copy link

hancao97 commented Sep 25, 2023

Run the following command:

jscpd src -r json -o './maintainability-report-duplicate-temp/'

The tokens field in duplicates is always zero:
image

@hancao97
Copy link
Author

As a temporary solution,do I have any way to calculate the token length of a code snippet?

@hancao97 hancao97 changed the title tokens The tokens field in duplicates is always zero Sep 25, 2023
@kucherenko kucherenko added the bug An issue contains information about wrong behaviour label May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An issue contains information about wrong behaviour
Projects
None yet
Development

No branches or pull requests

2 participants