Findbugs: bug count in build result vs. Inspection tab - result count mismatch

Hi,  we're running findbugs via Ant.  The build status reports the following numbers: Errors: 53, warnings: 655, information: 1877  But switching to code inspection tab shows different (much lower) numbers:  Total problems found: 1631 (+4 -26), errors: 39 (+0 -5)     build log shows the following:  [20:22:51]: [findbugs] Executing findbugs from ant task [20:22:51]: [findbugs] Running FindBugs... [20:29:26]: [findbugs] Warnings generated: 2520 [20:29:26]: [findbugs] Calculating exit code... [20:29:26]: [findbugs] Setting 'bugs found' flag (1) [20:29:26]: [findbugs] Exit code set to: 1 [20:29:27]: [findbugs] Java Result: 1  Again different numbers??  Is this a known issue? Why would Teamcity not parse the whole findbugs.xml (if this is the reason?)? findbugs-ant.jar is the matching one for the findbugs installation on all agents.  Thanks,   Yann

0
3 comments

seems that's a bug from TW-17863. Please find fixed plugin attached to the issue.

0

Thanks for the pointer, I will try the updated plugin ASAP. But the bug report (and fix?) is about mismatched source line numbers, not total number of bug/information/warning reports count?

0

Hello, Yann,

I've created an issue TW-18032 concerning this problem. Let's move the discussion there.

0

Please sign in to leave a comment.