Issue #13672: Kill mutation for JavadocMissingLeadingAsteriskCheck#13663
Merged
romani merged 1 commit intocheckstyle:masterfrom Sep 6, 2023
Merged
Conversation
Contributor
Author
|
Github, generate report |
Contributor
Contributor
Author
|
Github, generate report |
Contributor
Member
|
@Kevin222004 , do you ready to convert this from draft to ready for review ? |
aaa4542 to
33d57a1
Compare
29 tasks
Member
|
Spelling is failing in all PRs, ignore it for some time |
Vyom-Yadav
approved these changes
Sep 5, 2023
Member
Vyom-Yadav
left a comment
There was a problem hiding this comment.
LGTM!
I checked with a couple of test cases. Only WS and TEXT can be empty, afaik. We skip WS nodes so only TEXT remains and the condition CommonUtil.isBlank(detailNode.getText()) can only be true for it.
33d57a1 to
5fab89a
Compare
Member
|
rebased |
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 #13672: Kill mutation for JavadocMissingLeadingAsteriskCheck
Check :-
https://checkstyle.org/checks/javadoc/javadocmissingleadingasterisk.html
Mutation
checkstyle/config/pitest-suppressions/pitest-javadoc-suppressions.xml
Lines 264 to 271 in 08814f2
Exaplaination
I have tried various ways but whenever the asterisk is missing means the line is blank then that token is always a JavadocTokenTypes.TEXT
Regression:-
Report-1 :- https://checkstyle-diff-reports.s3.us-east-2.amazonaws.com/aaa4542_2023215322/reports/diff/index.html
Report-2 :- https://checkstyle-diff-reports.s3.us-east-2.amazonaws.com/aaa4542_2023082849/reports/diff/index.html
Diff Regression config: https://gist.githubusercontent.com/Kevin222004/a40a9f4ddbfed0d1fcb9ab6edf5ff597/raw/f8160ac02488ec6a3d342369b47aa51784e41ae8/JavadocMissingLeadingAsterisk.xml
Diff Regression projects: https://gist.githubusercontent.com/Kevin222004/21e3934e85f802e2fbd48af06d122364/raw/604256badd733d8568064f371d55657c04b00dfd/test-projects-2.properties
Report label: Regression-2