[antlr-interest] ANTLR-generated code & Findbugs

Gerz, Michael Gerz at fgan.de
Tue Oct 31 04:48:36 PST 2006


Hello,

Findbugs (http://findbugs.sf.net; see also http://fb-contrib.sf.net) is a very popular and powerful static analysis tool that helps to identify bugs in Java code.

One of my colleagues reported that the parser code generated by ANTLR triggers many findbugs warnings. Do you have any plans to address those warnings? Of course, automatically generated code is not meant for human inspection but OTOH: the less warnings, the better :-)

It would also be a very nice exercise to apply findbugs to ANTLR and ist runtime library itself. You will be surprised by its output, no doubt!

Regards, 

Michael 

************************************************************************
Dr. Michael Gerz                                                        
FGAN e.V.                                      Phone:  +49 228 9435-414 
Department FKIE/ITF                            Fax:    +49 228 9435-685 
Neuenahrer Straße 20                           E-Mail: gerz at fgan.de     
53343 Wachtberg-Werthhoven                     WWW:    www.fgan.de     


More information about the antlr-interest mailing list