On Jan 22, 7:51 pm, Phlip <phlip2...@gmail.com> wrote: > On Jan 21, 9:00 pm, Michele Simionato <michele.simion...@gmail.com> > wrote: > > > Just for fun I have run cloc on our trunk: > > > SUM: 8743 272238 215871 1470139 x 1.84 = > > 2708354.95 > > Nice! > > My favorite version of a cloc system can distinguish test from > production code. That's why I always use executable cloc to measure > the ratio of test to production code (where 1.2:1 is almost > comfortable an 2:1 is sacred).
Most of this code base is old, before we started using automatic tests, so tests are not a significant fraction of the code. And in any case I consider tests as code, since you have to maintain them, refactor them, etc. -- http://mail.python.org/mailman/listinfo/python-list