Skip to content

Resolve pitest for profile metrics #12333

@Kevin222004

Description

@Kevin222004

Related to #7797

kill mutation

<mutation unstable="false">
<sourceFile>JavaNCSSCheck.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.checks.metrics.JavaNCSSCheck</mutatedClass>
<mutatedMethod>isExpressionCountable</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.experimental.RemoveSwitchMutator_2</mutator>
<description>RemoveSwitch 2 mutation</description>
<lineContent>switch (parentType) {</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>JavaNCSSCheck.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.checks.metrics.JavaNCSSCheck</mutatedClass>
<mutatedMethod>isExpressionCountable</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.experimental.RemoveSwitchMutator_3</mutator>
<description>RemoveSwitch 3 mutation</description>
<lineContent>switch (parentType) {</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>JavaNCSSCheck.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.checks.metrics.JavaNCSSCheck</mutatedClass>
<mutatedMethod>isExpressionCountable</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.experimental.RemoveSwitchMutator_4</mutator>
<description>RemoveSwitch 4 mutation</description>
<lineContent>switch (parentType) {</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>JavaNCSSCheck.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.checks.metrics.JavaNCSSCheck</mutatedClass>
<mutatedMethod>isExpressionCountable</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.experimental.RemoveSwitchMutator_5</mutator>
<description>RemoveSwitch 5 mutation</description>
<lineContent>switch (parentType) {</lineContent>
</mutation>
<mutation unstable="false">
<sourceFile>JavaNCSSCheck.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.checks.metrics.JavaNCSSCheck</mutatedClass>
<mutatedMethod>isExpressionCountable</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.experimental.RemoveSwitchMutator_6</mutator>
<description>RemoveSwitch 6 mutation</description>
<lineContent>switch (parentType) {</lineContent>
</mutation>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions