stats test coverage
fresh from our CI and maintenance team an excerpt 85% build/testenv/lib/python2.7/site-packages/scipy/stats/_binned_statistic.py 393122104180.9 100% build/testenv/lib/python2.7/site-packages/scipy/stats/contingency.py 272373701.0 93% build/testenv/lib/python2.7/site-packages/scipy/stats/distributions.py 7960335631282280.9 100% build/testenv/lib/python2.7/site-packages/scipy/stats/__init__.py 346131301.0 79% build/testenv/lib/python2.7/site-packages/scipy/stats/kde.py 51312599260.8 61% build/testenv/lib/python2.7/site-packages/scipy/stats/morestats.py 16155803552250.6 67% build/testenv/lib/python2.7/site-packages/scipy/stats/mstats_basic.py 20508795912880.7 66% build/testenv/lib/python2.7/site-packages/scipy/stats/mstats_extras.py 466162107550.7 100% build/testenv/lib/python2.7/site-packages/scipy/stats/mstats.py 823301.0 94% build/testenv/lib/python2.7/site-packages/scipy/stats/_multivariate.py 49312511780.9 35% build/testenv/lib/python2.7/site-packages/scipy/stats/rv.py 72176110.4 83% build/testenv/lib/python2.7/site-packages/scipy/stats/stats.py 446310328541780.8 Josef
On Sat, Sep 21, 2013 at 5:11 PM, <josef.pktd@gmail.com> wrote:
fresh from our CI and maintenance team
an excerpt
85% build/testenv/lib/python2.7/site-packages/scipy/stats/_binned_statistic.py 393122104180.9 100% build/testenv/lib/python2.7/site-packages/scipy/stats/contingency.py 272373701.0 93% build/testenv/lib/python2.7/site-packages/scipy/stats/distributions.py 7960335631282280.9 100% build/testenv/lib/python2.7/site-packages/scipy/stats/__init__.py 346131301.0 79% build/testenv/lib/python2.7/site-packages/scipy/stats/kde.py 51312599260.8 61% build/testenv/lib/python2.7/site-packages/scipy/stats/morestats.py 16155803552250.6 67% build/testenv/lib/python2.7/site-packages/scipy/stats/mstats_basic.py 20508795912880.7 66% build/testenv/lib/python2.7/site-packages/scipy/stats/mstats_extras.py 466162107550.7 100% build/testenv/lib/python2.7/site-packages/scipy/stats/mstats.py 823301.0 94% build/testenv/lib/python2.7/site-packages/scipy/stats/_multivariate.py 49312511780.9 35% build/testenv/lib/python2.7/site-packages/scipy/stats/rv.py 72176110.4 83% build/testenv/lib/python2.7/site-packages/scipy/stats/stats.py 446310328541780.8
Guess that's a "please go improve" plea:) Here is the overview: https://coveralls.io/r/scipy/scipy. Then click on the build number or commit message to go to per-file stats. Clicking on the file name then give the source code with lines highlighted in green or red. Quite useful to check (your own) PRs. The number for all of scipy is 87% now. That includes test files so is skewed upwards a bit, but overall I'd say it's not bad. Now to add a couple of % for each release. Ralf
21.09.2013 18:30, Ralf Gommers kirjoitti: [clip]
Here is the overview: https://coveralls.io/r/scipy/scipy. Then click on the build number or commit message to go to per-file stats. Clicking on the file name then give the source code with lines highlighted in green or red. Quite useful to check (your own) PRs.
To do this on your own machine, install first the coverage package via one of sudo apt-get install python-coverage pip install --user coverage ... and then run in scipy source dir python runtests.py --coverage Check out the HTML files under build/coverage -- Pauli Virtanen
participants (3)
-
josef.pktd@gmail.com
-
Pauli Virtanen
-
Ralf Gommers