Skip to main content



      Home
Home » Newcomers » Newcomers » Sonarqube: How to ignore / skip scanning of isues on certain annotation "ex. @generated" i
Sonarqube: How to ignore / skip scanning of isues on certain annotation "ex. @generated" i [message #1748597] Fri, 25 November 2016 00:56 Go to next message
Eclipse UserFriend
We are generating java codes via EMF. We want Sonar to skip issue scanning on the codes with annotations @generated but will scan @generated NOT for both class and method level.

Is there a way to do that in SonarQube and SonarLint? Also, can it be applied in other annotation?

I understand the guidelines in the sonarqube documentation. However, we don't want to add start and end delimiters on the chunk of codes generated for a thousands of codes. We want to skip only the classes or methods that are annotated with "@generated" but not the whole file. Please let me know if that is possible in Sonarqube. Some of our codes are annotated with "@generated NOT" which should also be scanned for issues.

Please help. Thank you in advance.
Re: Sonarqube: How to ignore / skip scanning of isues on certain annotation "ex. @generated&quo [message #1748601 is a reply to message #1748597] Fri, 25 November 2016 02:32 Go to previous messageGo to next message
Eclipse UserFriend
It's probably better to ask using their forum suggestions. At http://www.sonarqube.org/get-support/ it suggests using https://groups.google.com/forum/#!forum/sonarqube
Re: Sonarqube: How to ignore / skip scanning of isues on certain annotation "ex. @generated& [message #1748752 is a reply to message #1748601] Mon, 28 November 2016 05:27 Go to previous message
Eclipse UserFriend
Thanks.
Previous Topic:Is it possible to use an external plugins directory? Unable to get dropins working.
Next Topic:Can't seem to find out how to write any code
Goto Forum:
  


Current Time: Tue Aug 05 02:02:17 EDT 2025

Powered by FUDForum. Page generated in 0.29496 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top