Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rank value mismatch with the actual reported value #2902

Open
EhsanMashhadi opened this issue Mar 12, 2024 · 2 comments
Open

Rank value mismatch with the actual reported value #2902

EhsanMashhadi opened this issue Mar 12, 2024 · 2 comments

Comments

@EhsanMashhadi
Copy link

EhsanMashhadi commented Mar 12, 2024

Hi,

We have done a study to find if SpotBugs can predict bug severity using reported Rank values of SpotBugs. We have observed two scenarios:

  1. SpotBugs finds a different possible bug in the studied method (than the actual bug) so it assigns a different rank to it.
  2. SpotBugs reports a different Rank value than the actual bug severity value.

For example, accumulo-209_397f86f6 project of Bugs.jar dataset has a bug with Major severity while SpotBugs report value 15-20 which means not major.

Do you have any insight on this?

Copy link

welcome bot commented Mar 12, 2024

Thanks for opening your first issue here! 😃
Please check our contributing guideline. Especially when you report a problem, make sure you share a Minimal, Complete, and Verifiable example to reproduce it in this issue.

@gtoison
Copy link
Contributor

gtoison commented Mar 13, 2024

Could you please clarify what's the bug you're referring to?
It would be great if you could add the problematic code snippet, why you think it's a major bug and the result you're getting from SpotBugs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants