Re: Re: Tasklist and findbugs
Tor Norbye <[email protected]> Wed, 24 Sep 2003 00:15:58 -0700
| Newsgroups | gmane.comp.java.netbeans.modules.tasklist.devel |
|---|---|
| Organization | Sun Microsystems, Inc |
| Message-ID | <[email protected]> |
Philippe Couton wrote: > Please forget the previous message. After reading more carefully the docs, > I realized these two points: > - findbugs works on bytecode, not on source, > - findbugs must analyze the whole program, not individual classes. > > So, IMHO, it is a nonsense to integrate it in the suggestions view of Tasklist. > > But, anyway, it would be nice to have a NetBeans module for this tool. Well, the tasklist suggestions feature works in two modes: - the suggestions view, which shows suggestions for the "current" file being edited - Tools -> Scan Directory For Suggestions This gets to look at all files, including .class files, so it could do byte code scanning and take the whole application into consideration, although until we get projects in 4.0 it's hard to get classpath etc. which I'm sure the tool needs. Unfortunately I'm -completely- swamped with work these days (getting less than five hours of sleep per night this week) so I can't look at this for a while. -- Tor > > Philippe Couton wrote: > >>Hi all, >> >>Browsing the web last week, I discovered by chance a tool similar to >>PMD: findbugs (http://www.cs.umd.edu/~pugh/java/bugs/). This not a >>competitor of PMD, but rather a complementary tool showing potential >>bugs not found by PMD. >> >>A nice feature would be to have this tool integrated in the TaskList's >>suggestions view in the same way as PMD. Is there any plans to do that? >> > > >