Ignore all Code Smells on a project

Hello,
Is it possible to ignore all the code smells on a particular project? We just want to view Bugs, Vulnerabilities and Security Hotspots.
We’re using SQ Enterprise 8.9.1.

Regards,
Sateesh

Hello, just another user of SonarQube…

  1. Code Smell – A maintainability issue that makes your code confusing and difficult to maintain.
    Reference: Issues | SonarQube Docs

Before you do the following, maybe it is good to review with your team on the flagged issues to assess its validity and value.
Maybe you can try the following:

  1. Click on Issues to see all issues.
  2. On the left side (The filter side menu), click on “Code Smell”
  3. Click on the select all checkbox beside the “Bulk Change” button
  4. Click on “Bulk Change” and select “Resolved as false positive”
  5. Click OK
1 Like

Hi,

Another option is to remove the Code Smell rules from your Quality Profile. If you’re currently using a built-in, Sonar way profile, you won’t be able to edit it. You’ll need to first copy its contents to a new profile and then edit the result.

 
HTH,
Ann

I don’t have this option, there are false positive code smells but the open status is disabled so I can’t change it (I also don’t have the option in bulk change). Also, I can change all other fields (assigned to, tags, severity and type) just not the status.

Why?

Hi @PedroC88,

This topic has been dormant for nearly 2 years. Please create a new thread.

 
Ann