Quick Search
Browse
Pages
Blog
Labels
Attachments
Mail
Advanced
What’s New
Space Directory
Feed Builder
Keyboard Shortcuts
Confluence Gadgets
Log In
Sign Up
Dashboard
Sonar
Copy Page
You are not logged in. Any changes you make will be marked as
anonymous
. You may want to
Log In
if you already have an account. You can also
Sign Up
for a new account.
This page is being edited by
.
Paragraph
Paragraph
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Preformatted
Quote
Bold
Italic
Underline
More colours
Strikethrough
Subscript
Superscript
Monospace
Clear Formatting
Bullet list
Numbered list
Outdent
Indent
Align left
Align center
Align right
Link
Table
Insert
Insert Content
Image
Link
Attachment
Symbol
Emoticon
Wiki Markup
Horizontal rule
tinymce.confluence.insert_menu.macro_desc
Info
JIRA Issue
Status
Gallery
Tasklist
Table of Contents
Other Macros
Page Layout
No Layout
Two column (simple)
Two column (simple, left sidebar)
Two column (simple, right sidebar)
Three column (simple)
Two column
Two column (left sidebar)
Two column (right sidebar)
Three column
Three column (left and right sidebars)
Undo
Redo
Find/Replace
Keyboard Shortcuts Help
<table class="wysiwyg-macro" data-macro-name="info" data-macro-parameters="icon=false|title=Table of Contents" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e2luZm86aWNvbj1mYWxzZXx0aXRsZT1UYWJsZSBvZiBDb250ZW50c30&locale=en_GB&version=2); background-repeat: no-repeat;" data-macro-body-type="RICH_TEXT"><tr><td class="wysiwyg-macro-body"><img class="editor-inline-macro" src="/plugins/servlet/confluence/placeholder/macro?definition=e3RvYzptYXhMZXZlbD0yfQ&locale=en_GB&version=2" data-macro-name="toc" data-macro-parameters="maxLevel=2"></td></tr></table><p>Dashboards provide a way to display any kind of data through widgets at different levels:</p><ul><li><a class="confluence-link" href="#GlobalDashboards" data-anchor="GlobalDashboards" data-linked-resource-default-alias="GlobalDashboards" data-base-url="http://docs.codehaus.org">Global dashboard</a>: to display information at Sonar instance level (available since Sonar 3.1).</li><li><a class="confluence-link" href="#ProjectDashboards" data-anchor="ProjectDashboards" data-linked-resource-default-alias="ProjectDashboards" data-base-url="http://docs.codehaus.org">Project dashboard</a>: to display information at project level.</li></ul><div><h1>Overview</h1><p>Concepts and mechanisms describe below apply for both global and project dashboards.</p><h2>Creating Dashboard</h2><p>Logged users can create as many dashboards as they need.</p><p><img class="confluence-embedded-image" src="/download/attachments/231080021/dashboard-menu.png?version=1&modificationDate=1369232311151" data-image-src="/download/attachments/231080021/dashboard-menu.png?version=1&modificationDate=1369232311151" data-linked-resource-id="231375160" data-linked-resource-type="attachment" data-linked-resource-default-alias="dashboard-menu.png" data-base-url="http://docs.codehaus.org" data-linked-resource-container-id="231080021" title="null > dashboard-menu.png"></p><p>Click on <strong>Manage dashboards</strong> and fill the form to create a new dashboard:</p><p><img class="confluence-embedded-image" src="/download/attachments/231080021/creating-new-dashboard.png?version=1&modificationDate=1369232311150" data-image-src="/download/attachments/231080021/creating-new-dashboard.png?version=1&modificationDate=1369232311150" data-linked-resource-id="231375159" data-linked-resource-type="attachment" data-linked-resource-default-alias="creating-new-dashboard.png" data-base-url="http://docs.codehaus.org" data-linked-resource-container-id="231080021" title="null > creating-new-dashboard.png"></p><p>The newly created dashboard will appear immediately in the left navigation bar and and can be customised by adding widgets.</p><p>When administrators create a dashboard, they have the ability to share it. This means that this dashboard can be followed by authenticated users and can also be used as a default dashboard. This is done by ticking <strong>Shared</strong>:</p><p><img class="confluence-embedded-image" src="/download/attachments/231080021/sonar-shared-dashboard.png?version=1&modificationDate=1369232311286" data-image-src="/download/attachments/231080021/sonar-shared-dashboard.png?version=1&modificationDate=1369232311286" data-linked-resource-id="231375172" data-linked-resource-type="attachment" data-linked-resource-default-alias="sonar-shared-dashboard.png" data-base-url="http://docs.codehaus.org" data-linked-resource-container-id="231080021" title="null > sonar-shared-dashboard.png" data-element-title="sonar-shared-dashboard.png"></p><h2>Customizing Dashboard</h2><p>The content of a dashboard can be fully customized.</p><h3>Changing Layout</h3><p>To change the layout of a dashboard (e.g. three columns instead of two), click on <strong>Configure widgets</strong> and then pick a layout on the right hand side:</p><p><img class="confluence-embedded-image" src="/download/attachments/231080021/changing-layout.png?version=1&modificationDate=1369232311150" data-image-src="/download/attachments/231080021/changing-layout.png?version=1&modificationDate=1369232311150" data-linked-resource-id="231375158" data-linked-resource-type="attachment" data-linked-resource-default-alias="changing-layout.png" data-base-url="http://docs.codehaus.org" data-linked-resource-container-id="231080021" title="null > changing-layout.png"></p><h3>Adding a Widget</h3><p>To add a widget, click on <strong>Configure widgets</strong>. The list of available widgets is shown at the top of the page. Click on <strong>Add widget</strong> to add the desired widget:</p><p><img class="confluence-embedded-image" width="800" src="/download/attachments/231080021/filter-widgets.png?version=1&modificationDate=1369232311098" data-image-src="/download/attachments/231080021/filter-widgets.png?version=1&modificationDate=1369232311098" data-linked-resource-id="231375139" data-linked-resource-type="attachment" data-linked-resource-default-alias="filter-widgets.png" data-base-url="http://docs.codehaus.org" data-linked-resource-container-id="231080021" title="null > filter-widgets.png"></p><h3>Customizing a Widget</h3><p>Some widgets can be customized. To change their properties, click on <strong>Edit</strong> on the desired widget:</p><p><img class="confluence-embedded-image" width="500" src="/download/attachments/231080021/edit-widget.png?version=1&modificationDate=1369232311099" data-image-src="/download/attachments/231080021/edit-widget.png?version=1&modificationDate=1369232311099" data-linked-resource-id="231375140" data-linked-resource-type="attachment" data-linked-resource-default-alias="edit-widget.png" data-base-url="http://docs.codehaus.org" data-linked-resource-container-id="231080021" title="null > edit-widget.png"></p><h3>Moving a Widget</h3><p>To move a widget within a dashboard, click on <strong>Configure widgets</strong>, then drag & drop the widget:</p><p><img class="confluence-embedded-image" src="/download/attachments/231080021/moving-widget.png?version=1&modificationDate=1369232311148" data-image-src="/download/attachments/231080021/moving-widget.png?version=1&modificationDate=1369232311148" data-linked-resource-id="231375157" data-linked-resource-type="attachment" data-linked-resource-default-alias="moving-widget.png" data-base-url="http://docs.codehaus.org" data-linked-resource-container-id="231080021" title="null > moving-widget.png"></p><h3>Removing a Widget</h3><p>To remove a widget, click on <strong>Configure widgets</strong> and then click on <strong>Delete</strong>:</p><p><img class="confluence-embedded-image" src="/download/attachments/231080021/sonar-removing-widget.png?version=1&modificationDate=1369232311308" data-image-src="/download/attachments/231080021/sonar-removing-widget.png?version=1&modificationDate=1369232311308" data-linked-resource-id="231375176" data-linked-resource-type="attachment" data-linked-resource-default-alias="sonar-removing-widget.png" data-base-url="http://docs.codehaus.org" data-linked-resource-container-id="231080021" title="null > sonar-removing-widget.png" data-element-title="sonar-removing-widget.png"></p><h2>Managing Dashboards</h2><p>Click on <strong>Manage dashboards</strong> to manage available dashboards:</p><p><img class="confluence-embedded-image" src="/download/attachments/231080021/managing-dashboad.png?version=1&modificationDate=1369232311147" data-image-src="/download/attachments/231080021/managing-dashboad.png?version=1&modificationDate=1369232311147" data-linked-resource-id="231375156" data-linked-resource-type="attachment" data-linked-resource-default-alias="managing-dashboad.png" data-base-url="http://docs.codehaus.org" data-linked-resource-container-id="231080021" title="null > managing-dashboad.png"></p><p>From there you can:</p><ol><li>Follow / Unfollow a shared dashboard</li><li>Change the order of the dashboards in the left navigation bar</li><li>Delete a dashboard</li><li>Configure widgets</li></ol><h3>Managing Default Dashboards</h3><p>An administrator can customise the list and the content of the default dashboards. The default dashboards are the ones presented to unauthenticated users as well as authenticated users that have not done any customization. This is done by logging in, go to <strong>Settings ></strong> <strong>Configuration</strong> > <strong>Default dashboards</strong> and then select default dashboards to display and their order,</p><p><img class="confluence-embedded-image" src="/download/attachments/231080021/default-dashboards.png?version=1&modificationDate=1369232311146" data-image-src="/download/attachments/231080021/default-dashboards.png?version=1&modificationDate=1369232311146" data-linked-resource-id="231375155" data-linked-resource-type="attachment" data-linked-resource-default-alias="default-dashboards.png" data-base-url="http://docs.codehaus.org" data-linked-resource-container-id="231080021" title="null > default-dashboards.png"></p><p><img class="editor-inline-macro" src="/plugins/servlet/confluence/placeholder/macro?definition=e2FuY2hvcjpwcm9qZWN0ZGFzaGJvYXJkfQ&locale=en_GB&version=2" data-macro-name="anchor" data-macro-default-parameter="projectdashboard"></p><h1>Project Dashboards</h1><p>Project dashboards are the entry point when looking at a project. They display an overview of the project data: measures, violations, reviews, etc.</p><p><img class="confluence-embedded-image" src="/download/attachments/231080021/sonar_widgets.png?version=1&modificationDate=1369232311248" data-image-src="/download/attachments/231080021/sonar_widgets.png?version=1&modificationDate=1369232311248" data-linked-resource-id="231375167" data-linked-resource-type="attachment" data-linked-resource-default-alias="sonar_widgets.png" data-base-url="http://docs.codehaus.org" data-linked-resource-container-id="231080021" title="null > sonar_widgets.png" data-element-title="sonar_widgets.png"></p><h2>Dashboard: Default Project Dashboard Shipped with Sonar</h2><p>This default dashboard gives an overview of your projects (with widgets like Size, etc.) and its quality (with widgets like Violations, Comments & Duplications, etc.).</p><p><img class="confluence-embedded-image" src="/download/attachments/231080021/widget-size.png?version=1&modificationDate=1369232311145" data-image-src="/download/attachments/231080021/widget-size.png?version=1&modificationDate=1369232311145" data-linked-resource-id="231375154" data-linked-resource-type="attachment" data-linked-resource-default-alias="widget-size.png" data-base-url="http://docs.codehaus.org" data-linked-resource-container-id="231080021" title="null > widget-size.png"></p><p>From there, you will be able to <a class="confluence-link" href="/display/SONAR/Quality+Flows" data-linked-resource-id="229738239" data-linked-resource-type="page" data-linked-resource-default-alias="Quality Flows" data-base-url="http://docs.codehaus.org">hunt for the 7 quality flows</a>:</p><h3>Duplications</h3><p><img class="confluence-embedded-image" src="/download/attachments/231080021/widget-duplication.png?version=1&modificationDate=1369232311145" data-image-src="/download/attachments/231080021/widget-duplication.png?version=1&modificationDate=1369232311145" data-linked-resource-id="231375153" data-linked-resource-type="attachment" data-linked-resource-default-alias="widget-duplication.png" data-base-url="http://docs.codehaus.org" data-linked-resource-container-id="231080021" title="null > widget-duplication.png"></p><p>See <a class="confluence-link" href="/display/SONAR/Duplications" data-linked-resource-id="227508475" data-linked-resource-type="page" data-linked-resource-default-alias="Duplications" data-base-url="http://docs.codehaus.org">Duplications</a> for detailed explanation on this quality flow.</p><h3>Bad distribution of complexity</h3><p><img class="confluence-embedded-image" src="/download/attachments/231080021/widget-complexity-1.png?version=1&modificationDate=1369232311144" data-image-src="/download/attachments/231080021/widget-complexity-1.png?version=1&modificationDate=1369232311144" data-linked-resource-id="231375152" data-linked-resource-type="attachment" data-linked-resource-default-alias="widget-complexity-1.png" data-base-url="http://docs.codehaus.org" data-linked-resource-container-id="231080021" title="null > widget-complexity-1.png"></p><p>See <a class="confluence-link" href="/display/SONAR/Bad+Distribution+of+Complexity" data-linked-resource-id="229738276" data-linked-resource-type="page" data-linked-resource-default-alias="Bad Distribution of Complexity" data-base-url="http://docs.codehaus.org">Bad Distribution of Complexity</a> for detailed explanation on this quality flow.</p><h3>Spaghetti design</h3><p><img class="confluence-embedded-image" confluence-query-params="effects=drop-shadow" src="/download/attachments/231080021/design-widgets.png?version=1&modificationDate=1369232311091&effects=drop-shadow" data-image-src="/download/attachments/231080021/design-widgets.png?version=1&modificationDate=1369232311091&effects=drop-shadow" data-linked-resource-id="231375138" data-linked-resource-type="attachment" data-linked-resource-default-alias="design-widgets.png" data-base-url="http://docs.codehaus.org" data-linked-resource-container-id="231080021" title="null > design-widgets.png"></p><p>See <a class="confluence-link" href="/display/SONAR/Spaghetti+Design" data-linked-resource-id="229738245" data-linked-resource-type="page" data-linked-resource-default-alias="Spaghetti Design" data-base-url="http://docs.codehaus.org">Spaghetti Design</a> for detailed explanation on this quality flow.</p><h3>Lack of unit tests</h3><p><img class="confluence-embedded-image" src="/download/attachments/231080021/widget-code-coverage-new-code.png?version=1&modificationDate=1369232311105" data-image-src="/download/attachments/231080021/widget-code-coverage-new-code.png?version=1&modificationDate=1369232311105" data-linked-resource-id="231375148" data-linked-resource-type="attachment" data-linked-resource-default-alias="widget-code-coverage-new-code.png" data-base-url="http://docs.codehaus.org" data-linked-resource-container-id="231080021" title="null > widget-code-coverage-new-code.png"></p><p>See <a class="confluence-link" href="/display/SONAR/Lack+of+Unit+Tests" data-linked-resource-id="229738278" data-linked-resource-type="page" data-linked-resource-default-alias="Lack of Unit Tests" data-base-url="http://docs.codehaus.org">Lack of Unit Tests</a> for detailed explanation on this quality flow.</p><h3>No coding standards and Potential bugs</h3><p><img class="confluence-embedded-image" src="/download/attachments/231080021/widget-violations.png?version=1&modificationDate=1369232311106" data-image-src="/download/attachments/231080021/widget-violations.png?version=1&modificationDate=1369232311106" data-linked-resource-id="231375149" data-linked-resource-type="attachment" data-linked-resource-default-alias="widget-violations.png" data-base-url="http://docs.codehaus.org" data-linked-resource-container-id="231080021" title="null > widget-violations.png"></p><p>See <a class="confluence-link" href="/display/SONAR/No+Coding+Standards" data-linked-resource-id="229738241" data-linked-resource-type="page" data-linked-resource-default-alias="No Coding Standards" data-base-url="http://docs.codehaus.org">No Coding Standards</a> for detailed explanation on this quality flow.</p><p>See <a class="confluence-link" href="/display/SONAR/Potential+Bugs" data-linked-resource-id="229738267" data-linked-resource-type="page" data-linked-resource-default-alias="Potential Bugs" data-base-url="http://docs.codehaus.org">Potential Bugs</a> for detailed explanation on this quality flow.</p><h3>Not enough or too many comments</h3><p><img class="confluence-embedded-image" src="/download/attachments/231080021/widget-comments.png?version=1&modificationDate=1369232311100" data-image-src="/download/attachments/231080021/widget-comments.png?version=1&modificationDate=1369232311100" data-linked-resource-id="231375141" data-linked-resource-type="attachment" data-linked-resource-default-alias="widget-comments.png" data-base-url="http://docs.codehaus.org" data-linked-resource-container-id="231080021" title="null > widget-comments.png"></p><p>See <a class="confluence-link" href="/display/SONAR/Not+Enough+or+Too+Many+Comments" data-linked-resource-id="229738280" data-linked-resource-type="page" data-linked-resource-default-alias="Not Enough or Too Many Comments" data-base-url="http://docs.codehaus.org">Not Enough or Too Many Comments</a> for detailed explanation on this quality flow.</p><p> </p><p>Clicking on any measure opens the <a class="confluence-link" href="#Measuresdrilldown" data-anchor="Measuresdrilldown" data-linked-resource-default-alias="Measuresdrilldown" data-base-url="http://docs.codehaus.org">Measures Drilldown</a>, zooming on the chosen <a class="confluence-link" href="/display/SONAR/Sonar+Concepts#SonarConcepts-measure" data-anchor="measure" data-linked-resource-id="111706489" data-linked-resource-type="page" data-linked-resource-default-alias="Sonar Concepts#measure" data-base-url="http://docs.codehaus.org">measure</a>.</p><p>All the widget above are compatible with <a class="confluence-link" href="/display/SONAR/Differential+Views" data-linked-resource-id="229736508" data-linked-resource-type="page" data-linked-resource-default-alias="Differential Views" data-base-url="http://docs.codehaus.org">differential views</a> to help you focus on quality flows on new code.</p><p>Many other widgets are available out of the box, just <a class="confluence-link" href="#Addingawidget" data-anchor="Addingawidget" data-linked-resource-default-alias="Addingawidget" data-base-url="http://docs.codehaus.org">give them a try</a>. Even more are available through <a class="confluence-link" href="/display/SONAR/Plugin+Library" data-linked-resource-id="116359189" data-linked-resource-type="page" data-linked-resource-default-alias="Plugin Library" data-base-url="http://docs.codehaus.org">plugins</a>.</p><h3>Events</h3><p>The Events widget is used to highlight events occurring during the lifetime of the project. There are two kinds of events:</p><ul><li><em>Manual:</em> it is possible to add manual events. See <a class="confluence-link" href="/display/SONAR/Events" data-linked-resource-id="113541797" data-linked-resource-type="page" data-linked-resource-default-alias="Events" data-base-url="http://docs.codehaus.org">Events</a> for more details.</li><li><em>Automated:</em> a mechanism exists in Sonar to pick automatically events and record them. This is the case for version events (picked when the version changes in the pom.xml) and for alert events that are triggered when a threshold has been reached.</li></ul><div><img class="confluence-embedded-image" src="/download/attachments/231080021/events.png?version=1&modificationDate=1369232311101" data-image-src="/download/attachments/231080021/events.png?version=1&modificationDate=1369232311101" data-linked-resource-id="231375143" data-linked-resource-type="attachment" data-linked-resource-default-alias="events.png" data-base-url="http://docs.codehaus.org" data-linked-resource-container-id="231080021" title="null > events.png"></div><h3>Treemap</h3><p><img class="confluence-embedded-image" width="900" src="/download/attachments/231080021/treemap.png?version=1&modificationDate=1369232311100" data-image-src="/download/attachments/231080021/treemap.png?version=1&modificationDate=1369232311100" data-linked-resource-id="231375142" data-linked-resource-type="attachment" data-linked-resource-default-alias="treemap.png" data-base-url="http://docs.codehaus.org" data-linked-resource-container-id="231080021" title="null > treemap.png"></p><div><p>The Treemap is a generic component that adapts depending on the structure of the project: modules, packages and files. <br class="atl-forced-newline" /><br class="atl-forced-newline" />It shows the components that are at the top level, regardless of the type. It is then possible to drill down into any component to get a view on the component.</p><p>Three actions are available in the treemap:</p><ol><li>Click on a component name to access the component dashboard</li><li>Left click on a box to zoom in a component</li><li>Right click on a box to zoom out of a component </li></ol></div><h1>Hunting Services</h1><h2>Measures Drilldown</h2><p>Wherever in a project, it is always possible to access the Measures Drilldown by clicking on a measure:</p><p><img class="confluence-embedded-image" src="/download/attachments/231080021/measures-drilldown.png?version=1&modificationDate=1369232311104" data-image-src="/download/attachments/231080021/measures-drilldown.png?version=1&modificationDate=1369232311104" data-linked-resource-id="231375147" data-linked-resource-type="attachment" data-linked-resource-default-alias="measures-drilldown.png" data-base-url="http://docs.codehaus.org" data-linked-resource-container-id="231080021" title="null > measures-drilldown.png"><br class="atl-forced-newline" /><br class="atl-forced-newline" />The component structure is displayed: hierarchy is represented from left (higher) to right (lower).</p><p>Components are sorted in a descending way, worst <a class="confluence-link" href="/display/SONAR/Sonar+Concepts#SonarConcepts-measure" data-anchor="measure" data-linked-resource-id="111706489" data-linked-resource-type="page" data-linked-resource-default-alias="Sonar Concepts#measure" data-base-url="http://docs.codehaus.org">measure</a> for the <a class="confluence-link" href="/display/SONAR/Sonar+Concepts#SonarConcepts-metric" data-anchor="metric" data-linked-resource-id="111706489" data-linked-resource-type="page" data-linked-resource-default-alias="Sonar Concepts#metric" data-base-url="http://docs.codehaus.org">metric</a> first.</p><p>An optimisation mechanism is in place whereby Sonar does not display components with best value for the metric.</p><p>By clicking on a file, you will access the <a class="confluence-link" href="/display/SONAR/Resource+Viewer" data-linked-resource-id="111706389" data-linked-resource-type="page" data-linked-resource-default-alias="Resource Viewer" data-base-url="http://docs.codehaus.org">Resource Viewer</a>.</p><h2>Violations Drilldown</h2><p>Wherever in a project, it is always possible to access the Violations Drilldown through the left menu:<br class="atl-forced-newline" /><br class="atl-forced-newline" /><img class="confluence-embedded-image" src="/download/attachments/231080021/violations-drilldown.png?version=1&modificationDate=1369232311104" data-image-src="/download/attachments/231080021/violations-drilldown.png?version=1&modificationDate=1369232311104" data-linked-resource-id="231375146" data-linked-resource-type="attachment" data-linked-resource-default-alias="violations-drilldown.png" data-base-url="http://docs.codehaus.org" data-linked-resource-container-id="231080021" title="null > violations-drilldown.png"></p><p>The component structure is displayed: hierarchy is represented from left (higher) to right (lower).</p><p>Components are sorted in a descending way, the one with the most <a class="confluence-link" href="/display/SONAR/Sonar+Concepts#SonarConcepts-violation" data-anchor="violation" data-linked-resource-id="111706489" data-linked-resource-type="page" data-linked-resource-default-alias="Sonar Concepts#violation" data-base-url="http://docs.codehaus.org">violations</a> first.</p><p>An optimisation mechanism is in place whereby Sonar does not display components with no violations.</p><p>The Violations drilldown is compatible with the <a class="confluence-link" href="/display/SONAR/Differential+Views" data-linked-resource-id="229736508" data-linked-resource-type="page" data-linked-resource-default-alias="Differential Views" data-base-url="http://docs.codehaus.org">differential views mechanism</a>.</p><p>By clicking on a file, you will access the <a class="confluence-link" href="/display/SONAR/Resource+Viewer" data-linked-resource-id="111706389" data-linked-resource-type="page" data-linked-resource-default-alias="Resource Viewer" data-base-url="http://docs.codehaus.org">Resource Viewer</a>.<img class="editor-inline-macro" src="/plugins/servlet/confluence/placeholder/macro?definition=e2FuY2hvcjpkYXNoYm9hcmRjbG91ZHN9&locale=en_GB&version=2" data-macro-name="anchor" data-macro-default-parameter="dashboardclouds"></p><h2>Clouds</h2><p>Wherever in a project, it is always possible to access the Clouds through the left menu:</p><p><img class="confluence-embedded-image" src="/download/attachments/231080021/clouds.png?version=1&modificationDate=1369232311103" data-image-src="/download/attachments/231080021/clouds.png?version=1&modificationDate=1369232311103" data-linked-resource-id="231375145" data-linked-resource-type="attachment" data-linked-resource-default-alias="clouds.png" data-base-url="http://docs.codehaus.org" data-linked-resource-container-id="231080021" title="null > clouds.png"></p><p>On the <em>Top risk</em> tab, the size represents the average complexy by method in the file.</p><p>On the <em>Quick wins</em> tab: the size represents the lines of code in the file.</p><p>Regarding the color, blue indicates good quality according to Coverage or Rules compliance (depending the selected value in the drop down list), red indicates bad quality.</p><p>By clicking on a file, you will access the <a class="confluence-link" href="/display/SONAR/Resource+Viewer" data-linked-resource-id="111706389" data-linked-resource-type="page" data-linked-resource-default-alias="Resource Viewer" data-base-url="http://docs.codehaus.org">Resource Viewer</a>.</p><h2>Components</h2><p>Wherever in a project, it is always possible to access the Components dashboard through the left menu.</p><p>From there you can access the dashboard of a specific component. You will get the same information as for the project but in the scope of the sub-component.</p><p><img class="confluence-embedded-image" src="/download/attachments/231080021/components.png?version=1&modificationDate=1369232311102" data-image-src="/download/attachments/231080021/components.png?version=1&modificationDate=1369232311102" data-linked-resource-id="231375144" data-linked-resource-type="attachment" data-linked-resource-default-alias="components.png" data-base-url="http://docs.codehaus.org" data-linked-resource-container-id="231080021" title="null > components.png"></p><p><img class="editor-inline-macro" src="/plugins/servlet/confluence/placeholder/macro?definition=e2FuY2hvcjpnbG9iYWxkYXNoYm9hcmR9&locale=en_GB&version=2" data-macro-name="anchor" data-macro-default-parameter="globaldashboard"></p><h1>Global Dashboards</h1></div><h2>Overview</h2><p>Global dashboards are available at instance level and can be accessed through the menu on the left. One of those global dashboards is set as your home page.</p><p>Any widget can be added to a global dashboard. Thus, any kinds of information from a project or from the Sonar instance can be displayed at will.</p><h2>Global Dashboard Shipped with Sonar</h2><p>By default, Sonar is shipped with one global dashboard:</p><p><img class="confluence-embedded-image" width="900" confluence-query-params="effects=drop-shadow" src="/download/attachments/231080021/home.png?version=1&modificationDate=1369232311078&effects=drop-shadow" data-image-src="/download/attachments/231080021/home.png?version=1&modificationDate=1369232311078&effects=drop-shadow" data-linked-resource-id="231375137" data-linked-resource-type="attachment" data-linked-resource-default-alias="home.png" data-base-url="http://docs.codehaus.org" data-linked-resource-container-id="231080021" title="null > home.png"></p>
Please type the word appearing in the picture.
Attachments
Labels
Location
Watch this page
< Edit
Preview >
Loading…
Save
Cancel
Next hint
search
attachments
weblink
advanced