Skip to content

Issue #13501: Kill mutation for JavadocStyleCheck5#13579

Merged
romani merged 1 commit intocheckstyle:masterfrom
Kevin222004:JavadocStyleCheck5
Aug 22, 2023
Merged

Issue #13501: Kill mutation for JavadocStyleCheck5#13579
romani merged 1 commit intocheckstyle:masterfrom
Kevin222004:JavadocStyleCheck5

Conversation

@Kevin222004
Copy link
Copy Markdown
Contributor

@Kevin222004 Kevin222004 commented Aug 21, 2023

Issue #13501: Kill mutation for JavadocStyleCheck5


Check

https://checkstyle.org/checks/javadoc/javadocstyle.html#JavadocStyle


Mutation

<mutation unstable="false">
<sourceFile>JavadocStyleCheck.java</sourceFile>
<mutatedClass>com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocStyleCheck</mutatedClass>
<mutatedMethod>getCommentText</mutatedMethod>
<mutator>org.pitest.mutationtest.engine.gregor.mutators.experimental.NakedReceiverMutator</mutator>
<description>replaced call to java/lang/String::trim with receiver</description>
<lineContent>return builder.toString().trim();</lineContent>
</mutation>


Explaination

Test added


Regression :-


Diff Regression config: https://gist.githubusercontent.com/Kevin222004/0b07ecc7d3ca0ca403454d504707156d/raw/8c76ea8db01b4bcb565d1af9301130f7c67c3c1d/JavadocStyleCheck.xml
Diff Regression projects: https://gist.githubusercontent.com/Kevin222004/21e3934e85f802e2fbd48af06d122364/raw/604256badd733d8568064f371d55657c04b00dfd/test-projects-2.properties
Report label: Regression-1

@Kevin222004
Copy link
Copy Markdown
Contributor Author

Github, generate report

@github-actions
Copy link
Copy Markdown
Contributor

@Kevin222004 Kevin222004 marked this pull request as ready for review August 22, 2023 04:01
@romani romani merged commit 8953ad5 into checkstyle:master Aug 22, 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