devcon5io / mutation-analysis-plugin

Plugin for SonarQube to process mutation analysis results.
GNU Lesser General Public License v3.0
30 stars 17 forks source link

New Code conditions #73

Open darrenyeats opened 1 year ago

darrenyeats commented 1 year ago

Hi, I've got it working with multi-module project on PR branch. Thanks for this!

IME and per docs*, when it comes to enforcement of QG for PR branches, SonarQube uses only New Code conditions. Are there any plans for the plugin to support New Code conditions? Thanks.

*https://docs.sonarsource.com/sonarqube/9.9/analyzing-source-code/pull-request-analysis/

milindbangar79 commented 1 year ago

Hi @darrenyeats , what changes you made for plugin to work for PR branches?

Thanks Milind

darrenyeats commented 1 year ago

I've made no changes, I refer to the normal scan report in the UI that includes Overall Code metrics (including Mutation testing provided by this plugin).

But only New Code conditions are picked up for a PR Quality Gate.

milindbangar79 commented 1 year ago

I do not see Mutation Metrics in New Code condition. is there anything required to do enable it?

darrenyeats commented 1 year ago

I believe they don't exist. That's what my original question is about.

milindbangar79 commented 1 year ago

Ok thanks

gmuecke commented 1 year ago

Hi all,

atm there are no plans for new code conditions - mainly because I don't have any spare time to do it. But I'd be more than happy to accept any contributions in that regard!

gmuecke commented 7 months ago

To answer your questions whether there are any plans: no, there aren't.

Mainly because I don't have any spare capacity for any new development - the only thing I do atm is keeping the lights on. But any contributions to add new features, such as "new code" support (if it's possible at all) is much welcomed.