Skip to content

Merge fixes of inner type decls, enable sorting nested types in one-go

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

Pitest mutation testing feedback

  • Surviving mutants in this change: 11
  • Killed mutants in this change: 82
class surviving killed
🧟tech.picnic.errorprone.experimental.bugpatterns.TypeMemberOrder 11 81
🎉tech.picnic.errorprone.experimental.bugpatterns.TypeMemberOrder$TypeMember 0 1

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

Annotations

Check warning on line 103 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 103 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 104 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 104 without causing a test to fail

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

Check warning on line 267 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 267 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 108 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 108 without causing a test to fail

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

Check warning on line 215 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 215 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 272 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 272 without causing a test to fail

removed call to toString in 1st lambda in sortTypeMembers (covered by 18 tests RemoveChainedCallsMutator)

Check warning on line 216 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 216 without causing a test to fail

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