Skip to content

Introduce TypeMemberOrder bug checker #652

Introduce TypeMemberOrder bug checker

Introduce TypeMemberOrder bug checker #652

Triggered via pull request July 8, 2023 17:52
Status Success
Total duration 33s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

openssf-scorecard.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 warnings
A change can be made to line 144 without causing a test to fail: error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/MemberOrdering.java#L144
replaced return value with null for replaceIncludingComments (0 tests run NullReturnValsMutator)
A change can be made to line 143 without causing a test to fail: error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/MemberOrdering.java#L143
removed conditional - replaced equality check with false (7 tests run RemoveConditionalMutator_EQUAL_ELSE)
A change can be made to line 146 without causing a test to fail: error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/MemberOrdering.java#L146
removed conditional - replaced equality check with false (7 tests run RemoveConditionalMutator_EQUAL_ELSE)
A change can be made to line 105 without causing a test to fail: error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/MemberOrdering.java#L105
removed conditional - replaced equality check with true (7 tests run RemoveConditionalMutator_EQUAL_IF)
A change can be made to line 163 without causing a test to fail: error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/MemberOrdering.java#L163
removed conditional - replaced comparison check with false (3 tests run RemoveConditionalMutator_ORDER_ELSE)
A change can be made to a lambda on line 163 without causing a test to fail: error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/MemberOrdering.java#L163
removed conditional - replaced equality check with false in 2nd lambda in replaceIncludingComments (3 tests run RemoveConditionalMutator_EQUAL_ELSE)
2 different changes can be made to a lambda on line 213 without causing a test to fail: error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/MemberOrdering.java#L213
removed conditional - replaced equality check with true in 1st lambda in getStartTokenization (5 tests run RemoveConditionalMutator_EQUAL_IF) replaced Integer return value with 0 for 1st lambda in getStartTokenization (5 tests run EmptyObjectReturnValsMutator)
A change can be made to line 156 without causing a test to fail: error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/MemberOrdering.java#L156
replaced return value with null for replaceIncludingComments (0 tests run NullReturnValsMutator)
2 different changes can be made to line 155 without causing a test to fail: error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/MemberOrdering.java#L155
changed conditional boundary (3 tests run ConditionalsBoundaryMutator) removed conditional - replaced comparison check with false (3 tests run RemoveConditionalMutator_ORDER_ELSE)