Issue #13321: Kill mutation for SummaryJavaDocCheck-8#13318
Merged
romani merged 1 commit intocheckstyle:masterfrom Jul 2, 2023
Merged
Issue #13321: Kill mutation for SummaryJavaDocCheck-8#13318romani merged 1 commit intocheckstyle:masterfrom
romani merged 1 commit intocheckstyle:masterfrom
Conversation
Contributor
Author
|
Github, generate report |
Contributor
41 tasks
Contributor
Author
|
Github, generate report |
romani
approved these changes
Jun 28, 2023
Member
romani
left a comment
There was a problem hiding this comment.
Ok to merge if reports are clean
Contributor
Author
|
failure not relates to changes |
Contributor
Contributor
Author
|
Github, generate report |
Contributor
Member
|
@Kevin222004 , pr is ready for merge, please fix conflict. |
Contributor
Author
|
@romani done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue #13321: Kill mutation for SummaryJavaDocCheck-8
Check :-
https://checkstyle.org/checks/javadoc/summaryjavadoc.html#SummaryJavadoc
Mutation
checkstyle/config/pitest-suppressions/pitest-javadoc-suppressions.xml
Lines 934 to 941 in 8f4e75f
Explaination
isPeriodNotAtEnd is called only at
checkstyle/src/main/java/com/puppycrawl/tools/checkstyle/checks/javadoc/SummaryJavadocCheck.java
Lines 508 to 510 in 8f4e75f
know in this method as a sentence summaryVisible is passed which we get from getVisibleContent
checkstyle/src/main/java/com/puppycrawl/tools/checkstyle/checks/javadoc/SummaryJavadocCheck.java
Lines 580 to 583 in 8f4e75f
which already return string with trim
Regression :-
Diff Regression config: https://gist.githubusercontent.com/Kevin222004/61eaa69fe98585b6ee1882ca082362bc/raw/316ca02ce9fd290119d9bfc560f2b11e84a1b685/Summary.xml
Diff Regression projects: https://gist.githubusercontent.com/Kevin222004/9600f179b602d4c971bdb0a050099005/raw/360a95ed7bb60d7a0956e531199d484c4d6f6617/test-projects.properties
Report label: new-Regression-2