-
Notifications
You must be signed in to change notification settings - Fork 128
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
Drop Sonar integration #978
Comments
didn't even recognize that it was there ;) |
No problem from my side. We are not using it anymore. |
Hey @jponge, I'm Michael, a java dev' at Sonar, part of the small team working on our in-house static analyzers. In particular, my little (sub-)team and I are working on the Java Analyzer itself. Out of curiosity, I looked at your SonarCloud project page, and from what I can see, it seems that mainly two rules caused you a lot of pain.
I consequently have a few 2-3 questions for you, if you don't mind taking the time to answer!
Thanks for your time! The java analyzer is being shipped with 600+ rules, I feel it's sad to see you leave because of a few painful and noisy rules. Cheers, |
Hi @m-g-sonar, and thanks for reaching out. First of all and as mentioned here and in other places our decision is mainly driven by the adoption of Sonar was certainly valuable before, but it gradually became useless in our workflows.
JUnit 5 has a stylistic preference for avoiding
From what I recall it was always about not-so-obvious cases for a static analysis tool (e.g., drain-loop patterns, threading assumptions the checker cannot know about, etc). But basically what was always super annoying is that it would raise a flag "volatile access is not thread safe" (I grossly simplified) every time we'd use a
I get that and thanks again for reaching out. On the other hand I'm not sure this codebase is the sweet spot for Sonar unless heavily tuned, and we've come down to relying on more narrow tools. All the best! -- Julien |
Sonar has gradually become useless in our workflows:
volatile
) or pesky code smells (e.g. usingpublic
classes and methods with... JUnit5).I hereby propose to pull the plug. Thoughts?
/cc @cescoffier @heubeck
The text was updated successfully, but these errors were encountered: