I am learning Java. I wrote a graphical application purely for myself, for practice. Yes, of course, I learned a lot, but. I am 100% sure that most of the code is illiterate and incorrect. And how to be? How can you spot your mistakes?
I tried FindBugs, surprisingly found almost nothing. A couple of variables that could possibly be Null. And Dead store variables.
Google Style Guide / Oracle Java Conventions, PMD, CheckStyle, Findbugs, SonarQube