SonarQube 4.0 in Screenshots

by g. ann campbell|

    The team is proud to announce the release of SonarQube 4.0. It includes many exciting new features:

    • Computation of technical debt based on the SQALE model
    • Issue exclusion/inclusion, code coverage exclusion
    • Project provisioning
    • Incremental analysis
    • End of support of WAR mode
    • Native support of SSL

    Computation of technical debt based on the SQALE model

    With version 4.0, we have deprecated the Technical Debt plugin, and moved the finer-grained basic technical debt computations from the commercial SQALE plugin into SonarQube's core. This brings several UI changes. First, the primary Issue-tracking widget changes, replacing the compliance score with the total cost in days to address all issues:

    The number of days shown is the estimated average time to fix each issue, which has also been added to the issue detail:

    Additionally, the technical debt pyramid widget is now available as well:

    It offers a breakdown of exactly where your technical debt lies, and the pyramid is conceptual, rather than literal. The most basic, fundamental, fix-this-first items are at the bottom. The light blue band indicates the technical debt in the current area, with the dark blue showing the accumulated total debt as you move up the pyramid.

    Issue exclusion/inclusion, code coverage exclusion

    With version 4.0, we also deprecated the Switch Off Violations plugin and consolidated all exclusions into SonarQube core:

    In addition to the move, we also enhanced issue exclusion/inclusion and added code coverage exclusion.

    Project Provisioning

    Because there are often settings you'd like to configure in advance of a project's first analysis, you can now create, or provision a project in SonarQube without analyzing it. It won't have any metrics yet, but it will be fully configurable:

    Incremental analysis

    There are now three different analysis modes: full (what you've been doing all along), preview (this used to be called "dryRun"), and incremental, which limits analysis to only changed files. The use case for this is on the developer's machine, and it is the default in the newest version of the Eclipse plugin.

    End of support of WAR mode

    Building SonarQube as a WAR is no longer supported. This change was made to allow us to better focus our efforts on bringing value to the end user.

    Native support of SSL

    For the first time, SonarQube now natively supports https! See the docs for more.

    That's all, Folks!

    Time now to download the new version and try it out. But don't forget to read the installation or upgrade guide.