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)
  • Sonar
  • SONAR-234

PMD CloneMethodMustImplementCloneable rule exists in two versions

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.1, 1.2, 1.2.1, 1.3, 1.5
  • Fix Version/s: 1.5
  • Component/s: Rules
  • Labels:
    None

Description

Some PMD rules such as CloneMethodMustImplementCloneable exists in two versions :

  • rulesets/typeresolution.xml/CloneMethodMustImplementCloneable
  • rulesets/clone.xml/CloneMethodMustImplementCloneable

These two rules are imported into the Sonar database with the same identifier (see lib/sonar-web/db/migrate/003_populate_database.rb, lines 280 and 306), so Sonar only recognize the first implementation of this rule when importing a pmd.xml file, and ignore the second one.

Maybe a different identifier should be used to differentiate them.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Simon Brandhof added a comment - 02/Jul/08 3:06 AM

We will fix this ticket when upgrading to PMD 4.2.2 (SONAR-224)

Show
Simon Brandhof added a comment - 02/Jul/08 3:06 AM We will fix this ticket when upgrading to PMD 4.2.2 (SONAR-224)

People

  • Assignee:
    Simon Brandhof
    Reporter:
    Nicolas Rougé
Vote (0)
Watch (0)

Dates

  • Created:
    30/Apr/08 11:42 AM
    Updated:
    10/Jan/12 3:13 PM
    Resolved:
    28/Oct/08 12:00 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.