xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir R. Bossicard" <vladi...@apache.org>
Subject Re: Unused imports
Date Wed, 18 Dec 2002 16:10:52 GMT
Here are the new numbers (12/18/02)

<http://cvs.apache.org/~tcopeland/jakarta_bad_imports.htm>

xml-xindice   12,833      4  0.03%
xml-axis      41,601     19  0.05%
xml-cocoon2   38,532     19  0.05%
xml-soap       8,940     31  0.35%
xml-cocoon     6,384     26  0.41%
xml-crimson    7,883     46  0.58%
xml-xerces    56,199    429  0.76%
xml-rpc        2,997     26  0.87%
xml-batik     92,545  1,041  1.12%
xml-fop       28,605    321  1.12%
xml-xalan     65,508  1,356  2.07%
xml-stylebook  2,100     52  2.48%
xml-security  12,783    361  2.82%
xml-commons    4,060    120  2.96%

The good news:
- axis (516 -> 19)
- cocoon2 (616 -> 19)

> xml-commons so some of those may not be
> our 'fault' and I may not want to fix them.

if you inherit a broken car, won't you fix it?

> xml-xalan isn't listed there - does that mean we're perfect with
> imports?  8-)

No comment :-)

But why do I think that fixing the unused imports is important?
1) it shows that we care about our code
2) checking for unused code is meant to let you discover PMD.  PMD can 
check unused imports but also more "important" problems (like unused 
variables).

Regards,

-Vladimir

pmd website <http://pmd.sf.net>

-- 
Vladimir R. Bossicard
Apache Xindice - http://xml.apache.org/xindice


---------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org


Mime
View raw message