Skip to content

Enable/Disable Mutation Analysis Plugin per SonarQube project #68

Description

@EiConstantin

Hello Gerald, (@gmuecke )
I have been work with your great plugin in my locally hosted SonarQube instance for a few weeks and found it quite useful.

I have now asked my admins to consider installing this plugin on our company's central SonarQube cluster and they came back with a few concerns. Since I am no expert and only briefly looked through the plugin's source code, I was wondering if you could help me out with the following concerns/questions.

Note:

  • Our central SonarQube is enterprise edition and running the latest LTS version and hosts thousands of projects.
  • My local SonarQube is community edition and running in Docker with only a few projects for testing.
  1. The plugin seems to be enabled by default for every project
  2. The plugin produces "vast" amounts of info-type logging regardless of server/project settings
  3. Performance while parsing the XML files (especially when they are from larger code bases)

I have already tested some of these concern and noticed the following:

  1. The mutation analysis seems to run regardless of whether the Java/Kotlin sensors are active on every project in a given SonarQube. (At least there are logs for every project on my local/docker hosted SonarQube [community edition], latest LTS)
  2. The amount of logs in default setting... devcon5io-mutation-analysis-plugin-generated-logs-per-scan.log
    • I attached above log file snippet as an example... if I analyze the same project twice with two different keys, where one project is enabled with mutation analysis and the other is not, then I still see all logs for each project.
  3. This one is probably not up to this plugin, since XML parsing is usually straight-forward. I guess we will have to experiment with incremental analysis and consider not enabling all mutations for all projects to reduce the XML file size and thus speed up the parsing on the SonarQube server.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions