atom feed5 messages in org.codehaus.sonar.dev[sonar-dev] Drilldown problems for ne...
FromSent OnAttachments
Francois, DavidJan 18, 2012 9:12 am.png, .png
Simon BrandhofJan 19, 2012 1:38 am 
Francois, DavidJan 19, 2012 2:55 am 
Simon BrandhofJan 27, 2012 12:50 am 
Racodon, DavidFeb 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.