fleetlint Policy for a fleet of repositories
v0.10
Getting started

quality/mutation-gate/java

Mutation testing runs on the core

Implements quality/mutation-gate for java.

Severityinfo
Tiers1
Stacksjava
Scoperoot
Kindoutcome
Sourcelibrary v0.7.0
Selected byfleetlint-recommended@v0.7.0

Requirement

Pitest runs on the core modules (pitest-maven or the Gradle Pitest plugin), from the task runner or a workflow.

Why

Coverage says a line ran; a surviving mutant says the tests would not notice if it were wrong.

Fix

Add pitest-maven or the info.solidsoft.pitest Gradle plugin with mutationThreshold for the core packages and run it weekly.

Agent instruction: Add a mutate target that runs the stack’s mutation tool on the core packages with a survivor threshold, and a weekly workflow that calls it.

A finding of this rule points at the file (["pom.xml", "build.gradle.kts", "build.gradle"].filter(f, file(f)) + ["pom.xml"])[0] yields.

Sources


Generated by fleetlint docs from catalog v0.7.0.