I've analysed my Android project using rules from PMD and I see this:
What's the problem?
Source code: Java 1.7 (Android)
SonarQube: version 4.5.4 LTS with PMD plugin 2.3
I've analysed my Android project using rules from PMD and I see this:
What's the problem?
Source code: Java 1.7 (Android)
SonarQube: version 4.5.4 LTS with PMD plugin 2.3
This issue is resolved by PMD in version 5.3.2, however the Sonar PMD Plugin latest version is 2.4.1 (which corresponds to PMD 5.3.1) for SonarQube 4.5.4.
You'll probably have to wait until a new Sonar PMD Plugin is released for the fix.
PMD bug fix: http://sourceforge.net/p/pmd/bugs/1342/
You can disable the rule for now until the PMD Plugin is updated with the fix from PMD 5.3.2.