Update all tests to use text blocks #198
Pitest mutation testing feedback
- Surviving mutants in this change: 34
- Killed mutants in this change: 71
class | surviving | killed |
---|---|---|
🧟tech.picnic.errorprone.guidelines.bugpatterns.TestHelperSourceFormat |
27 | 63 |
🧟tech.picnic.errorprone.utils.SourceCode |
7 | 6 |
🎉tech.picnic.errorprone.documentation.BugPatternTestExtractor$BugPatternTestCollector |
0 | 2 |
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.
Annotations
github-actions / pitest
A change can be made to line 72 without causing a test to fail
removed conditional - replaced equality check with true (covered by 1 tests RemoveConditionalMutator_EQUAL_IF)
github-actions / pitest
A change can be made to line 137 without causing a test to fail
replaced return value with Optional.empty for joinConstantSourceCodeLines (no tests cover this line EmptyObjectReturnValsMutator)
github-actions / pitest
2 different changes can be made to line 125 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
A change can be made to line 66 without causing a test to fail
removed conditional - replaced equality check with false (covered by 1 tests RemoveConditionalMutator_EQUAL_ELSE)
github-actions / pitest
2 different changes can be made to line 130 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
A change can be made to a lambda on line 245 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 a lambda on line 242 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
2 different changes can be made to line 257 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 183 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 207 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 185 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 173 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 252 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 165 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 220 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 221 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 line 237 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 236 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 199 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 160 without causing a test to fail
replaced return value with null for flagFormattingIssues (covered by 2 tests NullReturnValsMutator)
github-actions / pitest
A change can be made to line 207 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 206 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 261 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 205 without causing a test to fail
removed conditional - replaced equality check with false (covered by 2 tests RemoveConditionalMutator_EQUAL_ELSE)