Skip to content

Issue #13109: Kill mutation for NestedForDepthCheck-2#13240

Merged
romani merged 1 commit intocheckstyle:masterfrom
Kevin222004:Nes
Jun 18, 2023
Merged

Issue #13109: Kill mutation for NestedForDepthCheck-2#13240
romani merged 1 commit intocheckstyle:masterfrom
Kevin222004:Nes

Conversation

@Kevin222004
Copy link
Copy Markdown
Contributor

Issue #13109: Kill mutation for NestedForDepthCheck-2


Check :-

https://checkstyle.org/config_coding.html#NestedForDepth


Mutation

<mutation unstable="false">
<sourceFile>NestedForDepthCheck.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.checks.coding.NestedForDepthCheck</mutatedClass>
<mutatedMethod>&lt;init&gt;</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.experimental.MemberVariableMutator</mutator>
<description>Removed assignment to member variable max</description>
<lineContent>private int max = 1;</lineContent>
</mutation>


Explaination

Test added

Copy link
Copy Markdown
Member

@romani romani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok to merge

@romani romani merged commit 214c9f0 into checkstyle:master Jun 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants