Bug#442764: FTBFS: Coverage for Business::ISBN is 92.9%, with 2 naked subroutines

Stephen Gran sgran at debian.org
Mon Sep 17 00:38:46 UTC 2007


This one time, at band camp, gregor herrmann said:
> On Sun, 16 Sep 2007 20:54:25 +0200, gregor herrmann wrote:
> 
> > t/pod_coverage....
> > #   Failed test 'Pod coverage on Business::ISBN'
> > #   in t/pod_coverage.t at line 14.
> > # Coverage for Business::ISBN is 92.9%, with 2 naked subroutines:
> > #       isbn_group_code_string_from_number
> > #       isbn_publisher_ranges_from_group_number
> > # Looks like you failed 1 test of 1.
> > dubious
> >         Test returned status 1 (wstat 256, 0x100)
> > DIED. FAILED test 1
> >         Failed 1/1 tests, 0.00% okay
> 
> The "naked subroutines" isbn_group_code_string_from_number and
> isbn_publisher_ranges_from_group_number are not in
> libbusiness-isbn-perl but in libbusiness-isbn-data-perl.

The attached patch fixes it by excluding the symbols that come from the
parent class.  It looks like Pod::Coverage or Devel::Symdump should have
noticed that when traversing the tree, but it's hard to say.

(Note - I don't think I need to NMU, just saw the bug float by and made
a fast patch.  The NMU bit is an artifact of dch and nmudiff).

Cheers,
-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        sgran at debian.org |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libbusiness-isbn-perl-2.02-1.1-nmu.diff
Type: text/x-diff
Size: 865 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20070917/9c94aa51/attachment.diff 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20070917/9c94aa51/attachment.pgp 


More information about the pkg-perl-maintainers mailing list