Pitest mutation testing feedback
- Surviving mutants in this change: 38
- Killed mutants in this change: 71
class | surviving | killed |
---|---|---|
🧟tech.picnic.errorprone.guidelines.bugpatterns.TestHelperSourceFormat |
31 | 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 104 without causing a test to fail
replaced return value with Optional.empty for joinConstantSourceCodeLines (no tests cover this line EmptyObjectReturnValsMutator)
github-actions / pitest
A change can be made to line 59 without causing a test to fail
removed conditional - replaced equality check with true (covered by 1 tests RemoveConditionalMutator_EQUAL_IF)
github-actions / pitest
2 different changes can be made to line 91 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 53 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 97 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 243 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 a lambda on line 284 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
2 different changes can be made to line 258 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 184 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 208 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 186 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 283 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 253 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 246 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 174 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 166 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 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
2 different changes can be made to line 222 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 238 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 237 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 200 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 208 without causing a test to fail
removed conditional - replaced equality check with false (no tests cover this line RemoveConditionalMutator_EQUAL_ELSE)
github-actions / pitest
A change can be made to line 161 without causing a test to fail
replaced return value with null for flagFormattingIssues (covered by 2 tests NullReturnValsMutator)
github-actions / pitest
2 different changes 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)
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 206 without causing a test to fail
removed conditional - replaced equality check with false (covered by 2 tests RemoveConditionalMutator_EQUAL_ELSE)