Skip to content

Introduce ExhaustiveRefasterTypeMigration check #1544

Introduce ExhaustiveRefasterTypeMigration check

Introduce ExhaustiveRefasterTypeMigration check #1544

Triggered via pull request December 18, 2023 16:53
Status Success
Total duration 1m 54s
Artifacts

sonarcloud.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
2 different changes can be made to line 138 without causing a test to fail: error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/ExhaustiveRefasterTypeMigration.java#L138
swapped parameters 3 and 4 in call to verify (covered by 2 tests ParamSwapMutator) removed call to com/google/common/base/Verify::verify (covered by 2 tests VoidMethodCallMutator)
A change can be made to line 104 without causing a test to fail: error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/ExhaustiveRefasterTypeMigration.java#L104
removed conditional - replaced equality check with false (covered by 2 tests RemoveConditionalMutator_EQUAL_ELSE)
2 different changes can be made to line 151 without causing a test to fail: error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/ExhaustiveRefasterTypeMigration.java#L151
swapped parameters 3 and 4 in call to verify (covered by 2 tests ParamSwapMutator) removed call to com/google/common/base/Verify::verify (covered by 2 tests VoidMethodCallMutator)
A change can be made to line 224 without causing a test to fail: error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/ExhaustiveRefasterTypeMigration.java#L224
replaced return value with null for visitMethodInvocation (covered by 2 tests NullReturnValsMutator)
2 different changes can be made to line 138 without causing a test to fail: error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/ExhaustiveRefasterTypeMigration.java#L138
swapped parameters 3 and 4 in call to verify (covered by 2 tests ParamSwapMutator) removed call to com/google/common/base/Verify::verify (covered by 2 tests VoidMethodCallMutator)
A change can be made to line 104 without causing a test to fail: error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/ExhaustiveRefasterTypeMigration.java#L104
removed conditional - replaced equality check with false (covered by 2 tests RemoveConditionalMutator_EQUAL_ELSE)
2 different changes can be made to line 151 without causing a test to fail: error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/ExhaustiveRefasterTypeMigration.java#L151
swapped parameters 3 and 4 in call to verify (covered by 2 tests ParamSwapMutator) removed call to com/google/common/base/Verify::verify (covered by 2 tests VoidMethodCallMutator)
A change can be made to line 224 without causing a test to fail: error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/ExhaustiveRefasterTypeMigration.java#L224
replaced return value with null for visitMethodInvocation (covered by 2 tests NullReturnValsMutator)