Update all tests to use text blocks #54
Pitest mutation testing feedback
- Surviving mutants in this change: 32
- Killed mutants in this change: 56
class | surviving | killed |
---|---|---|
🧟tech.picnic.errorprone.bugpatterns.ErrorProneTestHelperSourceFormat |
30 | 50 |
🧟tech.picnic.errorprone.bugpatterns.util.SourceCode |
2 | 6 |
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.
Annotations
github-actions / pitest
2 different changes can be made to a lambda on line 314 without causing a test to fail
replaced boolean return with false for 1st lambda in isJabelEnabled (no tests cover this line BooleanFalseReturnValsMutator)
replaced boolean return with true for 1st lambda in isJabelEnabled (no tests cover this line BooleanTrueReturnValsMutator)
github-actions / pitest
A change can be made to line 209 without causing a test to fail
removed conditional - replaced comparison check with true (covered by 2 tests RemoveConditionalMutator_ORDER_IF)
github-actions / pitest
A change can be made to line 183 without causing a test to fail
removed conditional - replaced equality check with true (covered by 4 tests RemoveConditionalMutator_EQUAL_IF)
github-actions / pitest
A change can be made to line 247 without causing a test to fail
replaced return value with "" for suggestTextBlockIndentation (no tests cover this line EmptyObjectReturnValsMutator)
github-actions / pitest
2 different changes can be made to line 231 without causing a test to fail
removed call to replace (covered by 2 tests RemoveChainedCallsMutator)
swapped parameters 1 and 2 in call to replace (covered by 2 tests ParamSwapMutator)
github-actions / pitest
A change can be made to a lambda on line 252 without causing a test to fail
replaced return value with Optional.empty for 1st lambda in suggestTextBlockIndentation (covered by 2 tests EmptyObjectReturnValsMutator)
github-actions / pitest
A change can be made to line 175 without causing a test to fail
removed conditional - replaced equality check with true (covered by 4 tests RemoveConditionalMutator_EQUAL_IF)
github-actions / pitest
2 different changes can be made to line 230 without causing a test to fail
removed call to replace (covered by 2 tests RemoveChainedCallsMutator)
swapped parameters 1 and 2 in call to replace (covered by 2 tests ParamSwapMutator)
github-actions / pitest
2 different changes can be made to line 246 without causing a test to fail
removed conditional - replaced equality check with false (covered by 2 tests RemoveConditionalMutator_EQUAL_ELSE)
removed conditional - replaced equality check with true (covered by 2 tests RemoveConditionalMutator_EQUAL_IF)
github-actions / pitest
A change can be made to a lambda on line 255 without causing a test to fail
replaced return value with Optional.empty for 2nd lambda in suggestTextBlockIndentation (covered by 2 tests EmptyObjectReturnValsMutator)
github-actions / pitest
A change can be made to line 217 without causing a test to fail
removed conditional - replaced equality check with false (no tests cover this line RemoveConditionalMutator_EQUAL_ELSE)
github-actions / pitest
2 different changes can be made to line 216 without causing a test to fail
removed conditional - replaced equality check with false (no tests cover this line RemoveConditionalMutator_EQUAL_ELSE)
removed conditional - replaced equality check with true (no tests cover this line RemoveConditionalMutator_EQUAL_IF)
github-actions / pitest
2 different changes can be made to line 271 without causing a test to fail
removed call to substring (covered by 2 tests RemoveChainedCallsMutator)
replaced return value with Optional.empty for getIndentation (covered by 2 tests EmptyObjectReturnValsMutator)
github-actions / pitest
A change can be made to line 215 without causing a test to fail
removed conditional - replaced equality check with false (covered by 2 tests RemoveConditionalMutator_EQUAL_ELSE)
github-actions / pitest
2 different changes can be made to line 313 without causing a test to fail
replaced boolean return with false for isJabelEnabled (no tests cover this line BooleanFalseReturnValsMutator)
replaced boolean return with true for isJabelEnabled (no tests cover this line BooleanTrueReturnValsMutator)
github-actions / pitest
2 different changes can be made to line 267 without causing a test to fail
changed conditional boundary (covered by 2 tests ConditionalsBoundaryMutator)
removed conditional - replaced comparison check with false (covered by 2 tests RemoveConditionalMutator_ORDER_ELSE)
github-actions / pitest
A change can be made to line 193 without causing a test to fail
removed conditional - replaced equality check with true (covered by 4 tests RemoveConditionalMutator_EQUAL_IF)
github-actions / pitest
2 different changes can be made to a lambda on line 217 without causing a test to fail
replaced boolean return with false for 1st lambda in canUseTextBlocks (no tests cover this line BooleanFalseReturnValsMutator)
replaced boolean return with true for 1st lambda in canUseTextBlocks (no tests cover this line BooleanTrueReturnValsMutator)
github-actions / pitest
A change can be made to line 195 without causing a test to fail
removed conditional - replaced equality check with true (covered by 4 tests RemoveConditionalMutator_EQUAL_IF)
github-actions / pitest
2 different changes can be made to line 262 without causing a test to fail
removed conditional - replaced equality check with false (covered by 2 tests RemoveConditionalMutator_EQUAL_ELSE)
removed conditional - replaced equality check with true (covered by 2 tests RemoveConditionalMutator_EQUAL_IF)
github-actions / pitest
A change can be made to line 45 without causing a test to fail
removed conditional - replaced equality check with false (covered by 5 tests RemoveConditionalMutator_EQUAL_ELSE)
github-actions / pitest
A change can be made to line 51 without causing a test to fail
removed conditional - replaced equality check with true (covered by 5 tests RemoveConditionalMutator_EQUAL_IF)