[NEW RELEASE] Mutation Analysis 1.3

java
kotlin
scanner
sonarqube
coverage

(Gerald Mücke) #1

Hi everyone,

I’m happy to announce a new release v1.3 of the mutation-analysis plugin.

New Features:

  • Kotlin support. The plugin is now able to process pitest reports of Kotlin files. Further, the support includes rules and a quality profile for the new Kotlin language support in Sonar 7.3. Java and Kotlin sensors can be indiviually turned on/off. For Sonar 6.7.x only metrics are supported for Kotlin, no rules. [issue 5]

Improvements:

  • mutation related issues now contain the description provided by Pitest [issue 11]
  • mutation reports are now also searched in subdirectories [issue 3](thanks to @artsok )
  • if no report is found, it’s now possible to force coverage to 0 (instead of not creating the measure), which allows to define quality gates on mutation coverage or the lack of it [issue 13]
  • Efforts for killing mutants slightly reduced from 15min+15min to 7min+5min, gap-multiplier for missing coverage increased to 2.0 (applied to the 5min)
  • maintainability of the code slightly improved by addressing issues found by SonarQube [issue 8]
  • increased mutation score to 100% (and some shared experience about this endeavor)

Fixes:

  • non-specific rules are now marked as “Bug” instead of “Code Smell” and are deprecated [issue 1]
  • documentation has been moved to GitHub Wiki

Compatibility

unchanged, it’s compatible with versions >6.7.x and 7.x. (built against the 6.7 API), also tested on 7.3

Release Notes & Download

Release Notes: https://github.com/devcon5io/mutation-analysis-plugin/releases/tag/v1.3
Download: https://github.com/devcon5io/mutation-analysis-plugin/releases/download/v1.3/mutation-analysis-plugin-1.3.jar

SonarCloud

Quality Gate Status


(G Ann Campbell) #2

And added to the Marketplace.

:slight_smile:
Ann