Key: |
QB-983
|
Type: |
Bug
|
Status: |
Resolved
|
Resolution: |
Fixed
|
Priority: |
Major
|
Assignee: |
Unassigned
|
Reporter: |
Steve Luo
|
Votes: |
0
|
Watchers: |
0
|
If you were logged in you would be able to see more operations.
|
|
|
QuickBuild
Created: 12/Jul/11 01:09 PM
Updated: 23/Jul/11 03:03 AM
|
|
Component/s: |
None
|
Affects Version/s: |
None
|
Fix Version/s: |
3.1.53
|
|
Original Estimate:
|
Unknown
|
Remaining Estimate:
|
Unknown
|
Time Spent:
|
Unknown
|
|
* some violations are shown (highlighted) several lines below the actual problem
* some source-code links produce an exception, but apparently only for certain types of violations (e.g. "These nested if statements could be combined", which I have sent bug-reports via that form already):
StringIndexOutOfBoundsException: String index out of range: 0
* some violations are not shown at all
The reason for causing these problems are publishing duplicated PMD XML reports, especially for publishing PMD report generated by Maven, as Maven will generate two pmd.xml files, one is target/pmd.xml, and another is target/site/pmd.xml and they are identical, so the work-around is to publish the one of pmd.xml.
|
Description
|
* some violations are shown (highlighted) several lines below the actual problem
* some source-code links produce an exception, but apparently only for certain types of violations (e.g. "These nested if statements could be combined", which I have sent bug-reports via that form already):
StringIndexOutOfBoundsException: String index out of range: 0
* some violations are not shown at all
The reason for causing these problems are publishing duplicated PMD XML reports, especially for publishing PMD report generated by Maven, as Maven will generate two pmd.xml files, one is target/pmd.xml, and another is target/site/pmd.xml and they are identical, so the work-around is to publish the one of pmd.xml. |
Show » |
There are no comments yet on this issue.
|
|