Skip to content

Introduce TypeMemberOrder bug checker #3917

Introduce TypeMemberOrder bug checker

Introduce TypeMemberOrder bug checker #3917

Triggered via pull request December 4, 2024 08:19
Status Success
Total duration 2m 40s
Artifacts

sonarcloud.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 warnings
3 different changes can be made to line 103 without causing a test to fail: error-prone-experimental/src/main/java/tech/picnic/errorprone/experimental/bugpatterns/TypeMemberOrder.java#L103
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)
A change can be made to a lambda on line 267 without causing a test to fail: error-prone-experimental/src/main/java/tech/picnic/errorprone/experimental/bugpatterns/TypeMemberOrder.java#L267
removed conditional - replaced equality check with false in 1st lambda in sortTypeMembers (covered by 18 tests RemoveConditionalMutator_EQUAL_ELSE)
A change can be made to line 108 without causing a test to fail: error-prone-experimental/src/main/java/tech/picnic/errorprone/experimental/bugpatterns/TypeMemberOrder.java#L108
removed conditional - replaced equality check with false (covered by 18 tests RemoveConditionalMutator_EQUAL_ELSE)
3 different changes can be made to line 215 without causing a test to fail: error-prone-experimental/src/main/java/tech/picnic/errorprone/experimental/bugpatterns/TypeMemberOrder.java#L215
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)