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

Expose Weighted Violations as filter column & widget value

  • 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.12
  • Component/s: Filters, Metrics, Violations
  • Labels:
    None

Description

I have a team whose violation index is dropping - while their raw violation numbers are increasing.

This is because they're also adding volumes of new code - they're diluting the poo, not cleaning it up.

Please expose the Weighted Violations score documented here: http://docs.codehaus.org/display/SONAR/Metric+definitions so that I can show a more accurate, at-a-glance metric of the quality delta.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
G. Ann Campbell added a comment - 28/Sep/11 11:44 AM

I stated that wrong. Their compliance index is rising while the raw # of violations also rises.

I've also seen the compliance index fall at the same time the raw # of violations also dropped - because the LOC was also dropping (presumably, they were cleaning up duplicated blocks.)

At any rate, it's tempting to focus on Rules Compliance Index but movement in that number can be deceiving.

Show
G. Ann Campbell added a comment - 28/Sep/11 11:44 AM I stated that wrong. Their compliance index is rising while the raw # of violations also rises. I've also seen the compliance index fall at the same time the raw # of violations also dropped - because the LOC was also dropping (presumably, they were cleaning up duplicated blocks.) At any rate, it's tempting to focus on Rules Compliance Index but movement in that number can be deceiving.
Hide
Permalink
Freddy Mallet added a comment - 11/Oct/11 2:40 AM

This simply imply to stop hiding the metric.

Show
Freddy Mallet added a comment - 11/Oct/11 2:40 AM This simply imply to stop hiding the metric.
Hide
Permalink
Evgeny Mandrikov added a comment - 18/Oct/11 5:59 AM

Done in 2d16ac2.

Show
Evgeny Mandrikov added a comment - 18/Oct/11 5:59 AM Done in 2d16ac2.
Hide
Permalink
Freddy Mallet added a comment - 18/Oct/11 7:42 AM

tested

Show
Freddy Mallet added a comment - 18/Oct/11 7:42 AM tested
Hide
Permalink
Evgeny Mandrikov added a comment - 01/Nov/11 12:33 PM

Closed without integration tests.

Show
Evgeny Mandrikov added a comment - 01/Nov/11 12:33 PM Closed without integration tests.

People

  • Assignee:
    Evgeny Mandrikov
    Reporter:
    G. Ann Campbell
Vote (0)
Watch (0)

Dates

  • Created:
    14/Sep/11 10:03 AM
    Updated:
    01/Nov/11 12:33 PM
    Resolved:
    18/Oct/11 5:59 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.