Details
Description
The request:
http://nemo.sonar.codehaus.org/api/resources?resource=org.codehaus.sonar.plugins:sonar-plugin-findbugs&metrics=duplicated_lines&scopes=FIL&depth=-1&limit=5&format=xml
returns all files in the module (without limit), but without metric value (the document has not msr elements). This occurs when value of duplicated_lines is 0 (for instance, in sonar-plugin-findbugs).
The above request should return the first 5 resources (files in this case) all with duplicated_lines set to 0.
Issue Links
| This issue depends upon: | ||||
| SONAR-1075 | Standardize the way "Best Value" is managed on Metric |
|
|
|
This bug affects version 1.8 of Sonar and component API.
Sorry.