Spot bugs report is not matching with spotbugs eclipse plugin vs command line
aruncom2006 opened this issue · comments
aruncom2006 commented
Hi,
I have ran spotbugs on my project using eclipse plugin with default settings. then i have tried the command line option to generate the report where i used the same settings as of spotbugs eclipse plugin (copied from my project .settings/edu.umd.cs.findbugs.core.prefs) and the html report flagged more errors compared to spotbugs plugin.
Spotbugs versions : 4.7.1/4.7.2
Observation :
- Spotbugs eclipse plugin progress windows shown only "Pass1" where as command line feature does two passes [Pass1 and Pass2]
- "filter_settings=Medium|BAD_PRACTICE,CORRECTNESS,MT_CORRECTNESS,PERFORMANCE,STYLE|false|15" is the settings used in "/edu.umd.cs.findbugs.core.prefs" for both approaches. however, command line feature's html report has more contents additionally internationlization, malicious code & Dodgy code warnings.
So, what is puzzling is that
- why I'm seeing two passes in command line and i do not find any options to control this pass.
- why i could not able to get same result for both methods though i'm using same "/edu.umd.cs.findbugs.core.prefs" settings.
Would anybody help me guide on this one. Bottom line is that i should see same result so that i can add this piece of verification in my jenkins.
Thanks and Regards
Arunprakash G
welcome commented
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.
aruncom2006 commented
Hi,
I'm working on a test case to attach it.