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

Missing FindBugs rules

  • 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: Findbugs
  • Labels:
    None

Description

The following rules are missing in Sonar :

  • Switch statement found where one case falls through to the next case (SF_SWITCH_FALLTHROUGH)
  • Dead store due to switch statement fall through (SF_DEAD_STORE_DUE_TO_SWITCH_FALLTHROUGH)
  • Dead store due to switch statement fall through to throw (SF_DEAD_STORE_DUE_TO_SWITCH_FALLTHROUGH_TO_THROW)
  • Switch statement found where default case is missing (SF_SWITCH_NO_DEFAULT)
  • Method uses the same code for two switch clauses (DB_DUPLICATE_SWITCH_CLAUSES)

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Nicolas Dordet added a comment - 15/Nov/10 4:15 AM

I reopen this issue because the rule "Dead store due to switch statement fall through to throw" don't seem to be active ine Sonar 2.3.1.

Show
Nicolas Dordet added a comment - 15/Nov/10 4:15 AM I reopen this issue because the rule "Dead store due to switch statement fall through to throw" don't seem to be active ine Sonar 2.3.1.
Hide
Permalink
Simon Brandhof added a comment - 15/Nov/10 4:24 AM

Hi Nicolas, please create a new issue instead of reopening this one. For information this rule is correctly defined on my side : https://skitch.com/simon.brandhof/rym9e/findbugs.

Show
Simon Brandhof added a comment - 15/Nov/10 4:24 AM Hi Nicolas, please create a new issue instead of reopening this one. For information this rule is correctly defined on my side : https://skitch.com/simon.brandhof/rym9e/findbugs.

People

  • Assignee:
    Freddy Mallet
    Reporter:
    Nicolas Dordet
Vote (0)
Watch (1)

Dates

  • Created:
    02/Jun/10 6:50 AM
    Updated:
    15/Nov/10 4:24 AM
    Resolved:
    15/Nov/10 4:24 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.