Re: Tasklist and findbugs
Philippe Couton <[email protected]> Thu, 25 Sep 2003 09:10:07 +0200
| Newsgroups | gmane.comp.java.netbeans.modules.tasklist.devel |
|---|---|
| Organization | Sercel |
| Message-ID | <[email protected]> |
Tor Norbye wrote: > 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. You're right! the tool needs to know the classpath. > 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. Don't worry. The suggestion made by Vincent Brabant seems very interesting to me and I will try it, so there is no need to develop something for the moment. > -- 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? -- Philippe Couton [email protected] Opinions expressed are mine and do not represent those of my employer.