Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 05:56 Go to next message
lea abrugena is currently offline lea abrugenaFriend
Messages: 35
Registered: October 2012
Member
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 07:32 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30461
Registered: July 2009
Senior Member
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 10:27 Go to previous message
lea abrugena is currently offline lea abrugenaFriend
Messages: 35
Registered: October 2012
Member
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: Sun Sep 22 09:51:01 GMT 2019

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

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

Back to the top