I noticed a small mistake in the first GWT Demystified article. I was performing some code metrics today and noticed my size estimates for the source base were off by a factor of 2x. When I posted the initial article, the 30 KLOC figure seemed funny, but I let it slide because it was the right order-of-magnitude, and I thought maybe I had generated more boilerplate with my IDE than I realized. (Copy Javadoc checkbox works wonders for KLOC)
What happened is I have a Maven2 build for Chronoscope and I had executed a command like "find chronoscope -name '*.java' -exec cat '{}' \; | wc -l" without running a clean first, and therefore, all the source got counted twice because it gets copied to the 'target' build directory under my project directory as well. (You do this, because GWT artifacts must include the source code if other projects are inheriting the Chronoscope module)
The actual figures are around 15KLOC, 1.5M source, 800k byte code.
Mea Culpa,
-Ray
Wednesday, June 6, 2007
Erratum for GWT Demystified
Posted by Timepedia at 1:13 AM
Labels: google web toolkit, gwt, gwt demystified
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment