This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 232246 - Inspect FindBugs takes as long to scan single package as whole project
Summary: Inspect FindBugs takes as long to scan single package as whole project
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: FindBugs (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Petr Cyhelsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-04 07:21 UTC by MackSix
Modified: 2013-08-30 14:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2013-07-04 07:21:27 UTC
Source>>Inspect FindBugs takes as long to inspect single package as it does the whole project.

Product Version: NetBeans IDE Dev (Build 201307032300)
Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b16
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 1 Jan Lahoda 2013-07-08 08:36:42 UTC
Yes, the analysis always runs over the whole project, as FindBugs has "global" rules, that don't provide correct results when run only over fragments of the project. So the choice is mostly slower analysis vs. incorrect results.
Comment 2 Petr Cyhelsky 2013-07-31 14:57:49 UTC
changing owner
Comment 3 Petr Cyhelsky 2013-08-30 14:33:57 UTC
With the current scope of findbugs analysis there is no way how to provide correct results while only analysing less than full project.