Skip to content

Introduce `CanonicalConstantFieldName` bug checker

Sign in for the full log view
This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / pitest completed Sep 17, 2023 in 0s

Pitest mutation testing feedback

  • Surviving mutants in this change: 5
  • Killed mutants in this change: 13
class surviving killed
🧟tech.picnic.errorprone.bugpatterns.CanonicalConstantFieldName 5 13

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

Annotations

Check warning on line 85 in error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/CanonicalConstantFieldName.java

See this annotation in the file changed.

@github-actions github-actions / pitest

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

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

Check warning on line 84 in error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/CanonicalConstantFieldName.java

See this annotation in the file changed.

@github-actions github-actions / pitest

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

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

Check warning on line 100 in error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/CanonicalConstantFieldName.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

replaced boolean return with false for isVariableUpperSnakeCase (covered by 1 tests BooleanFalseReturnValsMutator)

Check warning on line 104 in error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/CanonicalConstantFieldName.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 boolean return with false for isVariableNameExcluded (covered by 1 tests BooleanFalseReturnValsMutator)

Check warning on line 96 in error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/CanonicalConstantFieldName.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

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