Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve Pitest Issues - IllegalImportCheck (3) #7856

Closed
rnveach opened this issue Mar 15, 2020 · 5 comments
Closed

Resolve Pitest Issues - IllegalImportCheck (3) #7856

rnveach opened this issue Mar 15, 2020 · 5 comments
Labels

Comments

@rnveach
Copy link
Member

rnveach commented Mar 15, 2020

Child issue of #7797 ,

"IllegalImportCheck.java.html:<td class='covered'><pre><span class='survived'> if (!result) {</span></pre></td></tr>"

@akki111singh
Copy link
Contributor

I am on it

akki111singh added a commit to akki111singh/checkstyle that referenced this issue Mar 20, 2020
@rnveach
Copy link
Member Author

rnveach commented Mar 20, 2020

Pitest is good. Branch is ok. I would actually hard code the if (true) { so as to not accidentally change more code than necessary that could affect regression.

Modules used in the config file:

Configs should be expanded to also include illegalClasses to be sure there is nothing else that could be impacting the mutation. Documentation states you should use all permutations possible for the check to cover as much as possible.

If code is removed, we need an explanation of why that is the best path. Prove it to me without a doubt.

@akki111singh
Copy link
Contributor

akki111singh commented Mar 20, 2020

@rnveach There is some misunderstanding

There were Pitest three issues for IllegalImportCheck:

This was supposed to be for the first one but by mistake I did it for third one .I talked to the person who has claimed the pitest-issue i have worked on i.e Issue #7854 , he hasn't started working yet on that issue and he agreed to shift, So should i open pull request mentioning this issue or shift all my work there?

@rnveach
Copy link
Member Author

rnveach commented Mar 20, 2020

@akki111singh move all your comments to the issue you are working on and remove them from the wrong issue. If your ready for PR then start PR on that issue you are working on but if code is removed, as I stated, we need proof that the code can be removed safely.

@strkkk
Copy link
Member

strkkk commented Dec 17, 2020

This was fixed in 24b077c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants