Skip to content

Text report and HTML report disagree on coverage percentage #70

@nedbat

Description

@nedbat
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%.


Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingreport

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions