tools.pdt Plugin SonarQube45

SonarQube results analysis for tools.pdt

SonarQube is a widely-used source code analyzer .

You can learn more about this module on its documentation page on the project wiki.


Size metrics

SonarQube identified:

  • 307589 lines of code and 146676 statements,
  • 2625 files and 24612 functions.

The overall complexity (cyclomatic number) is 77017:

  • Average complexity for files is 29.3
  • Average complexity for classes is 22.1
  • Average complexity for functions is 3.1


There are 67836 lines of comments, which makes a comment rate of 18.1%.

There are 12033 public API artefacts (public classes, interfaces, methods, constructors, annotations and attributes), including 7144 artefacts undocumented. The ratio of public API documentation is 40.6%.


There are 23198 duplicated lines, 1168 duplicated blocks and 454 duplicated files. The overall density of duplicate lines is 4.8.

Sqale technical debt

Sqale rating for the whole application is A (1), for a technical debt ratio of 5.7. The Sqale index (overall Sqale technical debt) is 521836.


Test coverage for the full application is 29.8%. There are 16268 unit tests identified. Line test coverage is 31% and branch test coverage is 27.2%.

Violations (issues)

SonarQube returned a total of 16961 violations to checked rules, excluding Minor and Info severities. The severity repartition is as follows:

  • 0 issues with priority BLOCKER,
  • 402 issues with priority CRITICAL,
  • 11927 issues with priority MAJOR
  • 3823 issues with priority MINOR
  • 809 issues with priority INFO.

Note that the SonarQube API returns only 10 000 issues at most in each category to prevent memory overflows.

16961 issues are in an open state, and NA issues unassigned.

This plot shows the repartition of violations according to their severity, from Blocker to Info.


The visualisations on this page can be exported and easily reused on an external web site. You can find more information on iframes and pictures reuse in the project's wiki. Remember to change the server name in the code samples provided.

Summary of main SonarQube metrics (HTML)

<iframe src="http://server/projects/tools.pdt/SonarQube45/sonarqube_summary.html" frameborder="0" style="width: 100%; height: 350px"></iframe>

Summary of SonarQube violations (HTML)

<iframe src="http://server/projects/tools.pdt/SonarQube45/sonarqube_violations.html" frameborder="0" style="width: 100%; height: 350px"></iframe>

Pie chart of checked and broken rules (HTML)

<iframe src="http://server/projects/tools.pdt/SonarQube45/sonarqube_violations_pie.html" frameborder="0" style="width: 100%; height: 350px"></iframe>

Page generated by Alambic 3.3.3-dev on Fri Oct 18 08:20:57 2019.