[Koha-bugs] [Bug 20357] Pod Coverage checking for no public subs

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 15 15:39:26 CET 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20357

--- Comment #5 from M. Tompsett <mtompset at hotmail.com> ---
(In reply to Marcel de Rooy from comment #4)
> Mark, what about:
> 
>             } elsif ( scalar @{ $after->{subs} } == 0 ) {
>                 # This is perfectly okay.
> 
> If there are no subs anymore, do not complain about pod coverage.
> Note that no subs means no 'public' subs; there may still be subs like _type
> with an underscore.

Because, if you cut out a function, I rather fall to the next check, then just
allow out right cuts. I can't recall the test case I hit that made me want to
do both. Probably something about increasing, then decreasing in the same patch
set.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list