-
Notifications
You must be signed in to change notification settings - Fork 39
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 TypeMemberOrder
bug checker
#636
base: master
Are you sure you want to change the base?
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
00eebf3
to
ebb9041
Compare
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed. |
Verifying that the whitespace is untouched maybe a bit harder than I thought because I looked into Indentation of replaced code might cause some challenge. |
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed. |
ca7ada8
to
11816d9
Compare
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There were some imports from ASTHelpers
that we usually do not statically import :).
Added a commit! The setup looks nice, didn't get till the end, but already flushing my comments 😄.
error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/MemberOrdering.java
Outdated
Show resolved
Hide resolved
error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/MemberOrdering.java
Outdated
Show resolved
Hide resolved
error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/MemberOrdering.java
Outdated
Show resolved
Hide resolved
error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/MemberOrdering.java
Outdated
Show resolved
Hide resolved
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed. |
error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/MemberOrdering.java
Outdated
Show resolved
Hide resolved
(Okay apparently I had to rebuild, the test locally passed 😄, will take a look).
@benhalasi I would add a testcase with an annotation in that case 😉 .
When using the suppression for |
Kudos, SonarCloud Quality Gate passed! |
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed. |
I reverted the commit as I'd need some more time to properly fix this. I'm wondering however, maybe we should use a different method altogether. In the |
2fcedcd
to
291a517
Compare
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed. |
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed. |
1 similar comment
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed. |
error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/MemberOrdering.java
Outdated
Show resolved
Hide resolved
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed. |
To include comments, we can use |
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed. |
ee2cb5e
to
b0a23ba
Compare
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed. |
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed. |
Thanks oxkitsune for the Apart from the minor questions below, the only big thing to tackle is verifying that this checker reserves whitespaces or deciding that we don't verify it. |
error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/MemberOrdering.java
Outdated
Show resolved
Hide resolved
error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/MemberOrdering.java
Outdated
Show resolved
Hide resolved
error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/MemberOrdering.java
Outdated
Show resolved
Hide resolved
error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/MemberOrdering.java
Outdated
Show resolved
Hide resolved
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed. |
f84a759
to
47e27eb
Compare
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed. |
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed. |
dc1f77b
to
0bc5f94
Compare
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed. |
Quality Gate passedIssues Measures |
/integration-test |
1 similar comment
/integration-test |
It's not working as this check is in the experimental module 😬. So we will need to tweak something, or to run it locally 😄 @benhalasi. |
#595
Suggested commit message