[antlr-interest] initial code coverage report on ANTLR v3.0 testing

Terence Parr parrt at cs.usfca.edu
Thu Feb 10 17:23:35 PST 2005


Howdy,

I have been given a license by CLOVER, the code coverage folks (they 
use ANTLR) :)  The integration with Intellij is flawless and gorgeous 
:)

I was thinking that my unit tests covered the analysis code pretty 
well; thankfully, they do!  For example, I get like 95% coverage in the 
core NFAToDFAConverter.java class.  The remaining 5% is like static 
debug IF statements and code that is indeed tested, but not with all 
possible combinations.  Whew!  Good news...I seem to have learned about 
testing at jGuru. ;)

Anyhoo, I'm going to use CLOVER to show how much coverage my tests get 
when I release this.  I'll be adding a nice pointer to CLOVER to the 
website.

Ter
--
CS Professor & Grad Director, University of San Francisco
Creator, ANTLR Parser Generator, http://www.antlr.org
Cofounder, http://www.jguru.com





More information about the antlr-interest mailing list