| From | Sent On | Attachments |
|---|---|---|
| Francois, David | Jan 18, 2012 9:12 am | .png, .png |
| Simon Brandhof | Jan 19, 2012 1:38 am | |
| Francois, David | Jan 19, 2012 2:55 am | |
| Simon Brandhof | Jan 27, 2012 12:50 am | |
| Racodon, David | Feb 2, 2012 3:10 am |
| Subject: | [sonar-dev] Drilldown problems for new Metric | |
|---|---|---|
| From: | Francois, David (davi...@logica.com) | |
| Date: | Jan 18, 2012 9:12:51 am | |
| List: | org.codehaus.sonar.dev | |
| Attachments: | ||
Hi,
I have implemented a new Metric with type Metric.ValueType.STRING. I saved
measures for this metric at class, file, package, directory and project levels.
In my JRuby file, I want to access the drilldown with the following code: <%=
format_measure(abacus_complexity, :suffix => '', :url =>
url_for_drilldown(abacus_complexity)) %>
But when I click on my metric in the dashboard, I get this:
[cid:image001.png@01CCD60C.D7A33210]
But if I modify the metric type to Metric.ValueType.FLOAT (I changed my Java
Code as well to return a float value), I get this:
[cid:image002.png@01CCD60C.D7A33210]
My question: Can I use the drilldown for String metrics or it's only limited to
numeric metrics?
Thank you
Regards,
David FRANCOIS
Think green - keep it on the screen.
This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential information
and/or be subject to legal privilege. It should not be copied, disclosed to,
retained or used by, any other party. If you are not an intended recipient then
please promptly delete this e-mail and any attachment and all copies and inform
the sender. Thank you.






.png, .png