Issue #13321: Kill mutation for SummaryJavaDocCheck-6#13316
Merged
rdiachenko merged 1 commit intocheckstyle:masterfrom Jul 5, 2023
Merged
Issue #13321: Kill mutation for SummaryJavaDocCheck-6#13316rdiachenko merged 1 commit intocheckstyle:masterfrom
rdiachenko merged 1 commit intocheckstyle:masterfrom
Conversation
Contributor
Author
|
Github, generate report |
Contributor
Contributor
Author
|
Github, generate report |
Contributor
Author
|
Github, generate report |
41 tasks
Contributor
Contributor
Author
|
Github, generate report |
Contributor
Contributor
Contributor
Author
|
@romani minor edit in code |
Contributor
Author
|
Github, generate report |
romani
requested changes
Jun 29, 2023
src/main/java/com/puppycrawl/tools/checkstyle/checks/javadoc/SummaryJavadocCheck.java
Outdated
Show resolved
Hide resolved
Contributor
Vyom-Yadav
approved these changes
Jul 2, 2023
Member
There was a problem hiding this comment.
Ok, with the technical changes, please address the review comment by @romani
Member
|
@Kevin222004 , please fix conflict |
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-6
Check :-
https://checkstyle.org/checks/javadoc/summaryjavadoc.html#SummaryJavadoc
Mutation
checkstyle/config/pitest-suppressions/pitest-javadoc-suppressions.xml
Lines 912 to 919 in 3d8ed42
Explaination
logically this statement has written to pass ast to
getInlineTagNodeWithinHtmlElementwhen it is set toHTML_ELEMENTonly but if we remove it thengetInlineTagNodeWithinHtmlElementhas three condition 1 for HTML_ELEMENT which we don't have any issue 1 JAVADOC_INLINETAG and logic for that is already set in our methd and HTML_TAg is always under the HTML_Element so removal is not issueRegression :-
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: Final-Report-1