Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce Slf4jLoggerDeclaration check #783

Merged
merged 23 commits into from
Oct 28, 2024

Rename test

b7621f2
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Introduce Slf4jLoggerDeclaration check #783

Rename test
b7621f2
Select commit
Loading
Failed to load commit list.
GitHub Actions / pitest completed Oct 28, 2024 in 0s

Pitest mutation testing feedback

  • Surviving mutants in this change: 2
  • Killed mutants in this change: 47
class surviving killed
🧟tech.picnic.errorprone.bugpatterns.Slf4jLoggerDeclaration 2 38
🎉tech.picnic.errorprone.bugpatterns.EmptyMethod 0 3
🎉tech.picnic.errorprone.bugpatterns.FormatStringConcatenation$ReplacementArgumentsConstructor 0 2
🎉tech.picnic.errorprone.utils.MoreASTHelpers 0 2
🎉tech.picnic.errorprone.bugpatterns.FormatStringConcatenation 0 2

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

Annotations

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

See this annotation in the file changed.

@github-actions github-actions / pitest

2 different changes can be made to line 182 without causing a test to fail

removed conditional - replaced equality check with true (covered by 3 tests RemoveConditionalMutator_EQUAL_IF)
removed call to com/google/common/base/Verify::verify (covered by 3 tests VoidMethodCallMutator)