<< Back to previous view

[QB-983] Some issues in PMD report
Created: 12/Jul/11  Updated: 23/Jul/11

Status: Resolved
Project: QuickBuild
Component/s: None
Affects Version/s: None
Fix Version/s: 3.1.53

Type: Bug Priority: Major
Reporter: Steve Luo Assigned To: Unassigned
Resolution: Fixed Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown


 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.
Generated at Thu Oct 02 18:51:08 UTC 2025 using JIRA 189.