Note that jenkins automatically publishes code coverage reports with
annotated source code:

https://jenkins.shiningpanda.com/scikit-learn/job/python-2.7-numpy-1.5.1-scipy-0.10.0/lastSuccessfulBuild/artifact/coverage/index.html

You can order the modules by "coverage %" or by "missing" and get the
low hanging fruits that way. For instance:

https://jenkins.shiningpanda.com/scikit-learn/job/python-2.7-numpy-1.5.1-scipy-0.10.0/lastSuccessfulBuild/artifact/coverage/sklearn_gaussian_process_gaussian_process.html

https://jenkins.shiningpanda.com/scikit-learn/job/python-2.7-numpy-1.5.1-scipy-0.10.0/lastSuccessfulBuild/artifact/coverage/sklearn_gaussian_process_correlation_models.html

And focus on the large red blocks.

Testing expected exception using nose.tools.assert_raises is important too.

You can also click on the code coverage plot of
https://jenkins.shiningpanda.com/scikit-learn/job/python-2.7-numpy-1.5.1-scipy-0.10.0/
to get a report generated by cobertura.

2012/7/26 GitHub <[email protected]>:
>   Branch: refs/heads/master
>   Home:   https://github.com/scikit-learn/scikit-learn
>   Commit: 01cf1720696d368dfa1b557632a49f66285d4401
>       
> https://github.com/scikit-learn/scikit-learn/commit/01cf1720696d368dfa1b557632a49f66285d4401
>   Author: GaelVaroquaux <[email protected]>
>   Date:   2012-07-26 (Thu, 26 Jul 2012)
>
>   Changed paths:
>     M doc/developers/index.rst
>
>   Log Message:
>   -----------
>   DOC: notes on improving code coverage
>
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Scikit-learn-commits mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-commits
>



-- 
Olivier
http://twitter.com/ogrisel - http://github.com/ogrisel

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to