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 - CustomImportOrderCheck (4) #7805
Comments
I am on it |
@rnveach May I work on this. This issue has been mentioned by @wltan to @Abhishek-kumar09 |
It is possible 2 separate pitest failures could be killed with the same UT if one is found. Nothing has been provided in the other issue, so it is hard to tell if this is the case. If you are worried, there are pitests related to IllegalImportCheck that have not been touched that can be worked on. |
I understand. I will work on this. If the other issue is resolved with the same UT, I will focus on the one of the IllegalImportCheck pitests.Thanks |
@rnveach ,I have looked deep into this, modifying test cases won't help killing mutators as the two occurrences of the |
@Malintha1996 Please follow steps in #7797 (comment) , 1 by 1 and post them here as you complete them. This will help guide you in this issue and help me identify where you are stuck. I also recommend looking at how other students completed this, like #7799 . |
pitest reportSurviving mutations
As #7803 is taken, what shoud I do. May I focus on another issue (IllegalImportChek) or keep solving this. Hardcoded mutation:mutation branch - malinthar@22e5990 Regression reporthttps://malintha1996.github.io/checkstyle-tester-reports/fix-mutation-7805/diff/index.html |
@Malintha1996 The other issue hasn't provided any details and there is no guarantee they will work or finish the issue. It has been 3 days without an update. Please continue with this issue. If PR is started and shows multiple mutations can be solved, then that person will be allowed to complete. |
@rnveach Diff report does not suggest any UT that would kill the surviving mutation. The diff report was generated for all projects with 7 distinct configurations. Code analysis
if the condition is true it sets the value of samePackageDomainsRegExp which has only one use as below.
The attribute samePackageDomainsRegExp will not be used if the SAME_PACKAGE_RULE_GROUP() is not included in the |
The pitest report, branch and regression look good to me. i would avoid talking about mutations you are not doing except for mentioning killing 1 may kill another. This code is a bit more complex, so I may need more information. Are we basically caching the |
Yes. it is used under a simillar |
Then I agree with you the code needs to be changed and there is no other way to kill the mutation. Please start a PR. |
done |
Fix is merged |
Child issue of #7797 ,
checkstyle/.ci/pitest.sh
Line 80 in abf829f
The text was updated successfully, but these errors were encountered: