Continuous integration/SonarQube Scanner

The Code_Health_Group/projects/Code_Health_Metrics working group maintains an integration with the static analysis code tool, SonarQube.

To use it, run "check experimental" on any extension that uses the "extension-quibble-composer" job (example). The link to the generated report will be output in the build logs for the "wmf-sonar-scanner" job.

You can read more about in this blog post.

Coming soon:


 * post a comment in gerrit with the link to the SonarQube analysis report
 * ingest code coverage from JS/PHP/Java projects
 * Other ideas: https://phabricator.wikimedia.org/project/view/3621/

The SonarLint tool is a useful complement to SonarQube, as it runs many of the same checks locally in your IDE.