- the recently inspected projects
- the projects with blocker and critical issues
- the projects with bad coverage on added/changed code within the 10 past days
The search query can then be saved as a filter to be displayed on dashboards.
The Measures service can be accessed through the top bar:
For versions prior to 3.4, see Filters.
To add criteria to the search query, click on More criteria and select a criterion. As many criteria as you wish can be added.
Drop-down list to select the types of component to search for: projects, views, files, developers, etc.
Same as the Date criterion but a period has to be set instead of a date.
|Alert||Filter by alert level (Error | Warning | Ok).|
Available since SonarQube 3.7.
Components of project
If the What? criterion is empty, only direct children will be displayed.
Filters components based on the last build analysis date.
If checked, only components flagged as favouritesfavorites will be displayed.
Filters components whose key matches key contains a given pattern
Drop-down list to select the languages to filter on.
|Metric||Filters components to those where a specific measure is greater than or less than a certain threshold.|
Up to three "Metric" criteria can be defined.
Filters components whose name contains a given string.
Then by clicking on Change Columns (for list display) or Change Treemap (for treemap display), display details can be configured: list of measures (value or variation), ordering of the columns, sort, etc.
Note that variations cannot be displayed at file level (as all previous data are purged at file level during an analysis).
By default, data are also purged at package/module level. Thus variations cannot be displayed at this level by default. To change this behavior, log in as an a System administrator, go to Settings > General Settings > General > Database Cleaner and set the Clean history data of directories/packages propertypackages property to
Saving Search Query as Filter
Once several filters have been created, it becomes necessary to manage them: edit, copy, delete, share, flag as favouritefavorite, etc. To do so, click on the Manage link in the left menu: