Name |
Artifact Size Plugin |
Authors |
SonarSource |
JIRA |
http://jira.codehaus.org/browse/SONARPLUGINS/component/14112 |
Most Recent Version |
0.1 |
License |
LGPL v3 |
Sources |
|
Download |
Compatibility with Sonar
Plugin |
0.1 |
|---|---|
Sonar |
1.10+ |
Description / Features
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.

