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
Pitest: add new mutator REMOVE_CONDITIONALS #6320
Comments
…LS in UnusedLocalVariableCheck
…LS in UnusedLocalVariableCheck
…LS in UnusedLocalVariableCheck
…LS in UnusedLocalVariableCheck
…LS in UnusedLocalVariableCheck
…LS in UnusedLocalVariableCheck
…LS in UnusedLocalVariableCheck
…LS in UnusedLocalVariableCheck
…LS in UnusedLocalVariableCheck
…LS in UnusedLocalVariableCheck
…LS in UnusedLocalVariableCheck
…LS in UnusedLocalVariableCheck
…LS in UnusedLocalVariableCheck
@rnveach should this issue be closed? Will there be more PR? |
Mutator is not completely finished until suppression list is resolved. If it won't be done as part of this issue, then we need a new issue to cover it. |
All the mutations in 3ef61de#diff-4e0a49a8be36cb3b594f01212755dcf16d2f4fc701ded58ee7404f7180ed958fR148 have been addressed, mutator has also been added to each profile (PRs open). PRs for resolving the suppression list have been linked to #11720 and PRs for adding the mutator have been linked to #11719 |
Please show proof via CLI output on latest master (use |
@nick-mancuso
|
110 matches, every profile contains <mutator>REMOVE_CONDITIONALS_EQUAL_ELSE</mutator>
<mutator>REMOVE_CONDITIONALS_EQUAL_IF</mutator>
<mutator>REMOVE_CONDITIONALS_ORDER_ELSE</mutator>
<mutator>REMOVE_CONDITIONALS_ORDER_IF</mutator> 27 profiles addressed (excluding |
confirmed, all activated except for gui and indentation - it is expected. |
This is not an unstable mutator, just disabled by default.
http://pitest.org/quickstart/mutators/#REMOVE_CONDITIONALS
Please note:
Report with only new mutator added, and others disabled: http://rveach.no-ip.org/checkstyle/regression/pitest-reports/30/
This mutator increased the number of timeouts by 6x. And increased the number of memory errors by 93.
Every profile requires 10-15 percent of mutations to be killed, so adding this mutator will take some work. It might be recommended to work by profile instead of doing the entire mutator at once.
The text was updated successfully, but these errors were encountered: