[XML-SIG] Test suite coverage

Andrew Kuchling akuchlin@mems-exchange.org
Thu, 16 May 2002 10:52:55 -0400


I ran the test suite and measured the coverage, using the
code_coverage.py module that's part of Sancho.  Here are the modules
which have less than half of their lines executed.  (This only
measures modules that actually get imported.)  Anyone want to
expand the test suite to exercise these modules more?  Is there a test
suite in 4XPath that could be added to PyXML?

And does anyone want to volunteer to go through the bugs and fix a few
of them.  There are open bugs dating back to 2000, and we should see
if they're still applicable.

--amk

0-50% coverage 

xml.xslt: 2.6% (4/153)
xml.sax.drivers.drv_xmldc: 6.0% (6/100)
xml.dom.Range: 6.4% (43/676)
xml.sax.drivers.drv_xmltoolkit: 6.8% (5/73)
xml.dom.domreg: 18.2% (6/33)
xml.xpath.BuiltInExtFunctions: 18.2% (28/154)
xml.parsers.xmlproc.dtdparser: 22.1% (116/524)
xml.xpath.CoreFunctions: 25.9% (55/212)
xml.xpath.yappsrt: 26.4% (29/110)
xml.xpath.XPathParserBase: 28.0% (21/75)
xml.xpath.ParsedRelativeLocationPath: 28.6% (8/28)
xml.xpath.ParsedExpr: 30.2% (153/506)
xml.sax: 30.4% (7/23)
xml.xpath.ParsedAbbreviatedRelativeLocationPath: 31.0% (13/42)
xml.xpath.Conversions: 32.5% (37/114)
xml.xpath.ExpandedNameWrapper: 33.3% (6/18)
xml.dom.html: 35.2% (25/71)
xml.parsers.xmlproc.xmldtd: 36.4% (199/547)
xml.dom.ext.Visitor: 37.8% (14/37)
xml.xpath.ParsedAbsoluteLocationPath: 38.1% (8/21)
xml.dom.javadom: 40.0% (166/415)
xml.xpath.Util: 41.2% (49/119)
xml.FtCore: 44.4% (4/9)
xml.parsers.xmlproc.errors: 44.9% (22/49)
xml.xpath.ParsedNodeTest: 44.9% (53/118)
xml.parsers.xmlproc.utils: 46.6% (76/163)
xml.xpath.Set: 47.4% (9/19)
xml.dom.html.HTMLTitleElement: 48.4% (15/31)
xml.sax.drivers2.drv_xmlproc: 48.6% (123/253)
xml.xpath.ParsedStep: 48.6% (34/70)
xml.dom.ext.reader.Sax2: 49.7% (144/290)