QMTest review, metrics
Danny R. Faught
faught at tejasconsulting.com
Wed Aug 27 03:43:02 UTC 2003
I'm writing a review of QMTest for Open Testware Reviews. I'd like to
identify a few core project members who can can give a quick turnaround
on giving the review a once-over later this week. I always like to have
someone check for any unfair statements or missing information. Let me
know if you'd like to do this. For more information about Open Testware
Reviews, see http://tejasconsulting.com/open-testware/.
I ran sloccount to see how much code is in the source archive, and it
flagged an error:
No closing triple-doublequote-marks in file /usr/src/qm/qm/test/web/web.py
I isolated it to this code (same in the released version and CVS):
prompt = "The file from which to load the context."""
"""The prompt for the file name."""
Is this a bug in one of the QMTest tests?
BTW, here are the metrics from sloccount from the top of the CVS tree:
SLOC Directory SLOC-by-Language (Sorted)
14703 qm python=13836,ansic=724,sh=143
1208 top_dir sh=1208
315 scripts sh=253,python=62
205 tests python=205
78 doc python=78
31 benchmarks python=31
0 CVS (none)
0 share (none)
0 templates (none)
0 zope-dtml (none)
Total Physical Source Lines of Code (SLOC) = 16,540
Interestingly enough, it's much less code than the current released
version (I guess I'd need to get zope-dtml from somewhere else):
Totals grouped by language (dominant language first):
python: 14212 (85.93%)
sh: 1604 (9.70%)
ansic: 724 (4.38%)
SLOC Directory SLOC-by-Language (Sorted)
10151 zope-dtml ansic=6365,python=3755,sh=31
9692 qm python=9572,sh=120
1421 doc python=1421
1192 top_dir sh=1192
253 tests python=253
232 scripts sh=232
0 share (none)
0 templates (none)
Totals grouped by language (dominant language first):
python: 15001 (65.39%)
ansic: 6365 (27.75%)
sh: 1575 (6.87%)
Total Physical Source Lines of Code (SLOC) = 22,941
--
Danny R. Faught
Tejas Software Consulting
http://tejasconsulting.com/
More information about the qmtest
mailing list