develooper Front page | perl.module-authors | Postings from June 2008

Re: CPANTS has_test_pod* metrics

Thread Previous | Thread Next
David Golden
June 10, 2008 10:24
Re: CPANTS has_test_pod* metrics
Message ID:
On Tue, Jun 10, 2008 at 1:20 PM, Eric Wilhelm
<> wrote:
> Perhaps.  Of course, just testing the pod and pod coverage would be more
> definitive and *could* certainly be done without running the code.

Not reliably.  No guarantee that coverage for a function is in the
same file. I could have lib/Foo/Bar/API.pod where I document
everything.  I can program Test:Pod::Coverage to look in the right
file for documentation so my release tests catch it.  But someone else
wouldn't know that.

(Which isn't to say that the current approach of looking for a "use
Test::Pod::Coverage" statement is any better.)


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About