{iframe:src=http://update.sonarsource.org/plugins/artifactsize.html|width=700|height=250|frameborder=0}
Your browser does not support iframes.
{iframe}

Description

This plugin is used to measure and record the size of the project artifact.

In the dashboard :

In the TimeMachine

By default on a maven project, the plugin is going to retrieve the size on its own. Otherwise, a property should be set at the project or module level to pass the path of the artifact.

For example : sonar.artifact.path="target/zip/myCustomArtiact.zip"

Usage & Installation

1. Copy the jar into /extensions/plugins/ directory
2. Restart Sonar Web server
3. Launch a new quality analysis and the metrics will be fed

Known limitations

This plugin requires that a build is run prior to analysis to generate the artifact

In a multi-modules environment, a property passed to the root pom will be used for modules.

Changelog