[Distutils] test coverage for setuptools

David Lyon david.lyon at preisshare.net
Tue Jan 5 01:33:32 CET 2010


> By test coverage results I mean publicly available reports about
> percentage of code covered by tests that were run by testing
> buildbots. See examples:
> http://www.eclipse.org/pde/pde-api-tools/coverage/20091126/eclemma.html
> http://eigenclass.org/static/rcov-sample-report/
> http://web.archive.org/web/20070403133248/http://seb.dbzteam.com/pub/urllib2.py.html

I can provide you with the following custom report on setuptools:

py_pi_download .........................  50  (downloaded package
setuptools-0.6c11.tar.gz following 1 link from
http://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c11.tar.gz#md5=7df2a529a074f613b509fb44feefe74e)
unpack .................................  25  (package unpacked successfully)
unpack_dir .............................  15  (unpack directory is
setuptools-0.6c11 as expected)
setup.py ...............................  25  (setup.py found)
install ................................  50  (package installed in
production_run_data\tmp_install_setuptools-0.6c11)
generated_files ........................   0  (0 .pyc and 0 .pyo files found)
---------------------------------------------
INSTALLABILITY INDEX (ABSOLUTE) ........ 165
INSTALLABILITY INDEX (RELATIVE) ........ 100  (165 out of a maximum of 165
points is 100%)

required_files .........................  60  (1 files and 1 required
directories found)
docstrings .............................  43  (found 275/652=42.18%
objects with docstrings)
formatted_docstrings ...................   0  (found 49/652=7.52% objects
with formatted docstrings)
---------------------------------------------
DOCUMENTATION INDEX (ABSOLUTE) ......... 103
DOCUMENTATION INDEX (RELATIVE) .........  30  (103 out of a maximum of 350
points is 30%)

unit_tested ............................  30  (has unit tests)
pep8 ...................................  11  (pep8.py check: 10 error
types, 3 warning types)
---------------------------------------------
CODE KWALITEE INDEX (ABSOLUTE) .........  41
CODE KWALITEE INDEX (RELATIVE) .........  65  (41 out of a maximum of 64
points is 65%)


=============================================
OVERALL CHEESECAKE INDEX (ABSOLUTE) .... 309
OVERALL CHEESECAKE INDEX (RELATIVE) ....  53  (309 out of a maximum of 579
points is 53%)




More information about the Distutils-SIG mailing list