Hi Piotr,Currently, we employ several static analysis tools in the various oVirt projects.In oVirt-Engine:1. We use checkstyle at build time with several standard checks, and a couple implemented by project members2. FindBugs is run by a Jenkins job: http://jenkins.ovirt.org/view/All/job/ovirt_engine_find_bugs/3. Animal Sniffer is used to ensure we don't break JDK6 compatibility on GWT-compiled modules (should probably be removed since the last GWT upgrade, BTW), also as a Jenkins job: http://jenkins.ovirt.org/job/ovirt_engine_animal_sniffer_check/4. pylint is used to check the python parts: http://jenkins.ovirt.org/view/ovirt_engine/job/ovirt_engine_pylint_gerrit/In VDSM, we use pep8 as part of the build.Personally, I've heard about Sonar Qube, but never used it.Can you share some experience?How much "noise" does it produce?-AllonFrom: "Piotr Kliczewski" <piotr.kliczewski@gmail.com>
To: infra@ovirt.org
Sent: Sunday, September 29, 2013 7:00:58 PM
Subject: Static analysis for oVirt_______________________________________________All,Is there static analysis tool used for oVirt code base?There is interesting tool called Sonar: http://www.sonarqube.org/. It integrates with Jenkins and provides you neat dashboard that will let you understand code quality. This tool supports many languages including Java and Python.Thanks,Piotr Kliczewski
Infra mailing list
Infra@ovirt.org
http://lists.ovirt.org/mailman/listinfo/infra