jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 2.x PMD Plugin
  • MPMD-98

The plugin console output is inconsistent

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Duplicate
  • Affects Version/s: None
  • Fix Version/s: 2.5
  • Component/s: None
  • Labels:
    None

Description

When running pmd:check to get rules evaluated and output to the console the entire class name is not always complete in the listed rule violations.

Example:

[pmd:check]
PMD Failure: se.databyran.prosang.model.core.18 Rule:UnusedImports Priority:4 Avoid unused imports such as 'se.databyran.prosang.model.donor.DeregistrationSpecificationDefinition'.
PMD Failure: se.databyran.prosang.model.core.BloodBank:49 Rule:UnusedPrivateField Priority:3 Avoid unused private fields such as 'sortOrder'..
PMD Failure: se.databyran.prosang.model.core.BloodBank:52 Rule:UnusedPrivateField Priority:3 Avoid unused private fields such as 'text'..
PMD Failure: se.databyran.prosang.model.core.Ward:16 Rule:UnusedPrivateField Priority:3 Avoid unused private fields such as 'name'..

In the first violation we only get package name and line number, not the actual class triggering the error.

Issue Links

duplicates

Bug - A problem which impairs or prevents the functions of the product. MPMD-91 pmd does not report correct file name for unneccessary imports

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
There are no comments yet on this issue.

People

  • Assignee:
    Herve Boutemy
    Reporter:
    Johan Andrén
Vote (0)
Watch (0)

Dates

  • Created:
    08/May/09 6:29 AM
    Updated:
    30/Apr/10 4:48 PM
    Resolved:
    30/Apr/10 4:47 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.