Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text report and HTML report disagree on coverage percentage #70

Closed
nedbat opened this issue Jun 5, 2010 · 1 comment
Closed

Text report and HTML report disagree on coverage percentage #70

nedbat opened this issue Jun 5, 2010 · 1 comment
Labels
bug Something isn't working report

Comments

@nedbat
Copy link
Owner

nedbat commented Jun 5, 2010

Name                                   Stmts   Miss Branch BrPart  Cover
------------------------------------------------------------------------
bitty.apps.tpt                             1      0      0      0   100%
bitty.apps.tpt.models                     20      5      0      0    75%
bitty.apps.tpt.modules                   493    158    128     71    63%
bitty.apps.tpt.templates                   8      0      0      0   100%
bitty.apps.tpt.templates.base             48      0      0      0   100%
bitty.apps.tpt.templates.basic            49      0      0      0   100%
bitty.apps.tpt.templates.food             34      0      0      0   100%
bitty.apps.tpt.templates.newspaper        28      0     12      0   100%
bitty.apps.tpt.templates.sample_data      47      0     26      0   100%
bitty.apps.tpt.test                        1      0      0      0   100%
bitty.apps.tpt.test.test_tpt             360    132     34     31    58%
bitty.apps.tpt.tpt_control               372     97    164     78    67%
bitty.apps.tpt.tpt_recipes                38     30     12     12    16%
bitty.apps.tpt.tpt_urls                    3      0      0      0   100%
bitty.apps.tpt.tpt_views                 367    116     90     28    68%
------------------------------------------------------------------------
TOTAL                                   1869    538    466    220    67%
----------------------------------------------------------------------

and HTML:

Module                         statements   missing     excluded    branches    partial     coverage
bitty.apps.tpt                          1         0            0           0          0      100%
bitty.apps.tpt.models                  20         5            0           0          0       75%
bitty.apps.tpt.modules                493       158     35  128     71  63%
bitty.apps.tpt.templates                8   0   0   0   0   100%
bitty.apps.tpt.templates.base          48  0   0   0   0   100%
bitty.apps.tpt.templates.basic         49  0   0   0   0   100%
bitty.apps.tpt.templates.food          34  0   0   0   0   100%
bitty.apps.tpt.templates.newspaper     28  0   0   12  0   100%
bitty.apps.tpt.templates.sample_data   47  0   0   26  0   100%
bitty.apps.tpt.test                     1   0   0   0   0   100%
bitty.apps.tpt.test.test_tpt          360     132     2   34  31  59%
bitty.apps.tpt.tpt_control            372     97  4   164     78  67%
bitty.apps.tpt.tpt_recipes             38  30  2   12  12  16%
bitty.apps.tpt.tpt_urls                 3   0   0   0   0   100%
bitty.apps.tpt.tpt_views              367     116     0   90  28  68%
Total                                1869    538     43  466     220     68%

The text report gives 67%, the HTML gives 68%.


@nedbat
Copy link
Owner Author

nedbat commented Aug 23, 2010

Fixed in <<changeset 9b63ca789328 (bb)>>.

@nedbat nedbat closed this as completed Aug 23, 2010
@nedbat nedbat added major bug Something isn't working report labels Jun 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working report
Projects
None yet
Development

No branches or pull requests

1 participant