[SOLUTION] How to test JAVA code quality?
There are more than 100 tools available. I found the best among them.
curl -OL https://github.com/pmd/pmd/releases/download/pmd_releases%2F5.8.1/pmd-bin-5.8.1.zip unzip pmd-bin-5.8.1.zip pmd -d <your java src location> -R java-basic -f text
/opt/science/mycode/src -f text -rulesets java-basic,java-design