Hi,

I run the sympy (revision 2138) through figleaf:

http://darcs.idyll.org/~t/projects/figleaf/doc/

and the results are here:

http://coverage.sympy.org/

Steps to reproduce:

# install figleaf
$ cd sympy
$ figleaf /usr/bin/py.test sympy/
$ python t.py > files
$ figleaf2html -f files
$ epiphany html/index.html

where the file t.py (attached) generates the files that should endup
in the final report (if you omit it, all files will be included,
including test files and standard pytho library files).

Bugs:

1) figleaf currently reports 62.8%, however I think it is wrong (too
low), as can be seen for example from:

http://coverage.sympy.org/_home_ondra_sympy-coverage_sympy_sympy_physics_matrices.py.html

where figleaf reports the lines "mat = (" as unexecuted, but that's
clearly wrong, so figleaf shows 83%, while it should show 97% instead.

2) Looking at:

http://coverage.sympy.org/_home_ondra_sympy-coverage_sympy_sympy_core_mul.py.html

figleaf reports some empty lines and even some comments. Also it
doesn't seem to handle decorators correctly.


But generally it works very well and it revealed some untested places
in SymPy. Let's write tests for those pieces, or remove the code.

Ondrej

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sympy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to