Skip to content

fixup! Merge fixes of inner type decls, enable sorting nested types i…

Sign in for the full log view
GitHub Actions / pitest completed Dec 7, 2024 in 0s

Pitest mutation testing feedback

  • Surviving mutants in this change: 15
  • Killed mutants in this change: 84
class surviving killed
🧟tech.picnic.errorprone.experimental.bugpatterns.TypeMemberOrder 10 82
🧟tech.picnic.errorprone.utils.MoreASTHelpers 5 0
🎉tech.picnic.errorprone.experimental.bugpatterns.TypeMemberOrder$TypeMember 0 2

Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

Annotations

Check warning on line 89 in error-prone-utils/src/main/java/tech/picnic/errorprone/utils/MoreASTHelpers.java

See this annotation in the file changed.

@github-actions github-actions / pitest

5 different changes can be made to line 89 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 false (no tests cover this line RemoveConditionalMutator_EQUAL_ELSE)
removed conditional - replaced equality check with true (no tests cover this line RemoveConditionalMutator_EQUAL_IF)
removed conditional - replaced equality check with true (no tests cover this line RemoveConditionalMutator_EQUAL_IF)
replaced boolean return with true for isGeneratedConstructor (no tests cover this line BooleanTrueReturnValsMutator)

Check warning on line 207 in error-prone-experimental/src/main/java/tech/picnic/errorprone/experimental/bugpatterns/TypeMemberOrder.java

See this annotation in the file changed.

@github-actions github-actions / pitest

3 different changes can be made to line 207 without causing a test to fail

removed conditional - replaced equality check with false (covered by 18 tests RemoveConditionalMutator_EQUAL_ELSE)
removed conditional - replaced equality check with true (covered by 18 tests RemoveConditionalMutator_EQUAL_IF)
removed conditional - replaced equality check with true (covered by 18 tests RemoveConditionalMutator_EQUAL_IF)

Check warning on line 208 in error-prone-experimental/src/main/java/tech/picnic/errorprone/experimental/bugpatterns/TypeMemberOrder.java

See this annotation in the file changed.

@github-actions github-actions / pitest

A change can be made to line 208 without causing a test to fail

replaced int return with 0 for getBodyStartPos (no tests cover this line PrimitiveReturnsMutator)

Check warning on line 95 in error-prone-experimental/src/main/java/tech/picnic/errorprone/experimental/bugpatterns/TypeMemberOrder.java

See this annotation in the file changed.

@github-actions github-actions / pitest

3 different changes can be made to line 95 without causing a test to fail

removed conditional - replaced equality check with false (covered by 18 tests RemoveConditionalMutator_EQUAL_ELSE)
removed conditional - replaced equality check with false (covered by 12 tests RemoveConditionalMutator_EQUAL_ELSE)
removed conditional - replaced equality check with false (covered by 10 tests RemoveConditionalMutator_EQUAL_ELSE)

Check warning on line 96 in error-prone-experimental/src/main/java/tech/picnic/errorprone/experimental/bugpatterns/TypeMemberOrder.java

See this annotation in the file changed.

@github-actions github-actions / pitest

A change can be made to line 96 without causing a test to fail

replaced return value with null for matchClass (no tests cover this line NullReturnValsMutator)

Check warning on line 259 in error-prone-experimental/src/main/java/tech/picnic/errorprone/experimental/bugpatterns/TypeMemberOrder.java

See this annotation in the file changed.

@github-actions github-actions / pitest

A change can be made to a lambda on line 259 without causing a test to fail

removed conditional - replaced equality check with false in 1st lambda in sortTypeMembers (covered by 18 tests RemoveConditionalMutator_EQUAL_ELSE)

Check warning on line 100 in error-prone-experimental/src/main/java/tech/picnic/errorprone/experimental/bugpatterns/TypeMemberOrder.java

See this annotation in the file changed.

@github-actions github-actions / pitest

A change can be made to line 100 without causing a test to fail

removed conditional - replaced equality check with false (covered by 18 tests RemoveConditionalMutator_EQUAL_ELSE)