Evolution of the overall doctest coverage of Sage up to 4.8

Evolution of the overall doctest coverage of Sage up to 4.8

01 mai 2012 | Catégories: sage | View Comments

Recently, a discussion on sage-devel mentionned the graph I did last year for the evolution of the overall doctest coverage of Sage. The graph was out of date, so I updated it with the recent data:

Sage 4.7:   May 26, 2011        85.4%   ~  23769 / 27833
Sage 4.7.1: August 16, 2011     85.7%   ~  24129 / 28155
Sage 4.7.2: November 03, 2011   86.0%   ~  24477 / 28462
Sage 4.8:   January 20, 2012    86.1%   ~  24601 / 28573

We are far from the +4.7% a year I was expecting...

Doctest coverage of Sage

/Files/2012/coverage_evolution.png

I think we should now stop looking at this percentage for the 100% coverage goal, because the coverage is mostly influenced by the hundreds of new doctested functions that are added to every new version of Sage.

Instead we should consider the evolution of the number of undoctested functions (and maybe fix objectives about it):

Sage 4.7:   May 26, 2011        4064
Sage 4.7.1: August 16, 2011     4026  ->  38 old functions now 100% doctested
Sage 4.7.2: November 03, 2011   3985  ->  41 old functions now 100% doctested
Sage 4.8:   January 20, 2012    3972  ->  13 old functions now 100% doctested

Here is the graph of it:

Number of undoctested functions in Sage

/Files/2012/undoctested_fn_evolution.png
blog comments powered by Disqus