tools.andmore Plugin SonarQube45



SonarQube results analysis for tools.andmore


SonarQube is a widely-used source code analyzer .

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


Metrics

Size metrics

SonarQube identified:

  • 236897 lines of code and 112366 statements,
  • 1631 files and 13992 functions.

The overall complexity (cyclomatic number) is 50297:

  • Average complexity for files is 30.8
  • Average complexity for classes is 23.5
  • Average complexity for functions is 3.6

Documentation

There are 58960 lines of comments, which makes a comment rate of 19.9%.

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

Duplication

There are 10612 duplicated lines, 573 duplicated blocks and 222 duplicated files. The overall density of duplicate lines is 2.7.

Sqale technical debt

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

Test

Test coverage for the full application is 65.9%. There are 613 unit tests identified. Line test coverage is 69% and branch test coverage is 42.1%.


Violations (issues)

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

  • 6 issues with priority BLOCKER,
  • 473 issues with priority CRITICAL,
  • 11516 issues with priority MAJOR
  • 6246 issues with priority MINOR
  • 493 issues with priority INFO.

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

18734 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.


Downloads

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.andmore/SonarQube45/sonarqube_summary.html" frameborder="0" style="width: 100%; height: 350px"></iframe>

Summary of SonarQube violations (HTML)

<iframe src="http://server/projects/tools.andmore/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.andmore/SonarQube45/sonarqube_violations_pie.html" frameborder="0" style="width: 100%; height: 350px"></iframe>

Page generated by Alambic 3.3.3-dev on Sat Jul 20 07:23:16 2019.