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

Ability to register a number of points to a rule violation

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 2.3
  • Component/s: Rules
  • Labels:
    None

Description

The remediation cost of a violation can't be precisely computed without this information. Let's take the following example : a rule forbids to have methods whose complexity is greater than 10. Currently the same violation is created with a method whose complexity is 15 and a method whose complexity is 100. If the remediation cost to fix one point of complexity is 0.05h, then 15mn is necessary to fix the method whose complexity is 15, and 3h5mn is required to fix the method whose complexity is 100.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Freddy Mallet added a comment - 17/Sep/10 2:29 PM

The default value is 1

Show
Freddy Mallet added a comment - 17/Sep/10 2:29 PM The default value is 1
Hide
Permalink
Simon Brandhof added a comment - 22/Sep/10 8:33 AM

The new column is RULE_FAILURES.COST (decimal nullable)

Show
Simon Brandhof added a comment - 22/Sep/10 8:33 AM The new column is RULE_FAILURES.COST (decimal nullable)

People

  • Assignee:
    Simon Brandhof
    Reporter:
    Freddy Mallet
Vote (0)
Watch (0)

Dates

  • Created:
    17/Sep/10 2:25 PM
    Updated:
    10/Jan/12 3:13 PM
    Resolved:
    22/Sep/10 8:33 AM
  • 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.