Issue #13321: Kill mutation for JavadocMethod-7#13342
Conversation
|
Github, generate report |
|
Github, generate report |
52722d2 to
ad14bb7
Compare
|
@Kevin222004 what do we need to do to get this PR out of draft mode? |
3355bad to
2919a5a
Compare
|
Github, generate report |
|
Github, generate report |
|
Github, generate report |
|
@Kevin222004 , please update Checker suppression and convert PR to ready for review. This is good example how we follow pitest to remove extra code in non AST based checks if regression can not find anything. This PR is referencing old issue, it is ok. I put this PR as example to #13999 |
|
hmm, unrelated pitest: |
|
I am looking on that #13342 (comment) |
|
In my local no new surviving is found so probably it will pass as it is re-run |
nrmancuso
left a comment
There was a problem hiding this comment.
Provided explanation is incorrect, we use the column number from the collection of tags in a bunch of places. Examples:
I see no real evidence that this mutation can't be killed by test input.
However, I am good to merge this update; we have a bunch of clean regression tests, and potential ROI for finding some obscure test case in probably not worth it.
Issue #13321: Kill mutation for JavadocMethod-7
Check :-
https://checkstyle.org/checks/javadoc/javadocmethod.html#JavadocMethod
Mutation
checkstyle/config/pitest-suppressions/pitest-javadoc-suppressions.xml
Lines 147 to 163 in d4b1aec
Explaination
no argsCurlyMatcher will execute and add the
@inheritdocin tags list.getMethodsTag is called by only checkComment method in which all the condition in if and else use only ast.getline no not tag's coloum is used any where which we make it to 0
so their is no such use of tag column here
Regression :-
Diff Regression config: https://gist.githubusercontent.com/Kevin222004/df2ff7a8f9969bb2c68d7251a97ffa8b/raw/6a4e81a624fa36483f23b0adcf1fc513ca6df350/JavadocMethod.xml
Diff Regression projects: https://gist.githubusercontent.com/Kevin222004/c16e31ce9283effe5b7ca057999d1b58/raw/b7eda4dd43b3b3c0d9eeba3030e1a22993123b04/github-action-projects2.properties
Report label: Project-list-3