Skip to content

Issue #13501: Kill mutation for JavadocTagContinuationIndentationCheck#13572

Merged
romani merged 1 commit intocheckstyle:masterfrom
Kevin222004:JavadocTagContinuationIndentationCheck1
Aug 21, 2023
Merged

Issue #13501: Kill mutation for JavadocTagContinuationIndentationCheck#13572
romani merged 1 commit intocheckstyle:masterfrom
Kevin222004:JavadocTagContinuationIndentationCheck1

Conversation

@Kevin222004
Copy link
Copy Markdown
Contributor

@Kevin222004 Kevin222004 commented Aug 20, 2023

Issue #13501: Kill mutation for JavadocTagContinuationIndentationCheck


Check

https://checkstyle.org/checks/javadoc/javadoctagcontinuationindentation.html#JavadocTagContinuationIndentation


Mutation

<mutation unstable="false">
<sourceFile>JavadocTagContinuationIndentationCheck.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocTagContinuationIndentationCheck</mutatedClass>
<mutatedMethod>getAllNewlineNodes</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.experimental.ArgumentPropagationMutator</mutator>
<description>replaced call to com/puppycrawl/tools/checkstyle/utils/JavadocUtil::getNextSibling with argument</description>
<lineContent>while (JavadocUtil.getNextSibling(node) != null) {</lineContent>
</mutation>


Explaination

Test added

@Kevin222004
Copy link
Copy Markdown
Contributor Author

Github, generate report

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 if reports are clean

@Kevin222004
Copy link
Copy Markdown
Contributor Author

Github, generate report

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions
Copy link
Copy Markdown
Contributor

@romani
Copy link
Copy Markdown
Member

romani commented Aug 20, 2023

@Kevin222004 , CI is red

@romani
Copy link
Copy Markdown
Member

romani commented Aug 21, 2023

Rebased

@romani romani force-pushed the JavadocTagContinuationIndentationCheck1 branch from 63e374c to 0574414 Compare August 21, 2023 03:52
@romani
Copy link
Copy Markdown
Member

romani commented Aug 21, 2023

@Kevin222004 Kevin222004 force-pushed the JavadocTagContinuationIndentationCheck1 branch from 0574414 to 86966ea Compare August 21, 2023 15:45
@Kevin222004
Copy link
Copy Markdown
Contributor Author

@romani done test added

I have done some mistake while evaluating this

@romani romani merged commit 1310715 into checkstyle:master Aug 21, 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.

3 participants