Skip to content

Introduce Slf4jLogDeclaration to canonicalize slf4j's variable's declaration #3446

Introduce Slf4jLogDeclaration to canonicalize slf4j's variable's declaration

Introduce Slf4jLogDeclaration to canonicalize slf4j's variable's declaration #3446

Triggered via pull request September 24, 2024 08:18
Status Success
Total duration 4m 44s
Artifacts

codeql.yml

on: pull_request
Matrix: analyze
Fit to window
Zoom out
Zoom in

Annotations

3 warnings
A change can be made to line 81 without causing a test to fail: error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/Slf4jLogDeclaration.java#L81
replaced return value with null for matchVariable (no tests cover this line NullReturnValsMutator)
A change can be made to line 117 without causing a test to fail: error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/Slf4jLogDeclaration.java#L117
removed call to com/google/common/base/Preconditions::checkState (covered by 3 tests VoidMethodCallMutator)
A change can be made to line 80 without causing a test to fail: error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/Slf4jLogDeclaration.java#L80
removed conditional - replaced equality check with false (covered by 3 tests RemoveConditionalMutator_EQUAL_ELSE)