Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Next »

Exploring the TimeMachine

Wherever in a project, it is always possible to access the Time Machine functionality through the left menu.

The Time machine enables to reply the past by looking at a series of past analysis. The Time machine page is divided into 4 sections.

The custom chart

This chart represent a timeline from the first ever analysis to the last ever analysis. On this timeline will appear all the metrics that are ticked below

To change the metrics appearing on the chart, tick the metrics you are interested in and press at the bottom of the page. The chart is then regenerated with the chosen metrics.

Every event, either generated or manually entered appear on the chart as vertical doted lines.

It possible to change the default metric appearing on the chart. View the Manage Time Machine section for more details

The chosen analysis

When launching the Time Machine, Sonar displays the first snapshot ever and the last 5 events in the system.

It is possible to add snapshots to the view : snapshots can be selected either by date

or by events (only version events will be listed)

It is possible to hide a snapshot from the view by using the hide link next to the snapshot to be removed


The chosen columns do not currently have any influence on the custom chart

The metric table

On the left of this table will appear the list of all possible metrics (grouped by families) stored in the system, including the manual metrics. Each column represents a snapshot and will display the measure for the metric. At the right of the table appears a sparkline showing the evolution of the chosen snapshots.

The complexity chart

This chart compares the repartition of the classes complexity between all the chosen snapshots.

Time Machine 2.0

Since Sonar 2.11, a widget-based version of the TimeMachine exists that is fully integrated in the dashboards. Note that you can mouse over the timeline to display the different values.

Obviously, metrics to be displayed can be chosen in the settings

Since Sonar 3.0, a default TimeMachine dashboard comes out of the box :


Suppress an analysis

Whatever the reason (wrong quality profile, issue with analysis…), you have the ability to remove a snapsj This is now possible and you will be able to polish history charts :

  • No labels