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

Code Duplication is not being measured. #188

Open
davidmtamas opened this issue Nov 9, 2018 · 8 comments
Open

Code Duplication is not being measured. #188

davidmtamas opened this issue Nov 9, 2018 · 8 comments

Comments

@davidmtamas
Copy link

Describe the bug
Code duplications not shown on the Web View.

Expected behavior
I would like to see the duplications in my code. As I understood, no particular configuration is needed to see this, but please correct me if I'm wrong.

Screenshots
screenshot 2018-11-09 at 15 56 31

SonarQube environment:

  • OS: macOS 10.14.1
  • Version 7.0
@antoine20001
Copy link

+1

@salmojunior
Copy link
Contributor

salmojunior commented Mar 12, 2019

+1

There is no relation with the bug @bcolvin referenced here. That issue was already fixed and Duplication bug still exists even for LTS (Long-term Support): SonarQube 6.7.x versions

@bcolvin
Copy link
Contributor

bcolvin commented Mar 15, 2019

@salmojunior check the comments, they removed support for the way this library was recording code duplication

@jcavar
Copy link

jcavar commented Apr 19, 2019

Maybe the way forward with this is to use pmd and just parse report?
Similar as with lizard.

@gaelfoppolo
Copy link
Collaborator

Version 0.4.3 removed Duplication Code due to forward compatibility issue.
CpdMapping was removed, causing an error #195

@michallaskowski
Copy link

Hi. We are using jscpd to find duplicated code. We also have plans to integrate with an instance of SonarQube. If someone can link docs of the format, or help figure out how the challenge should be approached or some schema we would need to follow, that would be great. We would happily contribute to the plugin to bring duplication back, we are just new to Sonar.

@limfinity
Copy link

Thanks for this great extension to be able to use sonar + swift.
@gaelfoppolo are there any news here? Would love to see code duplication check functionality back. 😻

@sydowma
Copy link

sydowma commented Apr 8, 2021

I implemented the Objective-C language duplication based on this repo. https://github.com/tal-tech/sonar-swift

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

10 participants