#12896: make coverageall print the number of untested functions
---------------------------------+------------------------------------------
       Reporter:  AlexGhitza     |         Owner:  mvngu   
           Type:  enhancement    |        Status:  new     
       Priority:  minor          |     Milestone:  sage-5.1
      Component:  documentation  |    Resolution:          
       Keywords:  coverageall    |   Work issues:          
Report Upstream:  N/A            |     Reviewers:          
        Authors:                 |     Merged in:          
   Dependencies:                 |      Stopgaps:          
---------------------------------+------------------------------------------
Description changed by AlexGhitza:

Old description:

> The upcoming patch adds a line to the output of {{{sage -coverageall}}},
> with the number of untested functions.  It also fixes a plural.  Here is
> an example of the new output:
>
> {{{
> [aghitza@cerelia sage-5.0.beta13]$ ./sage -coverageall
> devel/sage/sage/coding
> ag_code.py: 100% (1 of 1)
> binary_code.pyx: 91% (41 of 45)
> code_bounds.py: 100% (17 of 17)
> code_constructions.py: 96% (25 of 26)
> decoder.py: 100% (3 of 3)
> guava.py: 100% (3 of 3)
> linear_code.py: 82% (52 of 63)
> sd_codes.py: 20% (1 of 5)
> source_coding/huffman.py: 100% (9 of 9)
>
> Overall weighted coverage score:  88.1%
> Total number of functions:  172
> Number of untested functions:  20
> We need    3 more function(s) to get to 90% coverage.
> We need   11 more function(s) to get to 95% coverage.
> We need   18 more function(s) to get to 99% coverage.
> }}}

New description:

 The upcoming patch adds a line to the output of {{{sage -coverageall}}},
 with the number of untested functions.  It also fixes a plural.  Here is
 an example of the new output:

 {{{
 [aghitza@cerelia sage-5.0.beta13]$ ./sage -coverageall
 devel/sage/sage/coding
 ag_code.py: 100% (1 of 1)
 binary_code.pyx: 91% (41 of 45)
 code_bounds.py: 100% (17 of 17)
 code_constructions.py: 96% (25 of 26)
 decoder.py: 100% (3 of 3)
 guava.py: 100% (3 of 3)
 linear_code.py: 82% (52 of 63)
 sd_codes.py: 20% (1 of 5)
 source_coding/huffman.py: 100% (9 of 9)

 Overall weighted coverage score:  88.1%
 Total number of functions:  172
 Number of untested functions:  20
 We need    3 more function(s) to get to 90% coverage.
 We need   11 more function(s) to get to 95% coverage.
 We need   18 more function(s) to get to 99% coverage.
 }}}

 Apply

  - [attachment:trac_12896-coverageall.patch] to the scripts repo

--

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12896#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" 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/sage-trac?hl=en.

Reply via email to