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-1488

Violation messages on Cyclomatic Complexity are error prone

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 1.12, 2.0
  • Fix Version/s: None
  • Component/s: Checkstyle, PMD, Rules
  • Labels:
    None

Description

  • The detail of Checkstyle and PMD violations should contain the full description of the way the cc is computed. The Sonar metric definition could be reused.
  • When activating the PMD "Code size - Cyclomatic complexity" with the option "show classes complexity", the violation message should be "the class '{0} has an average cc by method of {1}, (Highest={2})'" instead of "the class '{0} has a cc of {1}, (Highest={2})'"

Issue Links

is duplicated by

Bug - A problem which impairs or prevents the functions of the product. SONAR-1472 Cyclomatic complexity of a class seems inferior to the cc of its methods

  • 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:
    Unassigned
    Reporter:
    Freddy Mallet
Vote (0)
Watch (0)

Dates

  • Created:
    02/Apr/10 2:46 AM
    Updated:
    10/Jan/12 3:13 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.