Hi Geoff (& Paul),
On 09/16/2005 08:54 AM, "Geoffrey Young" <[EMAIL PROTECTED]> wrote:
> Apache-Test-based distribution. the first is the addition of
> t/conf/modperl_extra.pl which (for anyone searching the archives) contains:
>
> if ($ENV{HARNESS_PERL_SWITCHES}) {
>
[snip - ah, helpful, now I understand how to use the testcover target]
> the second part is that you need to alter t/conf/extra.conf.in so
> HARNESS_PERL_SWITCHES is passed to the underlying mod_perl process. the line
[snip - don't need under Module::Build, as testcover target does this part
of it for you]
Well, I've learned something, but I still have the same problem. Sigh.
I'm running under Module::Build, using the testcover target. Devel::Cover is
collecting coverage statistics on the modules, it's just collecting
reporting wildly incorrect statistics (see below). Devel::Cover is reporting
100% statement coverage for a number of modules for which there are no tests
as of yet (legacy modules I have yet to revisit) while reporting that
subroutines for which I have tests are uncovered. I realize that
Devel::Cover is alpha code, I'm just hoping that this is a configuration
problem, not a bug :-/
Thanks for the help,
Hilary
---------------------------- ------ ------ ------ ------ ------ ------
File stmt bran cond sub pod time
---------------------------- ------ ------ ------ ------ ------ ------
...ache/Acut/AdminHandler.pm 75.0 n/a n/a 87.5 100.0 5.9
...Acut/AdminHandler/Base.pm 13.0 1.7 2.0 42.1 100.0 15.6
...t/AdminHandler/Comment.pm 8.3 0.0 0.0 30.0 100.0 1.6
...AdminHandler/Component.pm 7.0 0.0 0.0 27.3 100.0 2.2
.../AdminHandler/Metadata.pm 8.8 0.0 0.0 30.0 100.0 1.7
...t/AdminHandler/Request.pm 39.6 0.0 0.0 70.0 100.0 6.7
...Acut/AdminHandler/User.pm 5.2 0.0 0.0 23.1 100.0 1.8
...ache/Acut/Authenticate.pm 36.0 0.0 n/a 54.5 100.0 1.7
...ib/Apache/Acut/Cluster.pm 100.0 n/a n/a 100.0 n/a 1.3
...ib/Apache/Acut/Comment.pm 100.0 n/a n/a 100.0 n/a 0.8
...Apache/Acut/ConfigData.pm 12.0 0.0 n/a 12.5 100.0 0.3
...b/Apache/Acut/Database.pm 85.6 63.0 n/a 78.6 100.0 48.1
...che/Acut/Database/Test.pm 90.9 n/a n/a 85.7 100.0 5.2
...Apache/Acut/TutHandler.pm 92.3 n/a n/a 80.0 100.0 1.3
...b/Apache/Acut/Tutorial.pm 100.0 n/a n/a 100.0 n/a 2.1
--
Hilary Holz http://acc.csueastbay.edu/~hholz/
Assistant Professor [EMAIL PROTECTED]
Dept of Mathematics and Computer Science
California State University, East Bay